No this is not the right way to do it. 1. You need two codeunits. a) one which is configured as webservice and that have init and insert in onrun trigger. b) second which call that codeunit using connect. Connect actually executes the command in that codeunit as per the company in URL.
↧