I am working on a RTC interface for my Payroll System.  To my suprice some of the codes that are running perfectly on Classic Client do not work on the RTC Client.  One example is the code
[code htmlscript=”false”]DeleteOutgoingMessage(VAR Statement : Record "Payroll Statement")
WITH Statement DO BEGIN
TESTFIELD(Status,Status::Created);
CLEAR("Outgoing Message");
MODIFY;
END;[/code]
that worked in the Classic Client but needed to be
[code htmlscript=”false”]DeleteOutgoingMessage(VAR Statement : Record "Payroll Statement")
WITH Statement DO BEGIN
TESTFIELD(Status,Status::Created);
CALCFIELDS("Outgoing Message");
CLEAR("Outgoing Message");
MODIFY;
END;[/code]
to work in both clients.

Leave a Reply

%d bloggers like this: