SMS from NAV

In modern ERP solutions the system should be able to send SMS to employees, customers and vendors.  The phone service provider Síminn in Iceland offers a web service interface for applications to send SMS.

Attached is a source code that uses this web service to send SMS.

SMS Source Code

Blob and RTC Client

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.