Stopping Purcchase Order Replenish to Min popup  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

Stopping Purcchase Order Replenish to Min popup

Postby DannyC » Wed Aug 27, 2014 6:25 pm

Hi,
How do we stop the Replenish to Minimum popup in Purchase Orders?
User avatar
DannyC
Senpai
Senpai
 
Posts: 636
Joined: Fri Mar 22, 2013 12:23 pm
Topics Solved: 30

Re: Stopping Purcchase Order Replenish to Min popup  Topic is solved

Postby Mike.Sheen » Wed Aug 27, 2014 7:11 pm

DannyC wrote:Hi,
How do we stop the Replenish to Minimum popup in Purchase Orders?


Assuming you're happy with fixed values being passed to the underlying stored proc, then in the Plugin named "Purchase Order Reorder Method - Replenish to Minimum" just needs to be copied and then edited to not invoke the "MyReplenishToMinimumDialog" - there are two places in the plugin where the dialog is shown - when a PO Line is added, and when the user clicks the "Auto Search" button. Don't forget to disable the standard plugin if you do this, or at least rename your re-order method in the code so the user doesn't get two reorder methods with the same name in their order method selection combobox.

Attached is a modification of the "Purchase Order Reorder Method - Replenish to Minimum" plugin which does what you want.

Mike
Attachments
Purchase Order Reorder Method - Replenish to Minimum NO DIALOG.xml
(69.4 KiB) Downloaded 172 times
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2444
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 756

Re: Stopping Purcchase Order Replenish to Min popup

Postby DannyC » Thu Aug 28, 2014 4:19 pm

Now you mention how to do it, it's almost obvious!
User avatar
DannyC
Senpai
Senpai
 
Posts: 636
Joined: Fri Mar 22, 2013 12:23 pm
Topics Solved: 30


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 3 guests