We are building an integration to push sales invoices to BC and currently using ODATA and creating the header and then sales invoice lines separately
I'd like to do these as a single transaction and think the right way to do this is a AL Web service that takes the header and an array of lines and commits or rollsback everything as a siingle transaction
Would appreciate any sample code or pointers on how to get started here.
0
Answers
Sorry If I misunderstood something
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/
One odata post for the sales invoice header
multiple odata posts for the sales invoice lines
I want to make one api call for the header and the lines and don't know how to do this