Can anyone tell me how to hardcode a field in the customer table called Global dimension code 1 to 300. I tried Writing this in the onaftergetrecord trigger but it give me an error.
This hardcode is to be done on a report with customer as the dataitem.
"Global Dimension 1 Code" := 400;
The Error is:
Type conversion is not Possible because one of the Operators contains an invalid type Code := Integer
Any suggestion to slove this please.