Quantcast
Channel: Dynamics 365 Business Central/NAV User Group
Viewing all articles
Browse latest Browse all 11285

Forum Post: RE: Create 100's Sales Invoice Documents Programmatically.

$
0
0
Hello, i don't think there is any standard way of doing this. You have to develop your own code to go thru records and write them into Sales Header and Sales Line. When you write the record into the table you have to use the VALIDATE() function so bussines logic is applied. After inserting the record you can post the Invoices with the Post Batch action. This would be in 2 steps. You also can automate the posting but I would not recommend it because if you have some errors then whole transaction will be rolled back and it will also block the related tables. Better have 2 buttons than one. best regards,

Viewing all articles
Browse latest Browse all 11285

Trending Articles