Page 1 of 1
Make Sales Order from Service Jobs
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Tue Apr 21, 2015 1:39 pm
by Professional
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
Re: Make Sales Order from Service Jobs
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu Apr 30, 2015 11:29 am
by Scott.Pearce
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.
Re: Make Sales Order from Service Jobs
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Fri May 01, 2015 12:37 am
by Professional
Thanks Scott, yes if you could put an example together for me that would be great.
Cheers
Jeff
Re: Make Sales Order from Service Jobs ![Topic is solved Topic is solved](./styles/prosilver/imageset/icon_topic_solved_post.png)
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Fri May 01, 2015 11:49 am
by Scott.Pearce
Example attached.
Re: Make Sales Order from Service Jobs
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Fri May 08, 2015 11:10 am
by Professional
Worked a treat , thanks Scott