Make Sales Order from Service Jobs  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

Make Sales Order from Service Jobs

Postby Professional » Tue Apr 21, 2015 1:39 pm

Hi,
Customer would like to see the task description on the sales order when the "Process make sales order" is selected from a service job. Probably as a comment line. Can this be easily done?
Thanks
Jeff
Professional
Occasional Contributor
Occasional Contributor
 
Posts: 19
Joined: Mon Dec 08, 2008 3:45 pm

Re: Make Sales Order from Service Jobs

Postby Scott.Pearce » Thu Apr 30, 2015 11:29 am

Fairly simple. Create a plugin, add a reference to JiwaServiceManager.dll and add a handler for the Job.ProcessBeforeSalesOrderSave event. In the handler you are given the job object and the sales order object, which you can manipulate. Let me know if you want me to knock up a quick example plugin.
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: Make Sales Order from Service Jobs

Postby Professional » Fri May 01, 2015 12:37 am

Thanks Scott, yes if you could put an example together for me that would be great.
Cheers
Jeff
Professional
Occasional Contributor
Occasional Contributor
 
Posts: 19
Joined: Mon Dec 08, 2008 3:45 pm

Re: Make Sales Order from Service Jobs  Topic is solved

Postby Scott.Pearce » Fri May 01, 2015 11:49 am

Example attached.
Attachments
Plugin Service Manager Modify Sales Order.xml
(32.68 KiB) Downloaded 162 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: Make Sales Order from Service Jobs

Postby Professional » Fri May 08, 2015 11:10 am

Worked a treat , thanks Scott
Professional
Occasional Contributor
Occasional Contributor
 
Posts: 19
Joined: Mon Dec 08, 2008 3:45 pm


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 2 guests