Package org.compiere.model
Class X_C_AllocationLine
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_C_AllocationLine
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparator<Object>,I_C_AllocationLine,I_Persistent,Evaluatee
- Direct Known Subclasses:
MAllocationLine
public class X_C_AllocationLine extends PO implements I_C_AllocationLine, I_Persistent
Generated Model for C_AllocationLine- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, LOCAL_TRX_PREFIX, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
-
Fields inherited from interface org.compiere.model.I_C_AllocationLine
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_Amount, COLUMNNAME_C_AllocationHdr_ID, COLUMNNAME_C_AllocationLine_ID, COLUMNNAME_C_AllocationLine_UU, COLUMNNAME_C_BPartner_ID, COLUMNNAME_C_CashLine_ID, COLUMNNAME_C_Charge_ID, COLUMNNAME_C_Invoice_ID, COLUMNNAME_C_Order_ID, COLUMNNAME_C_Payment_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_DateTrx, COLUMNNAME_DiscountAmt, COLUMNNAME_IsActive, COLUMNNAME_IsManual, COLUMNNAME_OverUnderAmt, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_WriteOffAmt, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_C_AllocationLine(Properties ctx, int C_AllocationLine_ID, String trxName)Standard ConstructorX_C_AllocationLine(Properties ctx, ResultSet rs, String trxName)Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intget_AccessLevel()AccessLevelBigDecimalgetAmount()Get Amount.I_C_AllocationHdrgetC_AllocationHdr()intgetC_AllocationHdr_ID()Get Allocation.intgetC_AllocationLine_ID()Get Allocation Line.StringgetC_AllocationLine_UU()Get C_AllocationLine_UU.I_C_BPartnergetC_BPartner()intgetC_BPartner_ID()Get Business Partner.I_C_CashLinegetC_CashLine()intgetC_CashLine_ID()Get Cash Journal Line.I_C_ChargegetC_Charge()intgetC_Charge_ID()Get Charge.I_C_InvoicegetC_Invoice()intgetC_Invoice_ID()Get Invoice.I_C_OrdergetC_Order()intgetC_Order_ID()Get Order.I_C_PaymentgetC_Payment()intgetC_Payment_ID()Get Payment.TimestampgetDateTrx()Get Transaction Date.BigDecimalgetDiscountAmt()Get Discount Amount.KeyNamePairgetKeyNamePair()Get Record ID/ColumnNameBigDecimalgetOverUnderAmt()Get Over/Under Payment.BigDecimalgetWriteOffAmt()Get Write-off Amount.protected POInfoinitPO(Properties ctx)Load Meta DatabooleanisManual()Get Manual.voidsetAmount(BigDecimal Amount)Set Amount.voidsetC_AllocationHdr_ID(int C_AllocationHdr_ID)Set Allocation.voidsetC_AllocationLine_ID(int C_AllocationLine_ID)Set Allocation Line.voidsetC_AllocationLine_UU(String C_AllocationLine_UU)Set C_AllocationLine_UU.voidsetC_BPartner_ID(int C_BPartner_ID)Set Business Partner.voidsetC_CashLine_ID(int C_CashLine_ID)Set Cash Journal Line.voidsetC_Charge_ID(int C_Charge_ID)Set Charge.voidsetC_Invoice_ID(int C_Invoice_ID)Set Invoice.voidsetC_Order_ID(int C_Order_ID)Set Order.voidsetC_Payment_ID(int C_Payment_ID)Set Payment.voidsetDateTrx(Timestamp DateTrx)Set Transaction Date.voidsetDiscountAmt(BigDecimal DiscountAmt)Set Discount Amount.voidsetIsManual(boolean IsManual)Set Manual.voidsetOverUnderAmt(BigDecimal OverUnderAmt)Set Over/Under Payment.voidsetWriteOffAmt(BigDecimal WriteOffAmt)Set Write-off Amount.StringtoString()String representation-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock, update_Tree, validForeignKeys
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from interface org.compiere.model.I_C_AllocationLine
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
-
Methods inherited from interface org.compiere.model.I_Persistent
save
-
-
-
-
Constructor Detail
-
X_C_AllocationLine
public X_C_AllocationLine(Properties ctx, int C_AllocationLine_ID, String trxName)
Standard Constructor
-
X_C_AllocationLine
public X_C_AllocationLine(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevelin classPO- Returns:
- 1 - Org
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
setAmount
public void setAmount(BigDecimal Amount)
Set Amount.- Specified by:
setAmountin interfaceI_C_AllocationLine- Parameters:
Amount- Amount in a defined currency
-
getAmount
public BigDecimal getAmount()
Get Amount.- Specified by:
getAmountin interfaceI_C_AllocationLine- Returns:
- Amount in a defined currency
-
getC_AllocationHdr
public I_C_AllocationHdr getC_AllocationHdr() throws RuntimeException
- Specified by:
getC_AllocationHdrin interfaceI_C_AllocationLine- Throws:
RuntimeException
-
setC_AllocationHdr_ID
public void setC_AllocationHdr_ID(int C_AllocationHdr_ID)
Set Allocation.- Specified by:
setC_AllocationHdr_IDin interfaceI_C_AllocationLine- Parameters:
C_AllocationHdr_ID- Payment allocation
-
getC_AllocationHdr_ID
public int getC_AllocationHdr_ID()
Get Allocation.- Specified by:
getC_AllocationHdr_IDin interfaceI_C_AllocationLine- Returns:
- Payment allocation
-
setC_AllocationLine_ID
public void setC_AllocationLine_ID(int C_AllocationLine_ID)
Set Allocation Line.- Specified by:
setC_AllocationLine_IDin interfaceI_C_AllocationLine- Parameters:
C_AllocationLine_ID- Allocation Line
-
getC_AllocationLine_ID
public int getC_AllocationLine_ID()
Get Allocation Line.- Specified by:
getC_AllocationLine_IDin interfaceI_C_AllocationLine- Returns:
- Allocation Line
-
setC_AllocationLine_UU
public void setC_AllocationLine_UU(String C_AllocationLine_UU)
Set C_AllocationLine_UU.- Specified by:
setC_AllocationLine_UUin interfaceI_C_AllocationLine- Parameters:
C_AllocationLine_UU- C_AllocationLine_UU
-
getC_AllocationLine_UU
public String getC_AllocationLine_UU()
Get C_AllocationLine_UU.- Specified by:
getC_AllocationLine_UUin interfaceI_C_AllocationLine- Returns:
- C_AllocationLine_UU
-
getC_BPartner
public I_C_BPartner getC_BPartner() throws RuntimeException
- Specified by:
getC_BPartnerin interfaceI_C_AllocationLine- Throws:
RuntimeException
-
setC_BPartner_ID
public void setC_BPartner_ID(int C_BPartner_ID)
Set Business Partner.- Specified by:
setC_BPartner_IDin interfaceI_C_AllocationLine- Parameters:
C_BPartner_ID- Identifies a Business Partner
-
getC_BPartner_ID
public int getC_BPartner_ID()
Get Business Partner.- Specified by:
getC_BPartner_IDin interfaceI_C_AllocationLine- Returns:
- Identifies a Business Partner
-
getC_CashLine
public I_C_CashLine getC_CashLine() throws RuntimeException
- Specified by:
getC_CashLinein interfaceI_C_AllocationLine- Throws:
RuntimeException
-
setC_CashLine_ID
public void setC_CashLine_ID(int C_CashLine_ID)
Set Cash Journal Line.- Specified by:
setC_CashLine_IDin interfaceI_C_AllocationLine- Parameters:
C_CashLine_ID- Cash Journal Line
-
getC_CashLine_ID
public int getC_CashLine_ID()
Get Cash Journal Line.- Specified by:
getC_CashLine_IDin interfaceI_C_AllocationLine- Returns:
- Cash Journal Line
-
getC_Charge
public I_C_Charge getC_Charge() throws RuntimeException
- Specified by:
getC_Chargein interfaceI_C_AllocationLine- Throws:
RuntimeException
-
setC_Charge_ID
public void setC_Charge_ID(int C_Charge_ID)
Set Charge.- Specified by:
setC_Charge_IDin interfaceI_C_AllocationLine- Parameters:
C_Charge_ID- Additional document charges
-
getC_Charge_ID
public int getC_Charge_ID()
Get Charge.- Specified by:
getC_Charge_IDin interfaceI_C_AllocationLine- Returns:
- Additional document charges
-
getC_Invoice
public I_C_Invoice getC_Invoice() throws RuntimeException
- Specified by:
getC_Invoicein interfaceI_C_AllocationLine- Throws:
RuntimeException
-
setC_Invoice_ID
public void setC_Invoice_ID(int C_Invoice_ID)
Set Invoice.- Specified by:
setC_Invoice_IDin interfaceI_C_AllocationLine- Parameters:
C_Invoice_ID- Invoice Identifier
-
getC_Invoice_ID
public int getC_Invoice_ID()
Get Invoice.- Specified by:
getC_Invoice_IDin interfaceI_C_AllocationLine- Returns:
- Invoice Identifier
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
getC_Order
public I_C_Order getC_Order() throws RuntimeException
- Specified by:
getC_Orderin interfaceI_C_AllocationLine- Throws:
RuntimeException
-
setC_Order_ID
public void setC_Order_ID(int C_Order_ID)
Set Order.- Specified by:
setC_Order_IDin interfaceI_C_AllocationLine- Parameters:
C_Order_ID- Order
-
getC_Order_ID
public int getC_Order_ID()
Get Order.- Specified by:
getC_Order_IDin interfaceI_C_AllocationLine- Returns:
- Order
-
getC_Payment
public I_C_Payment getC_Payment() throws RuntimeException
- Specified by:
getC_Paymentin interfaceI_C_AllocationLine- Throws:
RuntimeException
-
setC_Payment_ID
public void setC_Payment_ID(int C_Payment_ID)
Set Payment.- Specified by:
setC_Payment_IDin interfaceI_C_AllocationLine- Parameters:
C_Payment_ID- Payment identifier
-
getC_Payment_ID
public int getC_Payment_ID()
Get Payment.- Specified by:
getC_Payment_IDin interfaceI_C_AllocationLine- Returns:
- Payment identifier
-
setDateTrx
public void setDateTrx(Timestamp DateTrx)
Set Transaction Date.- Specified by:
setDateTrxin interfaceI_C_AllocationLine- Parameters:
DateTrx- Transaction Date
-
getDateTrx
public Timestamp getDateTrx()
Get Transaction Date.- Specified by:
getDateTrxin interfaceI_C_AllocationLine- Returns:
- Transaction Date
-
setDiscountAmt
public void setDiscountAmt(BigDecimal DiscountAmt)
Set Discount Amount.- Specified by:
setDiscountAmtin interfaceI_C_AllocationLine- Parameters:
DiscountAmt- Calculated amount of discount
-
getDiscountAmt
public BigDecimal getDiscountAmt()
Get Discount Amount.- Specified by:
getDiscountAmtin interfaceI_C_AllocationLine- Returns:
- Calculated amount of discount
-
setIsManual
public void setIsManual(boolean IsManual)
Set Manual.- Specified by:
setIsManualin interfaceI_C_AllocationLine- Parameters:
IsManual- This is a manual process
-
isManual
public boolean isManual()
Get Manual.- Specified by:
isManualin interfaceI_C_AllocationLine- Returns:
- This is a manual process
-
setOverUnderAmt
public void setOverUnderAmt(BigDecimal OverUnderAmt)
Set Over/Under Payment.- Specified by:
setOverUnderAmtin interfaceI_C_AllocationLine- Parameters:
OverUnderAmt- Over-Payment (unallocated) or Under-Payment (partial payment) Amount
-
getOverUnderAmt
public BigDecimal getOverUnderAmt()
Get Over/Under Payment.- Specified by:
getOverUnderAmtin interfaceI_C_AllocationLine- Returns:
- Over-Payment (unallocated) or Under-Payment (partial payment) Amount
-
setWriteOffAmt
public void setWriteOffAmt(BigDecimal WriteOffAmt)
Set Write-off Amount.- Specified by:
setWriteOffAmtin interfaceI_C_AllocationLine- Parameters:
WriteOffAmt- Amount to write-off
-
getWriteOffAmt
public BigDecimal getWriteOffAmt()
Get Write-off Amount.- Specified by:
getWriteOffAmtin interfaceI_C_AllocationLine- Returns:
- Amount to write-off
-
-