|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
org.compiere.swing.CDialog
org.compiere.grid.VCreateFrom
public abstract class VCreateFrom
CreateFrom (Called from GridController.startProcess)
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JDialog |
|---|
JDialog.AccessibleJDialog |
| Nested classes/interfaces inherited from class java.awt.Dialog |
|---|
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityType |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
protected VLookup |
bankAccountField
|
protected VLookup |
bPartnerField
|
protected MiniTable |
dataTable
|
protected JComboBox |
invoiceField
|
protected JLabel |
invoiceLabel
|
protected VLocator |
locatorField
|
protected JLabel |
locatorLabel
|
protected CLogger |
log
Logger |
protected JComboBox |
orderField
|
protected GridTab |
p_mTab
Model Tab |
protected MOrder |
p_order
Loaded Order |
protected int |
p_WindowNo
Window No |
protected CPanel |
parameterBankPanel
|
protected CPanel |
parameterStdPanel
|
protected AppsAction |
selectAllAction
|
protected JComboBox |
shipmentField
|
protected JLabel |
shipmentLabel
|
protected StatusBar |
statusBar
|
| Fields inherited from class org.compiere.swing.CDialog |
|---|
ACTION_DISPOSE, s_dialogAction, s_disposeKeyStroke |
| Fields inherited from class javax.swing.JDialog |
|---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Dialog |
|---|
DEFAULT_MODALITY_TYPE |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Action Listener |
static VCreateFrom |
create(GridTab mTab)
Factory - called from APanel |
static Vector<Vector<Object>> |
getOrderData(Ctx ctx,
int C_Order_ID,
boolean forInvoice)
|
static ArrayList<NamePair> |
getOrders(Ctx ctx,
int C_BPartner_ID,
boolean isReturnTrx,
boolean forInvoice)
Get the list of orders for a given business partner |
static ArrayList<FieldVO> |
getTableFieldVOs(Ctx ctx)
|
protected void |
initBPartner(boolean forInvoice)
Load BPartner Field |
protected void |
initBPartnerOIS(int C_BPartner_ID,
boolean forInvoice)
Load PBartner dependent Order/Invoice/Shipment Field. |
boolean |
isInitOK()
Init OK to be able to make changes? |
protected void |
loadOrder(int C_Order_ID,
boolean forInvoice)
Load Data - Order |
protected void |
loadTableOIS(Vector<Vector<Object>> data)
Load Order/Invoice/Shipment data into Table |
void |
tableChanged(TableModelEvent tme)
Table Model Listener. |
| Methods inherited from class org.compiere.swing.CDialog |
|---|
dialogInit, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, setTitle |
| Methods inherited from class java.awt.Dialog |
|---|
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setUndecorated, setVisible, show, toBack |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int p_WindowNo
protected GridTab p_mTab
protected MOrder p_order
protected CLogger log
protected CPanel parameterBankPanel
protected CPanel parameterStdPanel
protected VLookup bankAccountField
protected VLookup bPartnerField
protected JComboBox orderField
protected JLabel invoiceLabel
protected JComboBox invoiceField
protected JLabel shipmentLabel
protected JComboBox shipmentField
protected StatusBar statusBar
protected MiniTable dataTable
protected JLabel locatorLabel
protected VLocator locatorField
protected AppsAction selectAllAction
| Method Detail |
|---|
public static VCreateFrom create(GridTab mTab)
mTab - Model Tab for the trx
public boolean isInitOK()
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListeneractionPerformed in class CDialoge - eventActionListener.actionPerformed(java.awt.event.ActionEvent)public void tableChanged(TableModelEvent tme)
tableChanged in interface TableModelListenertme - event
protected void initBPartner(boolean forInvoice)
throws Exception
forInvoice - true if Invoices are to be created, false receipts
Exception - if Lookups cannot be initialized
public static ArrayList<NamePair> getOrders(Ctx ctx,
int C_BPartner_ID,
boolean isReturnTrx,
boolean forInvoice)
ctx - C_BPartner_ID - isReturnTrx - forInvoice - true for orders matched to invoices, false for orders matched to shipments
protected void initBPartnerOIS(int C_BPartner_ID,
boolean forInvoice)
C_BPartner_ID - BPartnerforInvoice - for invoice
protected void loadOrder(int C_Order_ID,
boolean forInvoice)
C_Order_ID - OrderforInvoice - true if for invoice vs. delivery qty
public static Vector<Vector<Object>> getOrderData(Ctx ctx,
int C_Order_ID,
boolean forInvoice)
public static ArrayList<FieldVO> getTableFieldVOs(Ctx ctx)
protected void loadTableOIS(Vector<Vector<Object>> data)
data - data
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||