error" the expression code cannot be type converted to integer value" why

Use

IF cust.GET(“Sell-to Customer No.”)THEN

desc:=FORMAT(cust.“Concrete No.”);