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
Generated Model for C_AllocationLine
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
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, UUID_NEW_RECORD, 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_BankTransfer_ID, 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
ConstructorDescriptionX_C_AllocationLine
(Properties ctx, int C_AllocationLine_ID, String trxName) Standard ConstructorX_C_AllocationLine
(Properties ctx, int C_AllocationLine_ID, String trxName, String... virtualColumns) Standard ConstructorX_C_AllocationLine
(Properties ctx, String C_AllocationLine_UU, String trxName) Standard ConstructorX_C_AllocationLine
(Properties ctx, String C_AllocationLine_UU, String trxName, String... virtualColumns) Standard ConstructorX_C_AllocationLine
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelGet Amount.int
Get Allocation.int
Get Allocation Line.Get C_AllocationLine_UU.int
Get Bank Transfer.int
Get Business Partner.int
Get Cash Journal Line.int
Get Charge.int
Get Invoice.int
Get Order.int
Get Payment.Get Transaction Date.Get Discount Amount.Get Record ID/ColumnNameGet Over/Under Payment.Get Write-off Amount.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
isManual()
Get Manual.void
setAmount
(BigDecimal Amount) Set Amount.void
setC_AllocationHdr_ID
(int C_AllocationHdr_ID) Set Allocation.void
setC_AllocationLine_ID
(int C_AllocationLine_ID) Set Allocation Line.void
setC_AllocationLine_UU
(String C_AllocationLine_UU) Set C_AllocationLine_UU.void
setC_BankTransfer_ID
(int C_BankTransfer_ID) Set Bank Transfer.void
setC_BPartner_ID
(int C_BPartner_ID) Set Business Partner.void
setC_CashLine_ID
(int C_CashLine_ID) Set Cash Journal Line.void
setC_Charge_ID
(int C_Charge_ID) Set Charge.void
setC_Invoice_ID
(int C_Invoice_ID) Set Invoice.void
setC_Order_ID
(int C_Order_ID) Set Order.void
setC_Payment_ID
(int C_Payment_ID) Set Payment.void
setDateTrx
(Timestamp DateTrx) Set Transaction Date.void
setDiscountAmt
(BigDecimal DiscountAmt) Set Discount Amount.void
setIsManual
(boolean IsManual) Set Manual.void
setOverUnderAmt
(BigDecimal OverUnderAmt) Set Over/Under Payment.void
setWriteOffAmt
(BigDecimal WriteOffAmt) Set Write-off Amount.toString()
String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, 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_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, 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, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, 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, toInsertSQL, 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 Details
-
X_C_AllocationLine
Standard Constructor -
X_C_AllocationLine
public X_C_AllocationLine(Properties ctx, int C_AllocationLine_ID, String trxName, String... virtualColumns) Standard Constructor -
X_C_AllocationLine
Standard Constructor -
X_C_AllocationLine
public X_C_AllocationLine(Properties ctx, String C_AllocationLine_UU, String trxName, String... virtualColumns) Standard Constructor -
X_C_AllocationLine
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 1 - Org
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
setAmount
Set Amount.- Specified by:
setAmount
in interfaceI_C_AllocationLine
- Parameters:
Amount
- Amount in a defined currency
-
getAmount
Get Amount.- Specified by:
getAmount
in interfaceI_C_AllocationLine
- Returns:
- Amount in a defined currency
-
getC_AllocationHdr
- Specified by:
getC_AllocationHdr
in interfaceI_C_AllocationLine
- Throws:
RuntimeException
-
setC_AllocationHdr_ID
public void setC_AllocationHdr_ID(int C_AllocationHdr_ID) Set Allocation.- Specified by:
setC_AllocationHdr_ID
in interfaceI_C_AllocationLine
- Parameters:
C_AllocationHdr_ID
- Payment allocation
-
getC_AllocationHdr_ID
public int getC_AllocationHdr_ID()Get Allocation.- Specified by:
getC_AllocationHdr_ID
in 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_ID
in interfaceI_C_AllocationLine
- Parameters:
C_AllocationLine_ID
- Allocation Line
-
getC_AllocationLine_ID
public int getC_AllocationLine_ID()Get Allocation Line.- Specified by:
getC_AllocationLine_ID
in interfaceI_C_AllocationLine
- Returns:
- Allocation Line
-
setC_AllocationLine_UU
Set C_AllocationLine_UU.- Specified by:
setC_AllocationLine_UU
in interfaceI_C_AllocationLine
- Parameters:
C_AllocationLine_UU
- C_AllocationLine_UU
-
getC_AllocationLine_UU
Get C_AllocationLine_UU.- Specified by:
getC_AllocationLine_UU
in interfaceI_C_AllocationLine
- Returns:
- C_AllocationLine_UU
-
getC_BankTransfer
- Specified by:
getC_BankTransfer
in interfaceI_C_AllocationLine
- Throws:
RuntimeException
-
setC_BankTransfer_ID
public void setC_BankTransfer_ID(int C_BankTransfer_ID) Set Bank Transfer.- Specified by:
setC_BankTransfer_ID
in interfaceI_C_AllocationLine
- Parameters:
C_BankTransfer_ID
- Bank Transfer
-
getC_BankTransfer_ID
public int getC_BankTransfer_ID()Get Bank Transfer.- Specified by:
getC_BankTransfer_ID
in interfaceI_C_AllocationLine
- Returns:
- Bank Transfer
-
getC_BPartner
- Specified by:
getC_BPartner
in interfaceI_C_AllocationLine
- Throws:
RuntimeException
-
setC_BPartner_ID
public void setC_BPartner_ID(int C_BPartner_ID) Set Business Partner.- Specified by:
setC_BPartner_ID
in 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_ID
in interfaceI_C_AllocationLine
- Returns:
- Identifies a Business Partner
-
getC_CashLine
- Specified by:
getC_CashLine
in 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_ID
in 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_ID
in interfaceI_C_AllocationLine
- Returns:
- Cash Journal Line
-
getC_Charge
- Specified by:
getC_Charge
in interfaceI_C_AllocationLine
- Throws:
RuntimeException
-
setC_Charge_ID
public void setC_Charge_ID(int C_Charge_ID) Set Charge.- Specified by:
setC_Charge_ID
in interfaceI_C_AllocationLine
- Parameters:
C_Charge_ID
- Additional document charges
-
getC_Charge_ID
public int getC_Charge_ID()Get Charge.- Specified by:
getC_Charge_ID
in interfaceI_C_AllocationLine
- Returns:
- Additional document charges
-
getC_Invoice
- Specified by:
getC_Invoice
in interfaceI_C_AllocationLine
- Throws:
RuntimeException
-
setC_Invoice_ID
public void setC_Invoice_ID(int C_Invoice_ID) Set Invoice.- Specified by:
setC_Invoice_ID
in interfaceI_C_AllocationLine
- Parameters:
C_Invoice_ID
- Invoice Identifier
-
getC_Invoice_ID
public int getC_Invoice_ID()Get Invoice.- Specified by:
getC_Invoice_ID
in interfaceI_C_AllocationLine
- Returns:
- Invoice Identifier
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
getC_Order
- Specified by:
getC_Order
in interfaceI_C_AllocationLine
- Throws:
RuntimeException
-
setC_Order_ID
public void setC_Order_ID(int C_Order_ID) Set Order.- Specified by:
setC_Order_ID
in interfaceI_C_AllocationLine
- Parameters:
C_Order_ID
- Order
-
getC_Order_ID
public int getC_Order_ID()Get Order.- Specified by:
getC_Order_ID
in interfaceI_C_AllocationLine
- Returns:
- Order
-
getC_Payment
- Specified by:
getC_Payment
in interfaceI_C_AllocationLine
- Throws:
RuntimeException
-
setC_Payment_ID
public void setC_Payment_ID(int C_Payment_ID) Set Payment.- Specified by:
setC_Payment_ID
in interfaceI_C_AllocationLine
- Parameters:
C_Payment_ID
- Payment identifier
-
getC_Payment_ID
public int getC_Payment_ID()Get Payment.- Specified by:
getC_Payment_ID
in interfaceI_C_AllocationLine
- Returns:
- Payment identifier
-
setDateTrx
Set Transaction Date.- Specified by:
setDateTrx
in interfaceI_C_AllocationLine
- Parameters:
DateTrx
- Transaction Date
-
getDateTrx
Get Transaction Date.- Specified by:
getDateTrx
in interfaceI_C_AllocationLine
- Returns:
- Transaction Date
-
setDiscountAmt
Set Discount Amount.- Specified by:
setDiscountAmt
in interfaceI_C_AllocationLine
- Parameters:
DiscountAmt
- Calculated amount of discount
-
getDiscountAmt
Get Discount Amount.- Specified by:
getDiscountAmt
in interfaceI_C_AllocationLine
- Returns:
- Calculated amount of discount
-
setIsManual
public void setIsManual(boolean IsManual) Set Manual.- Specified by:
setIsManual
in interfaceI_C_AllocationLine
- Parameters:
IsManual
- This is a manual process
-
isManual
public boolean isManual()Get Manual.- Specified by:
isManual
in interfaceI_C_AllocationLine
- Returns:
- This is a manual process
-
setOverUnderAmt
Set Over/Under Payment.- Specified by:
setOverUnderAmt
in interfaceI_C_AllocationLine
- Parameters:
OverUnderAmt
- Over-Payment (unallocated) or Under-Payment (partial payment) Amount
-
getOverUnderAmt
Get Over/Under Payment.- Specified by:
getOverUnderAmt
in interfaceI_C_AllocationLine
- Returns:
- Over-Payment (unallocated) or Under-Payment (partial payment) Amount
-
setWriteOffAmt
Set Write-off Amount.- Specified by:
setWriteOffAmt
in interfaceI_C_AllocationLine
- Parameters:
WriteOffAmt
- Amount to write-off
-
getWriteOffAmt
Get Write-off Amount.- Specified by:
getWriteOffAmt
in interfaceI_C_AllocationLine
- Returns:
- Amount to write-off
-