Sales order line, adding via Supplier UPC?  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

Sales order line, adding via Supplier UPC?

Postby DannyC » Fri Jul 13, 2018 10:24 am

Hi,

Reading DEV-5112 I see we can add a line to a sales order via UPC, IN_Main.Aux2. Tested & working well in 7.0.175.

I have a client who's asked if it can look at Supplier UPC as well? Their scenario is the product barcode is not universal. As a result, each supplier has a different UPC for the same widget. When it comes time for scanning the barcode at POS, they want to be able to get the widget on the SO line. Bottom line is they need to search through both IN_Main.Aux2 and also IN_Creditor.SupplierUPC. Possible?
User avatar
DannyC
Senpai
Senpai
 
Posts: 636
Joined: Fri Mar 22, 2013 12:23 pm
Topics Solved: 30

Re: Sales order line, adding via Supplier UPC?

Postby Scott.Pearce » Fri Jul 13, 2018 10:28 am

Anything's possible using a plugin.
Scott Pearce
Senior Analyst/Programmer
Jiwa Financials
User avatar
Scott.Pearce
Senpai
Senpai
 
Posts: 742
Joined: Tue Feb 12, 2008 11:27 am
Location: New South Wales, Australia
Topics Solved: 221

Re: Sales order line, adding via Supplier UPC?

Postby SBarnes » Fri Jul 13, 2018 12:26 pm

Hi Danny

If this is using the sales order form try using the event FormDoPartNoSearchBefore then client cancel exception to stop Jiwa and do what you want.
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1619
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175

Re: Sales order line, adding via Supplier UPC?  Topic is solved

Postby Scott.Pearce » Fri Jul 13, 2018 12:33 pm

Here's a plugin that jumps in at grdLines_Change and attempts to resolve what was entered to a part no based on the entered text being a supplier UPC. If it resolves OK, the part is added, client cancelled is thrown, and the job is done. If it does not resolve OK, then standard behaviour occurs.
Attachments
Plugin Add Parts To SO Using Supplier UPC.xml
(35.84 KiB) Downloaded 82 times
Scott Pearce
Senior Analyst/Programmer
Jiwa Financials
User avatar
Scott.Pearce
Senpai
Senpai
 
Posts: 742
Joined: Tue Feb 12, 2008 11:27 am
Location: New South Wales, Australia
Topics Solved: 221

Re: Sales order line, adding via Supplier UPC?

Postby DannyC » Fri Jul 13, 2018 5:36 pm

Anything's possible using a plugin.

World peace? Lifetime free beer?

Fortunately neither required at this moment. But I'm still happy - your plugin works!
User avatar
DannyC
Senpai
Senpai
 
Posts: 636
Joined: Fri Mar 22, 2013 12:23 pm
Topics Solved: 30

Re: Sales order line, adding via Supplier UPC?

Postby SBarnes » Fri Jul 13, 2018 6:39 pm

Forget world peace but the free beer plugin I am sure we could get a number of contributors to work on. :lol:
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1619
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 19 guests