I am trying to set up variable costs in my SoftList to estimate costs for our various subs based on their quotes. The base price of these quotes is per Sq.Ft based on the location of the job. I thought to try and utilize variables that are already in the system, but I could not find a way to link them properly in SoftList (specifically the Project_City variable that is set in the system on a per project basis). After that failed, I tried setting up a User Defined Variable and named it project_city, game it a selection prompt, and gave a list of values with the names of the cities we build in. However, I cannot seem to write a custom formula that properly utilizes this variable. I have tried the following, all to no avail:
list (area)
if project_city = CityA
@cost = 1.23
else
if project_city = CityB
@cost = 4.56
endif
endif
___________________________________
list (area)
if project_city:CityA
@cost = 1.23
else
if project_city:CityB
@cost = 4.56
endif
endif
___________________________________
list (area)
if project_city = project_city:CityA
@cost = 1.23
else
if project_city = project_city:CityB
@cost = 4.56
endif
endif
Can anyone tell me what I am doing wrong here? The first option gives me the error "Undefined variable (CityA)." The other two do not give any errors. None of them set the cost as intended.