Sales Order Process - export a CSV file  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

Sales Order Process - export a CSV file

Postby Atronics » Wed Aug 10, 2016 11:01 am

I need to export a flat csv file when processing (individually or in a batch) when the sales order is for a specific debtor. Can you point me to what event controls this.
Atronics
Frequent Contributor
Frequent Contributor
 
Posts: 119
Joined: Fri Feb 29, 2008 4:40 pm
Topics Solved: 10

Re: Sales Order Process - export a CSV file

Postby Scott.Pearce » Wed Aug 10, 2016 12:57 pm

You should hook into the "Processed" event of the sales order object. This will fire for each invoice on a batch process or when an individual invoice is processed.

I've attached a plugin that demonstrates this - use this as your foundation.
Attachments
Plugin Do Something After SO Processed.xml
(35.91 KiB) Downloaded 135 times
Scott Pearce
Senior Analyst/Programmer
Jiwa Financials
User avatar
Scott.Pearce
Senpai
Senpai
 
Posts: 743
Joined: Tue Feb 12, 2008 11:27 am
Location: New South Wales, Australia
Topics Solved: 221

Re: Sales Order Process - export a CSV file  Topic is solved

Postby Atronics » Wed Aug 10, 2016 1:57 pm

Thanks Scott.
Atronics
Frequent Contributor
Frequent Contributor
 
Posts: 119
Joined: Fri Feb 29, 2008 4:40 pm
Topics Solved: 10


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 9 guests