📄 x_i_bankstatement.java
字号:
}
set_Value ("EftStatementReference", EftStatementReference);
}
/** Get EFT Statement Reference.
Electronic Funds Transfer Statement Reference */
public String getEftStatementReference()
{
return (String)get_Value("EftStatementReference");
}
/** Set EFT Trx ID.
Electronic Funds Transfer Transaction ID */
public void setEftTrxID (String EftTrxID)
{
if (EftTrxID != null && EftTrxID.length() > 40)
{
log.warning("Length > 40 - truncated");
EftTrxID = EftTrxID.substring(0,39);
}
set_Value ("EftTrxID", EftTrxID);
}
/** Get EFT Trx ID.
Electronic Funds Transfer Transaction ID */
public String getEftTrxID()
{
return (String)get_Value("EftTrxID");
}
/** Set EFT Trx Type.
Electronic Funds Transfer Transaction Type */
public void setEftTrxType (String EftTrxType)
{
if (EftTrxType != null && EftTrxType.length() > 20)
{
log.warning("Length > 20 - truncated");
EftTrxType = EftTrxType.substring(0,19);
}
set_Value ("EftTrxType", EftTrxType);
}
/** Get EFT Trx Type.
Electronic Funds Transfer Transaction Type */
public String getEftTrxType()
{
return (String)get_Value("EftTrxType");
}
/** Set EFT Effective Date.
Electronic Funds Transfer Valuta (effective) Date */
public void setEftValutaDate (Timestamp EftValutaDate)
{
set_Value ("EftValutaDate", EftValutaDate);
}
/** Get EFT Effective Date.
Electronic Funds Transfer Valuta (effective) Date */
public Timestamp getEftValutaDate()
{
return (Timestamp)get_Value("EftValutaDate");
}
/** Set ISO Currency Code.
Three letter ISO 4217 Code of the Currency */
public void setISO_Code (String ISO_Code)
{
if (ISO_Code != null && ISO_Code.length() > 3)
{
log.warning("Length > 3 - truncated");
ISO_Code = ISO_Code.substring(0,2);
}
set_Value ("ISO_Code", ISO_Code);
}
/** Get ISO Currency Code.
Three letter ISO 4217 Code of the Currency */
public String getISO_Code()
{
return (String)get_Value("ISO_Code");
}
/** Set Import Bank Statement.
Import of the Bank Statement */
public void setI_BankStatement_ID (int I_BankStatement_ID)
{
if (I_BankStatement_ID < 1) throw new IllegalArgumentException ("I_BankStatement_ID is mandatory.");
set_ValueNoCheck ("I_BankStatement_ID", new Integer(I_BankStatement_ID));
}
/** Get Import Bank Statement.
Import of the Bank Statement */
public int getI_BankStatement_ID()
{
Integer ii = (Integer)get_Value("I_BankStatement_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Import Error Message.
Messages generated from import process */
public void setI_ErrorMsg (String I_ErrorMsg)
{
if (I_ErrorMsg != null && I_ErrorMsg.length() > 2000)
{
log.warning("Length > 2000 - truncated");
I_ErrorMsg = I_ErrorMsg.substring(0,1999);
}
set_Value ("I_ErrorMsg", I_ErrorMsg);
}
/** Get Import Error Message.
Messages generated from import process */
public String getI_ErrorMsg()
{
return (String)get_Value("I_ErrorMsg");
}
/** Set Imported.
Has this import been processed */
public void setI_IsImported (boolean I_IsImported)
{
set_Value ("I_IsImported", new Boolean(I_IsImported));
}
/** Get Imported.
Has this import been processed */
public boolean isI_IsImported()
{
Object oo = get_Value("I_IsImported");
if (oo != null)
{
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Interest Amount.
Interest Amount */
public void setInterestAmt (BigDecimal InterestAmt)
{
set_Value ("InterestAmt", InterestAmt);
}
/** Get Interest Amount.
Interest Amount */
public BigDecimal getInterestAmt()
{
BigDecimal bd = (BigDecimal)get_Value("InterestAmt");
if (bd == null) return Env.ZERO;
return bd;
}
/** Set Invoice Document No.
Document Number of the Invoice */
public void setInvoiceDocumentNo (String InvoiceDocumentNo)
{
if (InvoiceDocumentNo != null && InvoiceDocumentNo.length() > 30)
{
log.warning("Length > 30 - truncated");
InvoiceDocumentNo = InvoiceDocumentNo.substring(0,29);
}
set_Value ("InvoiceDocumentNo", InvoiceDocumentNo);
}
/** Get Invoice Document No.
Document Number of the Invoice */
public String getInvoiceDocumentNo()
{
return (String)get_Value("InvoiceDocumentNo");
}
/** Set Reversal.
This is a reversing transaction */
public void setIsReversal (boolean IsReversal)
{
set_Value ("IsReversal", new Boolean(IsReversal));
}
/** Get Reversal.
This is a reversing transaction */
public boolean isReversal()
{
Object oo = get_Value("IsReversal");
if (oo != null)
{
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Line No.
Unique line for this document */
public void setLine (int Line)
{
set_Value ("Line", new Integer(Line));
}
/** Get Line No.
Unique line for this document */
public int getLine()
{
Integer ii = (Integer)get_Value("Line");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Line Description.
Description of the Line */
public void setLineDescription (String LineDescription)
{
if (LineDescription != null && LineDescription.length() > 255)
{
log.warning("Length > 255 - truncated");
LineDescription = LineDescription.substring(0,254);
}
set_Value ("LineDescription", LineDescription);
}
/** Get Line Description.
Description of the Line */
public String getLineDescription()
{
return (String)get_Value("LineDescription");
}
/** Set Match Statement */
public void setMatchStatement (String MatchStatement)
{
if (MatchStatement != null && MatchStatement.length() > 1)
{
log.warning("Length > 1 - truncated");
MatchStatement = MatchStatement.substring(0,0);
}
set_Value ("MatchStatement", MatchStatement);
}
/** Get Match Statement */
public String getMatchStatement()
{
return (String)get_Value("MatchStatement");
}
/** Set Memo.
Memo Text */
public void setMemo (String Memo)
{
if (Memo != null && Memo.length() > 255)
{
log.warning("Length > 255 - truncated");
Memo = Memo.substring(0,254);
}
set_Value ("Memo", Memo);
}
/** Get Memo.
Memo Text */
public String getMemo()
{
return (String)get_Value("Memo");
}
/** Set Name.
Alphanumeric identifier of the entity */
public void setName (String Name)
{
if (Name != null && Name.length() > 60)
{
log.warning("Length > 60 - truncated");
Name = Name.substring(0,59);
}
set_Value ("Name", Name);
}
/** Get Name.
Alphanumeric identifier of the entity */
public String getName()
{
return (String)get_Value("Name");
}
/** Set Payment Document No.
Document number of the Payment */
public void setPaymentDocumentNo (String PaymentDocumentNo)
{
if (PaymentDocumentNo != null && PaymentDocumentNo.length() > 30)
{
log.warning("Length > 30 - truncated");
PaymentDocumentNo = PaymentDocumentNo.substring(0,29);
}
set_Value ("PaymentDocumentNo", PaymentDocumentNo);
}
/** Get Payment Document No.
Document number of the Payment */
public String getPaymentDocumentNo()
{
return (String)get_Value("PaymentDocumentNo");
}
/** Set Processed.
The document has been processed */
public void setProcessed (boolean Processed)
{
set_Value ("Processed", new Boolean(Processed));
}
/** Get Processed.
The document has been processed */
public boolean isProcessed()
{
Object oo = get_Value("Processed");
if (oo != null)
{
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Process Now */
public void setProcessing (boolean Processing)
{
set_Value ("Processing", new Boolean(Processing));
}
/** Get Process Now */
public boolean isProcessing()
{
Object oo = get_Value("Processing");
if (oo != null)
{
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Reference No.
Your customer or vendor number at the Business Partner's site */
public void setReferenceNo (String ReferenceNo)
{
if (ReferenceNo != null && ReferenceNo.length() > 40)
{
log.warning("Length > 40 - truncated");
ReferenceNo = ReferenceNo.substring(0,39);
}
set_Value ("ReferenceNo", ReferenceNo);
}
/** Get Reference No.
Your customer or vendor number at the Business Partner's site */
public String getReferenceNo()
{
return (String)get_Value("ReferenceNo");
}
/** Set Routing No.
Bank Routing Number */
public void setRoutingNo (String RoutingNo)
{
if (RoutingNo != null && RoutingNo.length() > 20)
{
log.warning("Length > 20 - truncated");
RoutingNo = RoutingNo.substring(0,19);
}
set_Value ("RoutingNo", RoutingNo);
}
/** Get Routing No.
Bank Routing Number */
public String getRoutingNo()
{
return (String)get_Value("RoutingNo");
}
/** Set Statement date.
Date of the statement */
public void setStatementDate (Timestamp StatementDate)
{
set_Value ("StatementDate", StatementDate);
}
/** Get Statement date.
Date of the statement */
public Timestamp getStatementDate()
{
return (Timestamp)get_Value("StatementDate");
}
/** Set Statement Line Date.
Date of the Statement Line */
public void setStatementLineDate (Timestamp StatementLineDate)
{
set_Value ("StatementLineDate", StatementLineDate);
}
/** Get Statement Line Date.
Date of the Statement Line */
public Timestamp getStatementLineDate()
{
return (Timestamp)get_Value("StatementLineDate");
}
/** Set Statement amount.
Statement Amount */
public void setStmtAmt (BigDecimal StmtAmt)
{
set_Value ("StmtAmt", StmtAmt);
}
/** Get Statement amount.
Statement Amount */
public BigDecimal getStmtAmt()
{
BigDecimal bd = (BigDecimal)get_Value("StmtAmt");
if (bd == null) return Env.ZERO;
return bd;
}
/** Set Transaction Amount.
Amount of a transaction */
public void setTrxAmt (BigDecimal TrxAmt)
{
set_Value ("TrxAmt", TrxAmt);
}
/** Get Transaction Amount.
Amount of a transaction */
public BigDecimal getTrxAmt()
{
BigDecimal bd = (BigDecimal)get_Value("TrxAmt");
if (bd == null) return Env.ZERO;
return bd;
}
/** TrxType AD_Reference_ID=215 */
public static final int TRXTYPE_AD_Reference_ID=215;
/** Authorization = A */
public static final String TRXTYPE_Authorization = "A";
/** Credit (Payment) = C */
public static final String TRXTYPE_CreditPayment = "C";
/** Delayed Capture = D */
public static final String TRXTYPE_DelayedCapture = "D";
/** Voice Authorization = F */
public static final String TRXTYPE_VoiceAuthorization = "F";
/** Sales = S */
public static final String TRXTYPE_Sales = "S";
/** Void = V */
public static final String TRXTYPE_Void = "V";
/** Set Transaction Type.
Type of credit card transaction */
public void setTrxType (String TrxType)
{
if (TrxType == null) throw new IllegalArgumentException ("TrxType is mandatory");
if (TrxType == null || TrxType.equals("A") || TrxType.equals("C") || TrxType.equals("D") || TrxType.equals("F") || TrxType.equals("S") || TrxType.equals("V"));
else throw new IllegalArgumentException ("TrxType Invalid value - " + TrxType + " - Reference_ID=215 - A - C - D - F - S - V");
if (TrxType != null && TrxType.length() > 20)
{
log.warning("Length > 20 - truncated");
TrxType = TrxType.substring(0,19);
}
set_Value ("TrxType", TrxType);
}
/** Get Transaction Type.
Type of credit card transaction */
public String getTrxType()
{
return (String)get_Value("TrxType");
}
/** Set Effective date.
Date when money is available */
public void setValutaDate (Timestamp ValutaDate)
{
set_Value ("ValutaDate", ValutaDate);
}
/** Get Effective date.
Date when money is available */
public Timestamp getValutaDate()
{
return (Timestamp)get_Value("ValutaDate");
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -