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
Create Invoice Lines from Purchase Order, Material Receipt or Vendor RMA
- 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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
configureMiniTable
(IMiniTable miniTable) set class/type of columnsprotected boolean
dynInit()
dynamic initialization, usually for loading of datagetRMAData
(int M_RMA_ID) Load RMA line recordsgetShipmentData
(int M_InOut_ID) Load Shipment Lines not invoicedvoid
info
(IMiniTable miniTable, IStatusBar statusBar) update status bar with info from miniTableprotected ArrayList<KeyNamePair>
loadRMAData
(int C_BPartner_ID) Load BPartner related RMA recordsprotected ArrayList<KeyNamePair>
loadShipmentData
(int C_BPartner_ID) Load BPartner related Shipment records.boolean
save
(IMiniTable miniTable, String trxName) Save - Create Invoice LinesMethods inherited from class org.compiere.grid.CreateFrom
closeWindow, getGridTab, getM_Warehouse_ID, getOrderData, getOrderData, getTitle, getTrxName, isInitOK, loadOrderData, loadOrderData, setInitOK, setTitle, setTrxName, 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 Details
-
CreateFromInvoice
Constructor- Parameters:
mTab
- MTab
-
-
Method Details
-
dynInit
Description copied from class:CreateFrom
dynamic initialization, usually for loading of data- Specified by:
dynInit
in classCreateFrom
- Returns:
- true if initialization success
- Throws:
Exception
-
loadShipmentData
Load BPartner related Shipment records.- Parameters:
C_BPartner_ID
-- Returns:
- list of shipment records
-
loadRMAData
Load BPartner related RMA records- Parameters:
C_BPartner_ID
- BPartner- Returns:
- list of RMA records
-
getShipmentData
Load Shipment Lines not invoiced- Parameters:
M_InOut_ID
- InOut- Returns:
- shipment lines (selection,qty,[c_uom_id,uomSymbol/name],[m_product_id,name],vendorProductNo,[c_orderline_id,.],[m_inoutline_id,line],null)
-
getRMAData
Load RMA line records- Parameters:
M_RMA_ID
- RMA- Returns:
- RMA lines (selection,qty,[c_uom_id,uomSymbol/name],[m_product_id,name],null,null,null,[m_rmaline_id,line])
-
info
Description copied from class:CreateFrom
update status bar with info from miniTable- Specified by:
info
in classCreateFrom
-
configureMiniTable
set class/type of columns- Parameters:
miniTable
-
-
save
Save - Create Invoice Lines- Specified by:
save
in classCreateFrom
- Returns:
- true if saved
-
getOISColumnNames
- Returns:
- column header names (select,quantity,uom,product,vendorProductNo,order,shipment,rma)
-