Update records that meet criteria
I'm trying to create a schedule to update records daily that meet criteria. My deluge code looks like this:
for each oldTruck in Enter_Tank_Inventory[Latest_Record = true && Warehouse = "T13"]
{
oldTruck.Latest_Record=false;
}
But I keep getting this error: left expression is of type BIGINT and right expression is of type STRING and the operator = is not valid
How do I get the warehouse value of T13 in the criteria?