I have writern below code at OnActivateForm() of slaes order screen
IF SalesSetup.GET THEN
SalesSetup.“Sales List Filter”:=TRUE;
While running the sales order form i’m getting an error message please see the attached picture.i have checked with partner source also.is there any way to resolve this.
6740.ErrorMSg.bmp (177 KB)
What is the objective of this code. can u give details
when the system gets the ‘salessetup’, and the value of “sales list filter” is already ‘TRUE’, it doesnt do anything. thus ‘modify’ command will result error.
The problem is the trigger.There is some triggers will not insert record into table
if you use MODIFY or MODIFYALL at these type of triggers you will get the error which i mentioned.