IDEMPIERE-387 Enable mixed payments on POS Sales Order
This commit is contained in:
parent
9735670208
commit
0329963b14
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1343,6 +1343,26 @@ public class CalloutOrder extends CalloutEngine
|
|||
//
|
||||
return "";
|
||||
} // qty
|
||||
|
||||
public String SalesOrderTenderType (Properties ctx, int WindowNo,
|
||||
GridTab mTab, GridField mField, Object value, Object oldValue)
|
||||
{
|
||||
log.info("");
|
||||
// Called from tender type in Sales Order - POS Payments
|
||||
// to fill IsPostDated and TenderType
|
||||
|
||||
if (value == null)
|
||||
return "";
|
||||
|
||||
int tendertype_id = ((Integer) value).intValue();
|
||||
|
||||
X_C_POSTenderType tendertype = new X_C_POSTenderType(ctx, tendertype_id, null);
|
||||
mTab.setValue("IsPostDated", tendertype.isPostDated());
|
||||
mTab.setValue("TenderType", tendertype.getTenderType());
|
||||
|
||||
return "";
|
||||
} // SalesOrderTenderType
|
||||
|
||||
|
||||
} // CalloutOrder
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ public interface I_C_BPartner
|
|||
public static final String Table_Name = "C_BPartner";
|
||||
|
||||
/** AD_Table_ID=291 */
|
||||
public static final int Table_ID = MTable.getTable_ID(Table_Name);
|
||||
public static final int Table_ID = 291;
|
||||
|
||||
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
|
||||
|
||||
|
@ -140,6 +140,15 @@ public interface I_C_BPartner
|
|||
*/
|
||||
public int getC_BPartner_ID();
|
||||
|
||||
/** Column name C_BPartner_UU */
|
||||
public static final String COLUMNNAME_C_BPartner_UU = "C_BPartner_UU";
|
||||
|
||||
/** Set C_BPartner_UU */
|
||||
public void setC_BPartner_UU (String C_BPartner_UU);
|
||||
|
||||
/** Get C_BPartner_UU */
|
||||
public String getC_BPartner_UU();
|
||||
|
||||
/** Column name C_BP_Group_ID */
|
||||
public static final String COLUMNNAME_C_BP_Group_ID = "C_BP_Group_ID";
|
||||
|
||||
|
@ -153,7 +162,7 @@ public interface I_C_BPartner
|
|||
*/
|
||||
public int getC_BP_Group_ID();
|
||||
|
||||
public I_C_BP_Group getC_BP_Group() throws RuntimeException;
|
||||
public org.compiere.model.I_C_BP_Group getC_BP_Group() throws RuntimeException;
|
||||
|
||||
/** Column name C_Dunning_ID */
|
||||
public static final String COLUMNNAME_C_Dunning_ID = "C_Dunning_ID";
|
||||
|
@ -168,7 +177,7 @@ public interface I_C_BPartner
|
|||
*/
|
||||
public int getC_Dunning_ID();
|
||||
|
||||
public I_C_Dunning getC_Dunning() throws RuntimeException;
|
||||
public org.compiere.model.I_C_Dunning getC_Dunning() throws RuntimeException;
|
||||
|
||||
/** Column name C_Greeting_ID */
|
||||
public static final String COLUMNNAME_C_Greeting_ID = "C_Greeting_ID";
|
||||
|
@ -183,7 +192,7 @@ public interface I_C_BPartner
|
|||
*/
|
||||
public int getC_Greeting_ID();
|
||||
|
||||
public I_C_Greeting getC_Greeting() throws RuntimeException;
|
||||
public org.compiere.model.I_C_Greeting getC_Greeting() throws RuntimeException;
|
||||
|
||||
/** Column name C_InvoiceSchedule_ID */
|
||||
public static final String COLUMNNAME_C_InvoiceSchedule_ID = "C_InvoiceSchedule_ID";
|
||||
|
@ -198,7 +207,7 @@ public interface I_C_BPartner
|
|||
*/
|
||||
public int getC_InvoiceSchedule_ID();
|
||||
|
||||
public I_C_InvoiceSchedule getC_InvoiceSchedule() throws RuntimeException;
|
||||
public org.compiere.model.I_C_InvoiceSchedule getC_InvoiceSchedule() throws RuntimeException;
|
||||
|
||||
/** Column name C_PaymentTerm_ID */
|
||||
public static final String COLUMNNAME_C_PaymentTerm_ID = "C_PaymentTerm_ID";
|
||||
|
@ -213,7 +222,7 @@ public interface I_C_BPartner
|
|||
*/
|
||||
public int getC_PaymentTerm_ID();
|
||||
|
||||
public I_C_PaymentTerm getC_PaymentTerm() throws RuntimeException;
|
||||
public org.compiere.model.I_C_PaymentTerm getC_PaymentTerm() throws RuntimeException;
|
||||
|
||||
/** Column name Created */
|
||||
public static final String COLUMNNAME_Created = "Created";
|
||||
|
@ -368,7 +377,7 @@ public interface I_C_BPartner
|
|||
*/
|
||||
public int getInvoice_PrintFormat_ID();
|
||||
|
||||
public I_AD_PrintFormat getInvoice_PrintFormat() throws RuntimeException;
|
||||
public org.compiere.model.I_AD_PrintFormat getInvoice_PrintFormat() throws RuntimeException;
|
||||
|
||||
/** Column name InvoiceRule */
|
||||
public static final String COLUMNNAME_InvoiceRule = "InvoiceRule";
|
||||
|
@ -557,7 +566,7 @@ public interface I_C_BPartner
|
|||
*/
|
||||
public int getM_DiscountSchema_ID();
|
||||
|
||||
public I_M_DiscountSchema getM_DiscountSchema() throws RuntimeException;
|
||||
public org.compiere.model.I_M_DiscountSchema getM_DiscountSchema() throws RuntimeException;
|
||||
|
||||
/** Column name M_PriceList_ID */
|
||||
public static final String COLUMNNAME_M_PriceList_ID = "M_PriceList_ID";
|
||||
|
@ -572,7 +581,7 @@ public interface I_C_BPartner
|
|||
*/
|
||||
public int getM_PriceList_ID();
|
||||
|
||||
public I_M_PriceList getM_PriceList() throws RuntimeException;
|
||||
public org.compiere.model.I_M_PriceList getM_PriceList() throws RuntimeException;
|
||||
|
||||
/** Column name NAICS */
|
||||
public static final String COLUMNNAME_NAICS = "NAICS";
|
||||
|
@ -665,7 +674,7 @@ public interface I_C_BPartner
|
|||
*/
|
||||
public int getPO_DiscountSchema_ID();
|
||||
|
||||
public I_M_DiscountSchema getPO_DiscountSchema() throws RuntimeException;
|
||||
public org.compiere.model.I_M_DiscountSchema getPO_DiscountSchema() throws RuntimeException;
|
||||
|
||||
/** Column name PO_PaymentTerm_ID */
|
||||
public static final String COLUMNNAME_PO_PaymentTerm_ID = "PO_PaymentTerm_ID";
|
||||
|
@ -680,7 +689,7 @@ public interface I_C_BPartner
|
|||
*/
|
||||
public int getPO_PaymentTerm_ID();
|
||||
|
||||
public I_C_PaymentTerm getPO_PaymentTerm() throws RuntimeException;
|
||||
public org.compiere.model.I_C_PaymentTerm getPO_PaymentTerm() throws RuntimeException;
|
||||
|
||||
/** Column name PO_PriceList_ID */
|
||||
public static final String COLUMNNAME_PO_PriceList_ID = "PO_PriceList_ID";
|
||||
|
@ -695,7 +704,7 @@ public interface I_C_BPartner
|
|||
*/
|
||||
public int getPO_PriceList_ID();
|
||||
|
||||
public I_M_PriceList getPO_PriceList() throws RuntimeException;
|
||||
public org.compiere.model.I_M_PriceList getPO_PriceList() throws RuntimeException;
|
||||
|
||||
/** Column name POReference */
|
||||
public static final String COLUMNNAME_POReference = "POReference";
|
||||
|
@ -762,7 +771,7 @@ public interface I_C_BPartner
|
|||
*/
|
||||
public int getSalesRep_ID();
|
||||
|
||||
public I_AD_User getSalesRep() throws RuntimeException;
|
||||
public org.compiere.model.I_AD_User getSalesRep() throws RuntimeException;
|
||||
|
||||
/** Column name SalesVolume */
|
||||
public static final String COLUMNNAME_SalesVolume = "SalesVolume";
|
||||
|
|
|
@ -31,7 +31,7 @@ public interface I_C_BankAccount
|
|||
public static final String Table_Name = "C_BankAccount";
|
||||
|
||||
/** AD_Table_ID=297 */
|
||||
public static final int Table_ID = MTable.getTable_ID(Table_Name);
|
||||
public static final int Table_ID = 297;
|
||||
|
||||
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
|
||||
|
||||
|
@ -114,6 +114,15 @@ public interface I_C_BankAccount
|
|||
*/
|
||||
public int getC_BankAccount_ID();
|
||||
|
||||
/** Column name C_BankAccount_UU */
|
||||
public static final String COLUMNNAME_C_BankAccount_UU = "C_BankAccount_UU";
|
||||
|
||||
/** Set C_BankAccount_UU */
|
||||
public void setC_BankAccount_UU (String C_BankAccount_UU);
|
||||
|
||||
/** Get C_BankAccount_UU */
|
||||
public String getC_BankAccount_UU();
|
||||
|
||||
/** Column name C_Bank_ID */
|
||||
public static final String COLUMNNAME_C_Bank_ID = "C_Bank_ID";
|
||||
|
||||
|
@ -127,7 +136,7 @@ public interface I_C_BankAccount
|
|||
*/
|
||||
public int getC_Bank_ID();
|
||||
|
||||
public I_C_Bank getC_Bank() throws RuntimeException;
|
||||
public org.compiere.model.I_C_Bank getC_Bank() throws RuntimeException;
|
||||
|
||||
/** Column name C_Currency_ID */
|
||||
public static final String COLUMNNAME_C_Currency_ID = "C_Currency_ID";
|
||||
|
@ -142,7 +151,7 @@ public interface I_C_BankAccount
|
|||
*/
|
||||
public int getC_Currency_ID();
|
||||
|
||||
public I_C_Currency getC_Currency() throws RuntimeException;
|
||||
public org.compiere.model.I_C_Currency getC_Currency() throws RuntimeException;
|
||||
|
||||
/** Column name Created */
|
||||
public static final String COLUMNNAME_Created = "Created";
|
||||
|
@ -238,6 +247,28 @@ public interface I_C_BankAccount
|
|||
*/
|
||||
public boolean isDefault();
|
||||
|
||||
/** Column name Name */
|
||||
public static final String COLUMNNAME_Name = "Name";
|
||||
|
||||
/** Set Name.
|
||||
* Alphanumeric identifier of the entity
|
||||
*/
|
||||
public void setName (String Name);
|
||||
|
||||
/** Get Name.
|
||||
* Alphanumeric identifier of the entity
|
||||
*/
|
||||
public String getName();
|
||||
|
||||
/** Column name PaymentExportClass */
|
||||
public static final String COLUMNNAME_PaymentExportClass = "PaymentExportClass";
|
||||
|
||||
/** Set Payment Export Class */
|
||||
public void setPaymentExportClass (String PaymentExportClass);
|
||||
|
||||
/** Get Payment Export Class */
|
||||
public String getPaymentExportClass();
|
||||
|
||||
/** Column name Updated */
|
||||
public static final String COLUMNNAME_Updated = "Updated";
|
||||
|
||||
|
@ -253,4 +284,17 @@ public interface I_C_BankAccount
|
|||
* User who updated this records
|
||||
*/
|
||||
public int getUpdatedBy();
|
||||
|
||||
/** Column name Value */
|
||||
public static final String COLUMNNAME_Value = "Value";
|
||||
|
||||
/** Set Search Key.
|
||||
* Search key for the record in the format required - must be unique
|
||||
*/
|
||||
public void setValue (String Value);
|
||||
|
||||
/** Get Search Key.
|
||||
* Search key for the record in the format required - must be unique
|
||||
*/
|
||||
public String getValue();
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ public interface I_C_BankAccountDoc
|
|||
public static final String Table_Name = "C_BankAccountDoc";
|
||||
|
||||
/** AD_Table_ID=455 */
|
||||
public static final int Table_ID = MTable.getTable_ID(Table_Name);
|
||||
public static final int Table_ID = 455;
|
||||
|
||||
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
|
||||
|
||||
|
@ -75,6 +75,15 @@ public interface I_C_BankAccountDoc
|
|||
*/
|
||||
public int getC_BankAccountDoc_ID();
|
||||
|
||||
/** Column name C_BankAccountDoc_UU */
|
||||
public static final String COLUMNNAME_C_BankAccountDoc_UU = "C_BankAccountDoc_UU";
|
||||
|
||||
/** Set C_BankAccountDoc_UU */
|
||||
public void setC_BankAccountDoc_UU (String C_BankAccountDoc_UU);
|
||||
|
||||
/** Get C_BankAccountDoc_UU */
|
||||
public String getC_BankAccountDoc_UU();
|
||||
|
||||
/** Column name C_BankAccount_ID */
|
||||
public static final String COLUMNNAME_C_BankAccount_ID = "C_BankAccount_ID";
|
||||
|
||||
|
@ -88,7 +97,7 @@ public interface I_C_BankAccountDoc
|
|||
*/
|
||||
public int getC_BankAccount_ID();
|
||||
|
||||
public I_C_BankAccount getC_BankAccount() throws RuntimeException;
|
||||
public org.compiere.model.I_C_BankAccount getC_BankAccount() throws RuntimeException;
|
||||
|
||||
/** Column name Check_PrintFormat_ID */
|
||||
public static final String COLUMNNAME_Check_PrintFormat_ID = "Check_PrintFormat_ID";
|
||||
|
@ -103,7 +112,7 @@ public interface I_C_BankAccountDoc
|
|||
*/
|
||||
public int getCheck_PrintFormat_ID();
|
||||
|
||||
public I_AD_PrintFormat getCheck_PrintFormat() throws RuntimeException;
|
||||
public org.compiere.model.I_AD_PrintFormat getCheck_PrintFormat() throws RuntimeException;
|
||||
|
||||
/** Column name Created */
|
||||
public static final String COLUMNNAME_Created = "Created";
|
||||
|
|
|
@ -31,7 +31,7 @@ public interface I_C_CommissionLine
|
|||
public static final String Table_Name = "C_CommissionLine";
|
||||
|
||||
/** AD_Table_ID=431 */
|
||||
public static final int Table_ID = MTable.getTable_ID(Table_Name);
|
||||
public static final int Table_ID = 431;
|
||||
|
||||
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
|
||||
|
||||
|
@ -101,7 +101,7 @@ public interface I_C_CommissionLine
|
|||
*/
|
||||
public int getC_BPartner_ID();
|
||||
|
||||
public I_C_BPartner getC_BPartner() throws RuntimeException;
|
||||
public org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException;
|
||||
|
||||
/** Column name C_BP_Group_ID */
|
||||
public static final String COLUMNNAME_C_BP_Group_ID = "C_BP_Group_ID";
|
||||
|
@ -116,7 +116,7 @@ public interface I_C_CommissionLine
|
|||
*/
|
||||
public int getC_BP_Group_ID();
|
||||
|
||||
public I_C_BP_Group getC_BP_Group() throws RuntimeException;
|
||||
public org.compiere.model.I_C_BP_Group getC_BP_Group() throws RuntimeException;
|
||||
|
||||
/** Column name C_Commission_ID */
|
||||
public static final String COLUMNNAME_C_Commission_ID = "C_Commission_ID";
|
||||
|
@ -131,7 +131,7 @@ public interface I_C_CommissionLine
|
|||
*/
|
||||
public int getC_Commission_ID();
|
||||
|
||||
public I_C_Commission getC_Commission() throws RuntimeException;
|
||||
public org.compiere.model.I_C_Commission getC_Commission() throws RuntimeException;
|
||||
|
||||
/** Column name C_CommissionLine_ID */
|
||||
public static final String COLUMNNAME_C_CommissionLine_ID = "C_CommissionLine_ID";
|
||||
|
@ -146,6 +146,15 @@ public interface I_C_CommissionLine
|
|||
*/
|
||||
public int getC_CommissionLine_ID();
|
||||
|
||||
/** Column name C_CommissionLine_UU */
|
||||
public static final String COLUMNNAME_C_CommissionLine_UU = "C_CommissionLine_UU";
|
||||
|
||||
/** Set C_CommissionLine_UU */
|
||||
public void setC_CommissionLine_UU (String C_CommissionLine_UU);
|
||||
|
||||
/** Get C_CommissionLine_UU */
|
||||
public String getC_CommissionLine_UU();
|
||||
|
||||
/** Column name CommissionOrders */
|
||||
public static final String COLUMNNAME_CommissionOrders = "CommissionOrders";
|
||||
|
||||
|
@ -188,7 +197,7 @@ public interface I_C_CommissionLine
|
|||
*/
|
||||
public int getC_SalesRegion_ID();
|
||||
|
||||
public I_C_SalesRegion getC_SalesRegion() throws RuntimeException;
|
||||
public org.compiere.model.I_C_SalesRegion getC_SalesRegion() throws RuntimeException;
|
||||
|
||||
/** Column name Description */
|
||||
public static final String COLUMNNAME_Description = "Description";
|
||||
|
@ -255,7 +264,7 @@ public interface I_C_CommissionLine
|
|||
*/
|
||||
public int getM_Product_Category_ID();
|
||||
|
||||
public I_M_Product_Category getM_Product_Category() throws RuntimeException;
|
||||
public org.compiere.model.I_M_Product_Category getM_Product_Category() throws RuntimeException;
|
||||
|
||||
/** Column name M_Product_ID */
|
||||
public static final String COLUMNNAME_M_Product_ID = "M_Product_ID";
|
||||
|
@ -270,7 +279,7 @@ public interface I_C_CommissionLine
|
|||
*/
|
||||
public int getM_Product_ID();
|
||||
|
||||
public I_M_Product getM_Product() throws RuntimeException;
|
||||
public org.compiere.model.I_M_Product getM_Product() throws RuntimeException;
|
||||
|
||||
/** Column name Org_ID */
|
||||
public static final String COLUMNNAME_Org_ID = "Org_ID";
|
||||
|
|
|
@ -78,12 +78,12 @@ public interface I_C_Invoice
|
|||
/** Column name AD_User_ID */
|
||||
public static final String COLUMNNAME_AD_User_ID = "AD_User_ID";
|
||||
|
||||
/** Set Usuario.
|
||||
/** Set User/Contact.
|
||||
* User within the system - Internal or Business Partner Contact
|
||||
*/
|
||||
public void setAD_User_ID (int AD_User_ID);
|
||||
|
||||
/** Get Usuario.
|
||||
/** Get User/Contact.
|
||||
* User within the system - Internal or Business Partner Contact
|
||||
*/
|
||||
public int getAD_User_ID();
|
||||
|
@ -288,6 +288,15 @@ public interface I_C_Invoice
|
|||
*/
|
||||
public int getC_Invoice_ID();
|
||||
|
||||
/** Column name C_Invoice_UU */
|
||||
public static final String COLUMNNAME_C_Invoice_UU = "C_Invoice_UU";
|
||||
|
||||
/** Set C_Invoice_UU */
|
||||
public void setC_Invoice_UU (String C_Invoice_UU);
|
||||
|
||||
/** Get C_Invoice_UU */
|
||||
public String getC_Invoice_UU();
|
||||
|
||||
/** Column name CopyFrom */
|
||||
public static final String COLUMNNAME_CopyFrom = "CopyFrom";
|
||||
|
||||
|
|
|
@ -78,12 +78,12 @@ public interface I_C_Order
|
|||
/** Column name AD_User_ID */
|
||||
public static final String COLUMNNAME_AD_User_ID = "AD_User_ID";
|
||||
|
||||
/** Set Usuario.
|
||||
/** Set User/Contact.
|
||||
* User within the system - Internal or Business Partner Contact
|
||||
*/
|
||||
public void setAD_User_ID (int AD_User_ID);
|
||||
|
||||
/** Get Usuario.
|
||||
/** Get User/Contact.
|
||||
* User within the system - Internal or Business Partner Contact
|
||||
*/
|
||||
public int getAD_User_ID();
|
||||
|
@ -364,6 +364,15 @@ public interface I_C_Order
|
|||
|
||||
public org.compiere.model.I_C_OrderSource getC_OrderSource() throws RuntimeException;
|
||||
|
||||
/** Column name C_Order_UU */
|
||||
public static final String COLUMNNAME_C_Order_UU = "C_Order_UU";
|
||||
|
||||
/** Set C_Order_UU */
|
||||
public void setC_Order_UU (String C_Order_UU);
|
||||
|
||||
/** Get C_Order_UU */
|
||||
public String getC_Order_UU();
|
||||
|
||||
/** Column name C_Payment_ID */
|
||||
public static final String COLUMNNAME_C_Payment_ID = "C_Payment_ID";
|
||||
|
||||
|
|
|
@ -0,0 +1,364 @@
|
|||
/******************************************************************************
|
||||
* Product: Adempiere ERP & CRM Smart Business Solution *
|
||||
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
|
||||
* This program is free software, you can redistribute it and/or modify it *
|
||||
* under the terms version 2 of the GNU General Public License as published *
|
||||
* by the Free Software Foundation. This program is distributed in the hope *
|
||||
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
|
||||
* See the GNU General Public License for more details. *
|
||||
* You should have received a copy of the GNU General Public License along *
|
||||
* with this program, if not, write to the Free Software Foundation, Inc., *
|
||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
|
||||
* For the text or an alternative of this public license, you may reach us *
|
||||
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
|
||||
* or via info@compiere.org or http://www.compiere.org/license.html *
|
||||
*****************************************************************************/
|
||||
package org.compiere.model;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Timestamp;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
|
||||
/** Generated Interface for C_POSPayment
|
||||
* @author Adempiere (generated)
|
||||
* @version Release 3.6.0LTS
|
||||
*/
|
||||
public interface I_C_POSPayment
|
||||
{
|
||||
|
||||
/** TableName=C_POSPayment */
|
||||
public static final String Table_Name = "C_POSPayment";
|
||||
|
||||
/** AD_Table_ID=200016 */
|
||||
public static final int Table_ID = 200016;
|
||||
|
||||
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
|
||||
|
||||
/** AccessLevel = 3 - Client - Org
|
||||
*/
|
||||
BigDecimal accessLevel = BigDecimal.valueOf(3);
|
||||
|
||||
/** Load Meta Data */
|
||||
|
||||
/** Column name AccountNo */
|
||||
public static final String COLUMNNAME_AccountNo = "AccountNo";
|
||||
|
||||
/** Set Account No.
|
||||
* Account Number
|
||||
*/
|
||||
public void setAccountNo (String AccountNo);
|
||||
|
||||
/** Get Account No.
|
||||
* Account Number
|
||||
*/
|
||||
public String getAccountNo();
|
||||
|
||||
/** Column name AD_Client_ID */
|
||||
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
|
||||
|
||||
/** Get Client.
|
||||
* Client/Tenant for this installation.
|
||||
*/
|
||||
public int getAD_Client_ID();
|
||||
|
||||
/** Column name AD_Org_ID */
|
||||
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
|
||||
|
||||
/** Set Organization.
|
||||
* Organizational entity within client
|
||||
*/
|
||||
public void setAD_Org_ID (int AD_Org_ID);
|
||||
|
||||
/** Get Organization.
|
||||
* Organizational entity within client
|
||||
*/
|
||||
public int getAD_Org_ID();
|
||||
|
||||
/** Column name A_Name */
|
||||
public static final String COLUMNNAME_A_Name = "A_Name";
|
||||
|
||||
/** Set Account Name.
|
||||
* Name on Credit Card or Account holder
|
||||
*/
|
||||
public void setA_Name (String A_Name);
|
||||
|
||||
/** Get Account Name.
|
||||
* Name on Credit Card or Account holder
|
||||
*/
|
||||
public String getA_Name();
|
||||
|
||||
/** Column name CheckNo */
|
||||
public static final String COLUMNNAME_CheckNo = "CheckNo";
|
||||
|
||||
/** Set Check No.
|
||||
* Check Number
|
||||
*/
|
||||
public void setCheckNo (String CheckNo);
|
||||
|
||||
/** Get Check No.
|
||||
* Check Number
|
||||
*/
|
||||
public String getCheckNo();
|
||||
|
||||
/** Column name CheckStatus */
|
||||
public static final String COLUMNNAME_CheckStatus = "CheckStatus";
|
||||
|
||||
/** Set Check Status */
|
||||
public void setCheckStatus (String CheckStatus);
|
||||
|
||||
/** Get Check Status */
|
||||
public String getCheckStatus();
|
||||
|
||||
/** Column name C_Order_ID */
|
||||
public static final String COLUMNNAME_C_Order_ID = "C_Order_ID";
|
||||
|
||||
/** Set Order.
|
||||
* Order
|
||||
*/
|
||||
public void setC_Order_ID (int C_Order_ID);
|
||||
|
||||
/** Get Order.
|
||||
* Order
|
||||
*/
|
||||
public int getC_Order_ID();
|
||||
|
||||
public org.compiere.model.I_C_Order getC_Order() throws RuntimeException;
|
||||
|
||||
/** Column name C_Payment_ID */
|
||||
public static final String COLUMNNAME_C_Payment_ID = "C_Payment_ID";
|
||||
|
||||
/** Set Payment.
|
||||
* Payment identifier
|
||||
*/
|
||||
public void setC_Payment_ID (int C_Payment_ID);
|
||||
|
||||
/** Get Payment.
|
||||
* Payment identifier
|
||||
*/
|
||||
public int getC_Payment_ID();
|
||||
|
||||
public org.compiere.model.I_C_Payment getC_Payment() throws RuntimeException;
|
||||
|
||||
/** Column name C_POSPayment_ID */
|
||||
public static final String COLUMNNAME_C_POSPayment_ID = "C_POSPayment_ID";
|
||||
|
||||
/** Set POS Payment */
|
||||
public void setC_POSPayment_ID (int C_POSPayment_ID);
|
||||
|
||||
/** Get POS Payment */
|
||||
public int getC_POSPayment_ID();
|
||||
|
||||
/** Column name C_POSPayment_UU */
|
||||
public static final String COLUMNNAME_C_POSPayment_UU = "C_POSPayment_UU";
|
||||
|
||||
/** Set C_POSPayment_UU */
|
||||
public void setC_POSPayment_UU (String C_POSPayment_UU);
|
||||
|
||||
/** Get C_POSPayment_UU */
|
||||
public String getC_POSPayment_UU();
|
||||
|
||||
/** Column name C_POSTenderType_ID */
|
||||
public static final String COLUMNNAME_C_POSTenderType_ID = "C_POSTenderType_ID";
|
||||
|
||||
/** Set POS Tender Type */
|
||||
public void setC_POSTenderType_ID (int C_POSTenderType_ID);
|
||||
|
||||
/** Get POS Tender Type */
|
||||
public int getC_POSTenderType_ID();
|
||||
|
||||
public org.compiere.model.I_C_POSTenderType getC_POSTenderType() throws RuntimeException;
|
||||
|
||||
/** Column name Created */
|
||||
public static final String COLUMNNAME_Created = "Created";
|
||||
|
||||
/** Get Created.
|
||||
* Date this record was created
|
||||
*/
|
||||
public Timestamp getCreated();
|
||||
|
||||
/** Column name CreatedBy */
|
||||
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
|
||||
|
||||
/** Get Created By.
|
||||
* User who created this records
|
||||
*/
|
||||
public int getCreatedBy();
|
||||
|
||||
/** Column name CreditCardNumber */
|
||||
public static final String COLUMNNAME_CreditCardNumber = "CreditCardNumber";
|
||||
|
||||
/** Set Number.
|
||||
* Credit Card Number
|
||||
*/
|
||||
public void setCreditCardNumber (String CreditCardNumber);
|
||||
|
||||
/** Get Number.
|
||||
* Credit Card Number
|
||||
*/
|
||||
public String getCreditCardNumber();
|
||||
|
||||
/** Column name CreditCardType */
|
||||
public static final String COLUMNNAME_CreditCardType = "CreditCardType";
|
||||
|
||||
/** Set Credit Card.
|
||||
* Credit Card (Visa, MC, AmEx)
|
||||
*/
|
||||
public void setCreditCardType (String CreditCardType);
|
||||
|
||||
/** Get Credit Card.
|
||||
* Credit Card (Visa, MC, AmEx)
|
||||
*/
|
||||
public String getCreditCardType();
|
||||
|
||||
/** Column name DatePromised */
|
||||
public static final String COLUMNNAME_DatePromised = "DatePromised";
|
||||
|
||||
/** Set Date Promised.
|
||||
* Date Order was promised
|
||||
*/
|
||||
public void setDatePromised (Timestamp DatePromised);
|
||||
|
||||
/** Get Date Promised.
|
||||
* Date Order was promised
|
||||
*/
|
||||
public Timestamp getDatePromised();
|
||||
|
||||
/** Column name DepositGroup */
|
||||
public static final String COLUMNNAME_DepositGroup = "DepositGroup";
|
||||
|
||||
/** Set Deposit Group */
|
||||
public void setDepositGroup (String DepositGroup);
|
||||
|
||||
/** Get Deposit Group */
|
||||
public String getDepositGroup();
|
||||
|
||||
/** Column name Help */
|
||||
public static final String COLUMNNAME_Help = "Help";
|
||||
|
||||
/** Set Comment/Help.
|
||||
* Comment or Hint
|
||||
*/
|
||||
public void setHelp (String Help);
|
||||
|
||||
/** Get Comment/Help.
|
||||
* Comment or Hint
|
||||
*/
|
||||
public String getHelp();
|
||||
|
||||
/** Column name IsActive */
|
||||
public static final String COLUMNNAME_IsActive = "IsActive";
|
||||
|
||||
/** Set Active.
|
||||
* The record is active in the system
|
||||
*/
|
||||
public void setIsActive (boolean IsActive);
|
||||
|
||||
/** Get Active.
|
||||
* The record is active in the system
|
||||
*/
|
||||
public boolean isActive();
|
||||
|
||||
/** Column name IsPostDated */
|
||||
public static final String COLUMNNAME_IsPostDated = "IsPostDated";
|
||||
|
||||
/** Set Post Dated */
|
||||
public void setIsPostDated (boolean IsPostDated);
|
||||
|
||||
/** Get Post Dated */
|
||||
public boolean isPostDated();
|
||||
|
||||
/** Column name Micr */
|
||||
public static final String COLUMNNAME_Micr = "Micr";
|
||||
|
||||
/** Set Micr.
|
||||
* Combination of routing no, account and check no
|
||||
*/
|
||||
public void setMicr (String Micr);
|
||||
|
||||
/** Get Micr.
|
||||
* Combination of routing no, account and check no
|
||||
*/
|
||||
public String getMicr();
|
||||
|
||||
/** Column name PayAmt */
|
||||
public static final String COLUMNNAME_PayAmt = "PayAmt";
|
||||
|
||||
/** Set Payment amount.
|
||||
* Amount being paid
|
||||
*/
|
||||
public void setPayAmt (BigDecimal PayAmt);
|
||||
|
||||
/** Get Payment amount.
|
||||
* Amount being paid
|
||||
*/
|
||||
public BigDecimal getPayAmt();
|
||||
|
||||
/** Column name Processed */
|
||||
public static final String COLUMNNAME_Processed = "Processed";
|
||||
|
||||
/** Set Processed.
|
||||
* The document has been processed
|
||||
*/
|
||||
public void setProcessed (boolean Processed);
|
||||
|
||||
/** Get Processed.
|
||||
* The document has been processed
|
||||
*/
|
||||
public boolean isProcessed();
|
||||
|
||||
/** Column name RoutingNo */
|
||||
public static final String COLUMNNAME_RoutingNo = "RoutingNo";
|
||||
|
||||
/** Set Routing No.
|
||||
* Bank Routing Number
|
||||
*/
|
||||
public void setRoutingNo (String RoutingNo);
|
||||
|
||||
/** Get Routing No.
|
||||
* Bank Routing Number
|
||||
*/
|
||||
public String getRoutingNo();
|
||||
|
||||
/** Column name TenderType */
|
||||
public static final String COLUMNNAME_TenderType = "TenderType";
|
||||
|
||||
/** Set Tender type.
|
||||
* Method of Payment
|
||||
*/
|
||||
public void setTenderType (String TenderType);
|
||||
|
||||
/** Get Tender type.
|
||||
* Method of Payment
|
||||
*/
|
||||
public String getTenderType();
|
||||
|
||||
/** Column name Updated */
|
||||
public static final String COLUMNNAME_Updated = "Updated";
|
||||
|
||||
/** Get Updated.
|
||||
* Date this record was updated
|
||||
*/
|
||||
public Timestamp getUpdated();
|
||||
|
||||
/** Column name UpdatedBy */
|
||||
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
|
||||
|
||||
/** Get Updated By.
|
||||
* User who updated this records
|
||||
*/
|
||||
public int getUpdatedBy();
|
||||
|
||||
/** Column name VoiceAuthCode */
|
||||
public static final String COLUMNNAME_VoiceAuthCode = "VoiceAuthCode";
|
||||
|
||||
/** Set Voice authorization code.
|
||||
* Voice Authorization Code from credit card company
|
||||
*/
|
||||
public void setVoiceAuthCode (String VoiceAuthCode);
|
||||
|
||||
/** Get Voice authorization code.
|
||||
* Voice Authorization Code from credit card company
|
||||
*/
|
||||
public String getVoiceAuthCode();
|
||||
}
|
|
@ -0,0 +1,214 @@
|
|||
/******************************************************************************
|
||||
* Product: Adempiere ERP & CRM Smart Business Solution *
|
||||
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
|
||||
* This program is free software, you can redistribute it and/or modify it *
|
||||
* under the terms version 2 of the GNU General Public License as published *
|
||||
* by the Free Software Foundation. This program is distributed in the hope *
|
||||
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
|
||||
* See the GNU General Public License for more details. *
|
||||
* You should have received a copy of the GNU General Public License along *
|
||||
* with this program, if not, write to the Free Software Foundation, Inc., *
|
||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
|
||||
* For the text or an alternative of this public license, you may reach us *
|
||||
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
|
||||
* or via info@compiere.org or http://www.compiere.org/license.html *
|
||||
*****************************************************************************/
|
||||
package org.compiere.model;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Timestamp;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
|
||||
/** Generated Interface for C_POSTenderType
|
||||
* @author Adempiere (generated)
|
||||
* @version Release 3.6.0LTS
|
||||
*/
|
||||
public interface I_C_POSTenderType
|
||||
{
|
||||
|
||||
/** TableName=C_POSTenderType */
|
||||
public static final String Table_Name = "C_POSTenderType";
|
||||
|
||||
/** AD_Table_ID=200017 */
|
||||
public static final int Table_ID = 200017;
|
||||
|
||||
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
|
||||
|
||||
/** AccessLevel = 3 - Client - Org
|
||||
*/
|
||||
BigDecimal accessLevel = BigDecimal.valueOf(3);
|
||||
|
||||
/** Load Meta Data */
|
||||
|
||||
/** Column name AD_Client_ID */
|
||||
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
|
||||
|
||||
/** Get Client.
|
||||
* Client/Tenant for this installation.
|
||||
*/
|
||||
public int getAD_Client_ID();
|
||||
|
||||
/** Column name AD_Org_ID */
|
||||
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
|
||||
|
||||
/** Set Organization.
|
||||
* Organizational entity within client
|
||||
*/
|
||||
public void setAD_Org_ID (int AD_Org_ID);
|
||||
|
||||
/** Get Organization.
|
||||
* Organizational entity within client
|
||||
*/
|
||||
public int getAD_Org_ID();
|
||||
|
||||
/** Column name C_POSTenderType_ID */
|
||||
public static final String COLUMNNAME_C_POSTenderType_ID = "C_POSTenderType_ID";
|
||||
|
||||
/** Set POS Tender Type */
|
||||
public void setC_POSTenderType_ID (int C_POSTenderType_ID);
|
||||
|
||||
/** Get POS Tender Type */
|
||||
public int getC_POSTenderType_ID();
|
||||
|
||||
/** Column name C_POSTenderType_UU */
|
||||
public static final String COLUMNNAME_C_POSTenderType_UU = "C_POSTenderType_UU";
|
||||
|
||||
/** Set C_POSTenderType_UU */
|
||||
public void setC_POSTenderType_UU (String C_POSTenderType_UU);
|
||||
|
||||
/** Get C_POSTenderType_UU */
|
||||
public String getC_POSTenderType_UU();
|
||||
|
||||
/** Column name Created */
|
||||
public static final String COLUMNNAME_Created = "Created";
|
||||
|
||||
/** Get Created.
|
||||
* Date this record was created
|
||||
*/
|
||||
public Timestamp getCreated();
|
||||
|
||||
/** Column name CreatedBy */
|
||||
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
|
||||
|
||||
/** Get Created By.
|
||||
* User who created this records
|
||||
*/
|
||||
public int getCreatedBy();
|
||||
|
||||
/** Column name Description */
|
||||
public static final String COLUMNNAME_Description = "Description";
|
||||
|
||||
/** Set Description.
|
||||
* Optional short description of the record
|
||||
*/
|
||||
public void setDescription (String Description);
|
||||
|
||||
/** Get Description.
|
||||
* Optional short description of the record
|
||||
*/
|
||||
public String getDescription();
|
||||
|
||||
/** Column name Help */
|
||||
public static final String COLUMNNAME_Help = "Help";
|
||||
|
||||
/** Set Comment/Help.
|
||||
* Comment or Hint
|
||||
*/
|
||||
public void setHelp (String Help);
|
||||
|
||||
/** Get Comment/Help.
|
||||
* Comment or Hint
|
||||
*/
|
||||
public String getHelp();
|
||||
|
||||
/** Column name IsActive */
|
||||
public static final String COLUMNNAME_IsActive = "IsActive";
|
||||
|
||||
/** Set Active.
|
||||
* The record is active in the system
|
||||
*/
|
||||
public void setIsActive (boolean IsActive);
|
||||
|
||||
/** Get Active.
|
||||
* The record is active in the system
|
||||
*/
|
||||
public boolean isActive();
|
||||
|
||||
/** Column name IsGuarantee */
|
||||
public static final String COLUMNNAME_IsGuarantee = "IsGuarantee";
|
||||
|
||||
/** Set Guarantee.
|
||||
* Guarantee for a Credit
|
||||
*/
|
||||
public void setIsGuarantee (boolean IsGuarantee);
|
||||
|
||||
/** Get Guarantee.
|
||||
* Guarantee for a Credit
|
||||
*/
|
||||
public boolean isGuarantee();
|
||||
|
||||
/** Column name IsPostDated */
|
||||
public static final String COLUMNNAME_IsPostDated = "IsPostDated";
|
||||
|
||||
/** Set Post Dated */
|
||||
public void setIsPostDated (boolean IsPostDated);
|
||||
|
||||
/** Get Post Dated */
|
||||
public boolean isPostDated();
|
||||
|
||||
/** Column name Name */
|
||||
public static final String COLUMNNAME_Name = "Name";
|
||||
|
||||
/** Set Name.
|
||||
* Alphanumeric identifier of the entity
|
||||
*/
|
||||
public void setName (String Name);
|
||||
|
||||
/** Get Name.
|
||||
* Alphanumeric identifier of the entity
|
||||
*/
|
||||
public String getName();
|
||||
|
||||
/** Column name TenderType */
|
||||
public static final String COLUMNNAME_TenderType = "TenderType";
|
||||
|
||||
/** Set Tender type.
|
||||
* Method of Payment
|
||||
*/
|
||||
public void setTenderType (String TenderType);
|
||||
|
||||
/** Get Tender type.
|
||||
* Method of Payment
|
||||
*/
|
||||
public String getTenderType();
|
||||
|
||||
/** Column name Updated */
|
||||
public static final String COLUMNNAME_Updated = "Updated";
|
||||
|
||||
/** Get Updated.
|
||||
* Date this record was updated
|
||||
*/
|
||||
public Timestamp getUpdated();
|
||||
|
||||
/** Column name UpdatedBy */
|
||||
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
|
||||
|
||||
/** Get Updated By.
|
||||
* User who updated this records
|
||||
*/
|
||||
public int getUpdatedBy();
|
||||
|
||||
/** Column name Value */
|
||||
public static final String COLUMNNAME_Value = "Value";
|
||||
|
||||
/** Set Search Key.
|
||||
* Search key for the record in the format required - must be unique
|
||||
*/
|
||||
public void setValue (String Value);
|
||||
|
||||
/** Get Search Key.
|
||||
* Search key for the record in the format required - must be unique
|
||||
*/
|
||||
public String getValue();
|
||||
}
|
|
@ -31,7 +31,7 @@ public interface I_C_PaySelectionCheck
|
|||
public static final String Table_Name = "C_PaySelectionCheck";
|
||||
|
||||
/** AD_Table_ID=525 */
|
||||
public static final int Table_ID = MTable.getTable_ID(Table_Name);
|
||||
public static final int Table_ID = 525;
|
||||
|
||||
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
|
||||
|
||||
|
@ -75,7 +75,7 @@ public interface I_C_PaySelectionCheck
|
|||
*/
|
||||
public int getC_BPartner_ID();
|
||||
|
||||
public I_C_BPartner getC_BPartner() throws RuntimeException;
|
||||
public org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException;
|
||||
|
||||
/** Column name C_BP_BankAccount_ID */
|
||||
public static final String COLUMNNAME_C_BP_BankAccount_ID = "C_BP_BankAccount_ID";
|
||||
|
@ -90,7 +90,7 @@ public interface I_C_PaySelectionCheck
|
|||
*/
|
||||
public int getC_BP_BankAccount_ID();
|
||||
|
||||
public I_C_BP_BankAccount getC_BP_BankAccount() throws RuntimeException;
|
||||
public org.compiere.model.I_C_BP_BankAccount getC_BP_BankAccount() throws RuntimeException;
|
||||
|
||||
/** Column name C_Payment_ID */
|
||||
public static final String COLUMNNAME_C_Payment_ID = "C_Payment_ID";
|
||||
|
@ -105,7 +105,7 @@ public interface I_C_PaySelectionCheck
|
|||
*/
|
||||
public int getC_Payment_ID();
|
||||
|
||||
public I_C_Payment getC_Payment() throws RuntimeException;
|
||||
public org.compiere.model.I_C_Payment getC_Payment() throws RuntimeException;
|
||||
|
||||
/** Column name C_PaySelectionCheck_ID */
|
||||
public static final String COLUMNNAME_C_PaySelectionCheck_ID = "C_PaySelectionCheck_ID";
|
||||
|
@ -120,6 +120,15 @@ public interface I_C_PaySelectionCheck
|
|||
*/
|
||||
public int getC_PaySelectionCheck_ID();
|
||||
|
||||
/** Column name C_PaySelectionCheck_UU */
|
||||
public static final String COLUMNNAME_C_PaySelectionCheck_UU = "C_PaySelectionCheck_UU";
|
||||
|
||||
/** Set C_PaySelectionCheck_UU */
|
||||
public void setC_PaySelectionCheck_UU (String C_PaySelectionCheck_UU);
|
||||
|
||||
/** Get C_PaySelectionCheck_UU */
|
||||
public String getC_PaySelectionCheck_UU();
|
||||
|
||||
/** Column name C_PaySelection_ID */
|
||||
public static final String COLUMNNAME_C_PaySelection_ID = "C_PaySelection_ID";
|
||||
|
||||
|
@ -133,7 +142,7 @@ public interface I_C_PaySelectionCheck
|
|||
*/
|
||||
public int getC_PaySelection_ID();
|
||||
|
||||
public I_C_PaySelection getC_PaySelection() throws RuntimeException;
|
||||
public org.compiere.model.I_C_PaySelection getC_PaySelection() throws RuntimeException;
|
||||
|
||||
/** Column name Created */
|
||||
public static final String COLUMNNAME_Created = "Created";
|
||||
|
|
|
@ -31,7 +31,7 @@ public interface I_C_PaySelectionLine
|
|||
public static final String Table_Name = "C_PaySelectionLine";
|
||||
|
||||
/** AD_Table_ID=427 */
|
||||
public static final int Table_ID = MTable.getTable_ID(Table_Name);
|
||||
public static final int Table_ID = 427;
|
||||
|
||||
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
|
||||
|
||||
|
@ -75,7 +75,7 @@ public interface I_C_PaySelectionLine
|
|||
*/
|
||||
public int getC_Invoice_ID();
|
||||
|
||||
public I_C_Invoice getC_Invoice() throws RuntimeException;
|
||||
public org.compiere.model.I_C_Invoice getC_Invoice() throws RuntimeException;
|
||||
|
||||
/** Column name C_PaySelectionCheck_ID */
|
||||
public static final String COLUMNNAME_C_PaySelectionCheck_ID = "C_PaySelectionCheck_ID";
|
||||
|
@ -90,7 +90,7 @@ public interface I_C_PaySelectionLine
|
|||
*/
|
||||
public int getC_PaySelectionCheck_ID();
|
||||
|
||||
public I_C_PaySelectionCheck getC_PaySelectionCheck() throws RuntimeException;
|
||||
public org.compiere.model.I_C_PaySelectionCheck getC_PaySelectionCheck() throws RuntimeException;
|
||||
|
||||
/** Column name C_PaySelection_ID */
|
||||
public static final String COLUMNNAME_C_PaySelection_ID = "C_PaySelection_ID";
|
||||
|
@ -105,7 +105,7 @@ public interface I_C_PaySelectionLine
|
|||
*/
|
||||
public int getC_PaySelection_ID();
|
||||
|
||||
public I_C_PaySelection getC_PaySelection() throws RuntimeException;
|
||||
public org.compiere.model.I_C_PaySelection getC_PaySelection() throws RuntimeException;
|
||||
|
||||
/** Column name C_PaySelectionLine_ID */
|
||||
public static final String COLUMNNAME_C_PaySelectionLine_ID = "C_PaySelectionLine_ID";
|
||||
|
@ -120,6 +120,15 @@ public interface I_C_PaySelectionLine
|
|||
*/
|
||||
public int getC_PaySelectionLine_ID();
|
||||
|
||||
/** Column name C_PaySelectionLine_UU */
|
||||
public static final String COLUMNNAME_C_PaySelectionLine_UU = "C_PaySelectionLine_UU";
|
||||
|
||||
/** Set C_PaySelectionLine_UU */
|
||||
public void setC_PaySelectionLine_UU (String C_PaySelectionLine_UU);
|
||||
|
||||
/** Get C_PaySelectionLine_UU */
|
||||
public String getC_PaySelectionLine_UU();
|
||||
|
||||
/** Column name Created */
|
||||
public static final String COLUMNNAME_Created = "Created";
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ public interface I_C_Payment
|
|||
public static final String Table_Name = "C_Payment";
|
||||
|
||||
/** AD_Table_ID=335 */
|
||||
public static final int Table_ID = MTable.getTable_ID(Table_Name);
|
||||
public static final int Table_ID = 335;
|
||||
|
||||
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
|
||||
|
||||
|
@ -218,7 +218,7 @@ public interface I_C_Payment
|
|||
*/
|
||||
public int getC_Activity_ID();
|
||||
|
||||
public I_C_Activity getC_Activity() throws RuntimeException;
|
||||
public org.compiere.model.I_C_Activity getC_Activity() throws RuntimeException;
|
||||
|
||||
/** Column name C_BankAccount_ID */
|
||||
public static final String COLUMNNAME_C_BankAccount_ID = "C_BankAccount_ID";
|
||||
|
@ -233,7 +233,7 @@ public interface I_C_Payment
|
|||
*/
|
||||
public int getC_BankAccount_ID();
|
||||
|
||||
public I_C_BankAccount getC_BankAccount() throws RuntimeException;
|
||||
public org.compiere.model.I_C_BankAccount getC_BankAccount() throws RuntimeException;
|
||||
|
||||
/** Column name C_BPartner_ID */
|
||||
public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID";
|
||||
|
@ -248,7 +248,7 @@ public interface I_C_Payment
|
|||
*/
|
||||
public int getC_BPartner_ID();
|
||||
|
||||
public I_C_BPartner getC_BPartner() throws RuntimeException;
|
||||
public org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException;
|
||||
|
||||
/** Column name C_BP_BankAccount_ID */
|
||||
public static final String COLUMNNAME_C_BP_BankAccount_ID = "C_BP_BankAccount_ID";
|
||||
|
@ -263,7 +263,7 @@ public interface I_C_Payment
|
|||
*/
|
||||
public int getC_BP_BankAccount_ID();
|
||||
|
||||
public I_C_BP_BankAccount getC_BP_BankAccount() throws RuntimeException;
|
||||
public org.compiere.model.I_C_BP_BankAccount getC_BP_BankAccount() throws RuntimeException;
|
||||
|
||||
/** Column name C_Campaign_ID */
|
||||
public static final String COLUMNNAME_C_Campaign_ID = "C_Campaign_ID";
|
||||
|
@ -278,7 +278,7 @@ public interface I_C_Payment
|
|||
*/
|
||||
public int getC_Campaign_ID();
|
||||
|
||||
public I_C_Campaign getC_Campaign() throws RuntimeException;
|
||||
public org.compiere.model.I_C_Campaign getC_Campaign() throws RuntimeException;
|
||||
|
||||
/** Column name C_CashBook_ID */
|
||||
public static final String COLUMNNAME_C_CashBook_ID = "C_CashBook_ID";
|
||||
|
@ -293,7 +293,7 @@ public interface I_C_Payment
|
|||
*/
|
||||
public int getC_CashBook_ID();
|
||||
|
||||
public I_C_CashBook getC_CashBook() throws RuntimeException;
|
||||
public org.compiere.model.I_C_CashBook getC_CashBook() throws RuntimeException;
|
||||
|
||||
/** Column name C_Charge_ID */
|
||||
public static final String COLUMNNAME_C_Charge_ID = "C_Charge_ID";
|
||||
|
@ -308,7 +308,7 @@ public interface I_C_Payment
|
|||
*/
|
||||
public int getC_Charge_ID();
|
||||
|
||||
public I_C_Charge getC_Charge() throws RuntimeException;
|
||||
public org.compiere.model.I_C_Charge getC_Charge() throws RuntimeException;
|
||||
|
||||
/** Column name C_ConversionType_ID */
|
||||
public static final String COLUMNNAME_C_ConversionType_ID = "C_ConversionType_ID";
|
||||
|
@ -323,7 +323,7 @@ public interface I_C_Payment
|
|||
*/
|
||||
public int getC_ConversionType_ID();
|
||||
|
||||
public I_C_ConversionType getC_ConversionType() throws RuntimeException;
|
||||
public org.compiere.model.I_C_ConversionType getC_ConversionType() throws RuntimeException;
|
||||
|
||||
/** Column name C_Currency_ID */
|
||||
public static final String COLUMNNAME_C_Currency_ID = "C_Currency_ID";
|
||||
|
@ -338,7 +338,7 @@ public interface I_C_Payment
|
|||
*/
|
||||
public int getC_Currency_ID();
|
||||
|
||||
public I_C_Currency getC_Currency() throws RuntimeException;
|
||||
public org.compiere.model.I_C_Currency getC_Currency() throws RuntimeException;
|
||||
|
||||
/** Column name C_DocType_ID */
|
||||
public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID";
|
||||
|
@ -353,7 +353,7 @@ public interface I_C_Payment
|
|||
*/
|
||||
public int getC_DocType_ID();
|
||||
|
||||
public I_C_DocType getC_DocType() throws RuntimeException;
|
||||
public org.compiere.model.I_C_DocType getC_DocType() throws RuntimeException;
|
||||
|
||||
/** Column name ChargeAmt */
|
||||
public static final String COLUMNNAME_ChargeAmt = "ChargeAmt";
|
||||
|
@ -394,7 +394,7 @@ public interface I_C_Payment
|
|||
*/
|
||||
public int getC_Invoice_ID();
|
||||
|
||||
public I_C_Invoice getC_Invoice() throws RuntimeException;
|
||||
public org.compiere.model.I_C_Invoice getC_Invoice() throws RuntimeException;
|
||||
|
||||
/** Column name C_Order_ID */
|
||||
public static final String COLUMNNAME_C_Order_ID = "C_Order_ID";
|
||||
|
@ -409,7 +409,7 @@ public interface I_C_Payment
|
|||
*/
|
||||
public int getC_Order_ID();
|
||||
|
||||
public I_C_Order getC_Order() throws RuntimeException;
|
||||
public org.compiere.model.I_C_Order getC_Order() throws RuntimeException;
|
||||
|
||||
/** Column name C_PaymentBatch_ID */
|
||||
public static final String COLUMNNAME_C_PaymentBatch_ID = "C_PaymentBatch_ID";
|
||||
|
@ -424,7 +424,7 @@ public interface I_C_Payment
|
|||
*/
|
||||
public int getC_PaymentBatch_ID();
|
||||
|
||||
public I_C_PaymentBatch getC_PaymentBatch() throws RuntimeException;
|
||||
public org.compiere.model.I_C_PaymentBatch getC_PaymentBatch() throws RuntimeException;
|
||||
|
||||
/** Column name C_Payment_ID */
|
||||
public static final String COLUMNNAME_C_Payment_ID = "C_Payment_ID";
|
||||
|
@ -439,6 +439,26 @@ public interface I_C_Payment
|
|||
*/
|
||||
public int getC_Payment_ID();
|
||||
|
||||
/** Column name C_Payment_UU */
|
||||
public static final String COLUMNNAME_C_Payment_UU = "C_Payment_UU";
|
||||
|
||||
/** Set C_Payment_UU */
|
||||
public void setC_Payment_UU (String C_Payment_UU);
|
||||
|
||||
/** Get C_Payment_UU */
|
||||
public String getC_Payment_UU();
|
||||
|
||||
/** Column name C_POSTenderType_ID */
|
||||
public static final String COLUMNNAME_C_POSTenderType_ID = "C_POSTenderType_ID";
|
||||
|
||||
/** Set POS Tender Type */
|
||||
public void setC_POSTenderType_ID (int C_POSTenderType_ID);
|
||||
|
||||
/** Get POS Tender Type */
|
||||
public int getC_POSTenderType_ID();
|
||||
|
||||
public org.compiere.model.I_C_POSTenderType getC_POSTenderType() throws RuntimeException;
|
||||
|
||||
/** Column name C_Project_ID */
|
||||
public static final String COLUMNNAME_C_Project_ID = "C_Project_ID";
|
||||
|
||||
|
@ -452,7 +472,7 @@ public interface I_C_Payment
|
|||
*/
|
||||
public int getC_Project_ID();
|
||||
|
||||
public I_C_Project getC_Project() throws RuntimeException;
|
||||
public org.compiere.model.I_C_Project getC_Project() throws RuntimeException;
|
||||
|
||||
/** Column name Created */
|
||||
public static final String COLUMNNAME_Created = "Created";
|
||||
|
@ -956,7 +976,7 @@ public interface I_C_Payment
|
|||
/** Get Referenced Payment */
|
||||
public int getRef_Payment_ID();
|
||||
|
||||
public I_C_Payment getRef_Payment() throws RuntimeException;
|
||||
public org.compiere.model.I_C_Payment getRef_Payment() throws RuntimeException;
|
||||
|
||||
/** Column name Reversal_ID */
|
||||
public static final String COLUMNNAME_Reversal_ID = "Reversal_ID";
|
||||
|
@ -971,7 +991,7 @@ public interface I_C_Payment
|
|||
*/
|
||||
public int getReversal_ID();
|
||||
|
||||
public I_C_Payment getReversal() throws RuntimeException;
|
||||
public org.compiere.model.I_C_Payment getReversal() throws RuntimeException;
|
||||
|
||||
/** Column name R_Info */
|
||||
public static final String COLUMNNAME_R_Info = "R_Info";
|
||||
|
@ -1132,7 +1152,7 @@ public interface I_C_Payment
|
|||
*/
|
||||
public int getUser1_ID();
|
||||
|
||||
public I_C_ElementValue getUser1() throws RuntimeException;
|
||||
public org.compiere.model.I_C_ElementValue getUser1() throws RuntimeException;
|
||||
|
||||
/** Column name User2_ID */
|
||||
public static final String COLUMNNAME_User2_ID = "User2_ID";
|
||||
|
@ -1147,7 +1167,7 @@ public interface I_C_Payment
|
|||
*/
|
||||
public int getUser2_ID();
|
||||
|
||||
public I_C_ElementValue getUser2() throws RuntimeException;
|
||||
public org.compiere.model.I_C_ElementValue getUser2() throws RuntimeException;
|
||||
|
||||
/** Column name VoiceAuthCode */
|
||||
public static final String COLUMNNAME_VoiceAuthCode = "VoiceAuthCode";
|
||||
|
|
|
@ -31,7 +31,7 @@ public interface I_RV_BPartner
|
|||
public static final String Table_Name = "RV_BPartner";
|
||||
|
||||
/** AD_Table_ID=520 */
|
||||
public static final int Table_ID = MTable.getTable_ID(Table_Name);
|
||||
public static final int Table_ID = 520;
|
||||
|
||||
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
|
||||
|
||||
|
@ -179,7 +179,7 @@ public interface I_RV_BPartner
|
|||
*/
|
||||
public int getAD_User_ID();
|
||||
|
||||
public I_AD_User getAD_User() throws RuntimeException;
|
||||
public org.compiere.model.I_AD_User getAD_User() throws RuntimeException;
|
||||
|
||||
/** Column name Birthday */
|
||||
public static final String COLUMNNAME_Birthday = "Birthday";
|
||||
|
@ -207,7 +207,7 @@ public interface I_RV_BPartner
|
|||
*/
|
||||
public int getBPartner_Parent_ID();
|
||||
|
||||
public I_C_BPartner getBPartner_Parent() throws RuntimeException;
|
||||
public org.compiere.model.I_C_BPartner getBPartner_Parent() throws RuntimeException;
|
||||
|
||||
/** Column name BPContactGreeting */
|
||||
public static final String COLUMNNAME_BPContactGreeting = "BPContactGreeting";
|
||||
|
@ -222,7 +222,7 @@ public interface I_RV_BPartner
|
|||
*/
|
||||
public int getBPContactGreeting();
|
||||
|
||||
public I_C_Greeting getBPContactGreet() throws RuntimeException;
|
||||
public org.compiere.model.I_C_Greeting getBPContactGreet() throws RuntimeException;
|
||||
|
||||
/** Column name C_BPartner_ID */
|
||||
public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID";
|
||||
|
@ -250,7 +250,7 @@ public interface I_RV_BPartner
|
|||
*/
|
||||
public int getC_BPartner_Location_ID();
|
||||
|
||||
public I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException;
|
||||
public org.compiere.model.I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException;
|
||||
|
||||
/** Column name C_BP_Group_ID */
|
||||
public static final String COLUMNNAME_C_BP_Group_ID = "C_BP_Group_ID";
|
||||
|
@ -265,7 +265,7 @@ public interface I_RV_BPartner
|
|||
*/
|
||||
public int getC_BP_Group_ID();
|
||||
|
||||
public I_C_BP_Group getC_BP_Group() throws RuntimeException;
|
||||
public org.compiere.model.I_C_BP_Group getC_BP_Group() throws RuntimeException;
|
||||
|
||||
/** Column name C_Country_ID */
|
||||
public static final String COLUMNNAME_C_Country_ID = "C_Country_ID";
|
||||
|
@ -280,7 +280,7 @@ public interface I_RV_BPartner
|
|||
*/
|
||||
public int getC_Country_ID();
|
||||
|
||||
public I_C_Country getC_Country() throws RuntimeException;
|
||||
public org.compiere.model.I_C_Country getC_Country() throws RuntimeException;
|
||||
|
||||
/** Column name C_Dunning_ID */
|
||||
public static final String COLUMNNAME_C_Dunning_ID = "C_Dunning_ID";
|
||||
|
@ -295,7 +295,7 @@ public interface I_RV_BPartner
|
|||
*/
|
||||
public int getC_Dunning_ID();
|
||||
|
||||
public I_C_Dunning getC_Dunning() throws RuntimeException;
|
||||
public org.compiere.model.I_C_Dunning getC_Dunning() throws RuntimeException;
|
||||
|
||||
/** Column name C_Greeting_ID */
|
||||
public static final String COLUMNNAME_C_Greeting_ID = "C_Greeting_ID";
|
||||
|
@ -310,7 +310,7 @@ public interface I_RV_BPartner
|
|||
*/
|
||||
public int getC_Greeting_ID();
|
||||
|
||||
public I_C_Greeting getC_Greeting() throws RuntimeException;
|
||||
public org.compiere.model.I_C_Greeting getC_Greeting() throws RuntimeException;
|
||||
|
||||
/** Column name C_InvoiceSchedule_ID */
|
||||
public static final String COLUMNNAME_C_InvoiceSchedule_ID = "C_InvoiceSchedule_ID";
|
||||
|
@ -325,7 +325,7 @@ public interface I_RV_BPartner
|
|||
*/
|
||||
public int getC_InvoiceSchedule_ID();
|
||||
|
||||
public I_C_InvoiceSchedule getC_InvoiceSchedule() throws RuntimeException;
|
||||
public org.compiere.model.I_C_InvoiceSchedule getC_InvoiceSchedule() throws RuntimeException;
|
||||
|
||||
/** Column name City */
|
||||
public static final String COLUMNNAME_City = "City";
|
||||
|
@ -405,7 +405,7 @@ public interface I_RV_BPartner
|
|||
*/
|
||||
public int getC_PaymentTerm_ID();
|
||||
|
||||
public I_C_PaymentTerm getC_PaymentTerm() throws RuntimeException;
|
||||
public org.compiere.model.I_C_PaymentTerm getC_PaymentTerm() throws RuntimeException;
|
||||
|
||||
/** Column name Created */
|
||||
public static final String COLUMNNAME_Created = "Created";
|
||||
|
@ -436,7 +436,7 @@ public interface I_RV_BPartner
|
|||
*/
|
||||
public int getC_Region_ID();
|
||||
|
||||
public I_C_Region getC_Region() throws RuntimeException;
|
||||
public org.compiere.model.I_C_Region getC_Region() throws RuntimeException;
|
||||
|
||||
/** Column name DeliveryRule */
|
||||
public static final String COLUMNNAME_DeliveryRule = "DeliveryRule";
|
||||
|
@ -620,7 +620,7 @@ public interface I_RV_BPartner
|
|||
*/
|
||||
public int getInvoice_PrintFormat_ID();
|
||||
|
||||
public I_AD_PrintFormat getInvoice_PrintFormat() throws RuntimeException;
|
||||
public org.compiere.model.I_AD_PrintFormat getInvoice_PrintFormat() throws RuntimeException;
|
||||
|
||||
/** Column name InvoiceRule */
|
||||
public static final String COLUMNNAME_InvoiceRule = "InvoiceRule";
|
||||
|
@ -813,7 +813,7 @@ public interface I_RV_BPartner
|
|||
*/
|
||||
public int getM_DiscountSchema_ID();
|
||||
|
||||
public I_M_DiscountSchema getM_DiscountSchema() throws RuntimeException;
|
||||
public org.compiere.model.I_M_DiscountSchema getM_DiscountSchema() throws RuntimeException;
|
||||
|
||||
/** Column name M_PriceList_ID */
|
||||
public static final String COLUMNNAME_M_PriceList_ID = "M_PriceList_ID";
|
||||
|
@ -828,7 +828,7 @@ public interface I_RV_BPartner
|
|||
*/
|
||||
public int getM_PriceList_ID();
|
||||
|
||||
public I_M_PriceList getM_PriceList() throws RuntimeException;
|
||||
public org.compiere.model.I_M_PriceList getM_PriceList() throws RuntimeException;
|
||||
|
||||
/** Column name NAICS */
|
||||
public static final String COLUMNNAME_NAICS = "NAICS";
|
||||
|
@ -960,7 +960,7 @@ public interface I_RV_BPartner
|
|||
*/
|
||||
public int getPO_DiscountSchema_ID();
|
||||
|
||||
public I_M_DiscountSchema getPO_DiscountSchema() throws RuntimeException;
|
||||
public org.compiere.model.I_M_DiscountSchema getPO_DiscountSchema() throws RuntimeException;
|
||||
|
||||
/** Column name PO_PaymentTerm_ID */
|
||||
public static final String COLUMNNAME_PO_PaymentTerm_ID = "PO_PaymentTerm_ID";
|
||||
|
@ -975,7 +975,7 @@ public interface I_RV_BPartner
|
|||
*/
|
||||
public int getPO_PaymentTerm_ID();
|
||||
|
||||
public I_C_PaymentTerm getPO_PaymentTerm() throws RuntimeException;
|
||||
public org.compiere.model.I_C_PaymentTerm getPO_PaymentTerm() throws RuntimeException;
|
||||
|
||||
/** Column name PO_PriceList_ID */
|
||||
public static final String COLUMNNAME_PO_PriceList_ID = "PO_PriceList_ID";
|
||||
|
@ -990,7 +990,7 @@ public interface I_RV_BPartner
|
|||
*/
|
||||
public int getPO_PriceList_ID();
|
||||
|
||||
public I_M_PriceList getPO_PriceList() throws RuntimeException;
|
||||
public org.compiere.model.I_M_PriceList getPO_PriceList() throws RuntimeException;
|
||||
|
||||
/** Column name POReference */
|
||||
public static final String COLUMNNAME_POReference = "POReference";
|
||||
|
@ -1083,7 +1083,7 @@ public interface I_RV_BPartner
|
|||
*/
|
||||
public int getSalesRep_ID();
|
||||
|
||||
public I_AD_User getSalesRep() throws RuntimeException;
|
||||
public org.compiere.model.I_AD_User getSalesRep() throws RuntimeException;
|
||||
|
||||
/** Column name SalesVolume */
|
||||
public static final String COLUMNNAME_SalesVolume = "SalesVolume";
|
||||
|
@ -1215,7 +1215,7 @@ public interface I_RV_BPartner
|
|||
*/
|
||||
public int getSupervisor_ID();
|
||||
|
||||
public I_AD_User getSupervisor() throws RuntimeException;
|
||||
public org.compiere.model.I_AD_User getSupervisor() throws RuntimeException;
|
||||
|
||||
/** Column name TaxID */
|
||||
public static final String COLUMNNAME_TaxID = "TaxID";
|
||||
|
|
|
@ -73,7 +73,7 @@ public class MOrder extends X_C_Order implements DocAction
|
|||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -846451837699702120L;
|
||||
private static final long serialVersionUID = -3958412751269036933L;
|
||||
|
||||
/**
|
||||
* Create new Order by copying
|
||||
|
@ -1847,6 +1847,12 @@ public class MOrder extends X_C_Order implements DocAction
|
|||
info.append(" (").append(msg).append(")");
|
||||
} // Invoice
|
||||
|
||||
String msg = createPOSPayments();
|
||||
if (msg != null) {
|
||||
m_processMsg = msg;
|
||||
return DocAction.STATUS_Invalid;
|
||||
}
|
||||
|
||||
// Counter Documents
|
||||
MOrder counter = createCounterDoc();
|
||||
if (counter != null)
|
||||
|
@ -1872,6 +1878,117 @@ public class MOrder extends X_C_Order implements DocAction
|
|||
return DocAction.STATUS_Completed;
|
||||
} // completeIt
|
||||
|
||||
|
||||
|
||||
private String createPOSPayments() {
|
||||
|
||||
// Just for POS order with payment rule mixed
|
||||
if (! this.isSOTrx())
|
||||
return null;
|
||||
if (! MOrder.DocSubTypeSO_POS.equals(this.getC_DocType().getDocSubTypeSO()))
|
||||
return null;
|
||||
if (! MOrder.PAYMENTRULE_MixedPOSPayment.equals(this.getPaymentRule()))
|
||||
return null;
|
||||
|
||||
// Verify sum of all payments pos must be equal to the grandtotal of POS invoice (minus withholdings)
|
||||
MInvoice[] invoices = this.getInvoices();
|
||||
if (invoices == null || invoices.length == 0)
|
||||
return "@NoPOSInvoices@";
|
||||
MInvoice lastInvoice = invoices[0];
|
||||
BigDecimal grandTotal = lastInvoice.getGrandTotal();
|
||||
|
||||
List<X_C_POSPayment> pps = new Query(this.getCtx(), X_C_POSPayment.Table_Name, "C_Order_ID=?", this.get_TrxName())
|
||||
.setParameters(this.getC_Order_ID())
|
||||
.setOnlyActiveRecords(true)
|
||||
.list();
|
||||
BigDecimal totalPOSPayments = Env.ZERO;
|
||||
for (X_C_POSPayment pp : pps) {
|
||||
totalPOSPayments = totalPOSPayments.add(pp.getPayAmt());
|
||||
}
|
||||
if (totalPOSPayments.compareTo(grandTotal) != 0)
|
||||
return "@POSPaymentDiffers@ - @C_POSPayment_ID@=" + totalPOSPayments + ", @GrandTotal@=" + grandTotal;
|
||||
|
||||
String whereClause = "AD_Org_ID=? AND C_Currency_ID=?";
|
||||
MBankAccount ba = new Query(this.getCtx(),MBankAccount.Table_Name,whereClause,this.get_TrxName())
|
||||
.setParameters(this.getAD_Org_ID(), this.getC_Currency_ID())
|
||||
.setOrderBy("IsDefault DESC")
|
||||
.first();
|
||||
if (ba == null)
|
||||
return "@NoAccountOrgCurrency@";
|
||||
|
||||
MDocType[] doctypes = MDocType.getOfDocBaseType(this.getCtx(), MDocType.DOCBASETYPE_ARReceipt);
|
||||
if (doctypes == null || doctypes.length == 0)
|
||||
return "No document type for AR Receipt";
|
||||
MDocType doctype = null;
|
||||
for (MDocType doc : doctypes) {
|
||||
if (doc.getAD_Org_ID() == this.getAD_Org_ID()) {
|
||||
doctype = doc;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (doctype == null)
|
||||
doctype = doctypes[0];
|
||||
|
||||
// Create a payment for each non-guarantee record
|
||||
// associate the payment id and mark the record as processed
|
||||
for (X_C_POSPayment pp : pps) {
|
||||
X_C_POSTenderType tt = new X_C_POSTenderType (getCtx(),pp.getC_POSTenderType_ID(), get_TrxName());
|
||||
if (tt.isGuarantee())
|
||||
continue;
|
||||
if (pp.isPostDated())
|
||||
continue;
|
||||
|
||||
MPayment payment = new MPayment(this.getCtx(), 0, this.get_TrxName());
|
||||
payment.setAD_Org_ID(this.getAD_Org_ID());
|
||||
|
||||
payment.setTenderType(pp.getTenderType());
|
||||
if (MPayment.TENDERTYPE_CreditCard.equals(pp.getTenderType())) {
|
||||
payment.setTrxType(MPayment.TRXTYPE_Sales);
|
||||
payment.setCreditCardType(pp.getCreditCardType());
|
||||
payment.setCreditCardNumber(pp.getCreditCardNumber());
|
||||
payment.setVoiceAuthCode(pp.getVoiceAuthCode());
|
||||
}
|
||||
|
||||
payment.setC_BankAccount_ID(ba.getC_BankAccount_ID());
|
||||
payment.setRoutingNo(pp.getRoutingNo());
|
||||
payment.setAccountNo(pp.getAccountNo());
|
||||
payment.setCheckNo(pp.getCheckNo());
|
||||
payment.setMicr(pp.getMicr());
|
||||
payment.setIsPrepayment(false);
|
||||
|
||||
payment.setDateAcct(this.getDateAcct());
|
||||
payment.setDateTrx(this.getDateOrdered());
|
||||
//
|
||||
payment.setC_BPartner_ID(this.getC_BPartner_ID());
|
||||
payment.setC_Invoice_ID(lastInvoice.getC_Invoice_ID());
|
||||
// payment.setC_Order_ID(this.getC_Order_ID()); / do not set order to avoid the prepayment flag
|
||||
payment.setC_DocType_ID(doctype.getC_DocType_ID());
|
||||
payment.setC_Currency_ID(this.getC_Currency_ID());
|
||||
|
||||
payment.setPayAmt(pp.getPayAmt());
|
||||
|
||||
// Copy statement line reference data
|
||||
payment.setA_Name(pp.getA_Name());
|
||||
|
||||
payment.setC_POSTenderType_ID(pp.getC_POSTenderType_ID());
|
||||
|
||||
// Save payment
|
||||
payment.saveEx();
|
||||
|
||||
pp.setC_Payment_ID(payment.getC_Payment_ID());
|
||||
pp.setProcessed(true);
|
||||
pp.saveEx();
|
||||
|
||||
payment.setDocAction(MPayment.DOCACTION_Complete);
|
||||
if (!payment.processIt (MPayment.DOCACTION_Complete))
|
||||
return "Cannot Complete the Payment :" + payment;
|
||||
|
||||
payment.saveEx();
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the definite document number after completed
|
||||
*/
|
||||
|
|
|
@ -33,7 +33,7 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent
|
|||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 20100614L;
|
||||
private static final long serialVersionUID = 20120906L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_C_BPartner (Properties ctx, int C_BPartner_ID, String trxName)
|
||||
|
@ -211,9 +211,23 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_BP_Group getC_BP_Group() throws RuntimeException
|
||||
/** Set C_BPartner_UU.
|
||||
@param C_BPartner_UU C_BPartner_UU */
|
||||
public void setC_BPartner_UU (String C_BPartner_UU)
|
||||
{
|
||||
set_Value (COLUMNNAME_C_BPartner_UU, C_BPartner_UU);
|
||||
}
|
||||
|
||||
/** Get C_BPartner_UU.
|
||||
@return C_BPartner_UU */
|
||||
public String getC_BPartner_UU ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_C_BPartner_UU);
|
||||
}
|
||||
|
||||
public org.compiere.model.I_C_BP_Group getC_BP_Group() throws RuntimeException
|
||||
{
|
||||
return (I_C_BP_Group)MTable.get(getCtx(), I_C_BP_Group.Table_Name)
|
||||
return (org.compiere.model.I_C_BP_Group)MTable.get(getCtx(), org.compiere.model.I_C_BP_Group.Table_Name)
|
||||
.getPO(getC_BP_Group_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Business Partner Group.
|
||||
|
@ -239,9 +253,9 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_Dunning getC_Dunning() throws RuntimeException
|
||||
public org.compiere.model.I_C_Dunning getC_Dunning() throws RuntimeException
|
||||
{
|
||||
return (I_C_Dunning)MTable.get(getCtx(), I_C_Dunning.Table_Name)
|
||||
return (org.compiere.model.I_C_Dunning)MTable.get(getCtx(), org.compiere.model.I_C_Dunning.Table_Name)
|
||||
.getPO(getC_Dunning_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Dunning.
|
||||
|
@ -267,9 +281,9 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_Greeting getC_Greeting() throws RuntimeException
|
||||
public org.compiere.model.I_C_Greeting getC_Greeting() throws RuntimeException
|
||||
{
|
||||
return (I_C_Greeting)MTable.get(getCtx(), I_C_Greeting.Table_Name)
|
||||
return (org.compiere.model.I_C_Greeting)MTable.get(getCtx(), org.compiere.model.I_C_Greeting.Table_Name)
|
||||
.getPO(getC_Greeting_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Greeting.
|
||||
|
@ -295,9 +309,9 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_InvoiceSchedule getC_InvoiceSchedule() throws RuntimeException
|
||||
public org.compiere.model.I_C_InvoiceSchedule getC_InvoiceSchedule() throws RuntimeException
|
||||
{
|
||||
return (I_C_InvoiceSchedule)MTable.get(getCtx(), I_C_InvoiceSchedule.Table_Name)
|
||||
return (org.compiere.model.I_C_InvoiceSchedule)MTable.get(getCtx(), org.compiere.model.I_C_InvoiceSchedule.Table_Name)
|
||||
.getPO(getC_InvoiceSchedule_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Invoice Schedule.
|
||||
|
@ -323,9 +337,9 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_PaymentTerm getC_PaymentTerm() throws RuntimeException
|
||||
public org.compiere.model.I_C_PaymentTerm getC_PaymentTerm() throws RuntimeException
|
||||
{
|
||||
return (I_C_PaymentTerm)MTable.get(getCtx(), I_C_PaymentTerm.Table_Name)
|
||||
return (org.compiere.model.I_C_PaymentTerm)MTable.get(getCtx(), org.compiere.model.I_C_PaymentTerm.Table_Name)
|
||||
.getPO(getC_PaymentTerm_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Payment Term.
|
||||
|
@ -567,9 +581,9 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent
|
|||
return (String)get_Value(COLUMNNAME_FreightCostRule);
|
||||
}
|
||||
|
||||
public I_AD_PrintFormat getInvoice_PrintFormat() throws RuntimeException
|
||||
public org.compiere.model.I_AD_PrintFormat getInvoice_PrintFormat() throws RuntimeException
|
||||
{
|
||||
return (I_AD_PrintFormat)MTable.get(getCtx(), I_AD_PrintFormat.Table_Name)
|
||||
return (org.compiere.model.I_AD_PrintFormat)MTable.get(getCtx(), org.compiere.model.I_AD_PrintFormat.Table_Name)
|
||||
.getPO(getInvoice_PrintFormat_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Invoice Print Format.
|
||||
|
@ -904,9 +918,9 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_M_DiscountSchema getM_DiscountSchema() throws RuntimeException
|
||||
public org.compiere.model.I_M_DiscountSchema getM_DiscountSchema() throws RuntimeException
|
||||
{
|
||||
return (I_M_DiscountSchema)MTable.get(getCtx(), I_M_DiscountSchema.Table_Name)
|
||||
return (org.compiere.model.I_M_DiscountSchema)MTable.get(getCtx(), org.compiere.model.I_M_DiscountSchema.Table_Name)
|
||||
.getPO(getM_DiscountSchema_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Discount Schema.
|
||||
|
@ -932,9 +946,9 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_M_PriceList getM_PriceList() throws RuntimeException
|
||||
public org.compiere.model.I_M_PriceList getM_PriceList() throws RuntimeException
|
||||
{
|
||||
return (I_M_PriceList)MTable.get(getCtx(), I_M_PriceList.Table_Name)
|
||||
return (org.compiere.model.I_M_PriceList)MTable.get(getCtx(), org.compiere.model.I_M_PriceList.Table_Name)
|
||||
.getPO(getM_PriceList_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Price List.
|
||||
|
@ -1053,8 +1067,8 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent
|
|||
public static final String PAYMENTRULE_OnCredit = "P";
|
||||
/** Direct Debit = D */
|
||||
public static final String PAYMENTRULE_DirectDebit = "D";
|
||||
/** Mixed = M */
|
||||
public static final String PAYMENTRULE_Mixed = "M";
|
||||
/** Mixed POS Payment = M */
|
||||
public static final String PAYMENTRULE_MixedPOSPayment = "M";
|
||||
/** Set Payment Rule.
|
||||
@param PaymentRule
|
||||
How you pay the invoice
|
||||
|
@ -1087,8 +1101,8 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent
|
|||
public static final String PAYMENTRULEPO_OnCredit = "P";
|
||||
/** Direct Debit = D */
|
||||
public static final String PAYMENTRULEPO_DirectDebit = "D";
|
||||
/** Mixed = M */
|
||||
public static final String PAYMENTRULEPO_Mixed = "M";
|
||||
/** Mixed POS Payment = M */
|
||||
public static final String PAYMENTRULEPO_MixedPOSPayment = "M";
|
||||
/** Set Payment Rule.
|
||||
@param PaymentRulePO
|
||||
Purchase payment option
|
||||
|
@ -1107,9 +1121,9 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent
|
|||
return (String)get_Value(COLUMNNAME_PaymentRulePO);
|
||||
}
|
||||
|
||||
public I_M_DiscountSchema getPO_DiscountSchema() throws RuntimeException
|
||||
public org.compiere.model.I_M_DiscountSchema getPO_DiscountSchema() throws RuntimeException
|
||||
{
|
||||
return (I_M_DiscountSchema)MTable.get(getCtx(), I_M_DiscountSchema.Table_Name)
|
||||
return (org.compiere.model.I_M_DiscountSchema)MTable.get(getCtx(), org.compiere.model.I_M_DiscountSchema.Table_Name)
|
||||
.getPO(getPO_DiscountSchema_ID(), get_TrxName()); }
|
||||
|
||||
/** Set PO Discount Schema.
|
||||
|
@ -1135,9 +1149,9 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_PaymentTerm getPO_PaymentTerm() throws RuntimeException
|
||||
public org.compiere.model.I_C_PaymentTerm getPO_PaymentTerm() throws RuntimeException
|
||||
{
|
||||
return (I_C_PaymentTerm)MTable.get(getCtx(), I_C_PaymentTerm.Table_Name)
|
||||
return (org.compiere.model.I_C_PaymentTerm)MTable.get(getCtx(), org.compiere.model.I_C_PaymentTerm.Table_Name)
|
||||
.getPO(getPO_PaymentTerm_ID(), get_TrxName()); }
|
||||
|
||||
/** Set PO Payment Term.
|
||||
|
@ -1163,9 +1177,9 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_M_PriceList getPO_PriceList() throws RuntimeException
|
||||
public org.compiere.model.I_M_PriceList getPO_PriceList() throws RuntimeException
|
||||
{
|
||||
return (I_M_PriceList)MTable.get(getCtx(), I_M_PriceList.Table_Name)
|
||||
return (org.compiere.model.I_M_PriceList)MTable.get(getCtx(), org.compiere.model.I_M_PriceList.Table_Name)
|
||||
.getPO(getPO_PriceList_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Purchase Pricelist.
|
||||
|
@ -1262,9 +1276,9 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent
|
|||
return (String)get_Value(COLUMNNAME_ReferenceNo);
|
||||
}
|
||||
|
||||
public I_AD_User getSalesRep() throws RuntimeException
|
||||
public org.compiere.model.I_AD_User getSalesRep() throws RuntimeException
|
||||
{
|
||||
return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name)
|
||||
return (org.compiere.model.I_AD_User)MTable.get(getCtx(), org.compiere.model.I_AD_User.Table_Name)
|
||||
.getPO(getSalesRep_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Sales Representative.
|
||||
|
|
|
@ -32,7 +32,7 @@ public class X_C_BankAccount extends PO implements I_C_BankAccount, I_Persistent
|
|||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 20100614L;
|
||||
private static final long serialVersionUID = 20120906L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_C_BankAccount (Properties ctx, int C_BankAccount_ID, String trxName)
|
||||
|
@ -48,6 +48,8 @@ public class X_C_BankAccount extends PO implements I_C_BankAccount, I_Persistent
|
|||
setCreditLimit (Env.ZERO);
|
||||
setCurrentBalance (Env.ZERO);
|
||||
setIsDefault (false);
|
||||
setName (null);
|
||||
setValue (null);
|
||||
} */
|
||||
}
|
||||
|
||||
|
@ -102,6 +104,10 @@ public class X_C_BankAccount extends PO implements I_C_BankAccount, I_Persistent
|
|||
public static final String BANKACCOUNTTYPE_Checking = "C";
|
||||
/** Savings = S */
|
||||
public static final String BANKACCOUNTTYPE_Savings = "S";
|
||||
/** Cash = B */
|
||||
public static final String BANKACCOUNTTYPE_Cash = "B";
|
||||
/** Card = D */
|
||||
public static final String BANKACCOUNTTYPE_Card = "D";
|
||||
/** Set Bank Account Type.
|
||||
@param BankAccountType
|
||||
Bank Account Type
|
||||
|
@ -160,9 +166,23 @@ public class X_C_BankAccount extends PO implements I_C_BankAccount, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_Bank getC_Bank() throws RuntimeException
|
||||
/** Set C_BankAccount_UU.
|
||||
@param C_BankAccount_UU C_BankAccount_UU */
|
||||
public void setC_BankAccount_UU (String C_BankAccount_UU)
|
||||
{
|
||||
set_Value (COLUMNNAME_C_BankAccount_UU, C_BankAccount_UU);
|
||||
}
|
||||
|
||||
/** Get C_BankAccount_UU.
|
||||
@return C_BankAccount_UU */
|
||||
public String getC_BankAccount_UU ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_C_BankAccount_UU);
|
||||
}
|
||||
|
||||
public org.compiere.model.I_C_Bank getC_Bank() throws RuntimeException
|
||||
{
|
||||
return (I_C_Bank)MTable.get(getCtx(), I_C_Bank.Table_Name)
|
||||
return (org.compiere.model.I_C_Bank)MTable.get(getCtx(), org.compiere.model.I_C_Bank.Table_Name)
|
||||
.getPO(getC_Bank_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Bank.
|
||||
|
@ -188,17 +208,9 @@ public class X_C_BankAccount extends PO implements I_C_BankAccount, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Get Record ID/ColumnName
|
||||
@return ID/ColumnName pair
|
||||
*/
|
||||
public KeyNamePair getKeyNamePair()
|
||||
public org.compiere.model.I_C_Currency getC_Currency() throws RuntimeException
|
||||
{
|
||||
return new KeyNamePair(get_ID(), String.valueOf(getC_Bank_ID()));
|
||||
}
|
||||
|
||||
public I_C_Currency getC_Currency() throws RuntimeException
|
||||
{
|
||||
return (I_C_Currency)MTable.get(getCtx(), I_C_Currency.Table_Name)
|
||||
return (org.compiere.model.I_C_Currency)MTable.get(getCtx(), org.compiere.model.I_C_Currency.Table_Name)
|
||||
.getPO(getC_Currency_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Currency.
|
||||
|
@ -321,4 +333,60 @@ public class X_C_BankAccount extends PO implements I_C_BankAccount, I_Persistent
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Name.
|
||||
@param Name
|
||||
Alphanumeric identifier of the entity
|
||||
*/
|
||||
public void setName (String Name)
|
||||
{
|
||||
set_Value (COLUMNNAME_Name, Name);
|
||||
}
|
||||
|
||||
/** Get Name.
|
||||
@return Alphanumeric identifier of the entity
|
||||
*/
|
||||
public String getName ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_Name);
|
||||
}
|
||||
|
||||
/** Get Record ID/ColumnName
|
||||
@return ID/ColumnName pair
|
||||
*/
|
||||
public KeyNamePair getKeyNamePair()
|
||||
{
|
||||
return new KeyNamePair(get_ID(), getName());
|
||||
}
|
||||
|
||||
/** Set Payment Export Class.
|
||||
@param PaymentExportClass Payment Export Class */
|
||||
public void setPaymentExportClass (String PaymentExportClass)
|
||||
{
|
||||
set_Value (COLUMNNAME_PaymentExportClass, PaymentExportClass);
|
||||
}
|
||||
|
||||
/** Get Payment Export Class.
|
||||
@return Payment Export Class */
|
||||
public String getPaymentExportClass ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_PaymentExportClass);
|
||||
}
|
||||
|
||||
/** Set Search Key.
|
||||
@param Value
|
||||
Search key for the record in the format required - must be unique
|
||||
*/
|
||||
public void setValue (String Value)
|
||||
{
|
||||
set_Value (COLUMNNAME_Value, Value);
|
||||
}
|
||||
|
||||
/** Get Search Key.
|
||||
@return Search key for the record in the format required - must be unique
|
||||
*/
|
||||
public String getValue ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_Value);
|
||||
}
|
||||
}
|
|
@ -30,7 +30,7 @@ public class X_C_BankAccountDoc extends PO implements I_C_BankAccountDoc, I_Pers
|
|||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 20100614L;
|
||||
private static final long serialVersionUID = 20120906L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_C_BankAccountDoc (Properties ctx, int C_BankAccountDoc_ID, String trxName)
|
||||
|
@ -97,9 +97,23 @@ public class X_C_BankAccountDoc extends PO implements I_C_BankAccountDoc, I_Pers
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_BankAccount getC_BankAccount() throws RuntimeException
|
||||
/** Set C_BankAccountDoc_UU.
|
||||
@param C_BankAccountDoc_UU C_BankAccountDoc_UU */
|
||||
public void setC_BankAccountDoc_UU (String C_BankAccountDoc_UU)
|
||||
{
|
||||
set_Value (COLUMNNAME_C_BankAccountDoc_UU, C_BankAccountDoc_UU);
|
||||
}
|
||||
|
||||
/** Get C_BankAccountDoc_UU.
|
||||
@return C_BankAccountDoc_UU */
|
||||
public String getC_BankAccountDoc_UU ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_C_BankAccountDoc_UU);
|
||||
}
|
||||
|
||||
public org.compiere.model.I_C_BankAccount getC_BankAccount() throws RuntimeException
|
||||
{
|
||||
return (I_C_BankAccount)MTable.get(getCtx(), I_C_BankAccount.Table_Name)
|
||||
return (org.compiere.model.I_C_BankAccount)MTable.get(getCtx(), org.compiere.model.I_C_BankAccount.Table_Name)
|
||||
.getPO(getC_BankAccount_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Bank Account.
|
||||
|
@ -125,9 +139,9 @@ public class X_C_BankAccountDoc extends PO implements I_C_BankAccountDoc, I_Pers
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_AD_PrintFormat getCheck_PrintFormat() throws RuntimeException
|
||||
public org.compiere.model.I_AD_PrintFormat getCheck_PrintFormat() throws RuntimeException
|
||||
{
|
||||
return (I_AD_PrintFormat)MTable.get(getCtx(), I_AD_PrintFormat.Table_Name)
|
||||
return (org.compiere.model.I_AD_PrintFormat)MTable.get(getCtx(), org.compiere.model.I_AD_PrintFormat.Table_Name)
|
||||
.getPO(getCheck_PrintFormat_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Check Print Format.
|
||||
|
@ -229,8 +243,8 @@ public class X_C_BankAccountDoc extends PO implements I_C_BankAccountDoc, I_Pers
|
|||
public static final String PAYMENTRULE_OnCredit = "P";
|
||||
/** Direct Debit = D */
|
||||
public static final String PAYMENTRULE_DirectDebit = "D";
|
||||
/** Mixed = M */
|
||||
public static final String PAYMENTRULE_Mixed = "M";
|
||||
/** Mixed POS Payment = M */
|
||||
public static final String PAYMENTRULE_MixedPOSPayment = "M";
|
||||
/** Set Payment Rule.
|
||||
@param PaymentRule
|
||||
How you pay the invoice
|
||||
|
|
|
@ -32,7 +32,7 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers
|
|||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 20100614L;
|
||||
private static final long serialVersionUID = 20120906L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_C_CommissionLine (Properties ctx, int C_CommissionLine_ID, String trxName)
|
||||
|
@ -121,9 +121,9 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers
|
|||
return bd;
|
||||
}
|
||||
|
||||
public I_C_BPartner getC_BPartner() throws RuntimeException
|
||||
public org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException
|
||||
{
|
||||
return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name)
|
||||
return (org.compiere.model.I_C_BPartner)MTable.get(getCtx(), org.compiere.model.I_C_BPartner.Table_Name)
|
||||
.getPO(getC_BPartner_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Business Partner .
|
||||
|
@ -149,9 +149,9 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_BP_Group getC_BP_Group() throws RuntimeException
|
||||
public org.compiere.model.I_C_BP_Group getC_BP_Group() throws RuntimeException
|
||||
{
|
||||
return (I_C_BP_Group)MTable.get(getCtx(), I_C_BP_Group.Table_Name)
|
||||
return (org.compiere.model.I_C_BP_Group)MTable.get(getCtx(), org.compiere.model.I_C_BP_Group.Table_Name)
|
||||
.getPO(getC_BP_Group_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Business Partner Group.
|
||||
|
@ -177,9 +177,9 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_Commission getC_Commission() throws RuntimeException
|
||||
public org.compiere.model.I_C_Commission getC_Commission() throws RuntimeException
|
||||
{
|
||||
return (I_C_Commission)MTable.get(getCtx(), I_C_Commission.Table_Name)
|
||||
return (org.compiere.model.I_C_Commission)MTable.get(getCtx(), org.compiere.model.I_C_Commission.Table_Name)
|
||||
.getPO(getC_Commission_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Commission.
|
||||
|
@ -236,6 +236,20 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set C_CommissionLine_UU.
|
||||
@param C_CommissionLine_UU C_CommissionLine_UU */
|
||||
public void setC_CommissionLine_UU (String C_CommissionLine_UU)
|
||||
{
|
||||
set_Value (COLUMNNAME_C_CommissionLine_UU, C_CommissionLine_UU);
|
||||
}
|
||||
|
||||
/** Get C_CommissionLine_UU.
|
||||
@return C_CommissionLine_UU */
|
||||
public String getC_CommissionLine_UU ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_C_CommissionLine_UU);
|
||||
}
|
||||
|
||||
/** Set Commission only specified Orders.
|
||||
@param CommissionOrders
|
||||
Commission only Orders or Invoices, where this Sales Rep is entered
|
||||
|
@ -260,9 +274,9 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers
|
|||
return false;
|
||||
}
|
||||
|
||||
public I_C_SalesRegion getC_SalesRegion() throws RuntimeException
|
||||
public org.compiere.model.I_C_SalesRegion getC_SalesRegion() throws RuntimeException
|
||||
{
|
||||
return (I_C_SalesRegion)MTable.get(getCtx(), I_C_SalesRegion.Table_Name)
|
||||
return (org.compiere.model.I_C_SalesRegion)MTable.get(getCtx(), org.compiere.model.I_C_SalesRegion.Table_Name)
|
||||
.getPO(getC_SalesRegion_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Sales Region.
|
||||
|
@ -349,9 +363,9 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_M_Product_Category getM_Product_Category() throws RuntimeException
|
||||
public org.compiere.model.I_M_Product_Category getM_Product_Category() throws RuntimeException
|
||||
{
|
||||
return (I_M_Product_Category)MTable.get(getCtx(), I_M_Product_Category.Table_Name)
|
||||
return (org.compiere.model.I_M_Product_Category)MTable.get(getCtx(), org.compiere.model.I_M_Product_Category.Table_Name)
|
||||
.getPO(getM_Product_Category_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Product Category.
|
||||
|
@ -377,9 +391,9 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_M_Product getM_Product() throws RuntimeException
|
||||
public org.compiere.model.I_M_Product getM_Product() throws RuntimeException
|
||||
{
|
||||
return (I_M_Product)MTable.get(getCtx(), I_M_Product.Table_Name)
|
||||
return (org.compiere.model.I_M_Product)MTable.get(getCtx(), org.compiere.model.I_M_Product.Table_Name)
|
||||
.getPO(getM_Product_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Product.
|
||||
|
@ -442,8 +456,8 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers
|
|||
public static final String PAYMENTRULE_OnCredit = "P";
|
||||
/** Direct Debit = D */
|
||||
public static final String PAYMENTRULE_DirectDebit = "D";
|
||||
/** Mixed = M */
|
||||
public static final String PAYMENTRULE_Mixed = "M";
|
||||
/** Mixed POS Payment = M */
|
||||
public static final String PAYMENTRULE_MixedPOSPayment = "M";
|
||||
/** Set Payment Rule.
|
||||
@param PaymentRule
|
||||
How you pay the invoice
|
||||
|
|
|
@ -33,7 +33,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent
|
|||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 20110325L;
|
||||
private static final long serialVersionUID = 20120906L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_C_Invoice (Properties ctx, int C_Invoice_ID, String trxName)
|
||||
|
@ -140,7 +140,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent
|
|||
return (org.compiere.model.I_AD_User)MTable.get(getCtx(), org.compiere.model.I_AD_User.Table_Name)
|
||||
.getPO(getAD_User_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Usuario.
|
||||
/** Set User/Contact.
|
||||
@param AD_User_ID
|
||||
User within the system - Internal or Business Partner Contact
|
||||
*/
|
||||
|
@ -152,7 +152,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent
|
|||
set_Value (COLUMNNAME_AD_User_ID, Integer.valueOf(AD_User_ID));
|
||||
}
|
||||
|
||||
/** Get Usuario.
|
||||
/** Get User/Contact.
|
||||
@return User within the system - Internal or Business Partner Contact
|
||||
*/
|
||||
public int getAD_User_ID ()
|
||||
|
@ -536,6 +536,20 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set C_Invoice_UU.
|
||||
@param C_Invoice_UU C_Invoice_UU */
|
||||
public void setC_Invoice_UU (String C_Invoice_UU)
|
||||
{
|
||||
set_Value (COLUMNNAME_C_Invoice_UU, C_Invoice_UU);
|
||||
}
|
||||
|
||||
/** Get C_Invoice_UU.
|
||||
@return C_Invoice_UU */
|
||||
public String getC_Invoice_UU ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_C_Invoice_UU);
|
||||
}
|
||||
|
||||
/** Set Copy From.
|
||||
@param CopyFrom
|
||||
Copy From Record
|
||||
|
@ -1273,8 +1287,8 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent
|
|||
public static final String PAYMENTRULE_OnCredit = "P";
|
||||
/** Direct Debit = D */
|
||||
public static final String PAYMENTRULE_DirectDebit = "D";
|
||||
/** Mixed = M */
|
||||
public static final String PAYMENTRULE_Mixed = "M";
|
||||
/** Mixed POS Payment = M */
|
||||
public static final String PAYMENTRULE_MixedPOSPayment = "M";
|
||||
/** Set Payment Rule.
|
||||
@param PaymentRule
|
||||
How you pay the invoice
|
||||
|
|
|
@ -33,7 +33,7 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent
|
|||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 20110325L;
|
||||
private static final long serialVersionUID = 20120906L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_C_Order (Properties ctx, int C_Order_ID, String trxName)
|
||||
|
@ -159,7 +159,7 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent
|
|||
return (org.compiere.model.I_AD_User)MTable.get(getCtx(), org.compiere.model.I_AD_User.Table_Name)
|
||||
.getPO(getAD_User_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Usuario.
|
||||
/** Set User/Contact.
|
||||
@param AD_User_ID
|
||||
User within the system - Internal or Business Partner Contact
|
||||
*/
|
||||
|
@ -171,7 +171,7 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent
|
|||
set_Value (COLUMNNAME_AD_User_ID, Integer.valueOf(AD_User_ID));
|
||||
}
|
||||
|
||||
/** Get Usuario.
|
||||
/** Get User/Contact.
|
||||
@return User within the system - Internal or Business Partner Contact
|
||||
*/
|
||||
public int getAD_User_ID ()
|
||||
|
@ -690,6 +690,20 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set C_Order_UU.
|
||||
@param C_Order_UU C_Order_UU */
|
||||
public void setC_Order_UU (String C_Order_UU)
|
||||
{
|
||||
set_Value (COLUMNNAME_C_Order_UU, C_Order_UU);
|
||||
}
|
||||
|
||||
/** Get C_Order_UU.
|
||||
@return C_Order_UU */
|
||||
public String getC_Order_UU ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_C_Order_UU);
|
||||
}
|
||||
|
||||
public org.compiere.model.I_C_Payment getC_Payment() throws RuntimeException
|
||||
{
|
||||
return (org.compiere.model.I_C_Payment)MTable.get(getCtx(), org.compiere.model.I_C_Payment.Table_Name)
|
||||
|
@ -1765,8 +1779,8 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent
|
|||
public static final String PAYMENTRULE_OnCredit = "P";
|
||||
/** Direct Debit = D */
|
||||
public static final String PAYMENTRULE_DirectDebit = "D";
|
||||
/** Mixed = M */
|
||||
public static final String PAYMENTRULE_Mixed = "M";
|
||||
/** Mixed POS Payment = M */
|
||||
public static final String PAYMENTRULE_MixedPOSPayment = "M";
|
||||
/** Set Payment Rule.
|
||||
@param PaymentRule
|
||||
How you pay the invoice
|
||||
|
|
|
@ -0,0 +1,520 @@
|
|||
/******************************************************************************
|
||||
* Product: Adempiere ERP & CRM Smart Business Solution *
|
||||
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
|
||||
* This program is free software, you can redistribute it and/or modify it *
|
||||
* under the terms version 2 of the GNU General Public License as published *
|
||||
* by the Free Software Foundation. This program is distributed in the hope *
|
||||
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
|
||||
* See the GNU General Public License for more details. *
|
||||
* You should have received a copy of the GNU General Public License along *
|
||||
* with this program, if not, write to the Free Software Foundation, Inc., *
|
||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
|
||||
* For the text or an alternative of this public license, you may reach us *
|
||||
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
|
||||
* or via info@compiere.org or http://www.compiere.org/license.html *
|
||||
*****************************************************************************/
|
||||
/** Generated Model - DO NOT CHANGE */
|
||||
package org.compiere.model;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Properties;
|
||||
import org.compiere.util.Env;
|
||||
|
||||
/** Generated Model for C_POSPayment
|
||||
* @author Adempiere (generated)
|
||||
* @version Release 3.6.0LTS - $Id$ */
|
||||
public class X_C_POSPayment extends PO implements I_C_POSPayment, I_Persistent
|
||||
{
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 20120906L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_C_POSPayment (Properties ctx, int C_POSPayment_ID, String trxName)
|
||||
{
|
||||
super (ctx, C_POSPayment_ID, trxName);
|
||||
/** if (C_POSPayment_ID == 0)
|
||||
{
|
||||
setC_Order_ID (0);
|
||||
setC_POSPayment_ID (0);
|
||||
setC_POSTenderType_ID (0);
|
||||
setIsPostDated (false);
|
||||
// N
|
||||
setPayAmt (Env.ZERO);
|
||||
setProcessed (false);
|
||||
} */
|
||||
}
|
||||
|
||||
/** Load Constructor */
|
||||
public X_C_POSPayment (Properties ctx, ResultSet rs, String trxName)
|
||||
{
|
||||
super (ctx, rs, trxName);
|
||||
}
|
||||
|
||||
/** AccessLevel
|
||||
* @return 3 - Client - Org
|
||||
*/
|
||||
protected int get_AccessLevel()
|
||||
{
|
||||
return accessLevel.intValue();
|
||||
}
|
||||
|
||||
/** Load Meta Data */
|
||||
protected POInfo initPO (Properties ctx)
|
||||
{
|
||||
POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName());
|
||||
return poi;
|
||||
}
|
||||
|
||||
public String toString()
|
||||
{
|
||||
StringBuffer sb = new StringBuffer ("X_C_POSPayment[")
|
||||
.append(get_ID()).append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/** Set Account No.
|
||||
@param AccountNo
|
||||
Account Number
|
||||
*/
|
||||
public void setAccountNo (String AccountNo)
|
||||
{
|
||||
set_Value (COLUMNNAME_AccountNo, AccountNo);
|
||||
}
|
||||
|
||||
/** Get Account No.
|
||||
@return Account Number
|
||||
*/
|
||||
public String getAccountNo ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_AccountNo);
|
||||
}
|
||||
|
||||
/** Set Account Name.
|
||||
@param A_Name
|
||||
Name on Credit Card or Account holder
|
||||
*/
|
||||
public void setA_Name (String A_Name)
|
||||
{
|
||||
set_Value (COLUMNNAME_A_Name, A_Name);
|
||||
}
|
||||
|
||||
/** Get Account Name.
|
||||
@return Name on Credit Card or Account holder
|
||||
*/
|
||||
public String getA_Name ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_A_Name);
|
||||
}
|
||||
|
||||
/** Set Check No.
|
||||
@param CheckNo
|
||||
Check Number
|
||||
*/
|
||||
public void setCheckNo (String CheckNo)
|
||||
{
|
||||
set_Value (COLUMNNAME_CheckNo, CheckNo);
|
||||
}
|
||||
|
||||
/** Get Check No.
|
||||
@return Check Number
|
||||
*/
|
||||
public String getCheckNo ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_CheckNo);
|
||||
}
|
||||
|
||||
/** CheckStatus AD_Reference_ID=200007 */
|
||||
public static final int CHECKSTATUS_AD_Reference_ID=200007;
|
||||
/** Charged = C */
|
||||
public static final String CHECKSTATUS_Charged = "C";
|
||||
/** Delayed = D */
|
||||
public static final String CHECKSTATUS_Delayed = "D";
|
||||
/** Replaced = P */
|
||||
public static final String CHECKSTATUS_Replaced = "P";
|
||||
/** Received = R */
|
||||
public static final String CHECKSTATUS_Received = "R";
|
||||
/** Returned = T */
|
||||
public static final String CHECKSTATUS_Returned = "T";
|
||||
/** Set Check Status.
|
||||
@param CheckStatus Check Status */
|
||||
public void setCheckStatus (String CheckStatus)
|
||||
{
|
||||
|
||||
set_Value (COLUMNNAME_CheckStatus, CheckStatus);
|
||||
}
|
||||
|
||||
/** Get Check Status.
|
||||
@return Check Status */
|
||||
public String getCheckStatus ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_CheckStatus);
|
||||
}
|
||||
|
||||
public org.compiere.model.I_C_Order getC_Order() throws RuntimeException
|
||||
{
|
||||
return (org.compiere.model.I_C_Order)MTable.get(getCtx(), org.compiere.model.I_C_Order.Table_Name)
|
||||
.getPO(getC_Order_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Order.
|
||||
@param C_Order_ID
|
||||
Order
|
||||
*/
|
||||
public void setC_Order_ID (int C_Order_ID)
|
||||
{
|
||||
if (C_Order_ID < 1)
|
||||
set_ValueNoCheck (COLUMNNAME_C_Order_ID, null);
|
||||
else
|
||||
set_ValueNoCheck (COLUMNNAME_C_Order_ID, Integer.valueOf(C_Order_ID));
|
||||
}
|
||||
|
||||
/** Get Order.
|
||||
@return Order
|
||||
*/
|
||||
public int getC_Order_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_Order_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
public org.compiere.model.I_C_Payment getC_Payment() throws RuntimeException
|
||||
{
|
||||
return (org.compiere.model.I_C_Payment)MTable.get(getCtx(), org.compiere.model.I_C_Payment.Table_Name)
|
||||
.getPO(getC_Payment_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Payment.
|
||||
@param C_Payment_ID
|
||||
Payment identifier
|
||||
*/
|
||||
public void setC_Payment_ID (int C_Payment_ID)
|
||||
{
|
||||
if (C_Payment_ID < 1)
|
||||
set_Value (COLUMNNAME_C_Payment_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_C_Payment_ID, Integer.valueOf(C_Payment_ID));
|
||||
}
|
||||
|
||||
/** Get Payment.
|
||||
@return Payment identifier
|
||||
*/
|
||||
public int getC_Payment_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_Payment_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set POS Payment.
|
||||
@param C_POSPayment_ID POS Payment */
|
||||
public void setC_POSPayment_ID (int C_POSPayment_ID)
|
||||
{
|
||||
if (C_POSPayment_ID < 1)
|
||||
set_ValueNoCheck (COLUMNNAME_C_POSPayment_ID, null);
|
||||
else
|
||||
set_ValueNoCheck (COLUMNNAME_C_POSPayment_ID, Integer.valueOf(C_POSPayment_ID));
|
||||
}
|
||||
|
||||
/** Get POS Payment.
|
||||
@return POS Payment */
|
||||
public int getC_POSPayment_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_POSPayment_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set C_POSPayment_UU.
|
||||
@param C_POSPayment_UU C_POSPayment_UU */
|
||||
public void setC_POSPayment_UU (String C_POSPayment_UU)
|
||||
{
|
||||
set_Value (COLUMNNAME_C_POSPayment_UU, C_POSPayment_UU);
|
||||
}
|
||||
|
||||
/** Get C_POSPayment_UU.
|
||||
@return C_POSPayment_UU */
|
||||
public String getC_POSPayment_UU ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_C_POSPayment_UU);
|
||||
}
|
||||
|
||||
public org.compiere.model.I_C_POSTenderType getC_POSTenderType() throws RuntimeException
|
||||
{
|
||||
return (org.compiere.model.I_C_POSTenderType)MTable.get(getCtx(), org.compiere.model.I_C_POSTenderType.Table_Name)
|
||||
.getPO(getC_POSTenderType_ID(), get_TrxName()); }
|
||||
|
||||
/** Set POS Tender Type.
|
||||
@param C_POSTenderType_ID POS Tender Type */
|
||||
public void setC_POSTenderType_ID (int C_POSTenderType_ID)
|
||||
{
|
||||
if (C_POSTenderType_ID < 1)
|
||||
set_Value (COLUMNNAME_C_POSTenderType_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_C_POSTenderType_ID, Integer.valueOf(C_POSTenderType_ID));
|
||||
}
|
||||
|
||||
/** Get POS Tender Type.
|
||||
@return POS Tender Type */
|
||||
public int getC_POSTenderType_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_POSTenderType_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Number.
|
||||
@param CreditCardNumber
|
||||
Credit Card Number
|
||||
*/
|
||||
public void setCreditCardNumber (String CreditCardNumber)
|
||||
{
|
||||
set_Value (COLUMNNAME_CreditCardNumber, CreditCardNumber);
|
||||
}
|
||||
|
||||
/** Get Number.
|
||||
@return Credit Card Number
|
||||
*/
|
||||
public String getCreditCardNumber ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_CreditCardNumber);
|
||||
}
|
||||
|
||||
/** CreditCardType AD_Reference_ID=149 */
|
||||
public static final int CREDITCARDTYPE_AD_Reference_ID=149;
|
||||
/** Amex = A */
|
||||
public static final String CREDITCARDTYPE_Amex = "A";
|
||||
/** MasterCard = M */
|
||||
public static final String CREDITCARDTYPE_MasterCard = "M";
|
||||
/** Visa = V */
|
||||
public static final String CREDITCARDTYPE_Visa = "V";
|
||||
/** ATM = C */
|
||||
public static final String CREDITCARDTYPE_ATM = "C";
|
||||
/** Diners = D */
|
||||
public static final String CREDITCARDTYPE_Diners = "D";
|
||||
/** Discover = N */
|
||||
public static final String CREDITCARDTYPE_Discover = "N";
|
||||
/** Purchase Card = P */
|
||||
public static final String CREDITCARDTYPE_PurchaseCard = "P";
|
||||
/** Set Credit Card.
|
||||
@param CreditCardType
|
||||
Credit Card (Visa, MC, AmEx)
|
||||
*/
|
||||
public void setCreditCardType (String CreditCardType)
|
||||
{
|
||||
|
||||
set_Value (COLUMNNAME_CreditCardType, CreditCardType);
|
||||
}
|
||||
|
||||
/** Get Credit Card.
|
||||
@return Credit Card (Visa, MC, AmEx)
|
||||
*/
|
||||
public String getCreditCardType ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_CreditCardType);
|
||||
}
|
||||
|
||||
/** Set Date Promised.
|
||||
@param DatePromised
|
||||
Date Order was promised
|
||||
*/
|
||||
public void setDatePromised (Timestamp DatePromised)
|
||||
{
|
||||
set_Value (COLUMNNAME_DatePromised, DatePromised);
|
||||
}
|
||||
|
||||
/** Get Date Promised.
|
||||
@return Date Order was promised
|
||||
*/
|
||||
public Timestamp getDatePromised ()
|
||||
{
|
||||
return (Timestamp)get_Value(COLUMNNAME_DatePromised);
|
||||
}
|
||||
|
||||
/** Set Deposit Group.
|
||||
@param DepositGroup Deposit Group */
|
||||
public void setDepositGroup (String DepositGroup)
|
||||
{
|
||||
set_Value (COLUMNNAME_DepositGroup, DepositGroup);
|
||||
}
|
||||
|
||||
/** Get Deposit Group.
|
||||
@return Deposit Group */
|
||||
public String getDepositGroup ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_DepositGroup);
|
||||
}
|
||||
|
||||
/** Set Comment/Help.
|
||||
@param Help
|
||||
Comment or Hint
|
||||
*/
|
||||
public void setHelp (String Help)
|
||||
{
|
||||
set_Value (COLUMNNAME_Help, Help);
|
||||
}
|
||||
|
||||
/** Get Comment/Help.
|
||||
@return Comment or Hint
|
||||
*/
|
||||
public String getHelp ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_Help);
|
||||
}
|
||||
|
||||
/** Set Post Dated.
|
||||
@param IsPostDated Post Dated */
|
||||
public void setIsPostDated (boolean IsPostDated)
|
||||
{
|
||||
set_Value (COLUMNNAME_IsPostDated, Boolean.valueOf(IsPostDated));
|
||||
}
|
||||
|
||||
/** Get Post Dated.
|
||||
@return Post Dated */
|
||||
public boolean isPostDated ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsPostDated);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Micr.
|
||||
@param Micr
|
||||
Combination of routing no, account and check no
|
||||
*/
|
||||
public void setMicr (String Micr)
|
||||
{
|
||||
set_Value (COLUMNNAME_Micr, Micr);
|
||||
}
|
||||
|
||||
/** Get Micr.
|
||||
@return Combination of routing no, account and check no
|
||||
*/
|
||||
public String getMicr ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_Micr);
|
||||
}
|
||||
|
||||
/** Set Payment amount.
|
||||
@param PayAmt
|
||||
Amount being paid
|
||||
*/
|
||||
public void setPayAmt (BigDecimal PayAmt)
|
||||
{
|
||||
set_Value (COLUMNNAME_PayAmt, PayAmt);
|
||||
}
|
||||
|
||||
/** Get Payment amount.
|
||||
@return Amount being paid
|
||||
*/
|
||||
public BigDecimal getPayAmt ()
|
||||
{
|
||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_PayAmt);
|
||||
if (bd == null)
|
||||
return Env.ZERO;
|
||||
return bd;
|
||||
}
|
||||
|
||||
/** Set Processed.
|
||||
@param Processed
|
||||
The document has been processed
|
||||
*/
|
||||
public void setProcessed (boolean Processed)
|
||||
{
|
||||
set_Value (COLUMNNAME_Processed, Boolean.valueOf(Processed));
|
||||
}
|
||||
|
||||
/** Get Processed.
|
||||
@return The document has been processed
|
||||
*/
|
||||
public boolean isProcessed ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_Processed);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Routing No.
|
||||
@param RoutingNo
|
||||
Bank Routing Number
|
||||
*/
|
||||
public void setRoutingNo (String RoutingNo)
|
||||
{
|
||||
set_Value (COLUMNNAME_RoutingNo, RoutingNo);
|
||||
}
|
||||
|
||||
/** Get Routing No.
|
||||
@return Bank Routing Number
|
||||
*/
|
||||
public String getRoutingNo ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_RoutingNo);
|
||||
}
|
||||
|
||||
/** TenderType AD_Reference_ID=214 */
|
||||
public static final int TENDERTYPE_AD_Reference_ID=214;
|
||||
/** Credit Card = C */
|
||||
public static final String TENDERTYPE_CreditCard = "C";
|
||||
/** Check = K */
|
||||
public static final String TENDERTYPE_Check = "K";
|
||||
/** Direct Deposit = A */
|
||||
public static final String TENDERTYPE_DirectDeposit = "A";
|
||||
/** Direct Debit = D */
|
||||
public static final String TENDERTYPE_DirectDebit = "D";
|
||||
/** Account = T */
|
||||
public static final String TENDERTYPE_Account = "T";
|
||||
/** Cash = X */
|
||||
public static final String TENDERTYPE_Cash = "X";
|
||||
/** Set Tender type.
|
||||
@param TenderType
|
||||
Method of Payment
|
||||
*/
|
||||
public void setTenderType (String TenderType)
|
||||
{
|
||||
|
||||
set_Value (COLUMNNAME_TenderType, TenderType);
|
||||
}
|
||||
|
||||
/** Get Tender type.
|
||||
@return Method of Payment
|
||||
*/
|
||||
public String getTenderType ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_TenderType);
|
||||
}
|
||||
|
||||
/** Set Voice authorization code.
|
||||
@param VoiceAuthCode
|
||||
Voice Authorization Code from credit card company
|
||||
*/
|
||||
public void setVoiceAuthCode (String VoiceAuthCode)
|
||||
{
|
||||
set_Value (COLUMNNAME_VoiceAuthCode, VoiceAuthCode);
|
||||
}
|
||||
|
||||
/** Get Voice authorization code.
|
||||
@return Voice Authorization Code from credit card company
|
||||
*/
|
||||
public String getVoiceAuthCode ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_VoiceAuthCode);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,265 @@
|
|||
/******************************************************************************
|
||||
* Product: Adempiere ERP & CRM Smart Business Solution *
|
||||
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
|
||||
* This program is free software, you can redistribute it and/or modify it *
|
||||
* under the terms version 2 of the GNU General Public License as published *
|
||||
* by the Free Software Foundation. This program is distributed in the hope *
|
||||
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
|
||||
* See the GNU General Public License for more details. *
|
||||
* You should have received a copy of the GNU General Public License along *
|
||||
* with this program, if not, write to the Free Software Foundation, Inc., *
|
||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
|
||||
* For the text or an alternative of this public license, you may reach us *
|
||||
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
|
||||
* or via info@compiere.org or http://www.compiere.org/license.html *
|
||||
*****************************************************************************/
|
||||
/** Generated Model - DO NOT CHANGE */
|
||||
package org.compiere.model;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
import java.util.Properties;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
|
||||
/** Generated Model for C_POSTenderType
|
||||
* @author Adempiere (generated)
|
||||
* @version Release 3.6.0LTS - $Id$ */
|
||||
public class X_C_POSTenderType extends PO implements I_C_POSTenderType, I_Persistent
|
||||
{
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 20120906L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_C_POSTenderType (Properties ctx, int C_POSTenderType_ID, String trxName)
|
||||
{
|
||||
super (ctx, C_POSTenderType_ID, trxName);
|
||||
/** if (C_POSTenderType_ID == 0)
|
||||
{
|
||||
setC_POSTenderType_ID (0);
|
||||
setIsGuarantee (false);
|
||||
// N
|
||||
setIsPostDated (false);
|
||||
// N
|
||||
setName (null);
|
||||
setValue (null);
|
||||
} */
|
||||
}
|
||||
|
||||
/** Load Constructor */
|
||||
public X_C_POSTenderType (Properties ctx, ResultSet rs, String trxName)
|
||||
{
|
||||
super (ctx, rs, trxName);
|
||||
}
|
||||
|
||||
/** AccessLevel
|
||||
* @return 3 - Client - Org
|
||||
*/
|
||||
protected int get_AccessLevel()
|
||||
{
|
||||
return accessLevel.intValue();
|
||||
}
|
||||
|
||||
/** Load Meta Data */
|
||||
protected POInfo initPO (Properties ctx)
|
||||
{
|
||||
POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName());
|
||||
return poi;
|
||||
}
|
||||
|
||||
public String toString()
|
||||
{
|
||||
StringBuffer sb = new StringBuffer ("X_C_POSTenderType[")
|
||||
.append(get_ID()).append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/** Set POS Tender Type.
|
||||
@param C_POSTenderType_ID POS Tender Type */
|
||||
public void setC_POSTenderType_ID (int C_POSTenderType_ID)
|
||||
{
|
||||
if (C_POSTenderType_ID < 1)
|
||||
set_ValueNoCheck (COLUMNNAME_C_POSTenderType_ID, null);
|
||||
else
|
||||
set_ValueNoCheck (COLUMNNAME_C_POSTenderType_ID, Integer.valueOf(C_POSTenderType_ID));
|
||||
}
|
||||
|
||||
/** Get POS Tender Type.
|
||||
@return POS Tender Type */
|
||||
public int getC_POSTenderType_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_POSTenderType_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set C_POSTenderType_UU.
|
||||
@param C_POSTenderType_UU C_POSTenderType_UU */
|
||||
public void setC_POSTenderType_UU (String C_POSTenderType_UU)
|
||||
{
|
||||
set_Value (COLUMNNAME_C_POSTenderType_UU, C_POSTenderType_UU);
|
||||
}
|
||||
|
||||
/** Get C_POSTenderType_UU.
|
||||
@return C_POSTenderType_UU */
|
||||
public String getC_POSTenderType_UU ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_C_POSTenderType_UU);
|
||||
}
|
||||
|
||||
/** Set Description.
|
||||
@param Description
|
||||
Optional short description of the record
|
||||
*/
|
||||
public void setDescription (String Description)
|
||||
{
|
||||
set_Value (COLUMNNAME_Description, Description);
|
||||
}
|
||||
|
||||
/** Get Description.
|
||||
@return Optional short description of the record
|
||||
*/
|
||||
public String getDescription ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_Description);
|
||||
}
|
||||
|
||||
/** Set Comment/Help.
|
||||
@param Help
|
||||
Comment or Hint
|
||||
*/
|
||||
public void setHelp (String Help)
|
||||
{
|
||||
set_Value (COLUMNNAME_Help, Help);
|
||||
}
|
||||
|
||||
/** Get Comment/Help.
|
||||
@return Comment or Hint
|
||||
*/
|
||||
public String getHelp ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_Help);
|
||||
}
|
||||
|
||||
/** Set Guarantee.
|
||||
@param IsGuarantee
|
||||
Guarantee for a Credit
|
||||
*/
|
||||
public void setIsGuarantee (boolean IsGuarantee)
|
||||
{
|
||||
set_Value (COLUMNNAME_IsGuarantee, Boolean.valueOf(IsGuarantee));
|
||||
}
|
||||
|
||||
/** Get Guarantee.
|
||||
@return Guarantee for a Credit
|
||||
*/
|
||||
public boolean isGuarantee ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsGuarantee);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Post Dated.
|
||||
@param IsPostDated Post Dated */
|
||||
public void setIsPostDated (boolean IsPostDated)
|
||||
{
|
||||
set_Value (COLUMNNAME_IsPostDated, Boolean.valueOf(IsPostDated));
|
||||
}
|
||||
|
||||
/** Get Post Dated.
|
||||
@return Post Dated */
|
||||
public boolean isPostDated ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsPostDated);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Name.
|
||||
@param Name
|
||||
Alphanumeric identifier of the entity
|
||||
*/
|
||||
public void setName (String Name)
|
||||
{
|
||||
set_Value (COLUMNNAME_Name, Name);
|
||||
}
|
||||
|
||||
/** Get Name.
|
||||
@return Alphanumeric identifier of the entity
|
||||
*/
|
||||
public String getName ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_Name);
|
||||
}
|
||||
|
||||
/** Get Record ID/ColumnName
|
||||
@return ID/ColumnName pair
|
||||
*/
|
||||
public KeyNamePair getKeyNamePair()
|
||||
{
|
||||
return new KeyNamePair(get_ID(), getName());
|
||||
}
|
||||
|
||||
/** TenderType AD_Reference_ID=214 */
|
||||
public static final int TENDERTYPE_AD_Reference_ID=214;
|
||||
/** Credit Card = C */
|
||||
public static final String TENDERTYPE_CreditCard = "C";
|
||||
/** Check = K */
|
||||
public static final String TENDERTYPE_Check = "K";
|
||||
/** Direct Deposit = A */
|
||||
public static final String TENDERTYPE_DirectDeposit = "A";
|
||||
/** Direct Debit = D */
|
||||
public static final String TENDERTYPE_DirectDebit = "D";
|
||||
/** Account = T */
|
||||
public static final String TENDERTYPE_Account = "T";
|
||||
/** Cash = X */
|
||||
public static final String TENDERTYPE_Cash = "X";
|
||||
/** Set Tender type.
|
||||
@param TenderType
|
||||
Method of Payment
|
||||
*/
|
||||
public void setTenderType (String TenderType)
|
||||
{
|
||||
|
||||
set_Value (COLUMNNAME_TenderType, TenderType);
|
||||
}
|
||||
|
||||
/** Get Tender type.
|
||||
@return Method of Payment
|
||||
*/
|
||||
public String getTenderType ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_TenderType);
|
||||
}
|
||||
|
||||
/** Set Search Key.
|
||||
@param Value
|
||||
Search key for the record in the format required - must be unique
|
||||
*/
|
||||
public void setValue (String Value)
|
||||
{
|
||||
set_Value (COLUMNNAME_Value, Value);
|
||||
}
|
||||
|
||||
/** Get Search Key.
|
||||
@return Search key for the record in the format required - must be unique
|
||||
*/
|
||||
public String getValue ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_Value);
|
||||
}
|
||||
}
|
|
@ -31,7 +31,7 @@ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck,
|
|||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 20100614L;
|
||||
private static final long serialVersionUID = 20120906L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_C_PaySelectionCheck (Properties ctx, int C_PaySelectionCheck_ID, String trxName)
|
||||
|
@ -83,9 +83,9 @@ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck,
|
|||
return sb.toString();
|
||||
}
|
||||
|
||||
public I_C_BPartner getC_BPartner() throws RuntimeException
|
||||
public org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException
|
||||
{
|
||||
return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name)
|
||||
return (org.compiere.model.I_C_BPartner)MTable.get(getCtx(), org.compiere.model.I_C_BPartner.Table_Name)
|
||||
.getPO(getC_BPartner_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Business Partner .
|
||||
|
@ -111,9 +111,9 @@ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck,
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_BP_BankAccount getC_BP_BankAccount() throws RuntimeException
|
||||
public org.compiere.model.I_C_BP_BankAccount getC_BP_BankAccount() throws RuntimeException
|
||||
{
|
||||
return (I_C_BP_BankAccount)MTable.get(getCtx(), I_C_BP_BankAccount.Table_Name)
|
||||
return (org.compiere.model.I_C_BP_BankAccount)MTable.get(getCtx(), org.compiere.model.I_C_BP_BankAccount.Table_Name)
|
||||
.getPO(getC_BP_BankAccount_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Partner Bank Account.
|
||||
|
@ -139,9 +139,9 @@ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck,
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_Payment getC_Payment() throws RuntimeException
|
||||
public org.compiere.model.I_C_Payment getC_Payment() throws RuntimeException
|
||||
{
|
||||
return (I_C_Payment)MTable.get(getCtx(), I_C_Payment.Table_Name)
|
||||
return (org.compiere.model.I_C_Payment)MTable.get(getCtx(), org.compiere.model.I_C_Payment.Table_Name)
|
||||
.getPO(getC_Payment_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Payment.
|
||||
|
@ -190,9 +190,23 @@ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck,
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_PaySelection getC_PaySelection() throws RuntimeException
|
||||
/** Set C_PaySelectionCheck_UU.
|
||||
@param C_PaySelectionCheck_UU C_PaySelectionCheck_UU */
|
||||
public void setC_PaySelectionCheck_UU (String C_PaySelectionCheck_UU)
|
||||
{
|
||||
set_Value (COLUMNNAME_C_PaySelectionCheck_UU, C_PaySelectionCheck_UU);
|
||||
}
|
||||
|
||||
/** Get C_PaySelectionCheck_UU.
|
||||
@return C_PaySelectionCheck_UU */
|
||||
public String getC_PaySelectionCheck_UU ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_C_PaySelectionCheck_UU);
|
||||
}
|
||||
|
||||
public org.compiere.model.I_C_PaySelection getC_PaySelection() throws RuntimeException
|
||||
{
|
||||
return (I_C_PaySelection)MTable.get(getCtx(), I_C_PaySelection.Table_Name)
|
||||
return (org.compiere.model.I_C_PaySelection)MTable.get(getCtx(), org.compiere.model.I_C_PaySelection.Table_Name)
|
||||
.getPO(getC_PaySelection_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Payment Selection.
|
||||
|
@ -358,8 +372,8 @@ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck,
|
|||
public static final String PAYMENTRULE_OnCredit = "P";
|
||||
/** Direct Debit = D */
|
||||
public static final String PAYMENTRULE_DirectDebit = "D";
|
||||
/** Mixed = M */
|
||||
public static final String PAYMENTRULE_Mixed = "M";
|
||||
/** Mixed POS Payment = M */
|
||||
public static final String PAYMENTRULE_MixedPOSPayment = "M";
|
||||
/** Set Payment Rule.
|
||||
@param PaymentRule
|
||||
How you pay the invoice
|
||||
|
|
|
@ -32,7 +32,7 @@ public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_
|
|||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 20100614L;
|
||||
private static final long serialVersionUID = 20120906L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_C_PaySelectionLine (Properties ctx, int C_PaySelectionLine_ID, String trxName)
|
||||
|
@ -86,9 +86,9 @@ public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_
|
|||
return sb.toString();
|
||||
}
|
||||
|
||||
public I_C_Invoice getC_Invoice() throws RuntimeException
|
||||
public org.compiere.model.I_C_Invoice getC_Invoice() throws RuntimeException
|
||||
{
|
||||
return (I_C_Invoice)MTable.get(getCtx(), I_C_Invoice.Table_Name)
|
||||
return (org.compiere.model.I_C_Invoice)MTable.get(getCtx(), org.compiere.model.I_C_Invoice.Table_Name)
|
||||
.getPO(getC_Invoice_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Invoice.
|
||||
|
@ -114,9 +114,9 @@ public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_PaySelectionCheck getC_PaySelectionCheck() throws RuntimeException
|
||||
public org.compiere.model.I_C_PaySelectionCheck getC_PaySelectionCheck() throws RuntimeException
|
||||
{
|
||||
return (I_C_PaySelectionCheck)MTable.get(getCtx(), I_C_PaySelectionCheck.Table_Name)
|
||||
return (org.compiere.model.I_C_PaySelectionCheck)MTable.get(getCtx(), org.compiere.model.I_C_PaySelectionCheck.Table_Name)
|
||||
.getPO(getC_PaySelectionCheck_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Pay Selection Check.
|
||||
|
@ -142,9 +142,9 @@ public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_PaySelection getC_PaySelection() throws RuntimeException
|
||||
public org.compiere.model.I_C_PaySelection getC_PaySelection() throws RuntimeException
|
||||
{
|
||||
return (I_C_PaySelection)MTable.get(getCtx(), I_C_PaySelection.Table_Name)
|
||||
return (org.compiere.model.I_C_PaySelection)MTable.get(getCtx(), org.compiere.model.I_C_PaySelection.Table_Name)
|
||||
.getPO(getC_PaySelection_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Payment Selection.
|
||||
|
@ -201,6 +201,20 @@ public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_
|
|||
return new KeyNamePair(get_ID(), String.valueOf(getC_PaySelectionLine_ID()));
|
||||
}
|
||||
|
||||
/** Set C_PaySelectionLine_UU.
|
||||
@param C_PaySelectionLine_UU C_PaySelectionLine_UU */
|
||||
public void setC_PaySelectionLine_UU (String C_PaySelectionLine_UU)
|
||||
{
|
||||
set_Value (COLUMNNAME_C_PaySelectionLine_UU, C_PaySelectionLine_UU);
|
||||
}
|
||||
|
||||
/** Get C_PaySelectionLine_UU.
|
||||
@return C_PaySelectionLine_UU */
|
||||
public String getC_PaySelectionLine_UU ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_C_PaySelectionLine_UU);
|
||||
}
|
||||
|
||||
/** Set Description.
|
||||
@param Description
|
||||
Optional short description of the record
|
||||
|
@ -380,8 +394,8 @@ public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_
|
|||
public static final String PAYMENTRULE_OnCredit = "P";
|
||||
/** Direct Debit = D */
|
||||
public static final String PAYMENTRULE_DirectDebit = "D";
|
||||
/** Mixed = M */
|
||||
public static final String PAYMENTRULE_Mixed = "M";
|
||||
/** Mixed POS Payment = M */
|
||||
public static final String PAYMENTRULE_MixedPOSPayment = "M";
|
||||
/** Set Payment Rule.
|
||||
@param PaymentRule
|
||||
How you pay the invoice
|
||||
|
|
|
@ -33,7 +33,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent
|
|||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 20100614L;
|
||||
private static final long serialVersionUID = 20120906L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_C_Payment (Properties ctx, int C_Payment_ID, String trxName)
|
||||
|
@ -59,8 +59,8 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent
|
|||
// N
|
||||
setIsDelayedCapture (false);
|
||||
setIsOnline (false);
|
||||
setIsOverUnderPayment (false);
|
||||
// N
|
||||
setIsOverUnderPayment (true);
|
||||
// Y
|
||||
setIsPrepayment (false);
|
||||
setIsReceipt (false);
|
||||
setIsReconciled (false);
|
||||
|
@ -298,9 +298,9 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent
|
|||
return (String)get_Value(COLUMNNAME_A_Zip);
|
||||
}
|
||||
|
||||
public I_C_Activity getC_Activity() throws RuntimeException
|
||||
public org.compiere.model.I_C_Activity getC_Activity() throws RuntimeException
|
||||
{
|
||||
return (I_C_Activity)MTable.get(getCtx(), I_C_Activity.Table_Name)
|
||||
return (org.compiere.model.I_C_Activity)MTable.get(getCtx(), org.compiere.model.I_C_Activity.Table_Name)
|
||||
.getPO(getC_Activity_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Activity.
|
||||
|
@ -326,9 +326,9 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_BankAccount getC_BankAccount() throws RuntimeException
|
||||
public org.compiere.model.I_C_BankAccount getC_BankAccount() throws RuntimeException
|
||||
{
|
||||
return (I_C_BankAccount)MTable.get(getCtx(), I_C_BankAccount.Table_Name)
|
||||
return (org.compiere.model.I_C_BankAccount)MTable.get(getCtx(), org.compiere.model.I_C_BankAccount.Table_Name)
|
||||
.getPO(getC_BankAccount_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Bank Account.
|
||||
|
@ -354,9 +354,9 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_BPartner getC_BPartner() throws RuntimeException
|
||||
public org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException
|
||||
{
|
||||
return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name)
|
||||
return (org.compiere.model.I_C_BPartner)MTable.get(getCtx(), org.compiere.model.I_C_BPartner.Table_Name)
|
||||
.getPO(getC_BPartner_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Business Partner .
|
||||
|
@ -382,9 +382,9 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_BP_BankAccount getC_BP_BankAccount() throws RuntimeException
|
||||
public org.compiere.model.I_C_BP_BankAccount getC_BP_BankAccount() throws RuntimeException
|
||||
{
|
||||
return (I_C_BP_BankAccount)MTable.get(getCtx(), I_C_BP_BankAccount.Table_Name)
|
||||
return (org.compiere.model.I_C_BP_BankAccount)MTable.get(getCtx(), org.compiere.model.I_C_BP_BankAccount.Table_Name)
|
||||
.getPO(getC_BP_BankAccount_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Partner Bank Account.
|
||||
|
@ -410,9 +410,9 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_Campaign getC_Campaign() throws RuntimeException
|
||||
public org.compiere.model.I_C_Campaign getC_Campaign() throws RuntimeException
|
||||
{
|
||||
return (I_C_Campaign)MTable.get(getCtx(), I_C_Campaign.Table_Name)
|
||||
return (org.compiere.model.I_C_Campaign)MTable.get(getCtx(), org.compiere.model.I_C_Campaign.Table_Name)
|
||||
.getPO(getC_Campaign_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Campaign.
|
||||
|
@ -438,9 +438,9 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_CashBook getC_CashBook() throws RuntimeException
|
||||
public org.compiere.model.I_C_CashBook getC_CashBook() throws RuntimeException
|
||||
{
|
||||
return (I_C_CashBook)MTable.get(getCtx(), I_C_CashBook.Table_Name)
|
||||
return (org.compiere.model.I_C_CashBook)MTable.get(getCtx(), org.compiere.model.I_C_CashBook.Table_Name)
|
||||
.getPO(getC_CashBook_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Cash Book.
|
||||
|
@ -466,9 +466,9 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_Charge getC_Charge() throws RuntimeException
|
||||
public org.compiere.model.I_C_Charge getC_Charge() throws RuntimeException
|
||||
{
|
||||
return (I_C_Charge)MTable.get(getCtx(), I_C_Charge.Table_Name)
|
||||
return (org.compiere.model.I_C_Charge)MTable.get(getCtx(), org.compiere.model.I_C_Charge.Table_Name)
|
||||
.getPO(getC_Charge_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Charge.
|
||||
|
@ -494,9 +494,9 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_ConversionType getC_ConversionType() throws RuntimeException
|
||||
public org.compiere.model.I_C_ConversionType getC_ConversionType() throws RuntimeException
|
||||
{
|
||||
return (I_C_ConversionType)MTable.get(getCtx(), I_C_ConversionType.Table_Name)
|
||||
return (org.compiere.model.I_C_ConversionType)MTable.get(getCtx(), org.compiere.model.I_C_ConversionType.Table_Name)
|
||||
.getPO(getC_ConversionType_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Currency Type.
|
||||
|
@ -522,9 +522,9 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_Currency getC_Currency() throws RuntimeException
|
||||
public org.compiere.model.I_C_Currency getC_Currency() throws RuntimeException
|
||||
{
|
||||
return (I_C_Currency)MTable.get(getCtx(), I_C_Currency.Table_Name)
|
||||
return (org.compiere.model.I_C_Currency)MTable.get(getCtx(), org.compiere.model.I_C_Currency.Table_Name)
|
||||
.getPO(getC_Currency_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Currency.
|
||||
|
@ -550,9 +550,9 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_DocType getC_DocType() throws RuntimeException
|
||||
public org.compiere.model.I_C_DocType getC_DocType() throws RuntimeException
|
||||
{
|
||||
return (I_C_DocType)MTable.get(getCtx(), I_C_DocType.Table_Name)
|
||||
return (org.compiere.model.I_C_DocType)MTable.get(getCtx(), org.compiere.model.I_C_DocType.Table_Name)
|
||||
.getPO(getC_DocType_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Document Type.
|
||||
|
@ -615,9 +615,9 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent
|
|||
return (String)get_Value(COLUMNNAME_CheckNo);
|
||||
}
|
||||
|
||||
public I_C_Invoice getC_Invoice() throws RuntimeException
|
||||
public org.compiere.model.I_C_Invoice getC_Invoice() throws RuntimeException
|
||||
{
|
||||
return (I_C_Invoice)MTable.get(getCtx(), I_C_Invoice.Table_Name)
|
||||
return (org.compiere.model.I_C_Invoice)MTable.get(getCtx(), org.compiere.model.I_C_Invoice.Table_Name)
|
||||
.getPO(getC_Invoice_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Invoice.
|
||||
|
@ -643,9 +643,9 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_Order getC_Order() throws RuntimeException
|
||||
public org.compiere.model.I_C_Order getC_Order() throws RuntimeException
|
||||
{
|
||||
return (I_C_Order)MTable.get(getCtx(), I_C_Order.Table_Name)
|
||||
return (org.compiere.model.I_C_Order)MTable.get(getCtx(), org.compiere.model.I_C_Order.Table_Name)
|
||||
.getPO(getC_Order_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Order.
|
||||
|
@ -671,9 +671,9 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_PaymentBatch getC_PaymentBatch() throws RuntimeException
|
||||
public org.compiere.model.I_C_PaymentBatch getC_PaymentBatch() throws RuntimeException
|
||||
{
|
||||
return (I_C_PaymentBatch)MTable.get(getCtx(), I_C_PaymentBatch.Table_Name)
|
||||
return (org.compiere.model.I_C_PaymentBatch)MTable.get(getCtx(), org.compiere.model.I_C_PaymentBatch.Table_Name)
|
||||
.getPO(getC_PaymentBatch_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Payment Batch.
|
||||
|
@ -722,9 +722,48 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_Project getC_Project() throws RuntimeException
|
||||
/** Set C_Payment_UU.
|
||||
@param C_Payment_UU C_Payment_UU */
|
||||
public void setC_Payment_UU (String C_Payment_UU)
|
||||
{
|
||||
set_Value (COLUMNNAME_C_Payment_UU, C_Payment_UU);
|
||||
}
|
||||
|
||||
/** Get C_Payment_UU.
|
||||
@return C_Payment_UU */
|
||||
public String getC_Payment_UU ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_C_Payment_UU);
|
||||
}
|
||||
|
||||
public org.compiere.model.I_C_POSTenderType getC_POSTenderType() throws RuntimeException
|
||||
{
|
||||
return (I_C_Project)MTable.get(getCtx(), I_C_Project.Table_Name)
|
||||
return (org.compiere.model.I_C_POSTenderType)MTable.get(getCtx(), org.compiere.model.I_C_POSTenderType.Table_Name)
|
||||
.getPO(getC_POSTenderType_ID(), get_TrxName()); }
|
||||
|
||||
/** Set POS Tender Type.
|
||||
@param C_POSTenderType_ID POS Tender Type */
|
||||
public void setC_POSTenderType_ID (int C_POSTenderType_ID)
|
||||
{
|
||||
if (C_POSTenderType_ID < 1)
|
||||
set_Value (COLUMNNAME_C_POSTenderType_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_C_POSTenderType_ID, Integer.valueOf(C_POSTenderType_ID));
|
||||
}
|
||||
|
||||
/** Get POS Tender Type.
|
||||
@return POS Tender Type */
|
||||
public int getC_POSTenderType_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_POSTenderType_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
public org.compiere.model.I_C_Project getC_Project() throws RuntimeException
|
||||
{
|
||||
return (org.compiere.model.I_C_Project)MTable.get(getCtx(), org.compiere.model.I_C_Project.Table_Name)
|
||||
.getPO(getC_Project_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Project.
|
||||
|
@ -1569,9 +1608,9 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent
|
|||
return false;
|
||||
}
|
||||
|
||||
public I_C_Payment getRef_Payment() throws RuntimeException
|
||||
public org.compiere.model.I_C_Payment getRef_Payment() throws RuntimeException
|
||||
{
|
||||
return (I_C_Payment)MTable.get(getCtx(), I_C_Payment.Table_Name)
|
||||
return (org.compiere.model.I_C_Payment)MTable.get(getCtx(), org.compiere.model.I_C_Payment.Table_Name)
|
||||
.getPO(getRef_Payment_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Referenced Payment.
|
||||
|
@ -1594,9 +1633,9 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_Payment getReversal() throws RuntimeException
|
||||
public org.compiere.model.I_C_Payment getReversal() throws RuntimeException
|
||||
{
|
||||
return (I_C_Payment)MTable.get(getCtx(), I_C_Payment.Table_Name)
|
||||
return (org.compiere.model.I_C_Payment)MTable.get(getCtx(), org.compiere.model.I_C_Payment.Table_Name)
|
||||
.getPO(getReversal_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Reversal ID.
|
||||
|
@ -1825,9 +1864,9 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent
|
|||
return (String)get_Value(COLUMNNAME_TrxType);
|
||||
}
|
||||
|
||||
public I_C_ElementValue getUser1() throws RuntimeException
|
||||
public org.compiere.model.I_C_ElementValue getUser1() throws RuntimeException
|
||||
{
|
||||
return (I_C_ElementValue)MTable.get(getCtx(), I_C_ElementValue.Table_Name)
|
||||
return (org.compiere.model.I_C_ElementValue)MTable.get(getCtx(), org.compiere.model.I_C_ElementValue.Table_Name)
|
||||
.getPO(getUser1_ID(), get_TrxName()); }
|
||||
|
||||
/** Set User List 1.
|
||||
|
@ -1853,9 +1892,9 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_ElementValue getUser2() throws RuntimeException
|
||||
public org.compiere.model.I_C_ElementValue getUser2() throws RuntimeException
|
||||
{
|
||||
return (I_C_ElementValue)MTable.get(getCtx(), I_C_ElementValue.Table_Name)
|
||||
return (org.compiere.model.I_C_ElementValue)MTable.get(getCtx(), org.compiere.model.I_C_ElementValue.Table_Name)
|
||||
.getPO(getUser2_ID(), get_TrxName()); }
|
||||
|
||||
/** Set User List 2.
|
||||
|
|
|
@ -32,7 +32,7 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent
|
|||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 20100614L;
|
||||
private static final long serialVersionUID = 20120906L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_RV_BPartner (Properties ctx, int RV_BPartner_ID, String trxName)
|
||||
|
@ -246,9 +246,9 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_AD_User getAD_User() throws RuntimeException
|
||||
public org.compiere.model.I_AD_User getAD_User() throws RuntimeException
|
||||
{
|
||||
return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name)
|
||||
return (org.compiere.model.I_AD_User)MTable.get(getCtx(), org.compiere.model.I_AD_User.Table_Name)
|
||||
.getPO(getAD_User_ID(), get_TrxName()); }
|
||||
|
||||
/** Set User/Contact.
|
||||
|
@ -291,9 +291,9 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent
|
|||
return (Timestamp)get_Value(COLUMNNAME_Birthday);
|
||||
}
|
||||
|
||||
public I_C_BPartner getBPartner_Parent() throws RuntimeException
|
||||
public org.compiere.model.I_C_BPartner getBPartner_Parent() throws RuntimeException
|
||||
{
|
||||
return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name)
|
||||
return (org.compiere.model.I_C_BPartner)MTable.get(getCtx(), org.compiere.model.I_C_BPartner.Table_Name)
|
||||
.getPO(getBPartner_Parent_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Partner Parent.
|
||||
|
@ -319,9 +319,9 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_Greeting getBPContactGreet() throws RuntimeException
|
||||
public org.compiere.model.I_C_Greeting getBPContactGreet() throws RuntimeException
|
||||
{
|
||||
return (I_C_Greeting)MTable.get(getCtx(), I_C_Greeting.Table_Name)
|
||||
return (org.compiere.model.I_C_Greeting)MTable.get(getCtx(), org.compiere.model.I_C_Greeting.Table_Name)
|
||||
.getPO(getBPContactGreeting(), get_TrxName()); }
|
||||
|
||||
/** Set BP Contact Greeting.
|
||||
|
@ -367,9 +367,9 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException
|
||||
public org.compiere.model.I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException
|
||||
{
|
||||
return (I_C_BPartner_Location)MTable.get(getCtx(), I_C_BPartner_Location.Table_Name)
|
||||
return (org.compiere.model.I_C_BPartner_Location)MTable.get(getCtx(), org.compiere.model.I_C_BPartner_Location.Table_Name)
|
||||
.getPO(getC_BPartner_Location_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Partner Location.
|
||||
|
@ -395,9 +395,9 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_BP_Group getC_BP_Group() throws RuntimeException
|
||||
public org.compiere.model.I_C_BP_Group getC_BP_Group() throws RuntimeException
|
||||
{
|
||||
return (I_C_BP_Group)MTable.get(getCtx(), I_C_BP_Group.Table_Name)
|
||||
return (org.compiere.model.I_C_BP_Group)MTable.get(getCtx(), org.compiere.model.I_C_BP_Group.Table_Name)
|
||||
.getPO(getC_BP_Group_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Business Partner Group.
|
||||
|
@ -423,9 +423,9 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_Country getC_Country() throws RuntimeException
|
||||
public org.compiere.model.I_C_Country getC_Country() throws RuntimeException
|
||||
{
|
||||
return (I_C_Country)MTable.get(getCtx(), I_C_Country.Table_Name)
|
||||
return (org.compiere.model.I_C_Country)MTable.get(getCtx(), org.compiere.model.I_C_Country.Table_Name)
|
||||
.getPO(getC_Country_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Country.
|
||||
|
@ -451,9 +451,9 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_Dunning getC_Dunning() throws RuntimeException
|
||||
public org.compiere.model.I_C_Dunning getC_Dunning() throws RuntimeException
|
||||
{
|
||||
return (I_C_Dunning)MTable.get(getCtx(), I_C_Dunning.Table_Name)
|
||||
return (org.compiere.model.I_C_Dunning)MTable.get(getCtx(), org.compiere.model.I_C_Dunning.Table_Name)
|
||||
.getPO(getC_Dunning_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Dunning.
|
||||
|
@ -479,9 +479,9 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_Greeting getC_Greeting() throws RuntimeException
|
||||
public org.compiere.model.I_C_Greeting getC_Greeting() throws RuntimeException
|
||||
{
|
||||
return (I_C_Greeting)MTable.get(getCtx(), I_C_Greeting.Table_Name)
|
||||
return (org.compiere.model.I_C_Greeting)MTable.get(getCtx(), org.compiere.model.I_C_Greeting.Table_Name)
|
||||
.getPO(getC_Greeting_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Greeting.
|
||||
|
@ -507,9 +507,9 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_InvoiceSchedule getC_InvoiceSchedule() throws RuntimeException
|
||||
public org.compiere.model.I_C_InvoiceSchedule getC_InvoiceSchedule() throws RuntimeException
|
||||
{
|
||||
return (I_C_InvoiceSchedule)MTable.get(getCtx(), I_C_InvoiceSchedule.Table_Name)
|
||||
return (org.compiere.model.I_C_InvoiceSchedule)MTable.get(getCtx(), org.compiere.model.I_C_InvoiceSchedule.Table_Name)
|
||||
.getPO(getC_InvoiceSchedule_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Invoice Schedule.
|
||||
|
@ -620,9 +620,9 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent
|
|||
return (String)get_Value(COLUMNNAME_CountryName);
|
||||
}
|
||||
|
||||
public I_C_PaymentTerm getC_PaymentTerm() throws RuntimeException
|
||||
public org.compiere.model.I_C_PaymentTerm getC_PaymentTerm() throws RuntimeException
|
||||
{
|
||||
return (I_C_PaymentTerm)MTable.get(getCtx(), I_C_PaymentTerm.Table_Name)
|
||||
return (org.compiere.model.I_C_PaymentTerm)MTable.get(getCtx(), org.compiere.model.I_C_PaymentTerm.Table_Name)
|
||||
.getPO(getC_PaymentTerm_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Payment Term.
|
||||
|
@ -648,9 +648,9 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_Region getC_Region() throws RuntimeException
|
||||
public org.compiere.model.I_C_Region getC_Region() throws RuntimeException
|
||||
{
|
||||
return (I_C_Region)MTable.get(getCtx(), I_C_Region.Table_Name)
|
||||
return (org.compiere.model.I_C_Region)MTable.get(getCtx(), org.compiere.model.I_C_Region.Table_Name)
|
||||
.getPO(getC_Region_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Region.
|
||||
|
@ -938,9 +938,9 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent
|
|||
return (String)get_Value(COLUMNNAME_FreightCostRule);
|
||||
}
|
||||
|
||||
public I_AD_PrintFormat getInvoice_PrintFormat() throws RuntimeException
|
||||
public org.compiere.model.I_AD_PrintFormat getInvoice_PrintFormat() throws RuntimeException
|
||||
{
|
||||
return (I_AD_PrintFormat)MTable.get(getCtx(), I_AD_PrintFormat.Table_Name)
|
||||
return (org.compiere.model.I_AD_PrintFormat)MTable.get(getCtx(), org.compiere.model.I_AD_PrintFormat.Table_Name)
|
||||
.getPO(getInvoice_PrintFormat_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Invoice Print Format.
|
||||
|
@ -1265,9 +1265,9 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent
|
|||
return false;
|
||||
}
|
||||
|
||||
public I_M_DiscountSchema getM_DiscountSchema() throws RuntimeException
|
||||
public org.compiere.model.I_M_DiscountSchema getM_DiscountSchema() throws RuntimeException
|
||||
{
|
||||
return (I_M_DiscountSchema)MTable.get(getCtx(), I_M_DiscountSchema.Table_Name)
|
||||
return (org.compiere.model.I_M_DiscountSchema)MTable.get(getCtx(), org.compiere.model.I_M_DiscountSchema.Table_Name)
|
||||
.getPO(getM_DiscountSchema_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Discount Schema.
|
||||
|
@ -1293,9 +1293,9 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_M_PriceList getM_PriceList() throws RuntimeException
|
||||
public org.compiere.model.I_M_PriceList getM_PriceList() throws RuntimeException
|
||||
{
|
||||
return (I_M_PriceList)MTable.get(getCtx(), I_M_PriceList.Table_Name)
|
||||
return (org.compiere.model.I_M_PriceList)MTable.get(getCtx(), org.compiere.model.I_M_PriceList.Table_Name)
|
||||
.getPO(getM_PriceList_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Price List.
|
||||
|
@ -1434,8 +1434,8 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent
|
|||
public static final String PAYMENTRULE_OnCredit = "P";
|
||||
/** Direct Debit = D */
|
||||
public static final String PAYMENTRULE_DirectDebit = "D";
|
||||
/** Mixed = M */
|
||||
public static final String PAYMENTRULE_Mixed = "M";
|
||||
/** Mixed POS Payment = M */
|
||||
public static final String PAYMENTRULE_MixedPOSPayment = "M";
|
||||
/** Set Payment Rule.
|
||||
@param PaymentRule
|
||||
How you pay the invoice
|
||||
|
@ -1468,8 +1468,8 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent
|
|||
public static final String PAYMENTRULEPO_OnCredit = "P";
|
||||
/** Direct Debit = D */
|
||||
public static final String PAYMENTRULEPO_DirectDebit = "D";
|
||||
/** Mixed = M */
|
||||
public static final String PAYMENTRULEPO_Mixed = "M";
|
||||
/** Mixed POS Payment = M */
|
||||
public static final String PAYMENTRULEPO_MixedPOSPayment = "M";
|
||||
/** Set Payment Rule.
|
||||
@param PaymentRulePO
|
||||
Purchase payment option
|
||||
|
@ -1522,9 +1522,9 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent
|
|||
return (String)get_Value(COLUMNNAME_Phone2);
|
||||
}
|
||||
|
||||
public I_M_DiscountSchema getPO_DiscountSchema() throws RuntimeException
|
||||
public org.compiere.model.I_M_DiscountSchema getPO_DiscountSchema() throws RuntimeException
|
||||
{
|
||||
return (I_M_DiscountSchema)MTable.get(getCtx(), I_M_DiscountSchema.Table_Name)
|
||||
return (org.compiere.model.I_M_DiscountSchema)MTable.get(getCtx(), org.compiere.model.I_M_DiscountSchema.Table_Name)
|
||||
.getPO(getPO_DiscountSchema_ID(), get_TrxName()); }
|
||||
|
||||
/** Set PO Discount Schema.
|
||||
|
@ -1550,9 +1550,9 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_PaymentTerm getPO_PaymentTerm() throws RuntimeException
|
||||
public org.compiere.model.I_C_PaymentTerm getPO_PaymentTerm() throws RuntimeException
|
||||
{
|
||||
return (I_C_PaymentTerm)MTable.get(getCtx(), I_C_PaymentTerm.Table_Name)
|
||||
return (org.compiere.model.I_C_PaymentTerm)MTable.get(getCtx(), org.compiere.model.I_C_PaymentTerm.Table_Name)
|
||||
.getPO(getPO_PaymentTerm_ID(), get_TrxName()); }
|
||||
|
||||
/** Set PO Payment Term.
|
||||
|
@ -1578,9 +1578,9 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_M_PriceList getPO_PriceList() throws RuntimeException
|
||||
public org.compiere.model.I_M_PriceList getPO_PriceList() throws RuntimeException
|
||||
{
|
||||
return (I_M_PriceList)MTable.get(getCtx(), I_M_PriceList.Table_Name)
|
||||
return (org.compiere.model.I_M_PriceList)MTable.get(getCtx(), org.compiere.model.I_M_PriceList.Table_Name)
|
||||
.getPO(getPO_PriceList_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Purchase Pricelist.
|
||||
|
@ -1711,9 +1711,9 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent
|
|||
return (String)get_Value(COLUMNNAME_RegionName);
|
||||
}
|
||||
|
||||
public I_AD_User getSalesRep() throws RuntimeException
|
||||
public org.compiere.model.I_AD_User getSalesRep() throws RuntimeException
|
||||
{
|
||||
return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name)
|
||||
return (org.compiere.model.I_AD_User)MTable.get(getCtx(), org.compiere.model.I_AD_User.Table_Name)
|
||||
.getPO(getSalesRep_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Sales Representative.
|
||||
|
@ -1930,9 +1930,9 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent
|
|||
return (String)get_Value(COLUMNNAME_SO_Description);
|
||||
}
|
||||
|
||||
public I_AD_User getSupervisor() throws RuntimeException
|
||||
public org.compiere.model.I_AD_User getSupervisor() throws RuntimeException
|
||||
{
|
||||
return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name)
|
||||
return (org.compiere.model.I_AD_User)MTable.get(getCtx(), org.compiere.model.I_AD_User.Table_Name)
|
||||
.getPO(getSupervisor_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Supervisor.
|
||||
|
|
Loading…
Reference in New Issue