Package org.compiere.model
Class X_C_DunningLevel
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_C_DunningLevel
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_C_DunningLevel
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MDunningLevel
Generated Model for C_DunningLevel
- Version:
- Release 12 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
InvoiceCollectionType AD_Reference_ID=394static final String
Collection Agency = Cstatic final String
Dunning = Dstatic final String
Legal Procedure = Lstatic final String
Uncollectable = UFields 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_DunningLevel
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_Dunning_ID, COLUMNNAME_C_DunningLevel_ID, COLUMNNAME_C_DunningLevel_UU, COLUMNNAME_C_PaymentTerm_ID, COLUMNNAME_ChargeFee, COLUMNNAME_ChargeInterest, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_DaysAfterDue, COLUMNNAME_DaysBetweenDunning, COLUMNNAME_Description, COLUMNNAME_Dunning_PrintFormat_ID, COLUMNNAME_FeeAmt, COLUMNNAME_InterestPercent, COLUMNNAME_InvoiceCollectionType, COLUMNNAME_IsActive, COLUMNNAME_IsSetCreditStop, COLUMNNAME_IsSetPaymentTerm, COLUMNNAME_IsShowAllDue, COLUMNNAME_IsShowNotDue, COLUMNNAME_IsStatement, COLUMNNAME_Name, COLUMNNAME_Note, COLUMNNAME_PrintName, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_C_DunningLevel
(Properties ctx, int C_DunningLevel_ID, String trxName) Standard ConstructorX_C_DunningLevel
(Properties ctx, int C_DunningLevel_ID, String trxName, String... virtualColumns) Standard ConstructorX_C_DunningLevel
(Properties ctx, String C_DunningLevel_UU, String trxName) Standard ConstructorX_C_DunningLevel
(Properties ctx, String C_DunningLevel_UU, String trxName, String... virtualColumns) Standard ConstructorX_C_DunningLevel
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Dunning.int
Get Dunning Level.Get C_DunningLevel_UU.int
Get Payment Term.Get Days after due date.int
Get Days between dunning.Get Description.int
Get Dunning Print Format.Get Fee Amount.Get Interest in percent.Get Collection Status.Get Record ID/ColumnNamegetName()
Get Name.getNote()
Get Note.Get Print Text.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Charge fee.boolean
Get Charge Interest.boolean
Get Credit Stop.boolean
Get Set Payment Term.boolean
Get Show All Due.boolean
Get Show Not Due.boolean
Get Is Statement.void
setC_Dunning_ID
(int C_Dunning_ID) Set Dunning.void
setC_DunningLevel_ID
(int C_DunningLevel_ID) Set Dunning Level.void
setC_DunningLevel_UU
(String C_DunningLevel_UU) Set C_DunningLevel_UU.void
setC_PaymentTerm_ID
(int C_PaymentTerm_ID) Set Payment Term.void
setChargeFee
(boolean ChargeFee) Set Charge fee.void
setChargeInterest
(boolean ChargeInterest) Set Charge Interest.void
setDaysAfterDue
(BigDecimal DaysAfterDue) Set Days after due date.void
setDaysBetweenDunning
(int DaysBetweenDunning) Set Days between dunning.void
setDescription
(String Description) Set Description.void
setDunning_PrintFormat_ID
(int Dunning_PrintFormat_ID) Set Dunning Print Format.void
setFeeAmt
(BigDecimal FeeAmt) Set Fee Amount.void
setInterestPercent
(BigDecimal InterestPercent) Set Interest in percent.void
setInvoiceCollectionType
(String InvoiceCollectionType) Set Collection Status.void
setIsSetCreditStop
(boolean IsSetCreditStop) Set Credit Stop.void
setIsSetPaymentTerm
(boolean IsSetPaymentTerm) Set Set Payment Term.void
setIsShowAllDue
(boolean IsShowAllDue) Set Show All Due.void
setIsShowNotDue
(boolean IsShowNotDue) Set Show Not Due.void
setIsStatement
(boolean IsStatement) Set Is Statement.void
Set Name.void
Set Note.void
setPrintName
(String PrintName) Set Print Text.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_DunningLevel
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
-
Field Details
-
INVOICECOLLECTIONTYPE_AD_Reference_ID
public static final int INVOICECOLLECTIONTYPE_AD_Reference_IDInvoiceCollectionType AD_Reference_ID=394- See Also:
-
INVOICECOLLECTIONTYPE_CollectionAgency
Collection Agency = C- See Also:
-
INVOICECOLLECTIONTYPE_Dunning
Dunning = D- See Also:
-
INVOICECOLLECTIONTYPE_LegalProcedure
Legal Procedure = L- See Also:
-
INVOICECOLLECTIONTYPE_Uncollectable
Uncollectable = U- See Also:
-
-
Constructor Details
-
X_C_DunningLevel
Standard Constructor -
X_C_DunningLevel
public X_C_DunningLevel(Properties ctx, int C_DunningLevel_ID, String trxName, String... virtualColumns) Standard Constructor -
X_C_DunningLevel
Standard Constructor -
X_C_DunningLevel
public X_C_DunningLevel(Properties ctx, String C_DunningLevel_UU, String trxName, String... virtualColumns) Standard Constructor -
X_C_DunningLevel
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
setC_DunningLevel_ID
public void setC_DunningLevel_ID(int C_DunningLevel_ID) Set Dunning Level.- Specified by:
setC_DunningLevel_ID
in interfaceI_C_DunningLevel
- Parameters:
C_DunningLevel_ID
- Dunning Level
-
getC_DunningLevel_ID
public int getC_DunningLevel_ID()Get Dunning Level.- Specified by:
getC_DunningLevel_ID
in interfaceI_C_DunningLevel
- Returns:
- Dunning Level
-
setC_DunningLevel_UU
Set C_DunningLevel_UU.- Specified by:
setC_DunningLevel_UU
in interfaceI_C_DunningLevel
- Parameters:
C_DunningLevel_UU
- C_DunningLevel_UU
-
getC_DunningLevel_UU
Get C_DunningLevel_UU.- Specified by:
getC_DunningLevel_UU
in interfaceI_C_DunningLevel
- Returns:
- C_DunningLevel_UU
-
getC_Dunning
- Specified by:
getC_Dunning
in interfaceI_C_DunningLevel
- Throws:
RuntimeException
-
setC_Dunning_ID
public void setC_Dunning_ID(int C_Dunning_ID) Set Dunning.- Specified by:
setC_Dunning_ID
in interfaceI_C_DunningLevel
- Parameters:
C_Dunning_ID
- Dunning Rules for overdue invoices
-
getC_Dunning_ID
public int getC_Dunning_ID()Get Dunning.- Specified by:
getC_Dunning_ID
in interfaceI_C_DunningLevel
- Returns:
- Dunning Rules for overdue invoices
-
getC_PaymentTerm
- Specified by:
getC_PaymentTerm
in interfaceI_C_DunningLevel
- Throws:
RuntimeException
-
setC_PaymentTerm_ID
public void setC_PaymentTerm_ID(int C_PaymentTerm_ID) Set Payment Term.- Specified by:
setC_PaymentTerm_ID
in interfaceI_C_DunningLevel
- Parameters:
C_PaymentTerm_ID
- The terms of Payment (timing, discount)
-
getC_PaymentTerm_ID
public int getC_PaymentTerm_ID()Get Payment Term.- Specified by:
getC_PaymentTerm_ID
in interfaceI_C_DunningLevel
- Returns:
- The terms of Payment (timing, discount)
-
setChargeFee
public void setChargeFee(boolean ChargeFee) Set Charge fee.- Specified by:
setChargeFee
in interfaceI_C_DunningLevel
- Parameters:
ChargeFee
- Indicates if fees will be charged for overdue invoices
-
isChargeFee
public boolean isChargeFee()Get Charge fee.- Specified by:
isChargeFee
in interfaceI_C_DunningLevel
- Returns:
- Indicates if fees will be charged for overdue invoices
-
setChargeInterest
public void setChargeInterest(boolean ChargeInterest) Set Charge Interest.- Specified by:
setChargeInterest
in interfaceI_C_DunningLevel
- Parameters:
ChargeInterest
- Indicates if interest will be charged on overdue invoices
-
isChargeInterest
public boolean isChargeInterest()Get Charge Interest.- Specified by:
isChargeInterest
in interfaceI_C_DunningLevel
- Returns:
- Indicates if interest will be charged on overdue invoices
-
setDaysAfterDue
Set Days after due date.- Specified by:
setDaysAfterDue
in interfaceI_C_DunningLevel
- Parameters:
DaysAfterDue
- Days after due date to dun (if negative days until due)
-
getDaysAfterDue
Get Days after due date.- Specified by:
getDaysAfterDue
in interfaceI_C_DunningLevel
- Returns:
- Days after due date to dun (if negative days until due)
-
setDaysBetweenDunning
public void setDaysBetweenDunning(int DaysBetweenDunning) Set Days between dunning.- Specified by:
setDaysBetweenDunning
in interfaceI_C_DunningLevel
- Parameters:
DaysBetweenDunning
- Days between sending dunning notices
-
getDaysBetweenDunning
public int getDaysBetweenDunning()Get Days between dunning.- Specified by:
getDaysBetweenDunning
in interfaceI_C_DunningLevel
- Returns:
- Days between sending dunning notices
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_C_DunningLevel
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_C_DunningLevel
- Returns:
- Optional short description of the record
-
getDunning_PrintFormat
- Specified by:
getDunning_PrintFormat
in interfaceI_C_DunningLevel
- Throws:
RuntimeException
-
setDunning_PrintFormat_ID
public void setDunning_PrintFormat_ID(int Dunning_PrintFormat_ID) Set Dunning Print Format.- Specified by:
setDunning_PrintFormat_ID
in interfaceI_C_DunningLevel
- Parameters:
Dunning_PrintFormat_ID
- Print Format for printing Dunning Letters
-
getDunning_PrintFormat_ID
public int getDunning_PrintFormat_ID()Get Dunning Print Format.- Specified by:
getDunning_PrintFormat_ID
in interfaceI_C_DunningLevel
- Returns:
- Print Format for printing Dunning Letters
-
setFeeAmt
Set Fee Amount.- Specified by:
setFeeAmt
in interfaceI_C_DunningLevel
- Parameters:
FeeAmt
- Fee amount in invoice currency
-
getFeeAmt
Get Fee Amount.- Specified by:
getFeeAmt
in interfaceI_C_DunningLevel
- Returns:
- Fee amount in invoice currency
-
setInterestPercent
Set Interest in percent.- Specified by:
setInterestPercent
in interfaceI_C_DunningLevel
- Parameters:
InterestPercent
- Percentage interest to charge on overdue invoices
-
getInterestPercent
Get Interest in percent.- Specified by:
getInterestPercent
in interfaceI_C_DunningLevel
- Returns:
- Percentage interest to charge on overdue invoices
-
setInvoiceCollectionType
Set Collection Status.- Specified by:
setInvoiceCollectionType
in interfaceI_C_DunningLevel
- Parameters:
InvoiceCollectionType
- Invoice Collection Status
-
getInvoiceCollectionType
Get Collection Status.- Specified by:
getInvoiceCollectionType
in interfaceI_C_DunningLevel
- Returns:
- Invoice Collection Status
-
setIsSetCreditStop
public void setIsSetCreditStop(boolean IsSetCreditStop) Set Credit Stop.- Specified by:
setIsSetCreditStop
in interfaceI_C_DunningLevel
- Parameters:
IsSetCreditStop
- Set the business partner to credit stop
-
isSetCreditStop
public boolean isSetCreditStop()Get Credit Stop.- Specified by:
isSetCreditStop
in interfaceI_C_DunningLevel
- Returns:
- Set the business partner to credit stop
-
setIsSetPaymentTerm
public void setIsSetPaymentTerm(boolean IsSetPaymentTerm) Set Set Payment Term.- Specified by:
setIsSetPaymentTerm
in interfaceI_C_DunningLevel
- Parameters:
IsSetPaymentTerm
- Set the payment term of the Business Partner
-
isSetPaymentTerm
public boolean isSetPaymentTerm()Get Set Payment Term.- Specified by:
isSetPaymentTerm
in interfaceI_C_DunningLevel
- Returns:
- Set the payment term of the Business Partner
-
setIsShowAllDue
public void setIsShowAllDue(boolean IsShowAllDue) Set Show All Due.- Specified by:
setIsShowAllDue
in interfaceI_C_DunningLevel
- Parameters:
IsShowAllDue
- Show/print all due invoices
-
isShowAllDue
public boolean isShowAllDue()Get Show All Due.- Specified by:
isShowAllDue
in interfaceI_C_DunningLevel
- Returns:
- Show/print all due invoices
-
setIsShowNotDue
public void setIsShowNotDue(boolean IsShowNotDue) Set Show Not Due.- Specified by:
setIsShowNotDue
in interfaceI_C_DunningLevel
- Parameters:
IsShowNotDue
- Show/print all invoices which are not due (yet).
-
isShowNotDue
public boolean isShowNotDue()Get Show Not Due.- Specified by:
isShowNotDue
in interfaceI_C_DunningLevel
- Returns:
- Show/print all invoices which are not due (yet).
-
setIsStatement
public void setIsStatement(boolean IsStatement) Set Is Statement.- Specified by:
setIsStatement
in interfaceI_C_DunningLevel
- Parameters:
IsStatement
- Dunning Level is a definition of a statement
-
isStatement
public boolean isStatement()Get Is Statement.- Specified by:
isStatement
in interfaceI_C_DunningLevel
- Returns:
- Dunning Level is a definition of a statement
-
setName
Set Name.- Specified by:
setName
in interfaceI_C_DunningLevel
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getName
in interfaceI_C_DunningLevel
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setNote
Set Note.- Specified by:
setNote
in interfaceI_C_DunningLevel
- Parameters:
Note
- Optional additional user defined information
-
getNote
Get Note.- Specified by:
getNote
in interfaceI_C_DunningLevel
- Returns:
- Optional additional user defined information
-
setPrintName
Set Print Text.- Specified by:
setPrintName
in interfaceI_C_DunningLevel
- Parameters:
PrintName
- The label text to be printed on a document or correspondence.
-
getPrintName
Get Print Text.- Specified by:
getPrintName
in interfaceI_C_DunningLevel
- Returns:
- The label text to be printed on a document or correspondence.
-