Package org.compiere.model
Class MAging
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_T_Aging
org.compiere.model.MAging
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_Persistent
,I_T_Aging
,Evaluatee
Aging Model
- Version:
- $Id: MAging.java,v 1.3 2006/07/30 00:51:03 jjanke Exp $
- Author:
- Jorg Janke
- 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_T_Aging
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_PInstance_ID, COLUMNNAME_C_Activity_ID, COLUMNNAME_C_BP_Group_ID, COLUMNNAME_C_BPartner_ID, COLUMNNAME_C_Campaign_ID, COLUMNNAME_C_Currency_ID, COLUMNNAME_C_Invoice_ID, COLUMNNAME_C_InvoicePaySchedule_ID, COLUMNNAME_C_Project_ID, COLUMNNAME_ConvertAmountsInCurrency_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_DateAcct, COLUMNNAME_DaysDue, COLUMNNAME_Due0, COLUMNNAME_Due0_30, COLUMNNAME_Due0_7, COLUMNNAME_Due1_7, COLUMNNAME_Due31_60, COLUMNNAME_Due31_Plus, COLUMNNAME_Due61_90, COLUMNNAME_Due61_Plus, COLUMNNAME_Due8_30, COLUMNNAME_Due91_Plus, COLUMNNAME_DueAmt, COLUMNNAME_DueDate, COLUMNNAME_InvoicedAmt, COLUMNNAME_IsActive, COLUMNNAME_IsListInvoices, COLUMNNAME_IsSOTrx, COLUMNNAME_OpenAmt, COLUMNNAME_PastDue1_30, COLUMNNAME_PastDue1_7, COLUMNNAME_PastDue31_60, COLUMNNAME_PastDue31_Plus, COLUMNNAME_PastDue61_90, COLUMNNAME_PastDue61_Plus, COLUMNNAME_PastDue8_30, COLUMNNAME_PastDue91_Plus, COLUMNNAME_PastDueAmt, COLUMNNAME_StatementDate, COLUMNNAME_T_Aging_UU, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionMAging
(Properties ctx, int T_Aging_ID, String trxName) Standard ConstructorMAging
(Properties ctx, int AD_PInstance_ID, Timestamp StatementDate, int C_BPartner_ID, int C_Currency_ID, int C_Invoice_ID, int C_InvoicePaySchedule_ID, int C_BP_Group_ID, int AD_Org_ID, Timestamp DueDate, boolean IsSOTrx, String trxName) MAging
(Properties ctx, int AD_PInstance_ID, Timestamp StatementDate, int C_BPartner_ID, int C_Currency_ID, int C_Invoice_ID, int C_InvoicePaySchedule_ID, int C_BP_Group_ID, Timestamp DueDate, boolean IsSOTrx, String trxName) Deprecated, for removal: This API element is subject to removal in a future version.- better use the new constructor with organization includedMAging
(Properties ctx, String T_Aging_UU, String trxName) UUID based ConstructorMAging
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(Timestamp DueDate, int daysDue, BigDecimal invoicedAmt, BigDecimal openAmt) Add Amount to Buckets (by days due)toString()
String RepresentationMethods inherited from class org.compiere.model.X_T_Aging
get_AccessLevel, getAD_PInstance, getAD_PInstance_ID, getC_Activity, getC_Activity_ID, getC_BP_Group, getC_BP_Group_ID, getC_BPartner, getC_BPartner_ID, getC_Campaign, getC_Campaign_ID, getC_Currency, getC_Currency_ID, getC_Invoice, getC_Invoice_ID, getC_InvoicePaySchedule, getC_InvoicePaySchedule_ID, getC_Project, getC_Project_ID, getConvertAmountsInCurrency, getConvertAmountsInCurrency_ID, getDaysDue, getDue0, getDue0_30, getDue0_7, getDue1_7, getDue31_60, getDue31_Plus, getDue61_90, getDue61_Plus, getDue8_30, getDue91_Plus, getDueAmt, getDueDate, getInvoicedAmt, getOpenAmt, getPastDue1_30, getPastDue1_7, getPastDue31_60, getPastDue31_Plus, getPastDue61_90, getPastDue61_Plus, getPastDue8_30, getPastDue91_Plus, getPastDueAmt, getStatementDate, getT_Aging_UU, initPO, isDateAcct, isListInvoices, isSOTrx, setAD_PInstance_ID, setC_Activity_ID, setC_BP_Group_ID, setC_BPartner_ID, setC_Campaign_ID, setC_Currency_ID, setC_Invoice_ID, setC_InvoicePaySchedule_ID, setC_Project_ID, setConvertAmountsInCurrency_ID, setDateAcct, setDaysDue, setDue0, setDue0_30, setDue0_7, setDue1_7, setDue31_60, setDue31_Plus, setDue61_90, setDue61_Plus, setDue8_30, setDue91_Plus, setDueAmt, setDueDate, setInvoicedAmt, setIsListInvoices, setIsSOTrx, setOpenAmt, setPastDue1_30, setPastDue1_7, setPastDue31_60, setPastDue31_Plus, setPastDue61_90, setPastDue61_Plus, setPastDue8_30, setPastDue91_Plus, setPastDueAmt, setStatementDate, setT_Aging_UU
Methods 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_Persistent
save
Methods inherited from interface org.compiere.model.I_T_Aging
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
-
Constructor Details
-
MAging
UUID based Constructor- Parameters:
ctx
- ContextT_Aging_UU
- UUID keytrxName
- Transaction
-
MAging
Standard Constructor- Parameters:
ctx
- contextT_Aging_ID
- idtrxName
- transaction
-
MAging
public MAging(Properties ctx, int AD_PInstance_ID, Timestamp StatementDate, int C_BPartner_ID, int C_Currency_ID, int C_Invoice_ID, int C_InvoicePaySchedule_ID, int C_BP_Group_ID, int AD_Org_ID, Timestamp DueDate, boolean IsSOTrx, String trxName) - Parameters:
ctx
- contextAD_PInstance_ID
- instanceStatementDate
- statement dateC_BPartner_ID
- bpartnerC_Currency_ID
- currencyC_Invoice_ID
- invoiceC_InvoicePaySchedule_ID
- invoice scheduleC_BP_Group_ID
- groupAD_Org_ID
- organizationDueDate
- due dateIsSOTrx
- SO TrxtrxName
- transaction
-
MAging
@Deprecated(forRemoval=true, since="11") public MAging(Properties ctx, int AD_PInstance_ID, Timestamp StatementDate, int C_BPartner_ID, int C_Currency_ID, int C_Invoice_ID, int C_InvoicePaySchedule_ID, int C_BP_Group_ID, Timestamp DueDate, boolean IsSOTrx, String trxName) Deprecated, for removal: This API element is subject to removal in a future version.- better use the new constructor with organization includedPartial Constructor - backward compatibility- Parameters:
ctx
- contextAD_PInstance_ID
- instanceStatementDate
- statement dateC_BPartner_ID
- bpartnerC_Currency_ID
- currencyC_Invoice_ID
- invoiceC_InvoicePaySchedule_ID
- invoice scheduleC_BP_Group_ID
- groupDueDate
- due dateIsSOTrx
- SO TrxtrxName
- transaction
-
MAging
Load Constructor- Parameters:
ctx
- contextrs
- result settrxName
- transaction
-
-
Method Details