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
public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persistent
Generated Model for C_DunningLevel- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
INVOICECOLLECTIONTYPE_AD_Reference_ID
InvoiceCollectionType AD_Reference_ID=394static String
INVOICECOLLECTIONTYPE_CollectionAgency
Collection Agency = Cstatic String
INVOICECOLLECTIONTYPE_Dunning
Dunning = Dstatic String
INVOICECOLLECTIONTYPE_LegalProcedure
Legal Procedure = Lstatic String
INVOICECOLLECTIONTYPE_Uncollectable
Uncollectable = U-
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_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
Constructors Constructor Description X_C_DunningLevel(Properties ctx, int C_DunningLevel_ID, String trxName)
Standard ConstructorX_C_DunningLevel(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
get_AccessLevel()
AccessLevelI_C_Dunning
getC_Dunning()
int
getC_Dunning_ID()
Get Dunning.int
getC_DunningLevel_ID()
Get Dunning Level.String
getC_DunningLevel_UU()
Get C_DunningLevel_UU.I_C_PaymentTerm
getC_PaymentTerm()
int
getC_PaymentTerm_ID()
Get Payment Term.BigDecimal
getDaysAfterDue()
Get Days after due date.int
getDaysBetweenDunning()
Get Days between dunning.String
getDescription()
Get Description.I_AD_PrintFormat
getDunning_PrintFormat()
int
getDunning_PrintFormat_ID()
Get Dunning Print Format.BigDecimal
getFeeAmt()
Get Fee Amount.BigDecimal
getInterestPercent()
Get Interest in percent.String
getInvoiceCollectionType()
Get Collection Status.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameString
getName()
Get Name.String
getNote()
Get Note.String
getPrintName()
Get Print Text.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isChargeFee()
Get Charge fee.boolean
isChargeInterest()
Get Charge Interest.boolean
isSetCreditStop()
Get Credit Stop.boolean
isSetPaymentTerm()
Get Set Payment Term.boolean
isShowAllDue()
Get Show All Due.boolean
isShowNotDue()
Get Show Not Due.boolean
isStatement()
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
setName(String Name)
Set Name.void
setNote(String Note)
Set Note.void
setPrintName(String PrintName)
Set Print Text.String
toString()
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_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 Detail
-
INVOICECOLLECTIONTYPE_AD_Reference_ID
public static final int INVOICECOLLECTIONTYPE_AD_Reference_ID
InvoiceCollectionType AD_Reference_ID=394- See Also:
- Constant Field Values
-
INVOICECOLLECTIONTYPE_CollectionAgency
public static final String INVOICECOLLECTIONTYPE_CollectionAgency
Collection Agency = C- See Also:
- Constant Field Values
-
INVOICECOLLECTIONTYPE_Dunning
public static final String INVOICECOLLECTIONTYPE_Dunning
Dunning = D- See Also:
- Constant Field Values
-
INVOICECOLLECTIONTYPE_LegalProcedure
public static final String INVOICECOLLECTIONTYPE_LegalProcedure
Legal Procedure = L- See Also:
- Constant Field Values
-
INVOICECOLLECTIONTYPE_Uncollectable
public static final String INVOICECOLLECTIONTYPE_Uncollectable
Uncollectable = U- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_C_DunningLevel
public X_C_DunningLevel(Properties ctx, int C_DunningLevel_ID, String trxName)
Standard Constructor
-
X_C_DunningLevel
public X_C_DunningLevel(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 3 - Client - Org
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
getC_Dunning
public I_C_Dunning getC_Dunning() throws RuntimeException
- 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
-
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
public void setC_DunningLevel_UU(String C_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
public String getC_DunningLevel_UU()
Get C_DunningLevel_UU.- Specified by:
getC_DunningLevel_UU
in interfaceI_C_DunningLevel
- Returns:
- C_DunningLevel_UU
-
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
-
getC_PaymentTerm
public I_C_PaymentTerm getC_PaymentTerm() throws RuntimeException
- 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)
-
setDaysAfterDue
public void setDaysAfterDue(BigDecimal DaysAfterDue)
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
public BigDecimal 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
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_C_DunningLevel
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_C_DunningLevel
- Returns:
- Optional short description of the record
-
getDunning_PrintFormat
public I_AD_PrintFormat getDunning_PrintFormat() throws RuntimeException
- 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
public void setFeeAmt(BigDecimal FeeAmt)
Set Fee Amount.- Specified by:
setFeeAmt
in interfaceI_C_DunningLevel
- Parameters:
FeeAmt
- Fee amount in invoice currency
-
getFeeAmt
public BigDecimal getFeeAmt()
Get Fee Amount.- Specified by:
getFeeAmt
in interfaceI_C_DunningLevel
- Returns:
- Fee amount in invoice currency
-
setInterestPercent
public void setInterestPercent(BigDecimal InterestPercent)
Set Interest in percent.- Specified by:
setInterestPercent
in interfaceI_C_DunningLevel
- Parameters:
InterestPercent
- Percentage interest to charge on overdue invoices
-
getInterestPercent
public BigDecimal getInterestPercent()
Get Interest in percent.- Specified by:
getInterestPercent
in interfaceI_C_DunningLevel
- Returns:
- Percentage interest to charge on overdue invoices
-
setInvoiceCollectionType
public void setInvoiceCollectionType(String InvoiceCollectionType)
Set Collection Status.- Specified by:
setInvoiceCollectionType
in interfaceI_C_DunningLevel
- Parameters:
InvoiceCollectionType
- Invoice Collection Status
-
getInvoiceCollectionType
public String 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
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_C_DunningLevel
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_C_DunningLevel
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setNote
public void setNote(String Note)
Set Note.- Specified by:
setNote
in interfaceI_C_DunningLevel
- Parameters:
Note
- Optional additional user defined information
-
getNote
public String getNote()
Get Note.- Specified by:
getNote
in interfaceI_C_DunningLevel
- Returns:
- Optional additional user defined information
-
setPrintName
public void setPrintName(String PrintName)
Set Print Text.- Specified by:
setPrintName
in interfaceI_C_DunningLevel
- Parameters:
PrintName
- The label text to be printed on a document or correspondence.
-
getPrintName
public String getPrintName()
Get Print Text.- Specified by:
getPrintName
in interfaceI_C_DunningLevel
- Returns:
- The label text to be printed on a document or correspondence.
-
-