Debtor Class Batch. Extend ranges  Topic is solved

Discussions relating to Jiwa 7 plugin development, and the Jiwa 7 API.

Debtor Class Batch. Extend ranges

Postby DannyC » Thu Nov 11, 2021 6:52 pm

I've got an interesting one...
Client wants the inventory price update Debtor/Debtor Class batch to include a range for SOH from/to. So when they click the Process button, it only applies to items within the standard ranges (duh) and also to items which happen to have SOH between the provided values.

I've made a start & have been able to modify the grdRanges grid to add a column for SOH.
But I can't work out how to get the entered values and do something with them.

I'm assuming I would need to edit the list InventoryItems to further delete items falling outside the SOH range specified?
Just can't work out how to do it.

Here's my plugin so far.
This is for version 7.2.1. Client on SR4 but not sure SR is relevant in this case?
Attachments
Plugin Attkey Debtor Class Batch Extend Ranges .xml
(35.8 KiB) Downloaded 274 times
User avatar
DannyC
Senpai
Senpai
 
Posts: 718
Joined: Fri Mar 22, 2013 12:23 pm
Topics Solved: 31

Re: Debtor Class Batch. Extend ranges  Topic is solved

Postby SBarnes » Sun Nov 14, 2021 8:07 am

Hi Danny,

As discussed via email I can help you with this one, basically what needs to happen is you need to get in front of Jiwa's events mimic the behaviour and then use a Client Cancelled Exception to stop the Jiwa code but it is doable from the quick look at it I had.
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1696
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 191


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 5 guests