Package org.compiere.model
Class X_C_PaySchedule
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_C_PaySchedule
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_C_PaySchedule
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MPaySchedule
public class X_C_PaySchedule extends PO implements I_C_PaySchedule, I_Persistent
Generated Model for C_PaySchedule- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
NETDAY_AD_Reference_ID
NetDay AD_Reference_ID=167static String
NETDAY_Friday
Friday = 5static String
NETDAY_Monday
Monday = 1static String
NETDAY_Saturday
Saturday = 6static String
NETDAY_Sunday
Sunday = 7static String
NETDAY_Thursday
Thursday = 4static String
NETDAY_Tuesday
Tuesday = 2static String
NETDAY_Wednesday
Wednesday = 3-
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_PaySchedule
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_PaymentTerm_ID, COLUMNNAME_C_PaySchedule_ID, COLUMNNAME_C_PaySchedule_UU, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Discount, COLUMNNAME_DiscountDays, COLUMNNAME_GraceDays, COLUMNNAME_IsActive, COLUMNNAME_IsValid, COLUMNNAME_NetDay, COLUMNNAME_NetDays, COLUMNNAME_Percentage, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_C_PaySchedule(Properties ctx, int C_PaySchedule_ID, String trxName)
Standard ConstructorX_C_PaySchedule(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_PaymentTerm
getC_PaymentTerm()
int
getC_PaymentTerm_ID()
Get Payment Term.int
getC_PaySchedule_ID()
Get Payment Schedule.String
getC_PaySchedule_UU()
Get C_PaySchedule_UU.BigDecimal
getDiscount()
Get Discount %.int
getDiscountDays()
Get Discount Days.int
getGraceDays()
Get Grace Days.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameString
getNetDay()
Get Net Day.int
getNetDays()
Get Net Days.BigDecimal
getPercentage()
Get Percentage.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isValid()
Get Valid.void
setC_PaymentTerm_ID(int C_PaymentTerm_ID)
Set Payment Term.void
setC_PaySchedule_ID(int C_PaySchedule_ID)
Set Payment Schedule.void
setC_PaySchedule_UU(String C_PaySchedule_UU)
Set C_PaySchedule_UU.void
setDiscount(BigDecimal Discount)
Set Discount %.void
setDiscountDays(int DiscountDays)
Set Discount Days.void
setGraceDays(int GraceDays)
Set Grace Days.void
setIsValid(boolean IsValid)
Set Valid.void
setNetDay(String NetDay)
Set Net Day.void
setNetDays(int NetDays)
Set Net Days.void
setPercentage(BigDecimal Percentage)
Set Percentage.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_PaySchedule
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
-
NETDAY_AD_Reference_ID
public static final int NETDAY_AD_Reference_ID
NetDay AD_Reference_ID=167- See Also:
- Constant Field Values
-
NETDAY_Monday
public static final String NETDAY_Monday
Monday = 1- See Also:
- Constant Field Values
-
NETDAY_Tuesday
public static final String NETDAY_Tuesday
Tuesday = 2- See Also:
- Constant Field Values
-
NETDAY_Wednesday
public static final String NETDAY_Wednesday
Wednesday = 3- See Also:
- Constant Field Values
-
NETDAY_Thursday
public static final String NETDAY_Thursday
Thursday = 4- See Also:
- Constant Field Values
-
NETDAY_Friday
public static final String NETDAY_Friday
Friday = 5- See Also:
- Constant Field Values
-
NETDAY_Saturday
public static final String NETDAY_Saturday
Saturday = 6- See Also:
- Constant Field Values
-
NETDAY_Sunday
public static final String NETDAY_Sunday
Sunday = 7- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_C_PaySchedule
public X_C_PaySchedule(Properties ctx, int C_PaySchedule_ID, String trxName)
Standard Constructor
-
X_C_PaySchedule
public X_C_PaySchedule(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_PaymentTerm
public I_C_PaymentTerm getC_PaymentTerm() throws RuntimeException
- Specified by:
getC_PaymentTerm
in interfaceI_C_PaySchedule
- 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_PaySchedule
- 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_PaySchedule
- Returns:
- The terms of Payment (timing, discount)
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setC_PaySchedule_ID
public void setC_PaySchedule_ID(int C_PaySchedule_ID)
Set Payment Schedule.- Specified by:
setC_PaySchedule_ID
in interfaceI_C_PaySchedule
- Parameters:
C_PaySchedule_ID
- Payment Schedule Template
-
getC_PaySchedule_ID
public int getC_PaySchedule_ID()
Get Payment Schedule.- Specified by:
getC_PaySchedule_ID
in interfaceI_C_PaySchedule
- Returns:
- Payment Schedule Template
-
setC_PaySchedule_UU
public void setC_PaySchedule_UU(String C_PaySchedule_UU)
Set C_PaySchedule_UU.- Specified by:
setC_PaySchedule_UU
in interfaceI_C_PaySchedule
- Parameters:
C_PaySchedule_UU
- C_PaySchedule_UU
-
getC_PaySchedule_UU
public String getC_PaySchedule_UU()
Get C_PaySchedule_UU.- Specified by:
getC_PaySchedule_UU
in interfaceI_C_PaySchedule
- Returns:
- C_PaySchedule_UU
-
setDiscount
public void setDiscount(BigDecimal Discount)
Set Discount %.- Specified by:
setDiscount
in interfaceI_C_PaySchedule
- Parameters:
Discount
- Discount in percent
-
getDiscount
public BigDecimal getDiscount()
Get Discount %.- Specified by:
getDiscount
in interfaceI_C_PaySchedule
- Returns:
- Discount in percent
-
setDiscountDays
public void setDiscountDays(int DiscountDays)
Set Discount Days.- Specified by:
setDiscountDays
in interfaceI_C_PaySchedule
- Parameters:
DiscountDays
- Number of days from invoice date to be eligible for discount
-
getDiscountDays
public int getDiscountDays()
Get Discount Days.- Specified by:
getDiscountDays
in interfaceI_C_PaySchedule
- Returns:
- Number of days from invoice date to be eligible for discount
-
setGraceDays
public void setGraceDays(int GraceDays)
Set Grace Days.- Specified by:
setGraceDays
in interfaceI_C_PaySchedule
- Parameters:
GraceDays
- Days after due date to send first dunning letter
-
getGraceDays
public int getGraceDays()
Get Grace Days.- Specified by:
getGraceDays
in interfaceI_C_PaySchedule
- Returns:
- Days after due date to send first dunning letter
-
setIsValid
public void setIsValid(boolean IsValid)
Set Valid.- Specified by:
setIsValid
in interfaceI_C_PaySchedule
- Parameters:
IsValid
- Element is valid
-
isValid
public boolean isValid()
Get Valid.- Specified by:
isValid
in interfaceI_C_PaySchedule
- Returns:
- Element is valid
-
setNetDay
public void setNetDay(String NetDay)
Set Net Day.- Specified by:
setNetDay
in interfaceI_C_PaySchedule
- Parameters:
NetDay
- Day when payment is due net
-
getNetDay
public String getNetDay()
Get Net Day.- Specified by:
getNetDay
in interfaceI_C_PaySchedule
- Returns:
- Day when payment is due net
-
setNetDays
public void setNetDays(int NetDays)
Set Net Days.- Specified by:
setNetDays
in interfaceI_C_PaySchedule
- Parameters:
NetDays
- Net Days in which payment is due
-
getNetDays
public int getNetDays()
Get Net Days.- Specified by:
getNetDays
in interfaceI_C_PaySchedule
- Returns:
- Net Days in which payment is due
-
setPercentage
public void setPercentage(BigDecimal Percentage)
Set Percentage.- Specified by:
setPercentage
in interfaceI_C_PaySchedule
- Parameters:
Percentage
- Percent of the entire amount
-
getPercentage
public BigDecimal getPercentage()
Get Percentage.- Specified by:
getPercentage
in interfaceI_C_PaySchedule
- Returns:
- Percent of the entire amount
-
-