Package org.compiere.grid
Class CreateFromInvoice
- java.lang.Object
-
- org.compiere.grid.CreateFrom
-
- org.compiere.grid.CreateFromInvoice
-
- All Implemented Interfaces:
ICreateFrom
- Direct Known Subclasses:
WCreateFromInvoiceUI
public abstract class CreateFromInvoice extends CreateFrom
Create Invoice Transactions from PO Orders or Receipt- Version:
- $Id: VCreateFromInvoice.java,v 1.4 2006/07/30 00:51:28 jjanke Exp $
- Author:
- Jorg Janke, Teo Sarca, SC ARHIPAC SERVICE SRL
- BF [ 1896947 ] Generate invoice from Order error
- BF [ 2007837 ] VCreateFrom.save() should run in trx
-
-
Field Summary
-
Fields inherited from class org.compiere.grid.CreateFrom
isSOTrx, log, m_rma, p_order
-
-
Constructor Summary
Constructors Constructor Description CreateFromInvoice(GridTab mTab)
Protected Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configureMiniTable(IMiniTable miniTable)
boolean
dynInit()
Dynamic Initprotected Vector<String>
getOISColumnNames()
protected Vector<Vector<Object>>
getRMAData(int M_RMA_ID)
Load RMA detailsprotected Vector<Vector<Object>>
getShipmentData(int M_InOut_ID)
Load Data - Shipment not invoicedvoid
info(IMiniTable miniTable, IStatusBar statusBar)
List number of rows selectedprotected ArrayList<KeyNamePair>
loadRMAData(int C_BPartner_ID)
Load PBartner dependent Order/Invoice/Shipment Field.protected ArrayList<KeyNamePair>
loadShipmentData(int C_BPartner_ID)
Load PBartner dependent Order/Invoice/Shipment Field.boolean
save(IMiniTable miniTable, String trxName)
Save - Create Invoice Lines-
Methods inherited from class org.compiere.grid.CreateFrom
closeWindow, getGridTab, getM_Warehouse_ID, getOrderData, getOrderData, getTitle, isInitOK, loadOrderData, loadOrderData, setInitOK, setTitle, showWindow
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.compiere.grid.ICreateFrom
getWindow
-
-
-
-
Constructor Detail
-
CreateFromInvoice
public CreateFromInvoice(GridTab mTab)
Protected Constructor- Parameters:
mTab
- MTab
-
-
Method Detail
-
dynInit
public boolean dynInit() throws Exception
Dynamic Init- Specified by:
dynInit
in classCreateFrom
- Returns:
- true if initialized
- Throws:
Exception
-
loadShipmentData
protected ArrayList<KeyNamePair> loadShipmentData(int C_BPartner_ID)
Load PBartner dependent Order/Invoice/Shipment Field.- Parameters:
C_BPartner_ID
-
-
loadRMAData
protected ArrayList<KeyNamePair> loadRMAData(int C_BPartner_ID)
Load PBartner dependent Order/Invoice/Shipment Field.- Parameters:
C_BPartner_ID
- BPartner
-
getShipmentData
protected Vector<Vector<Object>> getShipmentData(int M_InOut_ID)
Load Data - Shipment not invoiced- Parameters:
M_InOut_ID
- InOut
-
getRMAData
protected Vector<Vector<Object>> getRMAData(int M_RMA_ID)
Load RMA details- Parameters:
M_RMA_ID
- RMA
-
info
public void info(IMiniTable miniTable, IStatusBar statusBar)
List number of rows selected- Specified by:
info
in classCreateFrom
-
configureMiniTable
protected void configureMiniTable(IMiniTable miniTable)
-
save
public boolean save(IMiniTable miniTable, String trxName)
Save - Create Invoice Lines- Specified by:
save
in classCreateFrom
- Returns:
- true if saved
-
-