Here is another plugin usage.
This time to create specific "CreateFrom" button.
These button (like Create supplier invoice from receipt
or create receipt for order, ...) are hardcoded into
Compiere.
This plugin allows you to create a new Column (the
column name must begin with "ZCreateFrom")
Then add a definition for this button in a class.
then when we click the button we start dynamically a
new class.
2 patches and 1 new class and 1 new interface must be
implemented.
the exemple proposed here allow to create a new button
on Supplier receipt that will do the receipt of goods
using the Product Locator instead of one unique locator
specified at the time of the receipt.
Patch to APanel
Patch to VCreateFrom
New interface (to put in client/Src)
New class (to put in client/Src)
The plugin that will work on a new Column ZCreateFromReceiptFromOrder
The new logic called by the plugin