Page 1 of 1

Price Scheme Test Price, copy button to inventory, debtors

PostPosted: Thu Feb 19, 2015 11:51 am
by DannyC
Hi,
I have had the question posed to me about the possibility of replicating the functionality of the Test Price ribbon button to the Inventory ribbon and/or the debtors ribbon.

How could that be achieved?

Cheers

Danny

Re: Price Scheme Test Price, copy button to inventory, debto  Topic is solved

PostPosted: Sun Feb 22, 2015 12:33 pm
by Mike.Sheen
Hi Danny,

Yes this is possible - but it's a bit of effort. The test price dialog isn't public unfortunately (It seems this was intentional - it wasn't quite refactored enough to be easily used in isolation from the price scheme maintenance form) - fortunately it wasn't that much work to copy paste and refactor that into a dialog within a plugin.

Attached is a plugin which adds a "test price" button to the ribbon of debtors and inventory maintenance - when pressed the test price dialog shows, and is pre-populated with either the debtor or inventory item - the user must then select either a debtor or inventory item (depending on which form they invoked it from), and select a quantity.

Plugin Test Price.xml
Sample Plugin
(61.3 KiB) Downloaded 347 times


Mike