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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconfigureMiniTable(IMiniTable miniTable) set class/type of columnsprotected booleandynInit()dynamic initialization, usually for loading of datagetRMAData(int M_RMA_ID) Load RMA line recordsgetShipmentData(int M_InOut_ID) Load Shipment Lines not invoicedvoidinfo(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.booleansave(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, showWindowMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.compiere.grid.ICreateFrom
getWindow
-
Constructor Details
-
CreateFromInvoice
Constructor- Parameters:
mTab- MTab
-
-
Method Details
-
dynInit
Description copied from class:CreateFromdynamic initialization, usually for loading of data- Specified by:
dynInitin 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:CreateFromupdate status bar with info from miniTable- Specified by:
infoin classCreateFrom
-
configureMiniTable
set class/type of columns- Parameters:
miniTable-
-
save
Save - Create Invoice Lines- Specified by:
savein classCreateFrom- Returns:
- true if saved
-
getOISColumnNames
- Returns:
- column header names (select,quantity,uom,product,vendorProductNo,order,shipment,rma)
-