#45 (427) Plugin (phase 4) CREATEFROM

open
nobody
None
5
2006-11-08
2006-11-08
Vincent Harcq
No

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.

Discussion

  • Vincent Harcq
    Vincent Harcq
    2006-11-08

    Patch to APanel

     
    Attachments
  • Vincent Harcq
    Vincent Harcq
    2006-11-08

    Patch to VCreateFrom

     
    Attachments
  • Vincent Harcq
    Vincent Harcq
    2006-11-08

    New interface (to put in client/Src)

     
  • Vincent Harcq
    Vincent Harcq
    2006-11-08

    New class (to put in client/Src)

     
    Attachments
  • Vincent Harcq
    Vincent Harcq
    2006-11-08

    The plugin that will work on a new Column ZCreateFromReceiptFromOrder

     
    Attachments
  • Vincent Harcq
    Vincent Harcq
    2006-11-08

    The new logic called by the plugin