I want to create a sales invoice through the api and I'm wondering the best way to do this
Do I need to create a sales invoice header first, and then insert sales invoice lines parented to the sales invoice header that I insert or is there a way to do this as a single web service api transaction?
This is for business central 17 on premise wave 2
Thanks in advance.
0
Answers
xml will create the sales order (xml.import)
publish the codeunit, call the function using soap api with xml
UK
https://forum.mibuso.com/discussion/68211/create-sales-header-line-using-webservices-nav-2016
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/
RIS Plus, LLC
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!