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
Generated Model for C_PaySchedule
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
NetDay AD_Reference_ID=167static final String
Friday = 5static final String
Monday = 1static final String
Saturday = 6static final String
Sunday = 7static final String
Thursday = 4static final String
Tuesday = 2static final String
Wednesday = 3Fields 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_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
ConstructorDescriptionX_C_PaySchedule
(Properties ctx, int C_PaySchedule_ID, String trxName) Standard ConstructorX_C_PaySchedule
(Properties ctx, int C_PaySchedule_ID, String trxName, String... virtualColumns) Standard ConstructorX_C_PaySchedule
(Properties ctx, String C_PaySchedule_UU, String trxName) Standard ConstructorX_C_PaySchedule
(Properties ctx, String C_PaySchedule_UU, String trxName, String... virtualColumns) Standard ConstructorX_C_PaySchedule
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Payment Term.int
Get Payment Schedule.Get C_PaySchedule_UU.Get Discount %.int
Get Discount Days.int
Get Grace Days.Get Record ID/ColumnNameGet Net Day.int
Get Net Days.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
Set Net Day.void
setNetDays
(int NetDays) Set Net Days.void
setPercentage
(BigDecimal Percentage) Set Percentage.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_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 Details
-
NETDAY_AD_Reference_ID
public static final int NETDAY_AD_Reference_IDNetDay AD_Reference_ID=167- See Also:
-
NETDAY_Monday
Monday = 1- See Also:
-
NETDAY_Tuesday
Tuesday = 2- See Also:
-
NETDAY_Wednesday
Wednesday = 3- See Also:
-
NETDAY_Thursday
Thursday = 4- See Also:
-
NETDAY_Friday
Friday = 5- See Also:
-
NETDAY_Saturday
Saturday = 6- See Also:
-
NETDAY_Sunday
Sunday = 7- See Also:
-
-
Constructor Details
-
X_C_PaySchedule
Standard Constructor -
X_C_PaySchedule
public X_C_PaySchedule(Properties ctx, int C_PaySchedule_ID, String trxName, String... virtualColumns) Standard Constructor -
X_C_PaySchedule
Standard Constructor -
X_C_PaySchedule
public X_C_PaySchedule(Properties ctx, String C_PaySchedule_UU, String trxName, String... virtualColumns) Standard Constructor -
X_C_PaySchedule
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 -
getC_PaymentTerm
- 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
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
Set C_PaySchedule_UU.- Specified by:
setC_PaySchedule_UU
in interfaceI_C_PaySchedule
- Parameters:
C_PaySchedule_UU
- C_PaySchedule_UU
-
getC_PaySchedule_UU
Get C_PaySchedule_UU.- Specified by:
getC_PaySchedule_UU
in interfaceI_C_PaySchedule
- Returns:
- C_PaySchedule_UU
-
setDiscount
Set Discount %.- Specified by:
setDiscount
in interfaceI_C_PaySchedule
- Parameters:
Discount
- Discount in percent
-
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
Set Net Day.- Specified by:
setNetDay
in interfaceI_C_PaySchedule
- Parameters:
NetDay
- Day when payment is due net
-
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
Set Percentage.- Specified by:
setPercentage
in interfaceI_C_PaySchedule
- Parameters:
Percentage
- Percent of the entire amount
-
getPercentage
Get Percentage.- Specified by:
getPercentage
in interfaceI_C_PaySchedule
- Returns:
- Percent of the entire amount
-