Code to comment in Trigger OnValidate of Shipment Date field of Table 37
(Solution given by David Cox on another forum)
IF ("Shipment Date" < WORKDATE) AND (Type <> Type::" ") THEN
IF NOT (HideValidationDialog OR HasBeenShown) THEN BEGIN
MESSAGE(
Text014,
FIELDCAPTION("Shipment Date"),"Shipment Date",WORKDATE);
HasBeenShown := TRUE;
END;
Add a breakpoint to the onvildate trigger. Then run the report with the debugger enabled. When it stops at the trigger look at the call history to find where the code was called from...
Comments
(Solution given by David Cox on another forum)
IF ("Shipment Date" < WORKDATE) AND (Type <> Type::" ") THEN
IF NOT (HideValidationDialog OR HasBeenShown) THEN BEGIN
MESSAGE(
Text014,
FIELDCAPTION("Shipment Date"),"Shipment Date",WORKDATE);
HasBeenShown := TRUE;
END;
Does it also modify the record :?: