|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.model.PO
org.compiere.model.X_C_PaySchedule
public class X_C_PaySchedule
Generated Model for C_PaySchedule
| Field Summary | |
|---|---|
static int |
NETDAY_AD_Reference_ID
NetDay AD_Reference_ID=167 |
static String |
NETDAY_Friday
Friday = 5 |
static String |
NETDAY_Monday
Monday = 1 |
static String |
NETDAY_Saturday
Saturday = 6 |
static String |
NETDAY_Sunday
Sunday = 7 |
static String |
NETDAY_Thursday
Thursday = 4 |
static String |
NETDAY_Tuesday
Tuesday = 2 |
static 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, 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_C_PaymentTerm_ID, COLUMNNAME_C_PaySchedule_ID, COLUMNNAME_Discount, COLUMNNAME_DiscountDays, COLUMNNAME_GraceDays, COLUMNNAME_IsValid, COLUMNNAME_NetDay, COLUMNNAME_NetDays, COLUMNNAME_Percentage, Model, Table_ID, Table_Name |
| Constructor Summary | |
|---|---|
X_C_PaySchedule(Properties ctx,
int C_PaySchedule_ID,
String trxName)
Standard Constructor |
|
X_C_PaySchedule(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected int |
get_AccessLevel()
AccessLevel |
int |
getC_PaymentTerm_ID()
Get Payment Term. |
I_C_PaymentTerm |
getC_PaymentTerm()
|
int |
getC_PaySchedule_ID()
Get Payment Schedule. |
BigDecimal |
getDiscount()
Get Discount %. |
int |
getDiscountDays()
Get Discount Days. |
int |
getGraceDays()
Get Grace Days. |
KeyNamePair |
getKeyNamePair()
Get Record ID/ColumnName |
String |
getNetDay()
Get Net Day. |
int |
getNetDays()
Get Net Days. |
BigDecimal |
getPercentage()
Get Percentage. |
protected POInfo |
initPO(Properties ctx)
Load Meta Data |
boolean |
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 |
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 java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.compiere.model.I_Persistent |
|---|
save |
| Field Detail |
|---|
public static final int NETDAY_AD_Reference_ID
public static final String NETDAY_Sunday
public static final String NETDAY_Monday
public static final String NETDAY_Tuesday
public static final String NETDAY_Wednesday
public static final String NETDAY_Thursday
public static final String NETDAY_Friday
public static final String NETDAY_Saturday
| Constructor Detail |
|---|
public X_C_PaySchedule(Properties ctx,
int C_PaySchedule_ID,
String trxName)
public X_C_PaySchedule(Properties ctx,
ResultSet rs,
String trxName)
| Method Detail |
|---|
protected int get_AccessLevel()
get_AccessLevel in class POprotected POInfo initPO(Properties ctx)
initPO in class POctx - context
public String toString()
PO
toString in class PO
public I_C_PaymentTerm getC_PaymentTerm()
throws Exception
getC_PaymentTerm in interface I_C_PayScheduleExceptionpublic void setC_PaymentTerm_ID(int C_PaymentTerm_ID)
setC_PaymentTerm_ID in interface I_C_PayScheduleC_PaymentTerm_ID - The terms of Payment (timing, discount)public int getC_PaymentTerm_ID()
getC_PaymentTerm_ID in interface I_C_PaySchedulepublic KeyNamePair getKeyNamePair()
public void setC_PaySchedule_ID(int C_PaySchedule_ID)
setC_PaySchedule_ID in interface I_C_PayScheduleC_PaySchedule_ID - Payment Schedule Templatepublic int getC_PaySchedule_ID()
getC_PaySchedule_ID in interface I_C_PaySchedulepublic void setDiscount(BigDecimal Discount)
setDiscount in interface I_C_PayScheduleDiscount - Discount in percentpublic BigDecimal getDiscount()
getDiscount in interface I_C_PaySchedulepublic void setDiscountDays(int DiscountDays)
setDiscountDays in interface I_C_PayScheduleDiscountDays - Number of days from invoice date to be eligible for discountpublic int getDiscountDays()
getDiscountDays in interface I_C_PaySchedulepublic void setGraceDays(int GraceDays)
setGraceDays in interface I_C_PayScheduleGraceDays - Days after due date to send first dunning letterpublic int getGraceDays()
getGraceDays in interface I_C_PaySchedulepublic void setIsValid(boolean IsValid)
setIsValid in interface I_C_PayScheduleIsValid - Element is validpublic boolean isValid()
isValid in interface I_C_PaySchedulepublic void setNetDay(String NetDay)
setNetDay in interface I_C_PayScheduleNetDay - Day when payment is due netpublic String getNetDay()
getNetDay in interface I_C_PaySchedulepublic void setNetDays(int NetDays)
setNetDays in interface I_C_PayScheduleNetDays - Net Days in which payment is duepublic int getNetDays()
getNetDays in interface I_C_PaySchedulepublic void setPercentage(BigDecimal Percentage)
setPercentage in interface I_C_PaySchedulePercentage - Percent of the entire amountpublic BigDecimal getPercentage()
getPercentage in interface I_C_PaySchedule
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||