Hi All,
According to my requirements, I have added a new checkbox in Accounts Receivable parameters under General tab and in SalesParameters table. The checkbox is based on NoYes enum. My logic says that if this checkbox is Yes then 'do this thing' else if checkbox is No, then do other thing.
I do not know how to get the value of that checkbox in my batchjob class and how to workwith it. I have written it like this but it is showing me an error.
SalesParameters salesPara;
salesPara = SalesParameters::find(_salesId);
The error says _forupdate is incompatible with the required type.