Plugin Sample - Add inventory documents to sales order

Samples and Examples of using the Jiwa 7 framework - including plugins, stand-alone applications and scripts.

Plugin Sample - Add inventory documents to sales order

Postby Mike.Sheen » Mon Nov 17, 2014 9:58 am

This is a simple plugin which adds any inventory documents to a sales order when an inventory item is added to the sales order.

It tries to match the document type of the inventory document to a sales order document type, but failing that the default sales order document type is used.

Ideally, you'd probably want to only add inventory documents which of a certain type, but that's a simple modification of the sample provided.

Plugin Copy Inventory Documents To Sales Order.xml
Sample plugin
(33.49 KiB) Downloaded 420 times
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2583
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 807

Return to Samples and Examples

Who is online

Users browsing this forum: No registered users and 1 guest