Create From Dialog

From ADempiere ERP Wiki

Jump to: navigation, search

Table of Contents | Functionality | Create From Dialog | Document Action Dialog

The Create From Dialog provides a method to create the subordinate lines for a document from another different but related document. There are four documents types where the Create From Dialog is used:

Image:Note.gif Note:

The Create From process is different from the Copy Lines From process as it works across different document types and allows you to select which lines to use. The Copy Lines From process make a duplicate of an existing document.

Contents

Access

Icon: Image:Copy24.png
Field: Create From Button.

Restrictions

The Create From Dialog is only available on the four windows listed above.

Description

The Create From Dialog window will appear similar to the following two examples. There are three parts to the dialog: the upper section where a source document(s) is selected based on criteria, the middle section where individual entries can be is selected which will become the new lines in the target document and a bottom section with some buttons.

 

 

 

In the upper panel, the number of fields used to select lines depends on the type of target document. The Invoice example above is pretty straight forward where the Bank Statement has many more options. When criteria have been selected in the upper panel, the middle panel will show the available lines or documents that can be used to create lines in the target document. (You may have to click the Requery button (Image:Icon_Refresh24.png) if one exists.)

Click in the box on the left of each line to select it. Alternatively, click the Select All button (Image:Icon_SelectAll24.png).

When all necessary lines have been selected, click the Confirm button to complete the process and create lines in the target document.

Clicking Cancel or closing the window will cancel the process.

For Developers

The software that displays this window can be found in:

  • client/src
    • org.compiere.grid.CreateFrom.java
    • org.compiere.grid.CreateFromInvoice.java
    • org.compiere.grid.CreateFromRMA.java
    • org.compiere.grid.CreateFromShipment.java
    • org.compiere.grid.CreateFromStatement.java
    • org.compiere.grid.VCreateFrom.java
    • org.compiere.grid.VCreateFromFactory.java
    • org.compiere.grid.VCreateFromInvoiceUI.java
    • org.compiere.grid.VCreateFromRMAUI.java
    • org.compiere.grid.VCreateFromShipmentUI.java
    • org.compiere.grid.VCreateFromStatementUI.java
Personal tools