added missing columns to U_POSTerminal.
Fixed eclispe classpath for multiple project setup.
This commit is contained in:
parent
0ff3af4689
commit
9a05b3b91a
|
@ -30,5 +30,5 @@
|
|||
<classpathentry kind="lib" path="/tools/lib/ocrs12.jar"/>
|
||||
<classpathentry kind="lib" path="/tools/lib/ojdbc14.jar"/>
|
||||
<classpathentry kind="lib" path="/tools/lib/postgresql.jar"/>
|
||||
<classpathentry kind="output" path="posterita/web/WEB-INF/classes"/>
|
||||
<classpathentry kind="output" path="posterita/build"/>
|
||||
</classpath>
|
||||
|
|
|
@ -1,203 +0,0 @@
|
|||
/**********************************************************************
|
||||
* This file is part of Adempiere ERP Bazaar *
|
||||
* http://www.adempiere.org *
|
||||
* *
|
||||
* Copyright (C) Trifon Trifonov. *
|
||||
* Copyright (C) Contributors *
|
||||
* *
|
||||
* This program is free software;
|
||||
you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License *
|
||||
* as published by the Free Software Foundation;
|
||||
either version 2 *
|
||||
* of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* 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., 51 Franklin Street, Fifth Floor, Boston, *
|
||||
* MA 02110-1301, USA. *
|
||||
* *
|
||||
* Contributors: *
|
||||
* - Trifon Trifonov (trifonnt@users.sourceforge.net) *
|
||||
* *
|
||||
* Sponsors: *
|
||||
* - Company (http://www.site.com) *
|
||||
**********************************************************************/
|
||||
package org.compiere.model;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
|
||||
/** Generated Interface for AD_OrgInfo
|
||||
* @author Trifon Trifonov (generated)
|
||||
* @version Release 3.4.0s
|
||||
*/
|
||||
public interface I_AD_OrgInfo
|
||||
{
|
||||
|
||||
/** TableName=AD_OrgInfo */
|
||||
public static final String Table_Name = "AD_OrgInfo";
|
||||
|
||||
/** AD_Table_ID=228 */
|
||||
public static final int Table_ID = MTable.getTable_ID(Table_Name);
|
||||
|
||||
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
|
||||
|
||||
/** AccessLevel = 7 - System - Client - Org
|
||||
*/
|
||||
BigDecimal accessLevel = BigDecimal.valueOf(7);
|
||||
|
||||
/** Load Meta Data */
|
||||
|
||||
/** Column name AD_OrgType_ID */
|
||||
public static final String COLUMNNAME_AD_OrgType_ID = "AD_OrgType_ID";
|
||||
|
||||
/** Set Organization Type.
|
||||
* Organization Type allows you to categorize your organizations
|
||||
*/
|
||||
public void setAD_OrgType_ID (int AD_OrgType_ID);
|
||||
|
||||
/** Get Organization Type.
|
||||
* Organization Type allows you to categorize your organizations
|
||||
*/
|
||||
public int getAD_OrgType_ID();
|
||||
|
||||
public I_AD_OrgType getAD_OrgType() throws Exception;
|
||||
|
||||
/** Column name C_Location_ID */
|
||||
public static final String COLUMNNAME_C_Location_ID = "C_Location_ID";
|
||||
|
||||
/** Set Address.
|
||||
* Location or Address
|
||||
*/
|
||||
public void setC_Location_ID (int C_Location_ID);
|
||||
|
||||
/** Get Address.
|
||||
* Location or Address
|
||||
*/
|
||||
public int getC_Location_ID();
|
||||
|
||||
/** Column name DUNS */
|
||||
public static final String COLUMNNAME_DUNS = "DUNS";
|
||||
|
||||
/** Set D-U-N-S.
|
||||
* Dun & Bradstreet Number
|
||||
*/
|
||||
public void setDUNS (String DUNS);
|
||||
|
||||
/** Get D-U-N-S.
|
||||
* Dun & Bradstreet Number
|
||||
*/
|
||||
public String getDUNS();
|
||||
|
||||
/** Column name M_Warehouse_ID */
|
||||
public static final String COLUMNNAME_M_Warehouse_ID = "M_Warehouse_ID";
|
||||
|
||||
/** Set Warehouse.
|
||||
* Storage Warehouse and Service Point
|
||||
*/
|
||||
public void setM_Warehouse_ID (int M_Warehouse_ID);
|
||||
|
||||
/** Get Warehouse.
|
||||
* Storage Warehouse and Service Point
|
||||
*/
|
||||
public int getM_Warehouse_ID();
|
||||
|
||||
public I_M_Warehouse getM_Warehouse() throws Exception;
|
||||
|
||||
/** Column name PA_Goal_ID */
|
||||
public static final String COLUMNNAME_PA_Goal_ID = "PA_Goal_ID";
|
||||
|
||||
/** Set Goal.
|
||||
* Performance Goal
|
||||
*/
|
||||
public void setPA_Goal_ID (int PA_Goal_ID);
|
||||
|
||||
/** Get Goal.
|
||||
* Performance Goal
|
||||
*/
|
||||
public int getPA_Goal_ID();
|
||||
|
||||
public I_PA_Goal getPA_Goal() throws Exception;
|
||||
|
||||
/** Column name Parent_Org_ID */
|
||||
public static final String COLUMNNAME_Parent_Org_ID = "Parent_Org_ID";
|
||||
|
||||
/** Set Parent Organization.
|
||||
* Parent (superior) Organization
|
||||
*/
|
||||
public void setParent_Org_ID (int Parent_Org_ID);
|
||||
|
||||
/** Get Parent Organization.
|
||||
* Parent (superior) Organization
|
||||
*/
|
||||
public int getParent_Org_ID();
|
||||
|
||||
/** Column name ReceiptFooterMsg */
|
||||
public static final String COLUMNNAME_ReceiptFooterMsg = "ReceiptFooterMsg";
|
||||
|
||||
/** Set Receipt Footer Msg.
|
||||
* This message will be displayed at the bottom of a receipt when doing a sales or purchase
|
||||
*/
|
||||
public void setReceiptFooterMsg (String ReceiptFooterMsg);
|
||||
|
||||
/** Get Receipt Footer Msg.
|
||||
* This message will be displayed at the bottom of a receipt when doing a sales or purchase
|
||||
*/
|
||||
public String getReceiptFooterMsg();
|
||||
|
||||
/** Column name Supervisor_ID */
|
||||
public static final String COLUMNNAME_Supervisor_ID = "Supervisor_ID";
|
||||
|
||||
/** Set Supervisor.
|
||||
* Supervisor for this user/organization - used for escalation and approval
|
||||
*/
|
||||
public void setSupervisor_ID (int Supervisor_ID);
|
||||
|
||||
/** Get Supervisor.
|
||||
* Supervisor for this user/organization - used for escalation and approval
|
||||
*/
|
||||
public int getSupervisor_ID();
|
||||
|
||||
/** Column name TaxID */
|
||||
public static final String COLUMNNAME_TaxID = "TaxID";
|
||||
|
||||
/** Set Tax ID.
|
||||
* Tax Identification
|
||||
*/
|
||||
public void setTaxID (String TaxID);
|
||||
|
||||
/** Get Tax ID.
|
||||
* Tax Identification
|
||||
*/
|
||||
public String getTaxID();
|
||||
|
||||
/** Column name TransferBank_ID */
|
||||
public static final String COLUMNNAME_TransferBank_ID = "TransferBank_ID";
|
||||
|
||||
/** Set Bank for transfers.
|
||||
* Bank account depending on currency will be used from this bank for doing transfers
|
||||
*/
|
||||
public void setTransferBank_ID (int TransferBank_ID);
|
||||
|
||||
/** Get Bank for transfers.
|
||||
* Bank account depending on currency will be used from this bank for doing transfers
|
||||
*/
|
||||
public int getTransferBank_ID();
|
||||
|
||||
/** Column name TransferCashBook_ID */
|
||||
public static final String COLUMNNAME_TransferCashBook_ID = "TransferCashBook_ID";
|
||||
|
||||
/** Set CashBook for transfers */
|
||||
public void setTransferCashBook_ID (int TransferCashBook_ID);
|
||||
|
||||
/** Get CashBook for transfers */
|
||||
public int getTransferCashBook_ID();
|
||||
}
|
|
@ -1,498 +0,0 @@
|
|||
/**********************************************************************
|
||||
* This file is part of Adempiere ERP Bazaar *
|
||||
* http://www.adempiere.org *
|
||||
* *
|
||||
* Copyright (C) Trifon Trifonov. *
|
||||
* Copyright (C) Contributors *
|
||||
* *
|
||||
* This program is free software;
|
||||
you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License *
|
||||
* as published by the Free Software Foundation;
|
||||
either version 2 *
|
||||
* of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* 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., 51 Franklin Street, Fifth Floor, Boston, *
|
||||
* MA 02110-1301, USA. *
|
||||
* *
|
||||
* Contributors: *
|
||||
* - Trifon Trifonov (trifonnt@users.sourceforge.net) *
|
||||
* *
|
||||
* Sponsors: *
|
||||
* - Company (http://www.site.com) *
|
||||
**********************************************************************/
|
||||
package org.compiere.model;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
|
||||
/** Generated Interface for AD_Role
|
||||
* @author Trifon Trifonov (generated)
|
||||
* @version Release 3.4.0s
|
||||
*/
|
||||
public interface I_AD_Role
|
||||
{
|
||||
|
||||
/** TableName=AD_Role */
|
||||
public static final String Table_Name = "AD_Role";
|
||||
|
||||
/** AD_Table_ID=156 */
|
||||
public static final int Table_ID = MTable.getTable_ID(Table_Name);
|
||||
|
||||
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
|
||||
|
||||
/** AccessLevel = 6 - System - Client
|
||||
*/
|
||||
BigDecimal accessLevel = BigDecimal.valueOf(6);
|
||||
|
||||
/** Load Meta Data */
|
||||
|
||||
/** Column name AD_Role_ID */
|
||||
public static final String COLUMNNAME_AD_Role_ID = "AD_Role_ID";
|
||||
|
||||
/** Set Role.
|
||||
* Responsibility Role
|
||||
*/
|
||||
public void setAD_Role_ID (int AD_Role_ID);
|
||||
|
||||
/** Get Role.
|
||||
* Responsibility Role
|
||||
*/
|
||||
public int getAD_Role_ID();
|
||||
|
||||
/** Column name AD_Tree_Menu_ID */
|
||||
public static final String COLUMNNAME_AD_Tree_Menu_ID = "AD_Tree_Menu_ID";
|
||||
|
||||
/** Set Menu Tree.
|
||||
* Tree of the menu
|
||||
*/
|
||||
public void setAD_Tree_Menu_ID (int AD_Tree_Menu_ID);
|
||||
|
||||
/** Get Menu Tree.
|
||||
* Tree of the menu
|
||||
*/
|
||||
public int getAD_Tree_Menu_ID();
|
||||
|
||||
/** Column name AD_Tree_Org_ID */
|
||||
public static final String COLUMNNAME_AD_Tree_Org_ID = "AD_Tree_Org_ID";
|
||||
|
||||
/** Set Organization Tree.
|
||||
* Tree to determine organizational hierarchy
|
||||
*/
|
||||
public void setAD_Tree_Org_ID (int AD_Tree_Org_ID);
|
||||
|
||||
/** Get Organization Tree.
|
||||
* Tree to determine organizational hierarchy
|
||||
*/
|
||||
public int getAD_Tree_Org_ID();
|
||||
|
||||
/** Column name Allow_Info_Account */
|
||||
public static final String COLUMNNAME_Allow_Info_Account = "Allow_Info_Account";
|
||||
|
||||
/** Set Allow Info Account */
|
||||
public void setAllow_Info_Account (boolean Allow_Info_Account);
|
||||
|
||||
/** Get Allow Info Account */
|
||||
public boolean isAllow_Info_Account();
|
||||
|
||||
/** Column name Allow_Info_Asset */
|
||||
public static final String COLUMNNAME_Allow_Info_Asset = "Allow_Info_Asset";
|
||||
|
||||
/** Set Allow Info Asset */
|
||||
public void setAllow_Info_Asset (boolean Allow_Info_Asset);
|
||||
|
||||
/** Get Allow Info Asset */
|
||||
public boolean isAllow_Info_Asset();
|
||||
|
||||
/** Column name Allow_Info_BPartner */
|
||||
public static final String COLUMNNAME_Allow_Info_BPartner = "Allow_Info_BPartner";
|
||||
|
||||
/** Set Allow Info BPartner */
|
||||
public void setAllow_Info_BPartner (boolean Allow_Info_BPartner);
|
||||
|
||||
/** Get Allow Info BPartner */
|
||||
public boolean isAllow_Info_BPartner();
|
||||
|
||||
/** Column name Allow_Info_CashJournal */
|
||||
public static final String COLUMNNAME_Allow_Info_CashJournal = "Allow_Info_CashJournal";
|
||||
|
||||
/** Set Allow Info CashJournal */
|
||||
public void setAllow_Info_CashJournal (boolean Allow_Info_CashJournal);
|
||||
|
||||
/** Get Allow Info CashJournal */
|
||||
public boolean isAllow_Info_CashJournal();
|
||||
|
||||
/** Column name Allow_Info_InOut */
|
||||
public static final String COLUMNNAME_Allow_Info_InOut = "Allow_Info_InOut";
|
||||
|
||||
/** Set Allow Info InOut */
|
||||
public void setAllow_Info_InOut (boolean Allow_Info_InOut);
|
||||
|
||||
/** Get Allow Info InOut */
|
||||
public boolean isAllow_Info_InOut();
|
||||
|
||||
/** Column name Allow_Info_Invoice */
|
||||
public static final String COLUMNNAME_Allow_Info_Invoice = "Allow_Info_Invoice";
|
||||
|
||||
/** Set Allow Info Invoice */
|
||||
public void setAllow_Info_Invoice (boolean Allow_Info_Invoice);
|
||||
|
||||
/** Get Allow Info Invoice */
|
||||
public boolean isAllow_Info_Invoice();
|
||||
|
||||
/** Column name Allow_Info_Order */
|
||||
public static final String COLUMNNAME_Allow_Info_Order = "Allow_Info_Order";
|
||||
|
||||
/** Set Allow Info Order */
|
||||
public void setAllow_Info_Order (boolean Allow_Info_Order);
|
||||
|
||||
/** Get Allow Info Order */
|
||||
public boolean isAllow_Info_Order();
|
||||
|
||||
/** Column name Allow_Info_Payment */
|
||||
public static final String COLUMNNAME_Allow_Info_Payment = "Allow_Info_Payment";
|
||||
|
||||
/** Set Allow Info Payment */
|
||||
public void setAllow_Info_Payment (boolean Allow_Info_Payment);
|
||||
|
||||
/** Get Allow Info Payment */
|
||||
public boolean isAllow_Info_Payment();
|
||||
|
||||
/** Column name Allow_Info_Product */
|
||||
public static final String COLUMNNAME_Allow_Info_Product = "Allow_Info_Product";
|
||||
|
||||
/** Set Allow Info Product */
|
||||
public void setAllow_Info_Product (boolean Allow_Info_Product);
|
||||
|
||||
/** Get Allow Info Product */
|
||||
public boolean isAllow_Info_Product();
|
||||
|
||||
/** Column name Allow_Info_Resource */
|
||||
public static final String COLUMNNAME_Allow_Info_Resource = "Allow_Info_Resource";
|
||||
|
||||
/** Set Allow Info Resource */
|
||||
public void setAllow_Info_Resource (boolean Allow_Info_Resource);
|
||||
|
||||
/** Get Allow Info Resource */
|
||||
public boolean isAllow_Info_Resource();
|
||||
|
||||
/** Column name Allow_Info_Schedule */
|
||||
public static final String COLUMNNAME_Allow_Info_Schedule = "Allow_Info_Schedule";
|
||||
|
||||
/** Set Allow Info Schedule */
|
||||
public void setAllow_Info_Schedule (boolean Allow_Info_Schedule);
|
||||
|
||||
/** Get Allow Info Schedule */
|
||||
public boolean isAllow_Info_Schedule();
|
||||
|
||||
/** Column name AmtApproval */
|
||||
public static final String COLUMNNAME_AmtApproval = "AmtApproval";
|
||||
|
||||
/** Set Approval Amount.
|
||||
* The approval amount limit for this role
|
||||
*/
|
||||
public void setAmtApproval (BigDecimal AmtApproval);
|
||||
|
||||
/** Get Approval Amount.
|
||||
* The approval amount limit for this role
|
||||
*/
|
||||
public BigDecimal getAmtApproval();
|
||||
|
||||
/** Column name C_Currency_ID */
|
||||
public static final String COLUMNNAME_C_Currency_ID = "C_Currency_ID";
|
||||
|
||||
/** Set Currency.
|
||||
* The Currency for this record
|
||||
*/
|
||||
public void setC_Currency_ID (int C_Currency_ID);
|
||||
|
||||
/** Get Currency.
|
||||
* The Currency for this record
|
||||
*/
|
||||
public int getC_Currency_ID();
|
||||
|
||||
public I_C_Currency getC_Currency() throws Exception;
|
||||
|
||||
/** Column name ConfirmQueryRecords */
|
||||
public static final String COLUMNNAME_ConfirmQueryRecords = "ConfirmQueryRecords";
|
||||
|
||||
/** Set Confirm Query Records.
|
||||
* Require Confirmation if more records will be returned by the query (If not defined 500)
|
||||
*/
|
||||
public void setConfirmQueryRecords (int ConfirmQueryRecords);
|
||||
|
||||
/** Get Confirm Query Records.
|
||||
* Require Confirmation if more records will be returned by the query (If not defined 500)
|
||||
*/
|
||||
public int getConfirmQueryRecords();
|
||||
|
||||
/** Column name ConnectionProfile */
|
||||
public static final String COLUMNNAME_ConnectionProfile = "ConnectionProfile";
|
||||
|
||||
/** Set Connection Profile.
|
||||
* How a Java Client connects to the server(s)
|
||||
*/
|
||||
public void setConnectionProfile (String ConnectionProfile);
|
||||
|
||||
/** Get Connection Profile.
|
||||
* How a Java Client connects to the server(s)
|
||||
*/
|
||||
public String getConnectionProfile();
|
||||
|
||||
/** 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 IsAccessAllOrgs */
|
||||
public static final String COLUMNNAME_IsAccessAllOrgs = "IsAccessAllOrgs";
|
||||
|
||||
/** Set Access all Orgs.
|
||||
* Access all Organizations (no org access control) of the client
|
||||
*/
|
||||
public void setIsAccessAllOrgs (boolean IsAccessAllOrgs);
|
||||
|
||||
/** Get Access all Orgs.
|
||||
* Access all Organizations (no org access control) of the client
|
||||
*/
|
||||
public boolean isAccessAllOrgs();
|
||||
|
||||
/** Column name IsCanApproveOwnDoc */
|
||||
public static final String COLUMNNAME_IsCanApproveOwnDoc = "IsCanApproveOwnDoc";
|
||||
|
||||
/** Set Approve own Documents.
|
||||
* Users with this role can approve their own documents
|
||||
*/
|
||||
public void setIsCanApproveOwnDoc (boolean IsCanApproveOwnDoc);
|
||||
|
||||
/** Get Approve own Documents.
|
||||
* Users with this role can approve their own documents
|
||||
*/
|
||||
public boolean isCanApproveOwnDoc();
|
||||
|
||||
/** Column name IsCanExport */
|
||||
public static final String COLUMNNAME_IsCanExport = "IsCanExport";
|
||||
|
||||
/** Set Can Export.
|
||||
* Users with this role can export data
|
||||
*/
|
||||
public void setIsCanExport (boolean IsCanExport);
|
||||
|
||||
/** Get Can Export.
|
||||
* Users with this role can export data
|
||||
*/
|
||||
public boolean isCanExport();
|
||||
|
||||
/** Column name IsCanReport */
|
||||
public static final String COLUMNNAME_IsCanReport = "IsCanReport";
|
||||
|
||||
/** Set Can Report.
|
||||
* Users with this role can create reports
|
||||
*/
|
||||
public void setIsCanReport (boolean IsCanReport);
|
||||
|
||||
/** Get Can Report.
|
||||
* Users with this role can create reports
|
||||
*/
|
||||
public boolean isCanReport();
|
||||
|
||||
/** Column name IsChangeLog */
|
||||
public static final String COLUMNNAME_IsChangeLog = "IsChangeLog";
|
||||
|
||||
/** Set Maintain Change Log.
|
||||
* Maintain a log of changes
|
||||
*/
|
||||
public void setIsChangeLog (boolean IsChangeLog);
|
||||
|
||||
/** Get Maintain Change Log.
|
||||
* Maintain a log of changes
|
||||
*/
|
||||
public boolean isChangeLog();
|
||||
|
||||
/** Column name IsDiscountAllowedOnTotal */
|
||||
public static final String COLUMNNAME_IsDiscountAllowedOnTotal = "IsDiscountAllowedOnTotal";
|
||||
|
||||
/** Set IsDiscountAllowedOnTotal */
|
||||
public void setIsDiscountAllowedOnTotal (boolean IsDiscountAllowedOnTotal);
|
||||
|
||||
/** Get IsDiscountAllowedOnTotal */
|
||||
public boolean isDiscountAllowedOnTotal();
|
||||
|
||||
/** Column name IsDiscountUptoLimitPrice */
|
||||
public static final String COLUMNNAME_IsDiscountUptoLimitPrice = "IsDiscountUptoLimitPrice";
|
||||
|
||||
/** Set IsDiscountUptoLimitPrice */
|
||||
public void setIsDiscountUptoLimitPrice (boolean IsDiscountUptoLimitPrice);
|
||||
|
||||
/** Get IsDiscountUptoLimitPrice */
|
||||
public boolean isDiscountUptoLimitPrice();
|
||||
|
||||
/** Column name IsManual */
|
||||
public static final String COLUMNNAME_IsManual = "IsManual";
|
||||
|
||||
/** Set Manual.
|
||||
* This is a manual process
|
||||
*/
|
||||
public void setIsManual (boolean IsManual);
|
||||
|
||||
/** Get Manual.
|
||||
* This is a manual process
|
||||
*/
|
||||
public boolean isManual();
|
||||
|
||||
/** Column name IsPersonalAccess */
|
||||
public static final String COLUMNNAME_IsPersonalAccess = "IsPersonalAccess";
|
||||
|
||||
/** Set Personal Access.
|
||||
* Allow access to all personal records
|
||||
*/
|
||||
public void setIsPersonalAccess (boolean IsPersonalAccess);
|
||||
|
||||
/** Get Personal Access.
|
||||
* Allow access to all personal records
|
||||
*/
|
||||
public boolean isPersonalAccess();
|
||||
|
||||
/** Column name IsPersonalLock */
|
||||
public static final String COLUMNNAME_IsPersonalLock = "IsPersonalLock";
|
||||
|
||||
/** Set Personal Lock.
|
||||
* Allow users with role to lock access to personal records
|
||||
*/
|
||||
public void setIsPersonalLock (boolean IsPersonalLock);
|
||||
|
||||
/** Get Personal Lock.
|
||||
* Allow users with role to lock access to personal records
|
||||
*/
|
||||
public boolean isPersonalLock();
|
||||
|
||||
/** Column name IsShowAcct */
|
||||
public static final String COLUMNNAME_IsShowAcct = "IsShowAcct";
|
||||
|
||||
/** Set Show Accounting.
|
||||
* Users with this role can see accounting information
|
||||
*/
|
||||
public void setIsShowAcct (boolean IsShowAcct);
|
||||
|
||||
/** Get Show Accounting.
|
||||
* Users with this role can see accounting information
|
||||
*/
|
||||
public boolean isShowAcct();
|
||||
|
||||
/** Column name IsUseUserOrgAccess */
|
||||
public static final String COLUMNNAME_IsUseUserOrgAccess = "IsUseUserOrgAccess";
|
||||
|
||||
/** Set Use User Org Access.
|
||||
* Use Org Access defined by user instead of Role Org Access
|
||||
*/
|
||||
public void setIsUseUserOrgAccess (boolean IsUseUserOrgAccess);
|
||||
|
||||
/** Get Use User Org Access.
|
||||
* Use Org Access defined by user instead of Role Org Access
|
||||
*/
|
||||
public boolean isUseUserOrgAccess();
|
||||
|
||||
/** Column name MaxQueryRecords */
|
||||
public static final String COLUMNNAME_MaxQueryRecords = "MaxQueryRecords";
|
||||
|
||||
/** Set Max Query Records.
|
||||
* If defined, you cannot query more records as defined - the query criteria needs to be changed to query less records
|
||||
*/
|
||||
public void setMaxQueryRecords (int MaxQueryRecords);
|
||||
|
||||
/** Get Max Query Records.
|
||||
* If defined, you cannot query more records as defined - the query criteria needs to be changed to query less records
|
||||
*/
|
||||
public int getMaxQueryRecords();
|
||||
|
||||
/** 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 OverwritePriceLimit */
|
||||
public static final String COLUMNNAME_OverwritePriceLimit = "OverwritePriceLimit";
|
||||
|
||||
/** Set Overwrite Price Limit.
|
||||
* Overwrite Price Limit if the Price List enforces the Price Limit
|
||||
*/
|
||||
public void setOverwritePriceLimit (boolean OverwritePriceLimit);
|
||||
|
||||
/** Get Overwrite Price Limit.
|
||||
* Overwrite Price Limit if the Price List enforces the Price Limit
|
||||
*/
|
||||
public boolean isOverwritePriceLimit();
|
||||
|
||||
/** Column name PreferenceType */
|
||||
public static final String COLUMNNAME_PreferenceType = "PreferenceType";
|
||||
|
||||
/** Set Preference Level.
|
||||
* Determines what preferences the user can set
|
||||
*/
|
||||
public void setPreferenceType (String PreferenceType);
|
||||
|
||||
/** Get Preference Level.
|
||||
* Determines what preferences the user can set
|
||||
*/
|
||||
public String getPreferenceType();
|
||||
|
||||
/** Column name Supervisor_ID */
|
||||
public static final String COLUMNNAME_Supervisor_ID = "Supervisor_ID";
|
||||
|
||||
/** Set Supervisor.
|
||||
* Supervisor for this user/organization - used for escalation and approval
|
||||
*/
|
||||
public void setSupervisor_ID (int Supervisor_ID);
|
||||
|
||||
/** Get Supervisor.
|
||||
* Supervisor for this user/organization - used for escalation and approval
|
||||
*/
|
||||
public int getSupervisor_ID();
|
||||
|
||||
/** Column name UserDiscount */
|
||||
public static final String COLUMNNAME_UserDiscount = "UserDiscount";
|
||||
|
||||
/** Set UserDiscount */
|
||||
public void setUserDiscount (BigDecimal UserDiscount);
|
||||
|
||||
/** Get UserDiscount */
|
||||
public BigDecimal getUserDiscount();
|
||||
|
||||
/** Column name UserLevel */
|
||||
public static final String COLUMNNAME_UserLevel = "UserLevel";
|
||||
|
||||
/** Set User Level.
|
||||
* System Client Organization
|
||||
*/
|
||||
public void setUserLevel (String UserLevel);
|
||||
|
||||
/** Get User Level.
|
||||
* System Client Organization
|
||||
*/
|
||||
public String getUserLevel();
|
||||
}
|
|
@ -1,265 +0,0 @@
|
|||
/**********************************************************************
|
||||
* This file is part of Adempiere ERP Bazaar *
|
||||
* http://www.adempiere.org *
|
||||
* *
|
||||
* Copyright (C) Trifon Trifonov. *
|
||||
* Copyright (C) Contributors *
|
||||
* *
|
||||
* This program is free software;
|
||||
you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License *
|
||||
* as published by the Free Software Foundation;
|
||||
either version 2 *
|
||||
* of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* 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., 51 Franklin Street, Fifth Floor, Boston, *
|
||||
* MA 02110-1301, USA. *
|
||||
* *
|
||||
* Contributors: *
|
||||
* - Trifon Trifonov (trifonnt@users.sourceforge.net) *
|
||||
* *
|
||||
* Sponsors: *
|
||||
* - Company (http://www.site.com) *
|
||||
**********************************************************************/
|
||||
package org.compiere.model;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
|
||||
/** Generated Interface for C_CashLine
|
||||
* @author Trifon Trifonov (generated)
|
||||
* @version Release 3.4.0s
|
||||
*/
|
||||
public interface I_C_CashLine
|
||||
{
|
||||
|
||||
/** TableName=C_CashLine */
|
||||
public static final String Table_Name = "C_CashLine";
|
||||
|
||||
/** AD_Table_ID=410 */
|
||||
public static final int Table_ID = MTable.getTable_ID(Table_Name);
|
||||
|
||||
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
|
||||
|
||||
/** AccessLevel = 3 - Client - Org
|
||||
*/
|
||||
BigDecimal accessLevel = BigDecimal.valueOf(3);
|
||||
|
||||
/** Load Meta Data */
|
||||
|
||||
/** Column name Amount */
|
||||
public static final String COLUMNNAME_Amount = "Amount";
|
||||
|
||||
/** Set Amount.
|
||||
* Amount in a defined currency
|
||||
*/
|
||||
public void setAmount (BigDecimal Amount);
|
||||
|
||||
/** Get Amount.
|
||||
* Amount in a defined currency
|
||||
*/
|
||||
public BigDecimal getAmount();
|
||||
|
||||
/** Column name CashType */
|
||||
public static final String COLUMNNAME_CashType = "CashType";
|
||||
|
||||
/** Set Cash Type.
|
||||
* Source of Cash
|
||||
*/
|
||||
public void setCashType (String CashType);
|
||||
|
||||
/** Get Cash Type.
|
||||
* Source of Cash
|
||||
*/
|
||||
public String getCashType();
|
||||
|
||||
/** Column name C_BankAccount_ID */
|
||||
public static final String COLUMNNAME_C_BankAccount_ID = "C_BankAccount_ID";
|
||||
|
||||
/** Set Bank Account.
|
||||
* Account at the Bank
|
||||
*/
|
||||
public void setC_BankAccount_ID (int C_BankAccount_ID);
|
||||
|
||||
/** Get Bank Account.
|
||||
* Account at the Bank
|
||||
*/
|
||||
public int getC_BankAccount_ID();
|
||||
|
||||
public I_C_BankAccount getC_BankAccount() throws Exception;
|
||||
|
||||
/** Column name C_Cash_ID */
|
||||
public static final String COLUMNNAME_C_Cash_ID = "C_Cash_ID";
|
||||
|
||||
/** Set Cash Journal.
|
||||
* Cash Journal
|
||||
*/
|
||||
public void setC_Cash_ID (int C_Cash_ID);
|
||||
|
||||
/** Get Cash Journal.
|
||||
* Cash Journal
|
||||
*/
|
||||
public int getC_Cash_ID();
|
||||
|
||||
public I_C_Cash getC_Cash() throws Exception;
|
||||
|
||||
/** Column name C_CashLine_ID */
|
||||
public static final String COLUMNNAME_C_CashLine_ID = "C_CashLine_ID";
|
||||
|
||||
/** Set Cash Journal Line.
|
||||
* Cash Journal Line
|
||||
*/
|
||||
public void setC_CashLine_ID (int C_CashLine_ID);
|
||||
|
||||
/** Get Cash Journal Line.
|
||||
* Cash Journal Line
|
||||
*/
|
||||
public int getC_CashLine_ID();
|
||||
|
||||
/** Column name C_Charge_ID */
|
||||
public static final String COLUMNNAME_C_Charge_ID = "C_Charge_ID";
|
||||
|
||||
/** Set Charge.
|
||||
* Additional document charges
|
||||
*/
|
||||
public void setC_Charge_ID (int C_Charge_ID);
|
||||
|
||||
/** Get Charge.
|
||||
* Additional document charges
|
||||
*/
|
||||
public int getC_Charge_ID();
|
||||
|
||||
public I_C_Charge getC_Charge() throws Exception;
|
||||
|
||||
/** Column name C_Currency_ID */
|
||||
public static final String COLUMNNAME_C_Currency_ID = "C_Currency_ID";
|
||||
|
||||
/** Set Currency.
|
||||
* The Currency for this record
|
||||
*/
|
||||
public void setC_Currency_ID (int C_Currency_ID);
|
||||
|
||||
/** Get Currency.
|
||||
* The Currency for this record
|
||||
*/
|
||||
public int getC_Currency_ID();
|
||||
|
||||
public I_C_Currency getC_Currency() throws Exception;
|
||||
|
||||
/** Column name C_Invoice_ID */
|
||||
public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID";
|
||||
|
||||
/** Set Invoice.
|
||||
* Invoice Identifier
|
||||
*/
|
||||
public void setC_Invoice_ID (int C_Invoice_ID);
|
||||
|
||||
/** Get Invoice.
|
||||
* Invoice Identifier
|
||||
*/
|
||||
public int getC_Invoice_ID();
|
||||
|
||||
public I_C_Invoice getC_Invoice() throws Exception;
|
||||
|
||||
/** 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 I_C_Payment getC_Payment() throws Exception;
|
||||
|
||||
/** 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 DiscountAmt */
|
||||
public static final String COLUMNNAME_DiscountAmt = "DiscountAmt";
|
||||
|
||||
/** Set Discount Amount.
|
||||
* Calculated amount of discount
|
||||
*/
|
||||
public void setDiscountAmt (BigDecimal DiscountAmt);
|
||||
|
||||
/** Get Discount Amount.
|
||||
* Calculated amount of discount
|
||||
*/
|
||||
public BigDecimal getDiscountAmt();
|
||||
|
||||
/** Column name IsGenerated */
|
||||
public static final String COLUMNNAME_IsGenerated = "IsGenerated";
|
||||
|
||||
/** Set Generated.
|
||||
* This Line is generated
|
||||
*/
|
||||
public void setIsGenerated (boolean IsGenerated);
|
||||
|
||||
/** Get Generated.
|
||||
* This Line is generated
|
||||
*/
|
||||
public boolean isGenerated();
|
||||
|
||||
/** Column name Line */
|
||||
public static final String COLUMNNAME_Line = "Line";
|
||||
|
||||
/** Set Line No.
|
||||
* Unique line for this document
|
||||
*/
|
||||
public void setLine (int Line);
|
||||
|
||||
/** Get Line No.
|
||||
* Unique line for this document
|
||||
*/
|
||||
public int getLine();
|
||||
|
||||
/** 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 WriteOffAmt */
|
||||
public static final String COLUMNNAME_WriteOffAmt = "WriteOffAmt";
|
||||
|
||||
/** Set Write-off Amount.
|
||||
* Amount to write-off
|
||||
*/
|
||||
public void setWriteOffAmt (BigDecimal WriteOffAmt);
|
||||
|
||||
/** Get Write-off Amount.
|
||||
* Amount to write-off
|
||||
*/
|
||||
public BigDecimal getWriteOffAmt();
|
||||
}
|
|
@ -1,202 +0,0 @@
|
|||
/**********************************************************************
|
||||
* This file is part of Adempiere ERP Bazaar *
|
||||
* http://www.adempiere.org *
|
||||
* *
|
||||
* Copyright (C) Trifon Trifonov. *
|
||||
* Copyright (C) Contributors *
|
||||
* *
|
||||
* This program is free software;
|
||||
you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License *
|
||||
* as published by the Free Software Foundation;
|
||||
either version 2 *
|
||||
* of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* 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., 51 Franklin Street, Fifth Floor, Boston, *
|
||||
* MA 02110-1301, USA. *
|
||||
* *
|
||||
* Contributors: *
|
||||
* - Trifon Trifonov (trifonnt@users.sourceforge.net) *
|
||||
* *
|
||||
* Sponsors: *
|
||||
* - Company (http://www.site.com) *
|
||||
**********************************************************************/
|
||||
package org.compiere.model;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Timestamp;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
|
||||
/** Generated Interface for C_Currency
|
||||
* @author Trifon Trifonov (generated)
|
||||
* @version Release 3.4.0s
|
||||
*/
|
||||
public interface I_C_Currency
|
||||
{
|
||||
|
||||
/** TableName=C_Currency */
|
||||
public static final String Table_Name = "C_Currency";
|
||||
|
||||
/** AD_Table_ID=141 */
|
||||
public static final int Table_ID = MTable.getTable_ID(Table_Name);
|
||||
|
||||
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
|
||||
|
||||
/** AccessLevel = 6 - System - Client
|
||||
*/
|
||||
BigDecimal accessLevel = BigDecimal.valueOf(6);
|
||||
|
||||
/** Load Meta Data */
|
||||
|
||||
/** Column name C_Currency_ID */
|
||||
public static final String COLUMNNAME_C_Currency_ID = "C_Currency_ID";
|
||||
|
||||
/** Set Currency.
|
||||
* The Currency for this record
|
||||
*/
|
||||
public void setC_Currency_ID (int C_Currency_ID);
|
||||
|
||||
/** Get Currency.
|
||||
* The Currency for this record
|
||||
*/
|
||||
public int getC_Currency_ID();
|
||||
|
||||
/** Column name CostingPrecision */
|
||||
public static final String COLUMNNAME_CostingPrecision = "CostingPrecision";
|
||||
|
||||
/** Set Costing Precision.
|
||||
* Rounding used costing calculations
|
||||
*/
|
||||
public void setCostingPrecision (int CostingPrecision);
|
||||
|
||||
/** Get Costing Precision.
|
||||
* Rounding used costing calculations
|
||||
*/
|
||||
public int getCostingPrecision();
|
||||
|
||||
/** Column name CurSymbol */
|
||||
public static final String COLUMNNAME_CurSymbol = "CurSymbol";
|
||||
|
||||
/** Set Symbol.
|
||||
* Symbol of the currency (opt used for printing only)
|
||||
*/
|
||||
public void setCurSymbol (String CurSymbol);
|
||||
|
||||
/** Get Symbol.
|
||||
* Symbol of the currency (opt used for printing only)
|
||||
*/
|
||||
public String getCurSymbol();
|
||||
|
||||
/** 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 EMUEntryDate */
|
||||
public static final String COLUMNNAME_EMUEntryDate = "EMUEntryDate";
|
||||
|
||||
/** Set EMU Entry Date.
|
||||
* Date when the currency joined / will join the EMU
|
||||
*/
|
||||
public void setEMUEntryDate (Timestamp EMUEntryDate);
|
||||
|
||||
/** Get EMU Entry Date.
|
||||
* Date when the currency joined / will join the EMU
|
||||
*/
|
||||
public Timestamp getEMUEntryDate();
|
||||
|
||||
/** Column name EMURate */
|
||||
public static final String COLUMNNAME_EMURate = "EMURate";
|
||||
|
||||
/** Set EMU Rate.
|
||||
* Official rate to the Euro
|
||||
*/
|
||||
public void setEMURate (BigDecimal EMURate);
|
||||
|
||||
/** Get EMU Rate.
|
||||
* Official rate to the Euro
|
||||
*/
|
||||
public BigDecimal getEMURate();
|
||||
|
||||
/** Column name IsEMUMember */
|
||||
public static final String COLUMNNAME_IsEMUMember = "IsEMUMember";
|
||||
|
||||
/** Set EMU Member.
|
||||
* This currency is member if the European Monetary Union
|
||||
*/
|
||||
public void setIsEMUMember (boolean IsEMUMember);
|
||||
|
||||
/** Get EMU Member.
|
||||
* This currency is member if the European Monetary Union
|
||||
*/
|
||||
public boolean isEMUMember();
|
||||
|
||||
/** Column name IsEuro */
|
||||
public static final String COLUMNNAME_IsEuro = "IsEuro";
|
||||
|
||||
/** Set The Euro Currency.
|
||||
* This currency is the Euro
|
||||
*/
|
||||
public void setIsEuro (boolean IsEuro);
|
||||
|
||||
/** Get The Euro Currency.
|
||||
* This currency is the Euro
|
||||
*/
|
||||
public boolean isEuro();
|
||||
|
||||
/** Column name ISO_Code */
|
||||
public static final String COLUMNNAME_ISO_Code = "ISO_Code";
|
||||
|
||||
/** Set ISO Currency Code.
|
||||
* Three letter ISO 4217 Code of the Currency
|
||||
*/
|
||||
public void setISO_Code (String ISO_Code);
|
||||
|
||||
/** Get ISO Currency Code.
|
||||
* Three letter ISO 4217 Code of the Currency
|
||||
*/
|
||||
public String getISO_Code();
|
||||
|
||||
/** Column name RoundOffFactor */
|
||||
public static final String COLUMNNAME_RoundOffFactor = "RoundOffFactor";
|
||||
|
||||
/** Set RoundOffFactor.
|
||||
* Used to Round Off Payment Amount
|
||||
*/
|
||||
public void setRoundOffFactor (BigDecimal RoundOffFactor);
|
||||
|
||||
/** Get RoundOffFactor.
|
||||
* Used to Round Off Payment Amount
|
||||
*/
|
||||
public BigDecimal getRoundOffFactor();
|
||||
|
||||
/** Column name StdPrecision */
|
||||
public static final String COLUMNNAME_StdPrecision = "StdPrecision";
|
||||
|
||||
/** Set Standard Precision.
|
||||
* Rule for rounding calculated amounts
|
||||
*/
|
||||
public void setStdPrecision (int StdPrecision);
|
||||
|
||||
/** Get Standard Precision.
|
||||
* Rule for rounding calculated amounts
|
||||
*/
|
||||
public int getStdPrecision();
|
||||
}
|
|
@ -1,803 +0,0 @@
|
|||
/**********************************************************************
|
||||
* This file is part of Adempiere ERP Bazaar *
|
||||
* http://www.adempiere.org *
|
||||
* *
|
||||
* Copyright (C) Trifon Trifonov. *
|
||||
* Copyright (C) Contributors *
|
||||
* *
|
||||
* This program is free software;
|
||||
you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License *
|
||||
* as published by the Free Software Foundation;
|
||||
either version 2 *
|
||||
* of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* 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., 51 Franklin Street, Fifth Floor, Boston, *
|
||||
* MA 02110-1301, USA. *
|
||||
* *
|
||||
* Contributors: *
|
||||
* - Trifon Trifonov (trifonnt@users.sourceforge.net) *
|
||||
* *
|
||||
* Sponsors: *
|
||||
* - Company (http://www.site.com) *
|
||||
**********************************************************************/
|
||||
package org.compiere.model;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Timestamp;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
|
||||
/** Generated Interface for C_Invoice
|
||||
* @author Trifon Trifonov (generated)
|
||||
* @version Release 3.4.0s
|
||||
*/
|
||||
public interface I_C_Invoice
|
||||
{
|
||||
|
||||
/** TableName=C_Invoice */
|
||||
public static final String Table_Name = "C_Invoice";
|
||||
|
||||
/** AD_Table_ID=318 */
|
||||
public static final int Table_ID = MTable.getTable_ID(Table_Name);
|
||||
|
||||
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
|
||||
|
||||
/** AccessLevel = 1 - Org
|
||||
*/
|
||||
BigDecimal accessLevel = BigDecimal.valueOf(1);
|
||||
|
||||
/** Load Meta Data */
|
||||
|
||||
/** Column name AD_OrgTrx_ID */
|
||||
public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID";
|
||||
|
||||
/** Set Trx Organization.
|
||||
* Performing or initiating organization
|
||||
*/
|
||||
public void setAD_OrgTrx_ID (int AD_OrgTrx_ID);
|
||||
|
||||
/** Get Trx Organization.
|
||||
* Performing or initiating organization
|
||||
*/
|
||||
public int getAD_OrgTrx_ID();
|
||||
|
||||
/** Column name AD_User_ID */
|
||||
public static final String COLUMNNAME_AD_User_ID = "AD_User_ID";
|
||||
|
||||
/** Set User/Contact.
|
||||
* User within the system - Internal or Business Partner Contact
|
||||
*/
|
||||
public void setAD_User_ID (int AD_User_ID);
|
||||
|
||||
/** Get User/Contact.
|
||||
* User within the system - Internal or Business Partner Contact
|
||||
*/
|
||||
public int getAD_User_ID();
|
||||
|
||||
public I_AD_User getAD_User() throws Exception;
|
||||
|
||||
/** Column name C_Activity_ID */
|
||||
public static final String COLUMNNAME_C_Activity_ID = "C_Activity_ID";
|
||||
|
||||
/** Set Activity.
|
||||
* Business Activity
|
||||
*/
|
||||
public void setC_Activity_ID (int C_Activity_ID);
|
||||
|
||||
/** Get Activity.
|
||||
* Business Activity
|
||||
*/
|
||||
public int getC_Activity_ID();
|
||||
|
||||
public I_C_Activity getC_Activity() throws Exception;
|
||||
|
||||
/** Column name C_BPartner_ID */
|
||||
public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID";
|
||||
|
||||
/** Set Business Partner .
|
||||
* Identifies a Business Partner
|
||||
*/
|
||||
public void setC_BPartner_ID (int C_BPartner_ID);
|
||||
|
||||
/** Get Business Partner .
|
||||
* Identifies a Business Partner
|
||||
*/
|
||||
public int getC_BPartner_ID();
|
||||
|
||||
public I_C_BPartner getC_BPartner() throws Exception;
|
||||
|
||||
/** Column name C_BPartner_Location_ID */
|
||||
public static final String COLUMNNAME_C_BPartner_Location_ID = "C_BPartner_Location_ID";
|
||||
|
||||
/** Set Partner Location.
|
||||
* Identifies the (ship to) address for this Business Partner
|
||||
*/
|
||||
public void setC_BPartner_Location_ID (int C_BPartner_Location_ID);
|
||||
|
||||
/** Get Partner Location.
|
||||
* Identifies the (ship to) address for this Business Partner
|
||||
*/
|
||||
public int getC_BPartner_Location_ID();
|
||||
|
||||
public I_C_BPartner_Location getC_BPartner_Location() throws Exception;
|
||||
|
||||
/** Column name C_Campaign_ID */
|
||||
public static final String COLUMNNAME_C_Campaign_ID = "C_Campaign_ID";
|
||||
|
||||
/** Set Campaign.
|
||||
* Marketing Campaign
|
||||
*/
|
||||
public void setC_Campaign_ID (int C_Campaign_ID);
|
||||
|
||||
/** Get Campaign.
|
||||
* Marketing Campaign
|
||||
*/
|
||||
public int getC_Campaign_ID();
|
||||
|
||||
public I_C_Campaign getC_Campaign() throws Exception;
|
||||
|
||||
/** Column name C_CashLine_ID */
|
||||
public static final String COLUMNNAME_C_CashLine_ID = "C_CashLine_ID";
|
||||
|
||||
/** Set Cash Journal Line.
|
||||
* Cash Journal Line
|
||||
*/
|
||||
public void setC_CashLine_ID (int C_CashLine_ID);
|
||||
|
||||
/** Get Cash Journal Line.
|
||||
* Cash Journal Line
|
||||
*/
|
||||
public int getC_CashLine_ID();
|
||||
|
||||
public I_C_CashLine getC_CashLine() throws Exception;
|
||||
|
||||
/** Column name C_Charge_ID */
|
||||
public static final String COLUMNNAME_C_Charge_ID = "C_Charge_ID";
|
||||
|
||||
/** Set Charge.
|
||||
* Additional document charges
|
||||
*/
|
||||
public void setC_Charge_ID (int C_Charge_ID);
|
||||
|
||||
/** Get Charge.
|
||||
* Additional document charges
|
||||
*/
|
||||
public int getC_Charge_ID();
|
||||
|
||||
/** Column name C_ConversionType_ID */
|
||||
public static final String COLUMNNAME_C_ConversionType_ID = "C_ConversionType_ID";
|
||||
|
||||
/** Set Currency Type.
|
||||
* Currency Conversion Rate Type
|
||||
*/
|
||||
public void setC_ConversionType_ID (int C_ConversionType_ID);
|
||||
|
||||
/** Get Currency Type.
|
||||
* Currency Conversion Rate Type
|
||||
*/
|
||||
public int getC_ConversionType_ID();
|
||||
|
||||
public I_C_ConversionType getC_ConversionType() throws Exception;
|
||||
|
||||
/** Column name C_Currency_ID */
|
||||
public static final String COLUMNNAME_C_Currency_ID = "C_Currency_ID";
|
||||
|
||||
/** Set Currency.
|
||||
* The Currency for this record
|
||||
*/
|
||||
public void setC_Currency_ID (int C_Currency_ID);
|
||||
|
||||
/** Get Currency.
|
||||
* The Currency for this record
|
||||
*/
|
||||
public int getC_Currency_ID();
|
||||
|
||||
public I_C_Currency getC_Currency() throws Exception;
|
||||
|
||||
/** Column name C_DocType_ID */
|
||||
public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID";
|
||||
|
||||
/** Set Document Type.
|
||||
* Document type or rules
|
||||
*/
|
||||
public void setC_DocType_ID (int C_DocType_ID);
|
||||
|
||||
/** Get Document Type.
|
||||
* Document type or rules
|
||||
*/
|
||||
public int getC_DocType_ID();
|
||||
|
||||
public I_C_DocType getC_DocType() throws Exception;
|
||||
|
||||
/** Column name C_DocTypeTarget_ID */
|
||||
public static final String COLUMNNAME_C_DocTypeTarget_ID = "C_DocTypeTarget_ID";
|
||||
|
||||
/** Set Target Document Type.
|
||||
* Target document type for conversing documents
|
||||
*/
|
||||
public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID);
|
||||
|
||||
/** Get Target Document Type.
|
||||
* Target document type for conversing documents
|
||||
*/
|
||||
public int getC_DocTypeTarget_ID();
|
||||
|
||||
/** Column name C_DunningLevel_ID */
|
||||
public static final String COLUMNNAME_C_DunningLevel_ID = "C_DunningLevel_ID";
|
||||
|
||||
/** Set Dunning Level */
|
||||
public void setC_DunningLevel_ID (int C_DunningLevel_ID);
|
||||
|
||||
/** Get Dunning Level */
|
||||
public int getC_DunningLevel_ID();
|
||||
|
||||
public I_C_DunningLevel getC_DunningLevel() throws Exception;
|
||||
|
||||
/** Column name ChargeAmt */
|
||||
public static final String COLUMNNAME_ChargeAmt = "ChargeAmt";
|
||||
|
||||
/** Set Charge amount.
|
||||
* Charge Amount
|
||||
*/
|
||||
public void setChargeAmt (BigDecimal ChargeAmt);
|
||||
|
||||
/** Get Charge amount.
|
||||
* Charge Amount
|
||||
*/
|
||||
public BigDecimal getChargeAmt();
|
||||
|
||||
/** Column name C_Invoice_ID */
|
||||
public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID";
|
||||
|
||||
/** Set Invoice.
|
||||
* Invoice Identifier
|
||||
*/
|
||||
public void setC_Invoice_ID (int C_Invoice_ID);
|
||||
|
||||
/** Get Invoice.
|
||||
* Invoice Identifier
|
||||
*/
|
||||
public int getC_Invoice_ID();
|
||||
|
||||
/** Column name CopyFrom */
|
||||
public static final String COLUMNNAME_CopyFrom = "CopyFrom";
|
||||
|
||||
/** Set Copy From.
|
||||
* Copy From Record
|
||||
*/
|
||||
public void setCopyFrom (String CopyFrom);
|
||||
|
||||
/** Get Copy From.
|
||||
* Copy From Record
|
||||
*/
|
||||
public String getCopyFrom();
|
||||
|
||||
/** 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 I_C_Order getC_Order() throws Exception;
|
||||
|
||||
/** 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 I_C_Payment getC_Payment() throws Exception;
|
||||
|
||||
/** Column name C_PaymentTerm_ID */
|
||||
public static final String COLUMNNAME_C_PaymentTerm_ID = "C_PaymentTerm_ID";
|
||||
|
||||
/** Set Payment Term.
|
||||
* The terms of Payment (timing, discount)
|
||||
*/
|
||||
public void setC_PaymentTerm_ID (int C_PaymentTerm_ID);
|
||||
|
||||
/** Get Payment Term.
|
||||
* The terms of Payment (timing, discount)
|
||||
*/
|
||||
public int getC_PaymentTerm_ID();
|
||||
|
||||
public I_C_PaymentTerm getC_PaymentTerm() throws Exception;
|
||||
|
||||
/** Column name C_Project_ID */
|
||||
public static final String COLUMNNAME_C_Project_ID = "C_Project_ID";
|
||||
|
||||
/** Set Project.
|
||||
* Financial Project
|
||||
*/
|
||||
public void setC_Project_ID (int C_Project_ID);
|
||||
|
||||
/** Get Project.
|
||||
* Financial Project
|
||||
*/
|
||||
public int getC_Project_ID();
|
||||
|
||||
public I_C_Project getC_Project() throws Exception;
|
||||
|
||||
/** Column name CreateFrom */
|
||||
public static final String COLUMNNAME_CreateFrom = "CreateFrom";
|
||||
|
||||
/** Set Create lines from.
|
||||
* Process which will generate a new document lines based on an existing document
|
||||
*/
|
||||
public void setCreateFrom (String CreateFrom);
|
||||
|
||||
/** Get Create lines from.
|
||||
* Process which will generate a new document lines based on an existing document
|
||||
*/
|
||||
public String getCreateFrom();
|
||||
|
||||
/** Column name DateAcct */
|
||||
public static final String COLUMNNAME_DateAcct = "DateAcct";
|
||||
|
||||
/** Set Account Date.
|
||||
* Accounting Date
|
||||
*/
|
||||
public void setDateAcct (Timestamp DateAcct);
|
||||
|
||||
/** Get Account Date.
|
||||
* Accounting Date
|
||||
*/
|
||||
public Timestamp getDateAcct();
|
||||
|
||||
/** Column name DateInvoiced */
|
||||
public static final String COLUMNNAME_DateInvoiced = "DateInvoiced";
|
||||
|
||||
/** Set Date Invoiced.
|
||||
* Date printed on Invoice
|
||||
*/
|
||||
public void setDateInvoiced (Timestamp DateInvoiced);
|
||||
|
||||
/** Get Date Invoiced.
|
||||
* Date printed on Invoice
|
||||
*/
|
||||
public Timestamp getDateInvoiced();
|
||||
|
||||
/** Column name DateOrdered */
|
||||
public static final String COLUMNNAME_DateOrdered = "DateOrdered";
|
||||
|
||||
/** Set Date Ordered.
|
||||
* Date of Order
|
||||
*/
|
||||
public void setDateOrdered (Timestamp DateOrdered);
|
||||
|
||||
/** Get Date Ordered.
|
||||
* Date of Order
|
||||
*/
|
||||
public Timestamp getDateOrdered();
|
||||
|
||||
/** Column name DatePrinted */
|
||||
public static final String COLUMNNAME_DatePrinted = "DatePrinted";
|
||||
|
||||
/** Set Date printed.
|
||||
* Date the document was printed.
|
||||
*/
|
||||
public void setDatePrinted (Timestamp DatePrinted);
|
||||
|
||||
/** Get Date printed.
|
||||
* Date the document was printed.
|
||||
*/
|
||||
public Timestamp getDatePrinted();
|
||||
|
||||
/** 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 DocAction */
|
||||
public static final String COLUMNNAME_DocAction = "DocAction";
|
||||
|
||||
/** Set Document Action.
|
||||
* The targeted status of the document
|
||||
*/
|
||||
public void setDocAction (String DocAction);
|
||||
|
||||
/** Get Document Action.
|
||||
* The targeted status of the document
|
||||
*/
|
||||
public String getDocAction();
|
||||
|
||||
/** Column name DocStatus */
|
||||
public static final String COLUMNNAME_DocStatus = "DocStatus";
|
||||
|
||||
/** Set Document Status.
|
||||
* The current status of the document
|
||||
*/
|
||||
public void setDocStatus (String DocStatus);
|
||||
|
||||
/** Get Document Status.
|
||||
* The current status of the document
|
||||
*/
|
||||
public String getDocStatus();
|
||||
|
||||
/** Column name DocumentNo */
|
||||
public static final String COLUMNNAME_DocumentNo = "DocumentNo";
|
||||
|
||||
/** Set Document No.
|
||||
* Document sequence number of the document
|
||||
*/
|
||||
public void setDocumentNo (String DocumentNo);
|
||||
|
||||
/** Get Document No.
|
||||
* Document sequence number of the document
|
||||
*/
|
||||
public String getDocumentNo();
|
||||
|
||||
/** Column name DunningGrace */
|
||||
public static final String COLUMNNAME_DunningGrace = "DunningGrace";
|
||||
|
||||
/** Set Dunning Grace */
|
||||
public void setDunningGrace (Timestamp DunningGrace);
|
||||
|
||||
/** Get Dunning Grace */
|
||||
public Timestamp getDunningGrace();
|
||||
|
||||
/** Column name GenerateTo */
|
||||
public static final String COLUMNNAME_GenerateTo = "GenerateTo";
|
||||
|
||||
/** Set Generate To.
|
||||
* Generate To
|
||||
*/
|
||||
public void setGenerateTo (String GenerateTo);
|
||||
|
||||
/** Get Generate To.
|
||||
* Generate To
|
||||
*/
|
||||
public String getGenerateTo();
|
||||
|
||||
/** Column name GrandTotal */
|
||||
public static final String COLUMNNAME_GrandTotal = "GrandTotal";
|
||||
|
||||
/** Set Grand Total.
|
||||
* Total amount of document
|
||||
*/
|
||||
public void setGrandTotal (BigDecimal GrandTotal);
|
||||
|
||||
/** Get Grand Total.
|
||||
* Total amount of document
|
||||
*/
|
||||
public BigDecimal getGrandTotal();
|
||||
|
||||
/** Column name InvoiceCollectionType */
|
||||
public static final String COLUMNNAME_InvoiceCollectionType = "InvoiceCollectionType";
|
||||
|
||||
/** Set Collection Status.
|
||||
* Invoice Collection Status
|
||||
*/
|
||||
public void setInvoiceCollectionType (String InvoiceCollectionType);
|
||||
|
||||
/** Get Collection Status.
|
||||
* Invoice Collection Status
|
||||
*/
|
||||
public String getInvoiceCollectionType();
|
||||
|
||||
/** Column name IsApproved */
|
||||
public static final String COLUMNNAME_IsApproved = "IsApproved";
|
||||
|
||||
/** Set Approved.
|
||||
* Indicates if this document requires approval
|
||||
*/
|
||||
public void setIsApproved (boolean IsApproved);
|
||||
|
||||
/** Get Approved.
|
||||
* Indicates if this document requires approval
|
||||
*/
|
||||
public boolean isApproved();
|
||||
|
||||
/** Column name IsDiscountPrinted */
|
||||
public static final String COLUMNNAME_IsDiscountPrinted = "IsDiscountPrinted";
|
||||
|
||||
/** Set Discount Printed.
|
||||
* Print Discount on Invoice and Order
|
||||
*/
|
||||
public void setIsDiscountPrinted (boolean IsDiscountPrinted);
|
||||
|
||||
/** Get Discount Printed.
|
||||
* Print Discount on Invoice and Order
|
||||
*/
|
||||
public boolean isDiscountPrinted();
|
||||
|
||||
/** Column name IsInDispute */
|
||||
public static final String COLUMNNAME_IsInDispute = "IsInDispute";
|
||||
|
||||
/** Set In Dispute.
|
||||
* Document is in dispute
|
||||
*/
|
||||
public void setIsInDispute (boolean IsInDispute);
|
||||
|
||||
/** Get In Dispute.
|
||||
* Document is in dispute
|
||||
*/
|
||||
public boolean isInDispute();
|
||||
|
||||
/** Column name IsPaid */
|
||||
public static final String COLUMNNAME_IsPaid = "IsPaid";
|
||||
|
||||
/** Set Paid.
|
||||
* The document is paid
|
||||
*/
|
||||
public void setIsPaid (boolean IsPaid);
|
||||
|
||||
/** Get Paid.
|
||||
* The document is paid
|
||||
*/
|
||||
public boolean isPaid();
|
||||
|
||||
/** Column name IsPayScheduleValid */
|
||||
public static final String COLUMNNAME_IsPayScheduleValid = "IsPayScheduleValid";
|
||||
|
||||
/** Set Pay Schedule valid.
|
||||
* Is the Payment Schedule is valid
|
||||
*/
|
||||
public void setIsPayScheduleValid (boolean IsPayScheduleValid);
|
||||
|
||||
/** Get Pay Schedule valid.
|
||||
* Is the Payment Schedule is valid
|
||||
*/
|
||||
public boolean isPayScheduleValid();
|
||||
|
||||
/** Column name IsPrinted */
|
||||
public static final String COLUMNNAME_IsPrinted = "IsPrinted";
|
||||
|
||||
/** Set Printed.
|
||||
* Indicates if this document / line is printed
|
||||
*/
|
||||
public void setIsPrinted (boolean IsPrinted);
|
||||
|
||||
/** Get Printed.
|
||||
* Indicates if this document / line is printed
|
||||
*/
|
||||
public boolean isPrinted();
|
||||
|
||||
/** Column name IsSelfService */
|
||||
public static final String COLUMNNAME_IsSelfService = "IsSelfService";
|
||||
|
||||
/** Set Self-Service.
|
||||
* This is a Self-Service entry or this entry can be changed via Self-Service
|
||||
*/
|
||||
public void setIsSelfService (boolean IsSelfService);
|
||||
|
||||
/** Get Self-Service.
|
||||
* This is a Self-Service entry or this entry can be changed via Self-Service
|
||||
*/
|
||||
public boolean isSelfService();
|
||||
|
||||
/** Column name IsSOTrx */
|
||||
public static final String COLUMNNAME_IsSOTrx = "IsSOTrx";
|
||||
|
||||
/** Set Sales Transaction.
|
||||
* This is a Sales Transaction
|
||||
*/
|
||||
public void setIsSOTrx (boolean IsSOTrx);
|
||||
|
||||
/** Get Sales Transaction.
|
||||
* This is a Sales Transaction
|
||||
*/
|
||||
public boolean isSOTrx();
|
||||
|
||||
/** Column name IsTaxIncluded */
|
||||
public static final String COLUMNNAME_IsTaxIncluded = "IsTaxIncluded";
|
||||
|
||||
/** Set Price includes Tax.
|
||||
* Tax is included in the price
|
||||
*/
|
||||
public void setIsTaxIncluded (boolean IsTaxIncluded);
|
||||
|
||||
/** Get Price includes Tax.
|
||||
* Tax is included in the price
|
||||
*/
|
||||
public boolean isTaxIncluded();
|
||||
|
||||
/** Column name IsTransferred */
|
||||
public static final String COLUMNNAME_IsTransferred = "IsTransferred";
|
||||
|
||||
/** Set Transferred.
|
||||
* Transferred to General Ledger (i.e. accounted)
|
||||
*/
|
||||
public void setIsTransferred (boolean IsTransferred);
|
||||
|
||||
/** Get Transferred.
|
||||
* Transferred to General Ledger (i.e. accounted)
|
||||
*/
|
||||
public boolean isTransferred();
|
||||
|
||||
/** Column name M_PriceList_ID */
|
||||
public static final String COLUMNNAME_M_PriceList_ID = "M_PriceList_ID";
|
||||
|
||||
/** Set Price List.
|
||||
* Unique identifier of a Price List
|
||||
*/
|
||||
public void setM_PriceList_ID (int M_PriceList_ID);
|
||||
|
||||
/** Get Price List.
|
||||
* Unique identifier of a Price List
|
||||
*/
|
||||
public int getM_PriceList_ID();
|
||||
|
||||
public I_M_PriceList getM_PriceList() throws Exception;
|
||||
|
||||
/** Column name M_RMA_ID */
|
||||
public static final String COLUMNNAME_M_RMA_ID = "M_RMA_ID";
|
||||
|
||||
/** Set RMA.
|
||||
* Return Material Authorization
|
||||
*/
|
||||
public void setM_RMA_ID (int M_RMA_ID);
|
||||
|
||||
/** Get RMA.
|
||||
* Return Material Authorization
|
||||
*/
|
||||
public int getM_RMA_ID();
|
||||
|
||||
public I_M_RMA getM_RMA() throws Exception;
|
||||
|
||||
/** Column name PaymentRule */
|
||||
public static final String COLUMNNAME_PaymentRule = "PaymentRule";
|
||||
|
||||
/** Set Payment Rule.
|
||||
* How you pay the invoice
|
||||
*/
|
||||
public void setPaymentRule (String PaymentRule);
|
||||
|
||||
/** Get Payment Rule.
|
||||
* How you pay the invoice
|
||||
*/
|
||||
public String getPaymentRule();
|
||||
|
||||
/** Column name POReference */
|
||||
public static final String COLUMNNAME_POReference = "POReference";
|
||||
|
||||
/** Set Order Reference.
|
||||
* Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner
|
||||
*/
|
||||
public void setPOReference (String POReference);
|
||||
|
||||
/** Get Order Reference.
|
||||
* Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner
|
||||
*/
|
||||
public String getPOReference();
|
||||
|
||||
/** Column name Posted */
|
||||
public static final String COLUMNNAME_Posted = "Posted";
|
||||
|
||||
/** Set Posted.
|
||||
* Posting status
|
||||
*/
|
||||
public void setPosted (boolean Posted);
|
||||
|
||||
/** Get Posted.
|
||||
* Posting status
|
||||
*/
|
||||
public boolean isPosted();
|
||||
|
||||
/** 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 Processing */
|
||||
public static final String COLUMNNAME_Processing = "Processing";
|
||||
|
||||
/** Set Process Now */
|
||||
public void setProcessing (boolean Processing);
|
||||
|
||||
/** Get Process Now */
|
||||
public boolean isProcessing();
|
||||
|
||||
/** Column name Ref_Invoice_ID */
|
||||
public static final String COLUMNNAME_Ref_Invoice_ID = "Ref_Invoice_ID";
|
||||
|
||||
/** Set Referenced Invoice */
|
||||
public void setRef_Invoice_ID (int Ref_Invoice_ID);
|
||||
|
||||
/** Get Referenced Invoice */
|
||||
public int getRef_Invoice_ID();
|
||||
|
||||
/** Column name SalesRep_ID */
|
||||
public static final String COLUMNNAME_SalesRep_ID = "SalesRep_ID";
|
||||
|
||||
/** Set Sales Representative.
|
||||
* Sales Representative or Company Agent
|
||||
*/
|
||||
public void setSalesRep_ID (int SalesRep_ID);
|
||||
|
||||
/** Get Sales Representative.
|
||||
* Sales Representative or Company Agent
|
||||
*/
|
||||
public int getSalesRep_ID();
|
||||
|
||||
/** Column name SendEMail */
|
||||
public static final String COLUMNNAME_SendEMail = "SendEMail";
|
||||
|
||||
/** Set Send EMail.
|
||||
* Enable sending Document EMail
|
||||
*/
|
||||
public void setSendEMail (boolean SendEMail);
|
||||
|
||||
/** Get Send EMail.
|
||||
* Enable sending Document EMail
|
||||
*/
|
||||
public boolean isSendEMail();
|
||||
|
||||
/** Column name TotalLines */
|
||||
public static final String COLUMNNAME_TotalLines = "TotalLines";
|
||||
|
||||
/** Set Total Lines.
|
||||
* Total of all document lines
|
||||
*/
|
||||
public void setTotalLines (BigDecimal TotalLines);
|
||||
|
||||
/** Get Total Lines.
|
||||
* Total of all document lines
|
||||
*/
|
||||
public BigDecimal getTotalLines();
|
||||
|
||||
/** Column name User1_ID */
|
||||
public static final String COLUMNNAME_User1_ID = "User1_ID";
|
||||
|
||||
/** Set User List 1.
|
||||
* User defined list element #1
|
||||
*/
|
||||
public void setUser1_ID (int User1_ID);
|
||||
|
||||
/** Get User List 1.
|
||||
* User defined list element #1
|
||||
*/
|
||||
public int getUser1_ID();
|
||||
|
||||
/** Column name User2_ID */
|
||||
public static final String COLUMNNAME_User2_ID = "User2_ID";
|
||||
|
||||
/** Set User List 2.
|
||||
* User defined list element #2
|
||||
*/
|
||||
public void setUser2_ID (int User2_ID);
|
||||
|
||||
/** Get User List 2.
|
||||
* User defined list element #2
|
||||
*/
|
||||
public int getUser2_ID();
|
||||
}
|
|
@ -1,977 +0,0 @@
|
|||
/**********************************************************************
|
||||
* This file is part of Adempiere ERP Bazaar *
|
||||
* http://www.adempiere.org *
|
||||
* *
|
||||
* Copyright (C) Trifon Trifonov. *
|
||||
* Copyright (C) Contributors *
|
||||
* *
|
||||
* This program is free software;
|
||||
you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License *
|
||||
* as published by the Free Software Foundation;
|
||||
either version 2 *
|
||||
* of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* 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., 51 Franklin Street, Fifth Floor, Boston, *
|
||||
* MA 02110-1301, USA. *
|
||||
* *
|
||||
* Contributors: *
|
||||
* - Trifon Trifonov (trifonnt@users.sourceforge.net) *
|
||||
* *
|
||||
* Sponsors: *
|
||||
* - Company (http://www.site.com) *
|
||||
**********************************************************************/
|
||||
package org.compiere.model;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Timestamp;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
|
||||
/** Generated Interface for C_Order
|
||||
* @author Trifon Trifonov (generated)
|
||||
* @version Release 3.4.0s
|
||||
*/
|
||||
public interface I_C_Order
|
||||
{
|
||||
|
||||
/** TableName=C_Order */
|
||||
public static final String Table_Name = "C_Order";
|
||||
|
||||
/** AD_Table_ID=259 */
|
||||
public static final int Table_ID = MTable.getTable_ID(Table_Name);
|
||||
|
||||
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
|
||||
|
||||
/** AccessLevel = 1 - Org
|
||||
*/
|
||||
BigDecimal accessLevel = BigDecimal.valueOf(1);
|
||||
|
||||
/** Load Meta Data */
|
||||
|
||||
/** Column name AD_OrgTrx_ID */
|
||||
public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID";
|
||||
|
||||
/** Set Trx Organization.
|
||||
* Performing or initiating organization
|
||||
*/
|
||||
public void setAD_OrgTrx_ID (int AD_OrgTrx_ID);
|
||||
|
||||
/** Get Trx Organization.
|
||||
* Performing or initiating organization
|
||||
*/
|
||||
public int getAD_OrgTrx_ID();
|
||||
|
||||
/** Column name AD_User_ID */
|
||||
public static final String COLUMNNAME_AD_User_ID = "AD_User_ID";
|
||||
|
||||
/** Set User/Contact.
|
||||
* User within the system - Internal or Business Partner Contact
|
||||
*/
|
||||
public void setAD_User_ID (int AD_User_ID);
|
||||
|
||||
/** Get User/Contact.
|
||||
* User within the system - Internal or Business Partner Contact
|
||||
*/
|
||||
public int getAD_User_ID();
|
||||
|
||||
public I_AD_User getAD_User() throws Exception;
|
||||
|
||||
/** Column name AmountRefunded */
|
||||
public static final String COLUMNNAME_AmountRefunded = "AmountRefunded";
|
||||
|
||||
/** Set AmountRefunded */
|
||||
public void setAmountRefunded (BigDecimal AmountRefunded);
|
||||
|
||||
/** Get AmountRefunded */
|
||||
public BigDecimal getAmountRefunded();
|
||||
|
||||
/** Column name AmountTendered */
|
||||
public static final String COLUMNNAME_AmountTendered = "AmountTendered";
|
||||
|
||||
/** Set AmountTendered */
|
||||
public void setAmountTendered (BigDecimal AmountTendered);
|
||||
|
||||
/** Get AmountTendered */
|
||||
public BigDecimal getAmountTendered();
|
||||
|
||||
/** Column name Bill_BPartner_ID */
|
||||
public static final String COLUMNNAME_Bill_BPartner_ID = "Bill_BPartner_ID";
|
||||
|
||||
/** Set Invoice Partner.
|
||||
* Business Partner to be invoiced
|
||||
*/
|
||||
public void setBill_BPartner_ID (int Bill_BPartner_ID);
|
||||
|
||||
/** Get Invoice Partner.
|
||||
* Business Partner to be invoiced
|
||||
*/
|
||||
public int getBill_BPartner_ID();
|
||||
|
||||
/** Column name Bill_Location_ID */
|
||||
public static final String COLUMNNAME_Bill_Location_ID = "Bill_Location_ID";
|
||||
|
||||
/** Set Invoice Location.
|
||||
* Business Partner Location for invoicing
|
||||
*/
|
||||
public void setBill_Location_ID (int Bill_Location_ID);
|
||||
|
||||
/** Get Invoice Location.
|
||||
* Business Partner Location for invoicing
|
||||
*/
|
||||
public int getBill_Location_ID();
|
||||
|
||||
/** Column name Bill_User_ID */
|
||||
public static final String COLUMNNAME_Bill_User_ID = "Bill_User_ID";
|
||||
|
||||
/** Set Invoice Contact.
|
||||
* Business Partner Contact for invoicing
|
||||
*/
|
||||
public void setBill_User_ID (int Bill_User_ID);
|
||||
|
||||
/** Get Invoice Contact.
|
||||
* Business Partner Contact for invoicing
|
||||
*/
|
||||
public int getBill_User_ID();
|
||||
|
||||
/** Column name C_Activity_ID */
|
||||
public static final String COLUMNNAME_C_Activity_ID = "C_Activity_ID";
|
||||
|
||||
/** Set Activity.
|
||||
* Business Activity
|
||||
*/
|
||||
public void setC_Activity_ID (int C_Activity_ID);
|
||||
|
||||
/** Get Activity.
|
||||
* Business Activity
|
||||
*/
|
||||
public int getC_Activity_ID();
|
||||
|
||||
public I_C_Activity getC_Activity() throws Exception;
|
||||
|
||||
/** Column name C_BPartner_ID */
|
||||
public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID";
|
||||
|
||||
/** Set Business Partner .
|
||||
* Identifies a Business Partner
|
||||
*/
|
||||
public void setC_BPartner_ID (int C_BPartner_ID);
|
||||
|
||||
/** Get Business Partner .
|
||||
* Identifies a Business Partner
|
||||
*/
|
||||
public int getC_BPartner_ID();
|
||||
|
||||
public I_C_BPartner getC_BPartner() throws Exception;
|
||||
|
||||
/** Column name C_BPartner_Location_ID */
|
||||
public static final String COLUMNNAME_C_BPartner_Location_ID = "C_BPartner_Location_ID";
|
||||
|
||||
/** Set Partner Location.
|
||||
* Identifies the (ship to) address for this Business Partner
|
||||
*/
|
||||
public void setC_BPartner_Location_ID (int C_BPartner_Location_ID);
|
||||
|
||||
/** Get Partner Location.
|
||||
* Identifies the (ship to) address for this Business Partner
|
||||
*/
|
||||
public int getC_BPartner_Location_ID();
|
||||
|
||||
public I_C_BPartner_Location getC_BPartner_Location() throws Exception;
|
||||
|
||||
/** Column name C_Campaign_ID */
|
||||
public static final String COLUMNNAME_C_Campaign_ID = "C_Campaign_ID";
|
||||
|
||||
/** Set Campaign.
|
||||
* Marketing Campaign
|
||||
*/
|
||||
public void setC_Campaign_ID (int C_Campaign_ID);
|
||||
|
||||
/** Get Campaign.
|
||||
* Marketing Campaign
|
||||
*/
|
||||
public int getC_Campaign_ID();
|
||||
|
||||
public I_C_Campaign getC_Campaign() throws Exception;
|
||||
|
||||
/** Column name C_CashLine_ID */
|
||||
public static final String COLUMNNAME_C_CashLine_ID = "C_CashLine_ID";
|
||||
|
||||
/** Set Cash Journal Line.
|
||||
* Cash Journal Line
|
||||
*/
|
||||
public void setC_CashLine_ID (int C_CashLine_ID);
|
||||
|
||||
/** Get Cash Journal Line.
|
||||
* Cash Journal Line
|
||||
*/
|
||||
public int getC_CashLine_ID();
|
||||
|
||||
public I_C_CashLine getC_CashLine() throws Exception;
|
||||
|
||||
/** Column name C_Charge_ID */
|
||||
public static final String COLUMNNAME_C_Charge_ID = "C_Charge_ID";
|
||||
|
||||
/** Set Charge.
|
||||
* Additional document charges
|
||||
*/
|
||||
public void setC_Charge_ID (int C_Charge_ID);
|
||||
|
||||
/** Get Charge.
|
||||
* Additional document charges
|
||||
*/
|
||||
public int getC_Charge_ID();
|
||||
|
||||
/** Column name C_ConversionType_ID */
|
||||
public static final String COLUMNNAME_C_ConversionType_ID = "C_ConversionType_ID";
|
||||
|
||||
/** Set Currency Type.
|
||||
* Currency Conversion Rate Type
|
||||
*/
|
||||
public void setC_ConversionType_ID (int C_ConversionType_ID);
|
||||
|
||||
/** Get Currency Type.
|
||||
* Currency Conversion Rate Type
|
||||
*/
|
||||
public int getC_ConversionType_ID();
|
||||
|
||||
public I_C_ConversionType getC_ConversionType() throws Exception;
|
||||
|
||||
/** Column name C_Currency_ID */
|
||||
public static final String COLUMNNAME_C_Currency_ID = "C_Currency_ID";
|
||||
|
||||
/** Set Currency.
|
||||
* The Currency for this record
|
||||
*/
|
||||
public void setC_Currency_ID (int C_Currency_ID);
|
||||
|
||||
/** Get Currency.
|
||||
* The Currency for this record
|
||||
*/
|
||||
public int getC_Currency_ID();
|
||||
|
||||
public I_C_Currency getC_Currency() throws Exception;
|
||||
|
||||
/** Column name C_DocType_ID */
|
||||
public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID";
|
||||
|
||||
/** Set Document Type.
|
||||
* Document type or rules
|
||||
*/
|
||||
public void setC_DocType_ID (int C_DocType_ID);
|
||||
|
||||
/** Get Document Type.
|
||||
* Document type or rules
|
||||
*/
|
||||
public int getC_DocType_ID();
|
||||
|
||||
public I_C_DocType getC_DocType() throws Exception;
|
||||
|
||||
/** Column name C_DocTypeTarget_ID */
|
||||
public static final String COLUMNNAME_C_DocTypeTarget_ID = "C_DocTypeTarget_ID";
|
||||
|
||||
/** Set Target Document Type.
|
||||
* Target document type for conversing documents
|
||||
*/
|
||||
public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID);
|
||||
|
||||
/** Get Target Document Type.
|
||||
* Target document type for conversing documents
|
||||
*/
|
||||
public int getC_DocTypeTarget_ID();
|
||||
|
||||
/** Column name ChargeAmt */
|
||||
public static final String COLUMNNAME_ChargeAmt = "ChargeAmt";
|
||||
|
||||
/** Set Charge amount.
|
||||
* Charge Amount
|
||||
*/
|
||||
public void setChargeAmt (BigDecimal ChargeAmt);
|
||||
|
||||
/** Get Charge amount.
|
||||
* Charge Amount
|
||||
*/
|
||||
public BigDecimal getChargeAmt();
|
||||
|
||||
/** Column name CopyFrom */
|
||||
public static final String COLUMNNAME_CopyFrom = "CopyFrom";
|
||||
|
||||
/** Set Copy From.
|
||||
* Copy From Record
|
||||
*/
|
||||
public void setCopyFrom (String CopyFrom);
|
||||
|
||||
/** Get Copy From.
|
||||
* Copy From Record
|
||||
*/
|
||||
public String getCopyFrom();
|
||||
|
||||
/** 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();
|
||||
|
||||
/** 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 I_C_Payment getC_Payment() throws Exception;
|
||||
|
||||
/** Column name C_PaymentTerm_ID */
|
||||
public static final String COLUMNNAME_C_PaymentTerm_ID = "C_PaymentTerm_ID";
|
||||
|
||||
/** Set Payment Term.
|
||||
* The terms of Payment (timing, discount)
|
||||
*/
|
||||
public void setC_PaymentTerm_ID (int C_PaymentTerm_ID);
|
||||
|
||||
/** Get Payment Term.
|
||||
* The terms of Payment (timing, discount)
|
||||
*/
|
||||
public int getC_PaymentTerm_ID();
|
||||
|
||||
public I_C_PaymentTerm getC_PaymentTerm() throws Exception;
|
||||
|
||||
/** Column name C_POS_ID */
|
||||
public static final String COLUMNNAME_C_POS_ID = "C_POS_ID";
|
||||
|
||||
/** Set POS Terminal.
|
||||
* Point of Sales Terminal
|
||||
*/
|
||||
public void setC_POS_ID (int C_POS_ID);
|
||||
|
||||
/** Get POS Terminal.
|
||||
* Point of Sales Terminal
|
||||
*/
|
||||
public int getC_POS_ID();
|
||||
|
||||
public I_C_POS getC_POS() throws Exception;
|
||||
|
||||
/** Column name C_Project_ID */
|
||||
public static final String COLUMNNAME_C_Project_ID = "C_Project_ID";
|
||||
|
||||
/** Set Project.
|
||||
* Financial Project
|
||||
*/
|
||||
public void setC_Project_ID (int C_Project_ID);
|
||||
|
||||
/** Get Project.
|
||||
* Financial Project
|
||||
*/
|
||||
public int getC_Project_ID();
|
||||
|
||||
public I_C_Project getC_Project() throws Exception;
|
||||
|
||||
/** Column name DateAcct */
|
||||
public static final String COLUMNNAME_DateAcct = "DateAcct";
|
||||
|
||||
/** Set Account Date.
|
||||
* Accounting Date
|
||||
*/
|
||||
public void setDateAcct (Timestamp DateAcct);
|
||||
|
||||
/** Get Account Date.
|
||||
* Accounting Date
|
||||
*/
|
||||
public Timestamp getDateAcct();
|
||||
|
||||
/** Column name DateOrdered */
|
||||
public static final String COLUMNNAME_DateOrdered = "DateOrdered";
|
||||
|
||||
/** Set Date Ordered.
|
||||
* Date of Order
|
||||
*/
|
||||
public void setDateOrdered (Timestamp DateOrdered);
|
||||
|
||||
/** Get Date Ordered.
|
||||
* Date of Order
|
||||
*/
|
||||
public Timestamp getDateOrdered();
|
||||
|
||||
/** Column name DatePrinted */
|
||||
public static final String COLUMNNAME_DatePrinted = "DatePrinted";
|
||||
|
||||
/** Set Date printed.
|
||||
* Date the document was printed.
|
||||
*/
|
||||
public void setDatePrinted (Timestamp DatePrinted);
|
||||
|
||||
/** Get Date printed.
|
||||
* Date the document was printed.
|
||||
*/
|
||||
public Timestamp getDatePrinted();
|
||||
|
||||
/** 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 DeliveryRule */
|
||||
public static final String COLUMNNAME_DeliveryRule = "DeliveryRule";
|
||||
|
||||
/** Set Delivery Rule.
|
||||
* Defines the timing of Delivery
|
||||
*/
|
||||
public void setDeliveryRule (String DeliveryRule);
|
||||
|
||||
/** Get Delivery Rule.
|
||||
* Defines the timing of Delivery
|
||||
*/
|
||||
public String getDeliveryRule();
|
||||
|
||||
/** Column name DeliveryViaRule */
|
||||
public static final String COLUMNNAME_DeliveryViaRule = "DeliveryViaRule";
|
||||
|
||||
/** Set Delivery Via.
|
||||
* How the order will be delivered
|
||||
*/
|
||||
public void setDeliveryViaRule (String DeliveryViaRule);
|
||||
|
||||
/** Get Delivery Via.
|
||||
* How the order will be delivered
|
||||
*/
|
||||
public String getDeliveryViaRule();
|
||||
|
||||
/** 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 DocAction */
|
||||
public static final String COLUMNNAME_DocAction = "DocAction";
|
||||
|
||||
/** Set Document Action.
|
||||
* The targeted status of the document
|
||||
*/
|
||||
public void setDocAction (String DocAction);
|
||||
|
||||
/** Get Document Action.
|
||||
* The targeted status of the document
|
||||
*/
|
||||
public String getDocAction();
|
||||
|
||||
/** Column name DocStatus */
|
||||
public static final String COLUMNNAME_DocStatus = "DocStatus";
|
||||
|
||||
/** Set Document Status.
|
||||
* The current status of the document
|
||||
*/
|
||||
public void setDocStatus (String DocStatus);
|
||||
|
||||
/** Get Document Status.
|
||||
* The current status of the document
|
||||
*/
|
||||
public String getDocStatus();
|
||||
|
||||
/** Column name DocumentNo */
|
||||
public static final String COLUMNNAME_DocumentNo = "DocumentNo";
|
||||
|
||||
/** Set Document No.
|
||||
* Document sequence number of the document
|
||||
*/
|
||||
public void setDocumentNo (String DocumentNo);
|
||||
|
||||
/** Get Document No.
|
||||
* Document sequence number of the document
|
||||
*/
|
||||
public String getDocumentNo();
|
||||
|
||||
/** Column name FreightAmt */
|
||||
public static final String COLUMNNAME_FreightAmt = "FreightAmt";
|
||||
|
||||
/** Set Freight Amount.
|
||||
* Freight Amount
|
||||
*/
|
||||
public void setFreightAmt (BigDecimal FreightAmt);
|
||||
|
||||
/** Get Freight Amount.
|
||||
* Freight Amount
|
||||
*/
|
||||
public BigDecimal getFreightAmt();
|
||||
|
||||
/** Column name FreightCostRule */
|
||||
public static final String COLUMNNAME_FreightCostRule = "FreightCostRule";
|
||||
|
||||
/** Set Freight Cost Rule.
|
||||
* Method for charging Freight
|
||||
*/
|
||||
public void setFreightCostRule (String FreightCostRule);
|
||||
|
||||
/** Get Freight Cost Rule.
|
||||
* Method for charging Freight
|
||||
*/
|
||||
public String getFreightCostRule();
|
||||
|
||||
/** Column name GrandTotal */
|
||||
public static final String COLUMNNAME_GrandTotal = "GrandTotal";
|
||||
|
||||
/** Set Grand Total.
|
||||
* Total amount of document
|
||||
*/
|
||||
public void setGrandTotal (BigDecimal GrandTotal);
|
||||
|
||||
/** Get Grand Total.
|
||||
* Total amount of document
|
||||
*/
|
||||
public BigDecimal getGrandTotal();
|
||||
|
||||
/** Column name InvoiceRule */
|
||||
public static final String COLUMNNAME_InvoiceRule = "InvoiceRule";
|
||||
|
||||
/** Set Invoice Rule.
|
||||
* Frequency and method of invoicing
|
||||
*/
|
||||
public void setInvoiceRule (String InvoiceRule);
|
||||
|
||||
/** Get Invoice Rule.
|
||||
* Frequency and method of invoicing
|
||||
*/
|
||||
public String getInvoiceRule();
|
||||
|
||||
/** Column name IsApproved */
|
||||
public static final String COLUMNNAME_IsApproved = "IsApproved";
|
||||
|
||||
/** Set Approved.
|
||||
* Indicates if this document requires approval
|
||||
*/
|
||||
public void setIsApproved (boolean IsApproved);
|
||||
|
||||
/** Get Approved.
|
||||
* Indicates if this document requires approval
|
||||
*/
|
||||
public boolean isApproved();
|
||||
|
||||
/** Column name IsCreditApproved */
|
||||
public static final String COLUMNNAME_IsCreditApproved = "IsCreditApproved";
|
||||
|
||||
/** Set Credit Approved.
|
||||
* Credit has been approved
|
||||
*/
|
||||
public void setIsCreditApproved (boolean IsCreditApproved);
|
||||
|
||||
/** Get Credit Approved.
|
||||
* Credit has been approved
|
||||
*/
|
||||
public boolean isCreditApproved();
|
||||
|
||||
/** Column name IsDelivered */
|
||||
public static final String COLUMNNAME_IsDelivered = "IsDelivered";
|
||||
|
||||
/** Set Delivered */
|
||||
public void setIsDelivered (boolean IsDelivered);
|
||||
|
||||
/** Get Delivered */
|
||||
public boolean isDelivered();
|
||||
|
||||
/** Column name IsDiscountPrinted */
|
||||
public static final String COLUMNNAME_IsDiscountPrinted = "IsDiscountPrinted";
|
||||
|
||||
/** Set Discount Printed.
|
||||
* Print Discount on Invoice and Order
|
||||
*/
|
||||
public void setIsDiscountPrinted (boolean IsDiscountPrinted);
|
||||
|
||||
/** Get Discount Printed.
|
||||
* Print Discount on Invoice and Order
|
||||
*/
|
||||
public boolean isDiscountPrinted();
|
||||
|
||||
/** Column name IsDropShip */
|
||||
public static final String COLUMNNAME_IsDropShip = "IsDropShip";
|
||||
|
||||
/** Set Drop Shipment.
|
||||
* Drop Shipments are sent from the Vendor directly to the Customer
|
||||
*/
|
||||
public void setIsDropShip (boolean IsDropShip);
|
||||
|
||||
/** Get Drop Shipment.
|
||||
* Drop Shipments are sent from the Vendor directly to the Customer
|
||||
*/
|
||||
public boolean isDropShip();
|
||||
|
||||
/** Column name IsInvoiced */
|
||||
public static final String COLUMNNAME_IsInvoiced = "IsInvoiced";
|
||||
|
||||
/** Set Invoiced.
|
||||
* Is this invoiced?
|
||||
*/
|
||||
public void setIsInvoiced (boolean IsInvoiced);
|
||||
|
||||
/** Get Invoiced.
|
||||
* Is this invoiced?
|
||||
*/
|
||||
public boolean isInvoiced();
|
||||
|
||||
/** Column name IsPrinted */
|
||||
public static final String COLUMNNAME_IsPrinted = "IsPrinted";
|
||||
|
||||
/** Set Printed.
|
||||
* Indicates if this document / line is printed
|
||||
*/
|
||||
public void setIsPrinted (boolean IsPrinted);
|
||||
|
||||
/** Get Printed.
|
||||
* Indicates if this document / line is printed
|
||||
*/
|
||||
public boolean isPrinted();
|
||||
|
||||
/** Column name IsSelected */
|
||||
public static final String COLUMNNAME_IsSelected = "IsSelected";
|
||||
|
||||
/** Set Selected */
|
||||
public void setIsSelected (boolean IsSelected);
|
||||
|
||||
/** Get Selected */
|
||||
public boolean isSelected();
|
||||
|
||||
/** Column name IsSelfService */
|
||||
public static final String COLUMNNAME_IsSelfService = "IsSelfService";
|
||||
|
||||
/** Set Self-Service.
|
||||
* This is a Self-Service entry or this entry can be changed via Self-Service
|
||||
*/
|
||||
public void setIsSelfService (boolean IsSelfService);
|
||||
|
||||
/** Get Self-Service.
|
||||
* This is a Self-Service entry or this entry can be changed via Self-Service
|
||||
*/
|
||||
public boolean isSelfService();
|
||||
|
||||
/** Column name IsSOTrx */
|
||||
public static final String COLUMNNAME_IsSOTrx = "IsSOTrx";
|
||||
|
||||
/** Set Sales Transaction.
|
||||
* This is a Sales Transaction
|
||||
*/
|
||||
public void setIsSOTrx (boolean IsSOTrx);
|
||||
|
||||
/** Get Sales Transaction.
|
||||
* This is a Sales Transaction
|
||||
*/
|
||||
public boolean isSOTrx();
|
||||
|
||||
/** Column name IsTaxIncluded */
|
||||
public static final String COLUMNNAME_IsTaxIncluded = "IsTaxIncluded";
|
||||
|
||||
/** Set Price includes Tax.
|
||||
* Tax is included in the price
|
||||
*/
|
||||
public void setIsTaxIncluded (boolean IsTaxIncluded);
|
||||
|
||||
/** Get Price includes Tax.
|
||||
* Tax is included in the price
|
||||
*/
|
||||
public boolean isTaxIncluded();
|
||||
|
||||
/** Column name IsTransferred */
|
||||
public static final String COLUMNNAME_IsTransferred = "IsTransferred";
|
||||
|
||||
/** Set Transferred.
|
||||
* Transferred to General Ledger (i.e. accounted)
|
||||
*/
|
||||
public void setIsTransferred (boolean IsTransferred);
|
||||
|
||||
/** Get Transferred.
|
||||
* Transferred to General Ledger (i.e. accounted)
|
||||
*/
|
||||
public boolean isTransferred();
|
||||
|
||||
/** Column name M_PriceList_ID */
|
||||
public static final String COLUMNNAME_M_PriceList_ID = "M_PriceList_ID";
|
||||
|
||||
/** Set Price List.
|
||||
* Unique identifier of a Price List
|
||||
*/
|
||||
public void setM_PriceList_ID (int M_PriceList_ID);
|
||||
|
||||
/** Get Price List.
|
||||
* Unique identifier of a Price List
|
||||
*/
|
||||
public int getM_PriceList_ID();
|
||||
|
||||
public I_M_PriceList getM_PriceList() throws Exception;
|
||||
|
||||
/** Column name M_Shipper_ID */
|
||||
public static final String COLUMNNAME_M_Shipper_ID = "M_Shipper_ID";
|
||||
|
||||
/** Set Shipper.
|
||||
* Method or manner of product delivery
|
||||
*/
|
||||
public void setM_Shipper_ID (int M_Shipper_ID);
|
||||
|
||||
/** Get Shipper.
|
||||
* Method or manner of product delivery
|
||||
*/
|
||||
public int getM_Shipper_ID();
|
||||
|
||||
public I_M_Shipper getM_Shipper() throws Exception;
|
||||
|
||||
/** Column name M_Warehouse_ID */
|
||||
public static final String COLUMNNAME_M_Warehouse_ID = "M_Warehouse_ID";
|
||||
|
||||
/** Set Warehouse.
|
||||
* Storage Warehouse and Service Point
|
||||
*/
|
||||
public void setM_Warehouse_ID (int M_Warehouse_ID);
|
||||
|
||||
/** Get Warehouse.
|
||||
* Storage Warehouse and Service Point
|
||||
*/
|
||||
public int getM_Warehouse_ID();
|
||||
|
||||
public I_M_Warehouse getM_Warehouse() throws Exception;
|
||||
|
||||
/** Column name OrderType */
|
||||
public static final String COLUMNNAME_OrderType = "OrderType";
|
||||
|
||||
/** Set OrderType */
|
||||
public void setOrderType (String OrderType);
|
||||
|
||||
/** Get OrderType */
|
||||
public String getOrderType();
|
||||
|
||||
/** Column name Pay_BPartner_ID */
|
||||
public static final String COLUMNNAME_Pay_BPartner_ID = "Pay_BPartner_ID";
|
||||
|
||||
/** Set Payment BPartner.
|
||||
* Business Partner responsible for the payment
|
||||
*/
|
||||
public void setPay_BPartner_ID (int Pay_BPartner_ID);
|
||||
|
||||
/** Get Payment BPartner.
|
||||
* Business Partner responsible for the payment
|
||||
*/
|
||||
public int getPay_BPartner_ID();
|
||||
|
||||
/** Column name Pay_Location_ID */
|
||||
public static final String COLUMNNAME_Pay_Location_ID = "Pay_Location_ID";
|
||||
|
||||
/** Set Payment Location.
|
||||
* Location of the Business Partner responsible for the payment
|
||||
*/
|
||||
public void setPay_Location_ID (int Pay_Location_ID);
|
||||
|
||||
/** Get Payment Location.
|
||||
* Location of the Business Partner responsible for the payment
|
||||
*/
|
||||
public int getPay_Location_ID();
|
||||
|
||||
/** Column name PaymentRule */
|
||||
public static final String COLUMNNAME_PaymentRule = "PaymentRule";
|
||||
|
||||
/** Set Payment Rule.
|
||||
* How you pay the invoice
|
||||
*/
|
||||
public void setPaymentRule (String PaymentRule);
|
||||
|
||||
/** Get Payment Rule.
|
||||
* How you pay the invoice
|
||||
*/
|
||||
public String getPaymentRule();
|
||||
|
||||
/** Column name POReference */
|
||||
public static final String COLUMNNAME_POReference = "POReference";
|
||||
|
||||
/** Set Order Reference.
|
||||
* Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner
|
||||
*/
|
||||
public void setPOReference (String POReference);
|
||||
|
||||
/** Get Order Reference.
|
||||
* Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner
|
||||
*/
|
||||
public String getPOReference();
|
||||
|
||||
/** Column name Posted */
|
||||
public static final String COLUMNNAME_Posted = "Posted";
|
||||
|
||||
/** Set Posted.
|
||||
* Posting status
|
||||
*/
|
||||
public void setPosted (boolean Posted);
|
||||
|
||||
/** Get Posted.
|
||||
* Posting status
|
||||
*/
|
||||
public boolean isPosted();
|
||||
|
||||
/** Column name PriorityRule */
|
||||
public static final String COLUMNNAME_PriorityRule = "PriorityRule";
|
||||
|
||||
/** Set Priority.
|
||||
* Priority of a document
|
||||
*/
|
||||
public void setPriorityRule (String PriorityRule);
|
||||
|
||||
/** Get Priority.
|
||||
* Priority of a document
|
||||
*/
|
||||
public String getPriorityRule();
|
||||
|
||||
/** 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 Processing */
|
||||
public static final String COLUMNNAME_Processing = "Processing";
|
||||
|
||||
/** Set Process Now */
|
||||
public void setProcessing (boolean Processing);
|
||||
|
||||
/** Get Process Now */
|
||||
public boolean isProcessing();
|
||||
|
||||
/** Column name Ref_Order_ID */
|
||||
public static final String COLUMNNAME_Ref_Order_ID = "Ref_Order_ID";
|
||||
|
||||
/** Set Referenced Order.
|
||||
* Reference to corresponding Sales/Purchase Order
|
||||
*/
|
||||
public void setRef_Order_ID (int Ref_Order_ID);
|
||||
|
||||
/** Get Referenced Order.
|
||||
* Reference to corresponding Sales/Purchase Order
|
||||
*/
|
||||
public int getRef_Order_ID();
|
||||
|
||||
/** Column name SalesRep_ID */
|
||||
public static final String COLUMNNAME_SalesRep_ID = "SalesRep_ID";
|
||||
|
||||
/** Set Sales Representative.
|
||||
* Sales Representative or Company Agent
|
||||
*/
|
||||
public void setSalesRep_ID (int SalesRep_ID);
|
||||
|
||||
/** Get Sales Representative.
|
||||
* Sales Representative or Company Agent
|
||||
*/
|
||||
public int getSalesRep_ID();
|
||||
|
||||
/** Column name SendEMail */
|
||||
public static final String COLUMNNAME_SendEMail = "SendEMail";
|
||||
|
||||
/** Set Send EMail.
|
||||
* Enable sending Document EMail
|
||||
*/
|
||||
public void setSendEMail (boolean SendEMail);
|
||||
|
||||
/** Get Send EMail.
|
||||
* Enable sending Document EMail
|
||||
*/
|
||||
public boolean isSendEMail();
|
||||
|
||||
/** Column name TotalLines */
|
||||
public static final String COLUMNNAME_TotalLines = "TotalLines";
|
||||
|
||||
/** Set Total Lines.
|
||||
* Total of all document lines
|
||||
*/
|
||||
public void setTotalLines (BigDecimal TotalLines);
|
||||
|
||||
/** Get Total Lines.
|
||||
* Total of all document lines
|
||||
*/
|
||||
public BigDecimal getTotalLines();
|
||||
|
||||
/** Column name User1_ID */
|
||||
public static final String COLUMNNAME_User1_ID = "User1_ID";
|
||||
|
||||
/** Set User List 1.
|
||||
* User defined list element #1
|
||||
*/
|
||||
public void setUser1_ID (int User1_ID);
|
||||
|
||||
/** Get User List 1.
|
||||
* User defined list element #1
|
||||
*/
|
||||
public int getUser1_ID();
|
||||
|
||||
/** Column name User2_ID */
|
||||
public static final String COLUMNNAME_User2_ID = "User2_ID";
|
||||
|
||||
/** Set User List 2.
|
||||
* User defined list element #2
|
||||
*/
|
||||
public void setUser2_ID (int User2_ID);
|
||||
|
||||
/** Get User List 2.
|
||||
* User defined list element #2
|
||||
*/
|
||||
public int getUser2_ID();
|
||||
|
||||
/** Column name Volume */
|
||||
public static final String COLUMNNAME_Volume = "Volume";
|
||||
|
||||
/** Set Volume.
|
||||
* Volume of a product
|
||||
*/
|
||||
public void setVolume (BigDecimal Volume);
|
||||
|
||||
/** Get Volume.
|
||||
* Volume of a product
|
||||
*/
|
||||
public BigDecimal getVolume();
|
||||
|
||||
/** Column name Weight */
|
||||
public static final String COLUMNNAME_Weight = "Weight";
|
||||
|
||||
/** Set Weight.
|
||||
* Weight of a product
|
||||
*/
|
||||
public void setWeight (BigDecimal Weight);
|
||||
|
||||
/** Get Weight.
|
||||
* Weight of a product
|
||||
*/
|
||||
public BigDecimal getWeight();
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,266 +0,0 @@
|
|||
/**********************************************************************
|
||||
* This file is part of Adempiere ERP Bazaar *
|
||||
* http://www.adempiere.org *
|
||||
* *
|
||||
* Copyright (C) Trifon Trifonov. *
|
||||
* Copyright (C) Contributors *
|
||||
* *
|
||||
* This program is free software;
|
||||
you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License *
|
||||
* as published by the Free Software Foundation;
|
||||
either version 2 *
|
||||
* of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* 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., 51 Franklin Street, Fifth Floor, Boston, *
|
||||
* MA 02110-1301, USA. *
|
||||
* *
|
||||
* Contributors: *
|
||||
* - Trifon Trifonov (trifonnt@users.sourceforge.net) *
|
||||
* *
|
||||
* Sponsors: *
|
||||
* - Company (http://www.site.com) *
|
||||
**********************************************************************/
|
||||
package org.compiere.model;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
|
||||
/** Generated Interface for M_InventoryLine
|
||||
* @author Trifon Trifonov (generated)
|
||||
* @version Release 3.4.0s
|
||||
*/
|
||||
public interface I_M_InventoryLine
|
||||
{
|
||||
|
||||
/** TableName=M_InventoryLine */
|
||||
public static final String Table_Name = "M_InventoryLine";
|
||||
|
||||
/** AD_Table_ID=322 */
|
||||
public static final int Table_ID = MTable.getTable_ID(Table_Name);
|
||||
|
||||
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
|
||||
|
||||
/** AccessLevel = 1 - Org
|
||||
*/
|
||||
BigDecimal accessLevel = BigDecimal.valueOf(1);
|
||||
|
||||
/** Load Meta Data */
|
||||
|
||||
/** Column name C_Charge_ID */
|
||||
public static final String COLUMNNAME_C_Charge_ID = "C_Charge_ID";
|
||||
|
||||
/** Set Charge.
|
||||
* Additional document charges
|
||||
*/
|
||||
public void setC_Charge_ID (int C_Charge_ID);
|
||||
|
||||
/** Get Charge.
|
||||
* Additional document charges
|
||||
*/
|
||||
public int getC_Charge_ID();
|
||||
|
||||
public I_C_Charge getC_Charge() throws Exception;
|
||||
|
||||
/** 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 InventoryType */
|
||||
public static final String COLUMNNAME_InventoryType = "InventoryType";
|
||||
|
||||
/** Set Inventory Type.
|
||||
* Type of inventory difference
|
||||
*/
|
||||
public void setInventoryType (String InventoryType);
|
||||
|
||||
/** Get Inventory Type.
|
||||
* Type of inventory difference
|
||||
*/
|
||||
public String getInventoryType();
|
||||
|
||||
/** Column name Line */
|
||||
public static final String COLUMNNAME_Line = "Line";
|
||||
|
||||
/** Set Line No.
|
||||
* Unique line for this document
|
||||
*/
|
||||
public void setLine (int Line);
|
||||
|
||||
/** Get Line No.
|
||||
* Unique line for this document
|
||||
*/
|
||||
public int getLine();
|
||||
|
||||
/** Column name M_AttributeSetInstance_ID */
|
||||
public static final String COLUMNNAME_M_AttributeSetInstance_ID = "M_AttributeSetInstance_ID";
|
||||
|
||||
/** Set Attribute Set Instance.
|
||||
* Product Attribute Set Instance
|
||||
*/
|
||||
public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID);
|
||||
|
||||
/** Get Attribute Set Instance.
|
||||
* Product Attribute Set Instance
|
||||
*/
|
||||
public int getM_AttributeSetInstance_ID();
|
||||
|
||||
/** Column name M_Inventory_ID */
|
||||
public static final String COLUMNNAME_M_Inventory_ID = "M_Inventory_ID";
|
||||
|
||||
/** Set Phys.Inventory.
|
||||
* Parameters for a Physical Inventory
|
||||
*/
|
||||
public void setM_Inventory_ID (int M_Inventory_ID);
|
||||
|
||||
/** Get Phys.Inventory.
|
||||
* Parameters for a Physical Inventory
|
||||
*/
|
||||
public int getM_Inventory_ID();
|
||||
|
||||
public I_M_Inventory getM_Inventory() throws Exception;
|
||||
|
||||
/** Column name M_InventoryLine_ID */
|
||||
public static final String COLUMNNAME_M_InventoryLine_ID = "M_InventoryLine_ID";
|
||||
|
||||
/** Set Phys.Inventory Line.
|
||||
* Unique line in an Inventory document
|
||||
*/
|
||||
public void setM_InventoryLine_ID (int M_InventoryLine_ID);
|
||||
|
||||
/** Get Phys.Inventory Line.
|
||||
* Unique line in an Inventory document
|
||||
*/
|
||||
public int getM_InventoryLine_ID();
|
||||
|
||||
/** Column name M_Locator_ID */
|
||||
public static final String COLUMNNAME_M_Locator_ID = "M_Locator_ID";
|
||||
|
||||
/** Set Locator.
|
||||
* Warehouse Locator
|
||||
*/
|
||||
public void setM_Locator_ID (int M_Locator_ID);
|
||||
|
||||
/** Get Locator.
|
||||
* Warehouse Locator
|
||||
*/
|
||||
public int getM_Locator_ID();
|
||||
|
||||
/** Column name M_Product_ID */
|
||||
public static final String COLUMNNAME_M_Product_ID = "M_Product_ID";
|
||||
|
||||
/** Set Product.
|
||||
* Product, Service, Item
|
||||
*/
|
||||
public void setM_Product_ID (int M_Product_ID);
|
||||
|
||||
/** Get Product.
|
||||
* Product, Service, Item
|
||||
*/
|
||||
public int getM_Product_ID();
|
||||
|
||||
/** 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 QtyBook */
|
||||
public static final String COLUMNNAME_QtyBook = "QtyBook";
|
||||
|
||||
/** Set Quantity book.
|
||||
* Book Quantity
|
||||
*/
|
||||
public void setQtyBook (BigDecimal QtyBook);
|
||||
|
||||
/** Get Quantity book.
|
||||
* Book Quantity
|
||||
*/
|
||||
public BigDecimal getQtyBook();
|
||||
|
||||
/** Column name QtyCount */
|
||||
public static final String COLUMNNAME_QtyCount = "QtyCount";
|
||||
|
||||
/** Set Quantity count.
|
||||
* Counted Quantity
|
||||
*/
|
||||
public void setQtyCount (BigDecimal QtyCount);
|
||||
|
||||
/** Get Quantity count.
|
||||
* Counted Quantity
|
||||
*/
|
||||
public BigDecimal getQtyCount();
|
||||
|
||||
/** Column name qtycsv */
|
||||
public static final String COLUMNNAME_QtyCsv = "QtyCsv";
|
||||
|
||||
/** Set qtycsv */
|
||||
public void setQtyCsv (BigDecimal QtyCsv);
|
||||
|
||||
/** Get qtycsv */
|
||||
public BigDecimal getQtyCsv();
|
||||
|
||||
/** Column name QtyInternalUse */
|
||||
public static final String COLUMNNAME_QtyInternalUse = "QtyInternalUse";
|
||||
|
||||
/** Set Internal Use Qty.
|
||||
* Internal Use Quantity removed from Inventory
|
||||
*/
|
||||
public void setQtyInternalUse (BigDecimal QtyInternalUse);
|
||||
|
||||
/** Get Internal Use Qty.
|
||||
* Internal Use Quantity removed from Inventory
|
||||
*/
|
||||
public BigDecimal getQtyInternalUse();
|
||||
|
||||
/** Column name UPC */
|
||||
public static final String COLUMNNAME_UPC = "UPC";
|
||||
|
||||
/** Set UPC/EAN.
|
||||
* Bar Code (Universal Product Code or its superset European Article Number)
|
||||
*/
|
||||
public void setUPC (String UPC);
|
||||
|
||||
/** Get UPC/EAN.
|
||||
* Bar Code (Universal Product Code or its superset European Article Number)
|
||||
*/
|
||||
public String getUPC();
|
||||
|
||||
/** 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();
|
||||
}
|
|
@ -1,212 +0,0 @@
|
|||
/**********************************************************************
|
||||
* This file is part of Adempiere ERP Bazaar *
|
||||
* http://www.adempiere.org *
|
||||
* *
|
||||
* Copyright (C) Trifon Trifonov. *
|
||||
* Copyright (C) Contributors *
|
||||
* *
|
||||
* This program is free software;
|
||||
you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License *
|
||||
* as published by the Free Software Foundation;
|
||||
either version 2 *
|
||||
* of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* 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., 51 Franklin Street, Fifth Floor, Boston, *
|
||||
* MA 02110-1301, USA. *
|
||||
* *
|
||||
* Contributors: *
|
||||
* - Trifon Trifonov (trifonnt@users.sourceforge.net) *
|
||||
* *
|
||||
* Sponsors: *
|
||||
* - Company (http://www.site.com) *
|
||||
**********************************************************************/
|
||||
package org.compiere.model;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
|
||||
/** Generated Interface for M_PriceList
|
||||
* @author Trifon Trifonov (generated)
|
||||
* @version Release 3.3.1b
|
||||
*/
|
||||
public interface I_M_PriceList
|
||||
{
|
||||
|
||||
/** TableName=M_PriceList */
|
||||
public static final String Table_Name = "M_PriceList";
|
||||
|
||||
/** AD_Table_ID=255 */
|
||||
public static final int Table_ID = MTable.getTable_ID(Table_Name);
|
||||
|
||||
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
|
||||
|
||||
/** AccessLevel = 3 - Client - Org
|
||||
*/
|
||||
BigDecimal accessLevel = BigDecimal.valueOf(3);
|
||||
|
||||
/** Load Meta Data */
|
||||
|
||||
/** Column name BasePriceList_ID */
|
||||
public static final String COLUMNNAME_BasePriceList_ID = "BasePriceList_ID";
|
||||
|
||||
/** Set Base Pricelist.
|
||||
* Pricelist to be used, if product not found on this pricelist
|
||||
*/
|
||||
public void setBasePriceList_ID (int BasePriceList_ID);
|
||||
|
||||
/** Get Base Pricelist.
|
||||
* Pricelist to be used, if product not found on this pricelist
|
||||
*/
|
||||
public int getBasePriceList_ID();
|
||||
|
||||
/** Column name C_Currency_ID */
|
||||
public static final String COLUMNNAME_C_Currency_ID = "C_Currency_ID";
|
||||
|
||||
/** Set Currency.
|
||||
* The Currency for this record
|
||||
*/
|
||||
public void setC_Currency_ID (int C_Currency_ID);
|
||||
|
||||
/** Get Currency.
|
||||
* The Currency for this record
|
||||
*/
|
||||
public int getC_Currency_ID();
|
||||
|
||||
public I_C_Currency getC_Currency() throws Exception;
|
||||
|
||||
/** 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 EnforcePriceLimit */
|
||||
public static final String COLUMNNAME_EnforcePriceLimit = "EnforcePriceLimit";
|
||||
|
||||
/** Set Enforce price limit.
|
||||
* Do not allow prices below the limit price
|
||||
*/
|
||||
public void setEnforcePriceLimit (boolean EnforcePriceLimit);
|
||||
|
||||
/** Get Enforce price limit.
|
||||
* Do not allow prices below the limit price
|
||||
*/
|
||||
public boolean isEnforcePriceLimit();
|
||||
|
||||
/** Column name IsDefault */
|
||||
public static final String COLUMNNAME_IsDefault = "IsDefault";
|
||||
|
||||
/** Set Default.
|
||||
* Default value
|
||||
*/
|
||||
public void setIsDefault (boolean IsDefault);
|
||||
|
||||
/** Get Default.
|
||||
* Default value
|
||||
*/
|
||||
public boolean isDefault();
|
||||
|
||||
/** Column name IsMandatory */
|
||||
public static final String COLUMNNAME_IsMandatory = "IsMandatory";
|
||||
|
||||
/** Set Mandatory.
|
||||
* Data entry is required in this column
|
||||
*/
|
||||
public void setIsMandatory (boolean IsMandatory);
|
||||
|
||||
/** Get Mandatory.
|
||||
* Data entry is required in this column
|
||||
*/
|
||||
public boolean isMandatory();
|
||||
|
||||
/** Column name isPresentForProduct */
|
||||
public static final String COLUMNNAME_isPresentForProduct = "isPresentForProduct";
|
||||
|
||||
/** Set isPresentForProduct */
|
||||
public void setisPresentForProduct (boolean isPresentForProduct);
|
||||
|
||||
/** Get isPresentForProduct */
|
||||
public boolean isPresentForProduct();
|
||||
|
||||
/** Column name IsSOPriceList */
|
||||
public static final String COLUMNNAME_IsSOPriceList = "IsSOPriceList";
|
||||
|
||||
/** Set Sales Price list.
|
||||
* This is a Sales Price List
|
||||
*/
|
||||
public void setIsSOPriceList (boolean IsSOPriceList);
|
||||
|
||||
/** Get Sales Price list.
|
||||
* This is a Sales Price List
|
||||
*/
|
||||
public boolean isSOPriceList();
|
||||
|
||||
/** Column name IsTaxIncluded */
|
||||
public static final String COLUMNNAME_IsTaxIncluded = "IsTaxIncluded";
|
||||
|
||||
/** Set Price includes Tax.
|
||||
* Tax is included in the price
|
||||
*/
|
||||
public void setIsTaxIncluded (boolean IsTaxIncluded);
|
||||
|
||||
/** Get Price includes Tax.
|
||||
* Tax is included in the price
|
||||
*/
|
||||
public boolean isTaxIncluded();
|
||||
|
||||
/** Column name M_PriceList_ID */
|
||||
public static final String COLUMNNAME_M_PriceList_ID = "M_PriceList_ID";
|
||||
|
||||
/** Set Price List.
|
||||
* Unique identifier of a Price List
|
||||
*/
|
||||
public void setM_PriceList_ID (int M_PriceList_ID);
|
||||
|
||||
/** Get Price List.
|
||||
* Unique identifier of a Price List
|
||||
*/
|
||||
public int getM_PriceList_ID();
|
||||
|
||||
/** 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 PricePrecision */
|
||||
public static final String COLUMNNAME_PricePrecision = "PricePrecision";
|
||||
|
||||
/** Set Price Precision.
|
||||
* Precision (number of decimals) for the Price
|
||||
*/
|
||||
public void setPricePrecision (BigDecimal PricePrecision);
|
||||
|
||||
/** Get Price Precision.
|
||||
* Precision (number of decimals) for the Price
|
||||
*/
|
||||
public BigDecimal getPricePrecision();
|
||||
}
|
|
@ -1,741 +0,0 @@
|
|||
/**********************************************************************
|
||||
* This file is part of Adempiere ERP Bazaar *
|
||||
* http://www.adempiere.org *
|
||||
* *
|
||||
* Copyright (C) Trifon Trifonov. *
|
||||
* Copyright (C) Contributors *
|
||||
* *
|
||||
* This program is free software;
|
||||
you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License *
|
||||
* as published by the Free Software Foundation;
|
||||
either version 2 *
|
||||
* of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* 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., 51 Franklin Street, Fifth Floor, Boston, *
|
||||
* MA 02110-1301, USA. *
|
||||
* *
|
||||
* Contributors: *
|
||||
* - Trifon Trifonov (trifonnt@users.sourceforge.net) *
|
||||
* *
|
||||
* Sponsors: *
|
||||
* - Company (http://www.site.com) *
|
||||
**********************************************************************/
|
||||
package org.compiere.model;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Timestamp;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
|
||||
/** Generated Interface for M_Product
|
||||
* @author Trifon Trifonov (generated)
|
||||
* @version Release 3.4.0s
|
||||
*/
|
||||
public interface I_M_Product
|
||||
{
|
||||
|
||||
/** TableName=M_Product */
|
||||
public static final String Table_Name = "M_Product";
|
||||
|
||||
/** AD_Table_ID=208 */
|
||||
public static final int Table_ID = MTable.getTable_ID(Table_Name);
|
||||
|
||||
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
|
||||
|
||||
/** AccessLevel = 3 - Client - Org
|
||||
*/
|
||||
BigDecimal accessLevel = BigDecimal.valueOf(3);
|
||||
|
||||
/** Load Meta Data */
|
||||
|
||||
/** Column name Classification */
|
||||
public static final String COLUMNNAME_Classification = "Classification";
|
||||
|
||||
/** Set Classification.
|
||||
* Classification for grouping
|
||||
*/
|
||||
public void setClassification (String Classification);
|
||||
|
||||
/** Get Classification.
|
||||
* Classification for grouping
|
||||
*/
|
||||
public String getClassification();
|
||||
|
||||
/** Column name C_RevenueRecognition_ID */
|
||||
public static final String COLUMNNAME_C_RevenueRecognition_ID = "C_RevenueRecognition_ID";
|
||||
|
||||
/** Set Revenue Recognition.
|
||||
* Method for recording revenue
|
||||
*/
|
||||
public void setC_RevenueRecognition_ID (int C_RevenueRecognition_ID);
|
||||
|
||||
/** Get Revenue Recognition.
|
||||
* Method for recording revenue
|
||||
*/
|
||||
public int getC_RevenueRecognition_ID();
|
||||
|
||||
public I_C_RevenueRecognition getC_RevenueRecognition() throws Exception;
|
||||
|
||||
/** Column name C_SubscriptionType_ID */
|
||||
public static final String COLUMNNAME_C_SubscriptionType_ID = "C_SubscriptionType_ID";
|
||||
|
||||
/** Set Subscription Type.
|
||||
* Type of subscription
|
||||
*/
|
||||
public void setC_SubscriptionType_ID (int C_SubscriptionType_ID);
|
||||
|
||||
/** Get Subscription Type.
|
||||
* Type of subscription
|
||||
*/
|
||||
public int getC_SubscriptionType_ID();
|
||||
|
||||
/** Column name C_TaxCategory_ID */
|
||||
public static final String COLUMNNAME_C_TaxCategory_ID = "C_TaxCategory_ID";
|
||||
|
||||
/** Set Tax Category.
|
||||
* Tax Category
|
||||
*/
|
||||
public void setC_TaxCategory_ID (int C_TaxCategory_ID);
|
||||
|
||||
/** Get Tax Category.
|
||||
* Tax Category
|
||||
*/
|
||||
public int getC_TaxCategory_ID();
|
||||
|
||||
public I_C_TaxCategory getC_TaxCategory() throws Exception;
|
||||
|
||||
/** Column name C_UOM_ID */
|
||||
public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID";
|
||||
|
||||
/** Set UOM.
|
||||
* Unit of Measure
|
||||
*/
|
||||
public void setC_UOM_ID (int C_UOM_ID);
|
||||
|
||||
/** Get UOM.
|
||||
* Unit of Measure
|
||||
*/
|
||||
public int getC_UOM_ID();
|
||||
|
||||
public I_C_UOM getC_UOM() throws Exception;
|
||||
|
||||
/** 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 DescriptionURL */
|
||||
public static final String COLUMNNAME_DescriptionURL = "DescriptionURL";
|
||||
|
||||
/** Set Description URL.
|
||||
* URL for the description
|
||||
*/
|
||||
public void setDescriptionURL (String DescriptionURL);
|
||||
|
||||
/** Get Description URL.
|
||||
* URL for the description
|
||||
*/
|
||||
public String getDescriptionURL();
|
||||
|
||||
/** Column name Discontinued */
|
||||
public static final String COLUMNNAME_Discontinued = "Discontinued";
|
||||
|
||||
/** Set Discontinued.
|
||||
* This product is no longer available
|
||||
*/
|
||||
public void setDiscontinued (boolean Discontinued);
|
||||
|
||||
/** Get Discontinued.
|
||||
* This product is no longer available
|
||||
*/
|
||||
public boolean isDiscontinued();
|
||||
|
||||
/** Column name DiscontinuedBy */
|
||||
public static final String COLUMNNAME_DiscontinuedBy = "DiscontinuedBy";
|
||||
|
||||
/** Set Discontinued by.
|
||||
* Discontinued By
|
||||
*/
|
||||
public void setDiscontinuedBy (Timestamp DiscontinuedBy);
|
||||
|
||||
/** Get Discontinued by.
|
||||
* Discontinued By
|
||||
*/
|
||||
public Timestamp getDiscontinuedBy();
|
||||
|
||||
/** Column name DocumentNote */
|
||||
public static final String COLUMNNAME_DocumentNote = "DocumentNote";
|
||||
|
||||
/** Set Document Note.
|
||||
* Additional information for a Document
|
||||
*/
|
||||
public void setDocumentNote (String DocumentNote);
|
||||
|
||||
/** Get Document Note.
|
||||
* Additional information for a Document
|
||||
*/
|
||||
public String getDocumentNote();
|
||||
|
||||
/** Column name Group1 */
|
||||
public static final String COLUMNNAME_Group1 = "Group1";
|
||||
|
||||
/** Set Group1 */
|
||||
public void setGroup1 (String Group1);
|
||||
|
||||
/** Get Group1 */
|
||||
public String getGroup1();
|
||||
|
||||
/** Column name Group2 */
|
||||
public static final String COLUMNNAME_Group2 = "Group2";
|
||||
|
||||
/** Set Group2 */
|
||||
public void setGroup2 (String Group2);
|
||||
|
||||
/** Get Group2 */
|
||||
public String getGroup2();
|
||||
|
||||
/** Column name GuaranteeDays */
|
||||
public static final String COLUMNNAME_GuaranteeDays = "GuaranteeDays";
|
||||
|
||||
/** Set Guarantee Days.
|
||||
* Number of days the product is guaranteed or available
|
||||
*/
|
||||
public void setGuaranteeDays (int GuaranteeDays);
|
||||
|
||||
/** Get Guarantee Days.
|
||||
* Number of days the product is guaranteed or available
|
||||
*/
|
||||
public int getGuaranteeDays();
|
||||
|
||||
/** Column name GuaranteeDaysMin */
|
||||
public static final String COLUMNNAME_GuaranteeDaysMin = "GuaranteeDaysMin";
|
||||
|
||||
/** Set Min Guarantee Days.
|
||||
* Minumum number of guarantee days
|
||||
*/
|
||||
public void setGuaranteeDaysMin (int GuaranteeDaysMin);
|
||||
|
||||
/** Get Min Guarantee Days.
|
||||
* Minumum number of guarantee days
|
||||
*/
|
||||
public int getGuaranteeDaysMin();
|
||||
|
||||
/** 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 ImageURL */
|
||||
public static final String COLUMNNAME_ImageURL = "ImageURL";
|
||||
|
||||
/** Set Image URL.
|
||||
* URL of image
|
||||
*/
|
||||
public void setImageURL (String ImageURL);
|
||||
|
||||
/** Get Image URL.
|
||||
* URL of image
|
||||
*/
|
||||
public String getImageURL();
|
||||
|
||||
/** Column name IsBOM */
|
||||
public static final String COLUMNNAME_IsBOM = "IsBOM";
|
||||
|
||||
/** Set Bill of Materials.
|
||||
* Bill of Materials
|
||||
*/
|
||||
public void setIsBOM (boolean IsBOM);
|
||||
|
||||
/** Get Bill of Materials.
|
||||
* Bill of Materials
|
||||
*/
|
||||
public boolean isBOM();
|
||||
|
||||
/** Column name IsDropShip */
|
||||
public static final String COLUMNNAME_IsDropShip = "IsDropShip";
|
||||
|
||||
/** Set Drop Shipment.
|
||||
* Drop Shipments are sent from the Vendor directly to the Customer
|
||||
*/
|
||||
public void setIsDropShip (boolean IsDropShip);
|
||||
|
||||
/** Get Drop Shipment.
|
||||
* Drop Shipments are sent from the Vendor directly to the Customer
|
||||
*/
|
||||
public boolean isDropShip();
|
||||
|
||||
/** Column name IsExcludeAutoDelivery */
|
||||
public static final String COLUMNNAME_IsExcludeAutoDelivery = "IsExcludeAutoDelivery";
|
||||
|
||||
/** Set Exclude Auto Delivery.
|
||||
* Exclude from automatic Delivery
|
||||
*/
|
||||
public void setIsExcludeAutoDelivery (boolean IsExcludeAutoDelivery);
|
||||
|
||||
/** Get Exclude Auto Delivery.
|
||||
* Exclude from automatic Delivery
|
||||
*/
|
||||
public boolean isExcludeAutoDelivery();
|
||||
|
||||
/** Column name IsInvoicePrintDetails */
|
||||
public static final String COLUMNNAME_IsInvoicePrintDetails = "IsInvoicePrintDetails";
|
||||
|
||||
/** Set Print detail records on invoice .
|
||||
* Print detail BOM elements on the invoice
|
||||
*/
|
||||
public void setIsInvoicePrintDetails (boolean IsInvoicePrintDetails);
|
||||
|
||||
/** Get Print detail records on invoice .
|
||||
* Print detail BOM elements on the invoice
|
||||
*/
|
||||
public boolean isInvoicePrintDetails();
|
||||
|
||||
/** Column name IsPickListPrintDetails */
|
||||
public static final String COLUMNNAME_IsPickListPrintDetails = "IsPickListPrintDetails";
|
||||
|
||||
/** Set Print detail records on pick list.
|
||||
* Print detail BOM elements on the pick list
|
||||
*/
|
||||
public void setIsPickListPrintDetails (boolean IsPickListPrintDetails);
|
||||
|
||||
/** Get Print detail records on pick list.
|
||||
* Print detail BOM elements on the pick list
|
||||
*/
|
||||
public boolean isPickListPrintDetails();
|
||||
|
||||
/** Column name IsPurchased */
|
||||
public static final String COLUMNNAME_IsPurchased = "IsPurchased";
|
||||
|
||||
/** Set Purchased.
|
||||
* Organization purchases this product
|
||||
*/
|
||||
public void setIsPurchased (boolean IsPurchased);
|
||||
|
||||
/** Get Purchased.
|
||||
* Organization purchases this product
|
||||
*/
|
||||
public boolean isPurchased();
|
||||
|
||||
/** Column name IsSelfService */
|
||||
public static final String COLUMNNAME_IsSelfService = "IsSelfService";
|
||||
|
||||
/** Set Self-Service.
|
||||
* This is a Self-Service entry or this entry can be changed via Self-Service
|
||||
*/
|
||||
public void setIsSelfService (boolean IsSelfService);
|
||||
|
||||
/** Get Self-Service.
|
||||
* This is a Self-Service entry or this entry can be changed via Self-Service
|
||||
*/
|
||||
public boolean isSelfService();
|
||||
|
||||
/** Column name IsSold */
|
||||
public static final String COLUMNNAME_IsSold = "IsSold";
|
||||
|
||||
/** Set Sold.
|
||||
* Organization sells this product
|
||||
*/
|
||||
public void setIsSold (boolean IsSold);
|
||||
|
||||
/** Get Sold.
|
||||
* Organization sells this product
|
||||
*/
|
||||
public boolean isSold();
|
||||
|
||||
/** Column name IsStocked */
|
||||
public static final String COLUMNNAME_IsStocked = "IsStocked";
|
||||
|
||||
/** Set Stocked.
|
||||
* Organization stocks this product
|
||||
*/
|
||||
public void setIsStocked (boolean IsStocked);
|
||||
|
||||
/** Get Stocked.
|
||||
* Organization stocks this product
|
||||
*/
|
||||
public boolean isStocked();
|
||||
|
||||
/** Column name IsSummary */
|
||||
public static final String COLUMNNAME_IsSummary = "IsSummary";
|
||||
|
||||
/** Set Summary Level.
|
||||
* This is a summary entity
|
||||
*/
|
||||
public void setIsSummary (boolean IsSummary);
|
||||
|
||||
/** Get Summary Level.
|
||||
* This is a summary entity
|
||||
*/
|
||||
public boolean isSummary();
|
||||
|
||||
/** Column name IsVerified */
|
||||
public static final String COLUMNNAME_IsVerified = "IsVerified";
|
||||
|
||||
/** Set Verified.
|
||||
* The BOM configuration has been verified
|
||||
*/
|
||||
public void setIsVerified (boolean IsVerified);
|
||||
|
||||
/** Get Verified.
|
||||
* The BOM configuration has been verified
|
||||
*/
|
||||
public boolean isVerified();
|
||||
|
||||
/** Column name IsWebStoreFeatured */
|
||||
public static final String COLUMNNAME_IsWebStoreFeatured = "IsWebStoreFeatured";
|
||||
|
||||
/** Set Featured in Web Store.
|
||||
* If selected, the product is displayed in the inital or any empy search
|
||||
*/
|
||||
public void setIsWebStoreFeatured (boolean IsWebStoreFeatured);
|
||||
|
||||
/** Get Featured in Web Store.
|
||||
* If selected, the product is displayed in the inital or any empy search
|
||||
*/
|
||||
public boolean isWebStoreFeatured();
|
||||
|
||||
/** Column name M_AttributeSet_ID */
|
||||
public static final String COLUMNNAME_M_AttributeSet_ID = "M_AttributeSet_ID";
|
||||
|
||||
/** Set Attribute Set.
|
||||
* Product Attribute Set
|
||||
*/
|
||||
public void setM_AttributeSet_ID (int M_AttributeSet_ID);
|
||||
|
||||
/** Get Attribute Set.
|
||||
* Product Attribute Set
|
||||
*/
|
||||
public int getM_AttributeSet_ID();
|
||||
|
||||
public I_M_AttributeSet getM_AttributeSet() throws Exception;
|
||||
|
||||
/** Column name M_AttributeSetInstance_ID */
|
||||
public static final String COLUMNNAME_M_AttributeSetInstance_ID = "M_AttributeSetInstance_ID";
|
||||
|
||||
/** Set Attribute Set Instance.
|
||||
* Product Attribute Set Instance
|
||||
*/
|
||||
public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID);
|
||||
|
||||
/** Get Attribute Set Instance.
|
||||
* Product Attribute Set Instance
|
||||
*/
|
||||
public int getM_AttributeSetInstance_ID();
|
||||
|
||||
/** Column name M_FreightCategory_ID */
|
||||
public static final String COLUMNNAME_M_FreightCategory_ID = "M_FreightCategory_ID";
|
||||
|
||||
/** Set Freight Category.
|
||||
* Category of the Freight
|
||||
*/
|
||||
public void setM_FreightCategory_ID (int M_FreightCategory_ID);
|
||||
|
||||
/** Get Freight Category.
|
||||
* Category of the Freight
|
||||
*/
|
||||
public int getM_FreightCategory_ID();
|
||||
|
||||
public I_M_FreightCategory getM_FreightCategory() throws Exception;
|
||||
|
||||
/** Column name M_Locator_ID */
|
||||
public static final String COLUMNNAME_M_Locator_ID = "M_Locator_ID";
|
||||
|
||||
/** Set Locator.
|
||||
* Warehouse Locator
|
||||
*/
|
||||
public void setM_Locator_ID (int M_Locator_ID);
|
||||
|
||||
/** Get Locator.
|
||||
* Warehouse Locator
|
||||
*/
|
||||
public int getM_Locator_ID();
|
||||
|
||||
/** Column name M_Product_Category_ID */
|
||||
public static final String COLUMNNAME_M_Product_Category_ID = "M_Product_Category_ID";
|
||||
|
||||
/** Set Product Category.
|
||||
* Category of a Product
|
||||
*/
|
||||
public void setM_Product_Category_ID (int M_Product_Category_ID);
|
||||
|
||||
/** Get Product Category.
|
||||
* Category of a Product
|
||||
*/
|
||||
public int getM_Product_Category_ID();
|
||||
|
||||
public I_M_Product_Category getM_Product_Category() throws Exception;
|
||||
|
||||
/** Column name M_Product_ID */
|
||||
public static final String COLUMNNAME_M_Product_ID = "M_Product_ID";
|
||||
|
||||
/** Set Product.
|
||||
* Product, Service, Item
|
||||
*/
|
||||
public void setM_Product_ID (int M_Product_ID);
|
||||
|
||||
/** Get Product.
|
||||
* Product, Service, Item
|
||||
*/
|
||||
public int getM_Product_ID();
|
||||
|
||||
/** 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 Processing */
|
||||
public static final String COLUMNNAME_Processing = "Processing";
|
||||
|
||||
/** Set Process Now */
|
||||
public void setProcessing (boolean Processing);
|
||||
|
||||
/** Get Process Now */
|
||||
public boolean isProcessing();
|
||||
|
||||
/** Column name ProductType */
|
||||
public static final String COLUMNNAME_ProductType = "ProductType";
|
||||
|
||||
/** Set Product Type.
|
||||
* Type of product
|
||||
*/
|
||||
public void setProductType (String ProductType);
|
||||
|
||||
/** Get Product Type.
|
||||
* Type of product
|
||||
*/
|
||||
public String getProductType();
|
||||
|
||||
/** Column name R_MailText_ID */
|
||||
public static final String COLUMNNAME_R_MailText_ID = "R_MailText_ID";
|
||||
|
||||
/** Set Mail Template.
|
||||
* Text templates for mailings
|
||||
*/
|
||||
public void setR_MailText_ID (int R_MailText_ID);
|
||||
|
||||
/** Get Mail Template.
|
||||
* Text templates for mailings
|
||||
*/
|
||||
public int getR_MailText_ID();
|
||||
|
||||
public I_R_MailText getR_MailText() throws Exception;
|
||||
|
||||
/** Column name SalesRep_ID */
|
||||
public static final String COLUMNNAME_SalesRep_ID = "SalesRep_ID";
|
||||
|
||||
/** Set Sales Representative.
|
||||
* Sales Representative or Company Agent
|
||||
*/
|
||||
public void setSalesRep_ID (int SalesRep_ID);
|
||||
|
||||
/** Get Sales Representative.
|
||||
* Sales Representative or Company Agent
|
||||
*/
|
||||
public int getSalesRep_ID();
|
||||
|
||||
/** Column name S_ExpenseType_ID */
|
||||
public static final String COLUMNNAME_S_ExpenseType_ID = "S_ExpenseType_ID";
|
||||
|
||||
/** Set Expense Type.
|
||||
* Expense report type
|
||||
*/
|
||||
public void setS_ExpenseType_ID (int S_ExpenseType_ID);
|
||||
|
||||
/** Get Expense Type.
|
||||
* Expense report type
|
||||
*/
|
||||
public int getS_ExpenseType_ID();
|
||||
|
||||
public I_S_ExpenseType getS_ExpenseType() throws Exception;
|
||||
|
||||
/** Column name ShelfDepth */
|
||||
public static final String COLUMNNAME_ShelfDepth = "ShelfDepth";
|
||||
|
||||
/** Set Shelf Depth.
|
||||
* Shelf depth required
|
||||
*/
|
||||
public void setShelfDepth (int ShelfDepth);
|
||||
|
||||
/** Get Shelf Depth.
|
||||
* Shelf depth required
|
||||
*/
|
||||
public int getShelfDepth();
|
||||
|
||||
/** Column name ShelfHeight */
|
||||
public static final String COLUMNNAME_ShelfHeight = "ShelfHeight";
|
||||
|
||||
/** Set Shelf Height.
|
||||
* Shelf height required
|
||||
*/
|
||||
public void setShelfHeight (int ShelfHeight);
|
||||
|
||||
/** Get Shelf Height.
|
||||
* Shelf height required
|
||||
*/
|
||||
public int getShelfHeight();
|
||||
|
||||
/** Column name ShelfWidth */
|
||||
public static final String COLUMNNAME_ShelfWidth = "ShelfWidth";
|
||||
|
||||
/** Set Shelf Width.
|
||||
* Shelf width required
|
||||
*/
|
||||
public void setShelfWidth (int ShelfWidth);
|
||||
|
||||
/** Get Shelf Width.
|
||||
* Shelf width required
|
||||
*/
|
||||
public int getShelfWidth();
|
||||
|
||||
/** Column name SKU */
|
||||
public static final String COLUMNNAME_SKU = "SKU";
|
||||
|
||||
/** Set SKU.
|
||||
* Stock Keeping Unit
|
||||
*/
|
||||
public void setSKU (String SKU);
|
||||
|
||||
/** Get SKU.
|
||||
* Stock Keeping Unit
|
||||
*/
|
||||
public String getSKU();
|
||||
|
||||
/** Column name S_Resource_ID */
|
||||
public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID";
|
||||
|
||||
/** Set Resource.
|
||||
* Resource
|
||||
*/
|
||||
public void setS_Resource_ID (int S_Resource_ID);
|
||||
|
||||
/** Get Resource.
|
||||
* Resource
|
||||
*/
|
||||
public int getS_Resource_ID();
|
||||
|
||||
public I_S_Resource getS_Resource() throws Exception;
|
||||
|
||||
/** Column name UnitsPerPack */
|
||||
public static final String COLUMNNAME_UnitsPerPack = "UnitsPerPack";
|
||||
|
||||
/** Set UnitsPerPack.
|
||||
* The Units Per Pack indicates the no of units of a product packed together.
|
||||
*/
|
||||
public void setUnitsPerPack (int UnitsPerPack);
|
||||
|
||||
/** Get UnitsPerPack.
|
||||
* The Units Per Pack indicates the no of units of a product packed together.
|
||||
*/
|
||||
public int getUnitsPerPack();
|
||||
|
||||
/** Column name UnitsPerPallet */
|
||||
public static final String COLUMNNAME_UnitsPerPallet = "UnitsPerPallet";
|
||||
|
||||
/** Set Units Per Pallet.
|
||||
* Units Per Pallet
|
||||
*/
|
||||
public void setUnitsPerPallet (int UnitsPerPallet);
|
||||
|
||||
/** Get Units Per Pallet.
|
||||
* Units Per Pallet
|
||||
*/
|
||||
public int getUnitsPerPallet();
|
||||
|
||||
/** Column name UPC */
|
||||
public static final String COLUMNNAME_UPC = "UPC";
|
||||
|
||||
/** Set UPC/EAN.
|
||||
* Bar Code (Universal Product Code or its superset European Article Number)
|
||||
*/
|
||||
public void setUPC (String UPC);
|
||||
|
||||
/** Get UPC/EAN.
|
||||
* Bar Code (Universal Product Code or its superset European Article Number)
|
||||
*/
|
||||
public String getUPC();
|
||||
|
||||
/** 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();
|
||||
|
||||
/** Column name VersionNo */
|
||||
public static final String COLUMNNAME_VersionNo = "VersionNo";
|
||||
|
||||
/** Set Version No.
|
||||
* Version Number
|
||||
*/
|
||||
public void setVersionNo (String VersionNo);
|
||||
|
||||
/** Get Version No.
|
||||
* Version Number
|
||||
*/
|
||||
public String getVersionNo();
|
||||
|
||||
/** Column name Volume */
|
||||
public static final String COLUMNNAME_Volume = "Volume";
|
||||
|
||||
/** Set Volume.
|
||||
* Volume of a product
|
||||
*/
|
||||
public void setVolume (BigDecimal Volume);
|
||||
|
||||
/** Get Volume.
|
||||
* Volume of a product
|
||||
*/
|
||||
public BigDecimal getVolume();
|
||||
|
||||
/** Column name Weight */
|
||||
public static final String COLUMNNAME_Weight = "Weight";
|
||||
|
||||
/** Set Weight.
|
||||
* Weight of a product
|
||||
*/
|
||||
public void setWeight (BigDecimal Weight);
|
||||
|
||||
/** Get Weight.
|
||||
* Weight of a product
|
||||
*/
|
||||
public BigDecimal getWeight();
|
||||
}
|
|
@ -1,411 +0,0 @@
|
|||
/**********************************************************************
|
||||
* This file is part of Adempiere ERP Bazaar *
|
||||
* http://www.adempiere.org *
|
||||
* *
|
||||
* Copyright (C) Trifon Trifonov. *
|
||||
* Copyright (C) Contributors *
|
||||
* *
|
||||
* This program is free software;
|
||||
you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License *
|
||||
* as published by the Free Software Foundation;
|
||||
either version 2 *
|
||||
* of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* 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., 51 Franklin Street, Fifth Floor, Boston, *
|
||||
* MA 02110-1301, USA. *
|
||||
* *
|
||||
* Contributors: *
|
||||
* - Trifon Trifonov (trifonnt@users.sourceforge.net) *
|
||||
* *
|
||||
* Sponsors: *
|
||||
* - Company (http://www.site.com) *
|
||||
**********************************************************************/
|
||||
package org.compiere.model;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Timestamp;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
|
||||
/** Generated Interface for U_POSTerminal
|
||||
* @author Trifon Trifonov (generated)
|
||||
* @version Release 3.4.0s
|
||||
*/
|
||||
public interface I_U_POSTerminal
|
||||
{
|
||||
|
||||
/** TableName=U_POSTerminal */
|
||||
public static final String Table_Name = "U_POSTerminal";
|
||||
|
||||
/** AD_Table_ID=52004 */
|
||||
public static final int Table_ID = MTable.getTable_ID(Table_Name);
|
||||
|
||||
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
|
||||
|
||||
/** AccessLevel = 1 - Org
|
||||
*/
|
||||
BigDecimal accessLevel = BigDecimal.valueOf(1);
|
||||
|
||||
/** Load Meta Data */
|
||||
|
||||
/** Column name AutoLock */
|
||||
public static final String COLUMNNAME_AutoLock = "AutoLock";
|
||||
|
||||
/** Set Auto Lock.
|
||||
* Whether to automatically lock the terminal when till is closed
|
||||
*/
|
||||
public void setAutoLock (boolean AutoLock);
|
||||
|
||||
/** Get Auto Lock.
|
||||
* Whether to automatically lock the terminal when till is closed
|
||||
*/
|
||||
public boolean isAutoLock();
|
||||
|
||||
/** Column name Card_BankAccount_ID */
|
||||
public static final String COLUMNNAME_Card_BankAccount_ID = "Card_BankAccount_ID";
|
||||
|
||||
/** Set Card Bank Account.
|
||||
* Bank Account on which card transactions will be processed
|
||||
*/
|
||||
public void setCard_BankAccount_ID (int Card_BankAccount_ID);
|
||||
|
||||
/** Get Card Bank Account.
|
||||
* Bank Account on which card transactions will be processed
|
||||
*/
|
||||
public int getCard_BankAccount_ID();
|
||||
|
||||
/** Column name CardTransferBankAccount_ID */
|
||||
public static final String COLUMNNAME_CardTransferBankAccount_ID = "CardTransferBankAccount_ID";
|
||||
|
||||
/** Set Transfer Card trx to.
|
||||
* Bank account on which to transfer Card transactions
|
||||
*/
|
||||
public void setCardTransferBankAccount_ID (int CardTransferBankAccount_ID);
|
||||
|
||||
/** Get Transfer Card trx to.
|
||||
* Bank account on which to transfer Card transactions
|
||||
*/
|
||||
public int getCardTransferBankAccount_ID();
|
||||
|
||||
/** Column name CardTransferCashBook_ID */
|
||||
public static final String COLUMNNAME_CardTransferCashBook_ID = "CardTransferCashBook_ID";
|
||||
|
||||
/** Set Transfer Card trx to.
|
||||
* Cash Book on which to transfer all Card transactions
|
||||
*/
|
||||
public void setCardTransferCashBook_ID (int CardTransferCashBook_ID);
|
||||
|
||||
/** Get Transfer Card trx to.
|
||||
* Cash Book on which to transfer all Card transactions
|
||||
*/
|
||||
public int getCardTransferCashBook_ID();
|
||||
|
||||
/** Column name CardTransferType */
|
||||
public static final String COLUMNNAME_CardTransferType = "CardTransferType";
|
||||
|
||||
/** Set Card Transfer Type */
|
||||
public void setCardTransferType (String CardTransferType);
|
||||
|
||||
/** Get Card Transfer Type */
|
||||
public String getCardTransferType();
|
||||
|
||||
/** Column name CashBookTransferType */
|
||||
public static final String COLUMNNAME_CashBookTransferType = "CashBookTransferType";
|
||||
|
||||
/** Set Cash Book Transfer Type.
|
||||
* Where the money in the cash book should be transfered to. Either a Bank Account or another Cash Book
|
||||
*/
|
||||
public void setCashBookTransferType (String CashBookTransferType);
|
||||
|
||||
/** Get Cash Book Transfer Type.
|
||||
* Where the money in the cash book should be transfered to. Either a Bank Account or another Cash Book
|
||||
*/
|
||||
public String getCashBookTransferType();
|
||||
|
||||
/** Column name CashTransferBankAccount_ID */
|
||||
public static final String COLUMNNAME_CashTransferBankAccount_ID = "CashTransferBankAccount_ID";
|
||||
|
||||
/** Set Transfer Cash trx to.
|
||||
* Bank Account on which to transfer all Cash transactions
|
||||
*/
|
||||
public void setCashTransferBankAccount_ID (int CashTransferBankAccount_ID);
|
||||
|
||||
/** Get Transfer Cash trx to.
|
||||
* Bank Account on which to transfer all Cash transactions
|
||||
*/
|
||||
public int getCashTransferBankAccount_ID();
|
||||
|
||||
/** Column name CashTransferCashBook_ID */
|
||||
public static final String COLUMNNAME_CashTransferCashBook_ID = "CashTransferCashBook_ID";
|
||||
|
||||
/** Set Transfer Cash trx to.
|
||||
* Cash Book on which to transfer all Cash transactions
|
||||
*/
|
||||
public void setCashTransferCashBook_ID (int CashTransferCashBook_ID);
|
||||
|
||||
/** Get Transfer Cash trx to.
|
||||
* Cash Book on which to transfer all Cash transactions
|
||||
*/
|
||||
public int getCashTransferCashBook_ID();
|
||||
|
||||
/** Column name C_CashBook_ID */
|
||||
public static final String COLUMNNAME_C_CashBook_ID = "C_CashBook_ID";
|
||||
|
||||
/** Set Cash Book.
|
||||
* Cash Book for recording petty cash transactions
|
||||
*/
|
||||
public void setC_CashBook_ID (int C_CashBook_ID);
|
||||
|
||||
/** Get Cash Book.
|
||||
* Cash Book for recording petty cash transactions
|
||||
*/
|
||||
public int getC_CashBook_ID();
|
||||
|
||||
public I_C_CashBook getC_CashBook() throws Exception;
|
||||
|
||||
/** Column name C_CashBPartner_ID */
|
||||
public static final String COLUMNNAME_C_CashBPartner_ID = "C_CashBPartner_ID";
|
||||
|
||||
/** Set Cash BPartner.
|
||||
* BPartner to be used for Cash transactions
|
||||
*/
|
||||
public void setC_CashBPartner_ID (int C_CashBPartner_ID);
|
||||
|
||||
/** Get Cash BPartner.
|
||||
* BPartner to be used for Cash transactions
|
||||
*/
|
||||
public int getC_CashBPartner_ID();
|
||||
|
||||
/** Column name Check_BankAccount_ID */
|
||||
public static final String COLUMNNAME_Check_BankAccount_ID = "Check_BankAccount_ID";
|
||||
|
||||
/** Set Check Bank Account.
|
||||
* Bank Account to be used for processing Check transactions
|
||||
*/
|
||||
public void setCheck_BankAccount_ID (int Check_BankAccount_ID);
|
||||
|
||||
/** Get Check Bank Account.
|
||||
* Bank Account to be used for processing Check transactions
|
||||
*/
|
||||
public int getCheck_BankAccount_ID();
|
||||
|
||||
/** Column name CheckTransferBankAccount_ID */
|
||||
public static final String COLUMNNAME_CheckTransferBankAccount_ID = "CheckTransferBankAccount_ID";
|
||||
|
||||
/** Set Tranfer Check trx to.
|
||||
* Bank account on which to transfer Check transactions
|
||||
*/
|
||||
public void setCheckTransferBankAccount_ID (int CheckTransferBankAccount_ID);
|
||||
|
||||
/** Get Tranfer Check trx to.
|
||||
* Bank account on which to transfer Check transactions
|
||||
*/
|
||||
public int getCheckTransferBankAccount_ID();
|
||||
|
||||
/** Column name CheckTransferCashBook_ID */
|
||||
public static final String COLUMNNAME_CheckTransferCashBook_ID = "CheckTransferCashBook_ID";
|
||||
|
||||
/** Set Transfer Check trx to.
|
||||
* Cash Book on which to transfer all Check transactions
|
||||
*/
|
||||
public void setCheckTransferCashBook_ID (int CheckTransferCashBook_ID);
|
||||
|
||||
/** Get Transfer Check trx to.
|
||||
* Cash Book on which to transfer all Check transactions
|
||||
*/
|
||||
public int getCheckTransferCashBook_ID();
|
||||
|
||||
/** Column name CheckTransferType */
|
||||
public static final String COLUMNNAME_CheckTransferType = "CheckTransferType";
|
||||
|
||||
/** Set Check Transfer Type */
|
||||
public void setCheckTransferType (String CheckTransferType);
|
||||
|
||||
/** Get Check Transfer Type */
|
||||
public String getCheckTransferType();
|
||||
|
||||
/** Column name C_TemplateBPartner_ID */
|
||||
public static final String COLUMNNAME_C_TemplateBPartner_ID = "C_TemplateBPartner_ID";
|
||||
|
||||
/** Set Template BPartner.
|
||||
* BPartner that is to be used as template when new customers are created
|
||||
*/
|
||||
public void setC_TemplateBPartner_ID (int C_TemplateBPartner_ID);
|
||||
|
||||
/** Get Template BPartner.
|
||||
* BPartner that is to be used as template when new customers are created
|
||||
*/
|
||||
public int getC_TemplateBPartner_ID();
|
||||
|
||||
/** 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 LastLockTime */
|
||||
public static final String COLUMNNAME_LastLockTime = "LastLockTime";
|
||||
|
||||
/** Set Last Lock Time.
|
||||
* Last time at which the terminal was locked
|
||||
*/
|
||||
public void setLastLockTime (Timestamp LastLockTime);
|
||||
|
||||
/** Get Last Lock Time.
|
||||
* Last time at which the terminal was locked
|
||||
*/
|
||||
public Timestamp getLastLockTime();
|
||||
|
||||
/** Column name Locked */
|
||||
public static final String COLUMNNAME_Locked = "Locked";
|
||||
|
||||
/** Set Locked.
|
||||
* Whether the terminal is locked
|
||||
*/
|
||||
public void setLocked (boolean Locked);
|
||||
|
||||
/** Get Locked.
|
||||
* Whether the terminal is locked
|
||||
*/
|
||||
public boolean isLocked();
|
||||
|
||||
/** Column name LockTime */
|
||||
public static final String COLUMNNAME_LockTime = "LockTime";
|
||||
|
||||
/** Set Lock Time.
|
||||
* Time in minutes the terminal should be kept in a locked state.
|
||||
*/
|
||||
public void setLockTime (int LockTime);
|
||||
|
||||
/** Get Lock Time.
|
||||
* Time in minutes the terminal should be kept in a locked state.
|
||||
*/
|
||||
public int getLockTime();
|
||||
|
||||
/** Column name M_Warehouse_ID */
|
||||
public static final String COLUMNNAME_M_Warehouse_ID = "M_Warehouse_ID";
|
||||
|
||||
/** Set Warehouse.
|
||||
* Storage Warehouse and Service Point
|
||||
*/
|
||||
public void setM_Warehouse_ID (int M_Warehouse_ID);
|
||||
|
||||
/** Get Warehouse.
|
||||
* Storage Warehouse and Service Point
|
||||
*/
|
||||
public int getM_Warehouse_ID();
|
||||
|
||||
public I_M_Warehouse getM_Warehouse() throws Exception;
|
||||
|
||||
/** 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 PO_PriceList_ID */
|
||||
public static final String COLUMNNAME_PO_PriceList_ID = "PO_PriceList_ID";
|
||||
|
||||
/** Set Purchase Pricelist.
|
||||
* Price List used by this Business Partner
|
||||
*/
|
||||
public void setPO_PriceList_ID (int PO_PriceList_ID);
|
||||
|
||||
/** Get Purchase Pricelist.
|
||||
* Price List used by this Business Partner
|
||||
*/
|
||||
public int getPO_PriceList_ID();
|
||||
|
||||
/** Column name PrinterName */
|
||||
public static final String COLUMNNAME_PrinterName = "PrinterName";
|
||||
|
||||
/** Set Printer Name.
|
||||
* Name of the Printer
|
||||
*/
|
||||
public void setPrinterName (String PrinterName);
|
||||
|
||||
/** Get Printer Name.
|
||||
* Name of the Printer
|
||||
*/
|
||||
public String getPrinterName();
|
||||
|
||||
/** Column name SalesRep_ID */
|
||||
public static final String COLUMNNAME_SalesRep_ID = "SalesRep_ID";
|
||||
|
||||
/** Set Sales Representative.
|
||||
* Sales Representative or Company Agent
|
||||
*/
|
||||
public void setSalesRep_ID (int SalesRep_ID);
|
||||
|
||||
/** Get Sales Representative.
|
||||
* Sales Representative or Company Agent
|
||||
*/
|
||||
public int getSalesRep_ID();
|
||||
|
||||
/** Column name SO_PriceList_ID */
|
||||
public static final String COLUMNNAME_SO_PriceList_ID = "SO_PriceList_ID";
|
||||
|
||||
/** Set Sales Pricelist */
|
||||
public void setSO_PriceList_ID (int SO_PriceList_ID);
|
||||
|
||||
/** Get Sales Pricelist */
|
||||
public int getSO_PriceList_ID();
|
||||
|
||||
/** Column name UnlockingTime */
|
||||
public static final String COLUMNNAME_UnlockingTime = "UnlockingTime";
|
||||
|
||||
/** Set UnlockingTime.
|
||||
* Time at which the terminal should be unlocked
|
||||
*/
|
||||
public void setUnlockingTime (Timestamp UnlockingTime);
|
||||
|
||||
/** Get UnlockingTime.
|
||||
* Time at which the terminal should be unlocked
|
||||
*/
|
||||
public Timestamp getUnlockingTime();
|
||||
|
||||
/** Column name U_POSTerminal_ID */
|
||||
public static final String COLUMNNAME_U_POSTerminal_ID = "U_POSTerminal_ID";
|
||||
|
||||
/** Set POS Terminal */
|
||||
public void setU_POSTerminal_ID (int U_POSTerminal_ID);
|
||||
|
||||
/** Get POS Terminal */
|
||||
public int getU_POSTerminal_ID();
|
||||
}
|
|
@ -1,384 +0,0 @@
|
|||
/******************************************************************************
|
||||
* 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.lang.reflect.Constructor;
|
||||
import java.sql.ResultSet;
|
||||
import java.util.Properties;
|
||||
import java.util.logging.Level;
|
||||
|
||||
/** Generated Model for AD_OrgInfo
|
||||
* @author Adempiere (generated)
|
||||
* @version Release 3.4.0s - $Id$ */
|
||||
public class X_AD_OrgInfo extends PO implements I_AD_OrgInfo, I_Persistent
|
||||
{
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_AD_OrgInfo (Properties ctx, int AD_OrgInfo_ID, String trxName)
|
||||
{
|
||||
super (ctx, AD_OrgInfo_ID, trxName);
|
||||
/** if (AD_OrgInfo_ID == 0)
|
||||
{
|
||||
setDUNS (null);
|
||||
setTaxID (null);
|
||||
} */
|
||||
}
|
||||
|
||||
/** Load Constructor */
|
||||
public X_AD_OrgInfo (Properties ctx, ResultSet rs, String trxName)
|
||||
{
|
||||
super (ctx, rs, trxName);
|
||||
}
|
||||
|
||||
/** AccessLevel
|
||||
* @return 7 - System - 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_AD_OrgInfo[")
|
||||
.append(get_ID()).append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
public I_AD_OrgType getAD_OrgType() throws Exception
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_AD_OrgType.Table_Name);
|
||||
I_AD_OrgType result = null;
|
||||
try {
|
||||
Constructor<?> constructor = null;
|
||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||
result = (I_AD_OrgType)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_OrgType_ID()), get_TrxName()});
|
||||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw e;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Set Organization Type.
|
||||
@param AD_OrgType_ID
|
||||
Organization Type allows you to categorize your organizations
|
||||
*/
|
||||
public void setAD_OrgType_ID (int AD_OrgType_ID)
|
||||
{
|
||||
if (AD_OrgType_ID < 1)
|
||||
set_Value (COLUMNNAME_AD_OrgType_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_AD_OrgType_ID, Integer.valueOf(AD_OrgType_ID));
|
||||
}
|
||||
|
||||
/** Get Organization Type.
|
||||
@return Organization Type allows you to categorize your organizations
|
||||
*/
|
||||
public int getAD_OrgType_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_AD_OrgType_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Address.
|
||||
@param C_Location_ID
|
||||
Location or Address
|
||||
*/
|
||||
public void setC_Location_ID (int C_Location_ID)
|
||||
{
|
||||
if (C_Location_ID < 1)
|
||||
set_Value (COLUMNNAME_C_Location_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_C_Location_ID, Integer.valueOf(C_Location_ID));
|
||||
}
|
||||
|
||||
/** Get Address.
|
||||
@return Location or Address
|
||||
*/
|
||||
public int getC_Location_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_Location_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set D-U-N-S.
|
||||
@param DUNS
|
||||
Dun & Bradstreet Number
|
||||
*/
|
||||
public void setDUNS (String DUNS)
|
||||
{
|
||||
if (DUNS == null)
|
||||
throw new IllegalArgumentException ("DUNS is mandatory.");
|
||||
|
||||
if (DUNS.length() > 11)
|
||||
{
|
||||
log.warning("Length > 11 - truncated");
|
||||
DUNS = DUNS.substring(0, 11);
|
||||
}
|
||||
set_Value (COLUMNNAME_DUNS, DUNS);
|
||||
}
|
||||
|
||||
/** Get D-U-N-S.
|
||||
@return Dun & Bradstreet Number
|
||||
*/
|
||||
public String getDUNS ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_DUNS);
|
||||
}
|
||||
|
||||
public I_M_Warehouse getM_Warehouse() throws Exception
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_M_Warehouse.Table_Name);
|
||||
I_M_Warehouse result = null;
|
||||
try {
|
||||
Constructor<?> constructor = null;
|
||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||
result = (I_M_Warehouse)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Warehouse_ID()), get_TrxName()});
|
||||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw e;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Set Warehouse.
|
||||
@param M_Warehouse_ID
|
||||
Storage Warehouse and Service Point
|
||||
*/
|
||||
public void setM_Warehouse_ID (int M_Warehouse_ID)
|
||||
{
|
||||
if (M_Warehouse_ID < 1)
|
||||
set_Value (COLUMNNAME_M_Warehouse_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_M_Warehouse_ID, Integer.valueOf(M_Warehouse_ID));
|
||||
}
|
||||
|
||||
/** Get Warehouse.
|
||||
@return Storage Warehouse and Service Point
|
||||
*/
|
||||
public int getM_Warehouse_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_M_Warehouse_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_PA_Goal getPA_Goal() throws Exception
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_PA_Goal.Table_Name);
|
||||
I_PA_Goal result = null;
|
||||
try {
|
||||
Constructor<?> constructor = null;
|
||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||
result = (I_PA_Goal)constructor.newInstance(new Object[] {getCtx(), new Integer(getPA_Goal_ID()), get_TrxName()});
|
||||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw e;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Set Goal.
|
||||
@param PA_Goal_ID
|
||||
Performance Goal
|
||||
*/
|
||||
public void setPA_Goal_ID (int PA_Goal_ID)
|
||||
{
|
||||
if (PA_Goal_ID < 1)
|
||||
set_Value (COLUMNNAME_PA_Goal_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_PA_Goal_ID, Integer.valueOf(PA_Goal_ID));
|
||||
}
|
||||
|
||||
/** Get Goal.
|
||||
@return Performance Goal
|
||||
*/
|
||||
public int getPA_Goal_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_PA_Goal_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Parent_Org_ID AD_Reference_ID=130 */
|
||||
public static final int PARENT_ORG_ID_AD_Reference_ID=130;
|
||||
/** Set Parent Organization.
|
||||
@param Parent_Org_ID
|
||||
Parent (superior) Organization
|
||||
*/
|
||||
public void setParent_Org_ID (int Parent_Org_ID)
|
||||
{
|
||||
if (Parent_Org_ID < 1)
|
||||
set_Value (COLUMNNAME_Parent_Org_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_Parent_Org_ID, Integer.valueOf(Parent_Org_ID));
|
||||
}
|
||||
|
||||
/** Get Parent Organization.
|
||||
@return Parent (superior) Organization
|
||||
*/
|
||||
public int getParent_Org_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_Parent_Org_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Receipt Footer Msg.
|
||||
@param ReceiptFooterMsg
|
||||
This message will be displayed at the bottom of a receipt when doing a sales or purchase
|
||||
*/
|
||||
public void setReceiptFooterMsg (String ReceiptFooterMsg)
|
||||
{
|
||||
|
||||
if (ReceiptFooterMsg != null && ReceiptFooterMsg.length() > 1023)
|
||||
{
|
||||
log.warning("Length > 1023 - truncated");
|
||||
ReceiptFooterMsg = ReceiptFooterMsg.substring(0, 1023);
|
||||
}
|
||||
set_Value (COLUMNNAME_ReceiptFooterMsg, ReceiptFooterMsg);
|
||||
}
|
||||
|
||||
/** Get Receipt Footer Msg.
|
||||
@return This message will be displayed at the bottom of a receipt when doing a sales or purchase
|
||||
*/
|
||||
public String getReceiptFooterMsg ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_ReceiptFooterMsg);
|
||||
}
|
||||
|
||||
/** Supervisor_ID AD_Reference_ID=286 */
|
||||
public static final int SUPERVISOR_ID_AD_Reference_ID=286;
|
||||
/** Set Supervisor.
|
||||
@param Supervisor_ID
|
||||
Supervisor for this user/organization - used for escalation and approval
|
||||
*/
|
||||
public void setSupervisor_ID (int Supervisor_ID)
|
||||
{
|
||||
if (Supervisor_ID < 1)
|
||||
set_Value (COLUMNNAME_Supervisor_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_Supervisor_ID, Integer.valueOf(Supervisor_ID));
|
||||
}
|
||||
|
||||
/** Get Supervisor.
|
||||
@return Supervisor for this user/organization - used for escalation and approval
|
||||
*/
|
||||
public int getSupervisor_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_Supervisor_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Tax ID.
|
||||
@param TaxID
|
||||
Tax Identification
|
||||
*/
|
||||
public void setTaxID (String TaxID)
|
||||
{
|
||||
if (TaxID == null)
|
||||
throw new IllegalArgumentException ("TaxID is mandatory.");
|
||||
|
||||
if (TaxID.length() > 20)
|
||||
{
|
||||
log.warning("Length > 20 - truncated");
|
||||
TaxID = TaxID.substring(0, 20);
|
||||
}
|
||||
set_Value (COLUMNNAME_TaxID, TaxID);
|
||||
}
|
||||
|
||||
/** Get Tax ID.
|
||||
@return Tax Identification
|
||||
*/
|
||||
public String getTaxID ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_TaxID);
|
||||
}
|
||||
|
||||
/** TransferBank_ID AD_Reference_ID=52001 */
|
||||
public static final int TRANSFERBANK_ID_AD_Reference_ID=52001;
|
||||
/** Set Bank for transfers.
|
||||
@param TransferBank_ID
|
||||
Bank account depending on currency will be used from this bank for doing transfers
|
||||
*/
|
||||
public void setTransferBank_ID (int TransferBank_ID)
|
||||
{
|
||||
if (TransferBank_ID < 1)
|
||||
set_Value (COLUMNNAME_TransferBank_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_TransferBank_ID, Integer.valueOf(TransferBank_ID));
|
||||
}
|
||||
|
||||
/** Get Bank for transfers.
|
||||
@return Bank account depending on currency will be used from this bank for doing transfers
|
||||
*/
|
||||
public int getTransferBank_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_TransferBank_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** TransferCashBook_ID AD_Reference_ID=52004 */
|
||||
public static final int TRANSFERCASHBOOK_ID_AD_Reference_ID=52004;
|
||||
/** Set CashBook for transfers.
|
||||
@param TransferCashBook_ID CashBook for transfers */
|
||||
public void setTransferCashBook_ID (int TransferCashBook_ID)
|
||||
{
|
||||
if (TransferCashBook_ID < 1)
|
||||
set_Value (COLUMNNAME_TransferCashBook_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_TransferCashBook_ID, Integer.valueOf(TransferCashBook_ID));
|
||||
}
|
||||
|
||||
/** Get CashBook for transfers.
|
||||
@return CashBook for transfers */
|
||||
public int getTransferCashBook_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_TransferCashBook_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,537 +0,0 @@
|
|||
/******************************************************************************
|
||||
* 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.lang.reflect.Constructor;
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.ResultSet;
|
||||
import java.util.Properties;
|
||||
import java.util.logging.Level;
|
||||
import org.compiere.util.Env;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
|
||||
/** Generated Model for C_CashLine
|
||||
* @author Adempiere (generated)
|
||||
* @version Release 3.4.0s - $Id$ */
|
||||
public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent
|
||||
{
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_C_CashLine (Properties ctx, int C_CashLine_ID, String trxName)
|
||||
{
|
||||
super (ctx, C_CashLine_ID, trxName);
|
||||
/** if (C_CashLine_ID == 0)
|
||||
{
|
||||
setAmount (Env.ZERO);
|
||||
setCashType (null);
|
||||
// E
|
||||
setC_Cash_ID (0);
|
||||
setC_CashLine_ID (0);
|
||||
setLine (0);
|
||||
// @SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM C_CashLine WHERE C_Cash_ID=@C_Cash_ID@
|
||||
setProcessed (false);
|
||||
} */
|
||||
}
|
||||
|
||||
/** Load Constructor */
|
||||
public X_C_CashLine (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_CashLine[")
|
||||
.append(get_ID()).append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/** Set Amount.
|
||||
@param Amount
|
||||
Amount in a defined currency
|
||||
*/
|
||||
public void setAmount (BigDecimal Amount)
|
||||
{
|
||||
if (Amount == null)
|
||||
throw new IllegalArgumentException ("Amount is mandatory.");
|
||||
set_Value (COLUMNNAME_Amount, Amount);
|
||||
}
|
||||
|
||||
/** Get Amount.
|
||||
@return Amount in a defined currency
|
||||
*/
|
||||
public BigDecimal getAmount ()
|
||||
{
|
||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Amount);
|
||||
if (bd == null)
|
||||
return Env.ZERO;
|
||||
return bd;
|
||||
}
|
||||
|
||||
/** CashType AD_Reference_ID=217 */
|
||||
public static final int CASHTYPE_AD_Reference_ID=217;
|
||||
/** Bank Account Transfer = T */
|
||||
public static final String CASHTYPE_BankAccountTransfer = "T";
|
||||
/** Invoice = I */
|
||||
public static final String CASHTYPE_Invoice = "I";
|
||||
/** General Expense = E */
|
||||
public static final String CASHTYPE_GeneralExpense = "E";
|
||||
/** General Receipts = R */
|
||||
public static final String CASHTYPE_GeneralReceipts = "R";
|
||||
/** Charge = C */
|
||||
public static final String CASHTYPE_Charge = "C";
|
||||
/** Difference = D */
|
||||
public static final String CASHTYPE_Difference = "D";
|
||||
/** Set Cash Type.
|
||||
@param CashType
|
||||
Source of Cash
|
||||
*/
|
||||
public void setCashType (String CashType)
|
||||
{
|
||||
if (CashType == null) throw new IllegalArgumentException ("CashType is mandatory");
|
||||
if (CashType.equals("T") || CashType.equals("I") || CashType.equals("E") || CashType.equals("R") || CashType.equals("C") || CashType.equals("D")); else throw new IllegalArgumentException ("CashType Invalid value - " + CashType + " - Reference_ID=217 - T - I - E - R - C - D");
|
||||
if (CashType.length() > 1)
|
||||
{
|
||||
log.warning("Length > 1 - truncated");
|
||||
CashType = CashType.substring(0, 1);
|
||||
}
|
||||
set_ValueNoCheck (COLUMNNAME_CashType, CashType);
|
||||
}
|
||||
|
||||
/** Get Cash Type.
|
||||
@return Source of Cash
|
||||
*/
|
||||
public String getCashType ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_CashType);
|
||||
}
|
||||
|
||||
public I_C_BankAccount getC_BankAccount() throws Exception
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_C_BankAccount.Table_Name);
|
||||
I_C_BankAccount result = null;
|
||||
try {
|
||||
Constructor<?> constructor = null;
|
||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||
result = (I_C_BankAccount)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BankAccount_ID()), get_TrxName()});
|
||||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw e;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Set Bank Account.
|
||||
@param C_BankAccount_ID
|
||||
Account at the Bank
|
||||
*/
|
||||
public void setC_BankAccount_ID (int C_BankAccount_ID)
|
||||
{
|
||||
if (C_BankAccount_ID < 1)
|
||||
set_Value (COLUMNNAME_C_BankAccount_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_C_BankAccount_ID, Integer.valueOf(C_BankAccount_ID));
|
||||
}
|
||||
|
||||
/** Get Bank Account.
|
||||
@return Account at the Bank
|
||||
*/
|
||||
public int getC_BankAccount_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_BankAccount_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_Cash getC_Cash() throws Exception
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_C_Cash.Table_Name);
|
||||
I_C_Cash result = null;
|
||||
try {
|
||||
Constructor<?> constructor = null;
|
||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||
result = (I_C_Cash)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Cash_ID()), get_TrxName()});
|
||||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw e;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Set Cash Journal.
|
||||
@param C_Cash_ID
|
||||
Cash Journal
|
||||
*/
|
||||
public void setC_Cash_ID (int C_Cash_ID)
|
||||
{
|
||||
if (C_Cash_ID < 1)
|
||||
throw new IllegalArgumentException ("C_Cash_ID is mandatory.");
|
||||
set_ValueNoCheck (COLUMNNAME_C_Cash_ID, Integer.valueOf(C_Cash_ID));
|
||||
}
|
||||
|
||||
/** Get Cash Journal.
|
||||
@return Cash Journal
|
||||
*/
|
||||
public int getC_Cash_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_Cash_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Get Record ID/ColumnName
|
||||
@return ID/ColumnName pair
|
||||
*/
|
||||
public KeyNamePair getKeyNamePair()
|
||||
{
|
||||
return new KeyNamePair(get_ID(), String.valueOf(getC_Cash_ID()));
|
||||
}
|
||||
|
||||
/** Set Cash Journal Line.
|
||||
@param C_CashLine_ID
|
||||
Cash Journal Line
|
||||
*/
|
||||
public void setC_CashLine_ID (int C_CashLine_ID)
|
||||
{
|
||||
if (C_CashLine_ID < 1)
|
||||
throw new IllegalArgumentException ("C_CashLine_ID is mandatory.");
|
||||
set_ValueNoCheck (COLUMNNAME_C_CashLine_ID, Integer.valueOf(C_CashLine_ID));
|
||||
}
|
||||
|
||||
/** Get Cash Journal Line.
|
||||
@return Cash Journal Line
|
||||
*/
|
||||
public int getC_CashLine_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_CashLine_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_Charge getC_Charge() throws Exception
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_C_Charge.Table_Name);
|
||||
I_C_Charge result = null;
|
||||
try {
|
||||
Constructor<?> constructor = null;
|
||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||
result = (I_C_Charge)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Charge_ID()), get_TrxName()});
|
||||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw e;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Set Charge.
|
||||
@param C_Charge_ID
|
||||
Additional document charges
|
||||
*/
|
||||
public void setC_Charge_ID (int C_Charge_ID)
|
||||
{
|
||||
if (C_Charge_ID < 1)
|
||||
set_Value (COLUMNNAME_C_Charge_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_C_Charge_ID, Integer.valueOf(C_Charge_ID));
|
||||
}
|
||||
|
||||
/** Get Charge.
|
||||
@return Additional document charges
|
||||
*/
|
||||
public int getC_Charge_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_Charge_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_Currency getC_Currency() throws Exception
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_C_Currency.Table_Name);
|
||||
I_C_Currency result = null;
|
||||
try {
|
||||
Constructor<?> constructor = null;
|
||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||
result = (I_C_Currency)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Currency_ID()), get_TrxName()});
|
||||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw e;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Set Currency.
|
||||
@param C_Currency_ID
|
||||
The Currency for this record
|
||||
*/
|
||||
public void setC_Currency_ID (int C_Currency_ID)
|
||||
{
|
||||
if (C_Currency_ID < 1)
|
||||
set_ValueNoCheck (COLUMNNAME_C_Currency_ID, null);
|
||||
else
|
||||
set_ValueNoCheck (COLUMNNAME_C_Currency_ID, Integer.valueOf(C_Currency_ID));
|
||||
}
|
||||
|
||||
/** Get Currency.
|
||||
@return The Currency for this record
|
||||
*/
|
||||
public int getC_Currency_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_Currency_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_Invoice getC_Invoice() throws Exception
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_C_Invoice.Table_Name);
|
||||
I_C_Invoice result = null;
|
||||
try {
|
||||
Constructor<?> constructor = null;
|
||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||
result = (I_C_Invoice)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Invoice_ID()), get_TrxName()});
|
||||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw e;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Set Invoice.
|
||||
@param C_Invoice_ID
|
||||
Invoice Identifier
|
||||
*/
|
||||
public void setC_Invoice_ID (int C_Invoice_ID)
|
||||
{
|
||||
if (C_Invoice_ID < 1)
|
||||
set_ValueNoCheck (COLUMNNAME_C_Invoice_ID, null);
|
||||
else
|
||||
set_ValueNoCheck (COLUMNNAME_C_Invoice_ID, Integer.valueOf(C_Invoice_ID));
|
||||
}
|
||||
|
||||
/** Get Invoice.
|
||||
@return Invoice Identifier
|
||||
*/
|
||||
public int getC_Invoice_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_Invoice_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_Payment getC_Payment() throws Exception
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_C_Payment.Table_Name);
|
||||
I_C_Payment result = null;
|
||||
try {
|
||||
Constructor<?> constructor = null;
|
||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||
result = (I_C_Payment)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Payment_ID()), get_TrxName()});
|
||||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw e;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Set Payment.
|
||||
@param C_Payment_ID
|
||||
Payment identifier
|
||||
*/
|
||||
public void setC_Payment_ID (int C_Payment_ID)
|
||||
{
|
||||
if (C_Payment_ID < 1)
|
||||
set_ValueNoCheck (COLUMNNAME_C_Payment_ID, null);
|
||||
else
|
||||
set_ValueNoCheck (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 Description.
|
||||
@param Description
|
||||
Optional short description of the record
|
||||
*/
|
||||
public void setDescription (String Description)
|
||||
{
|
||||
|
||||
if (Description != null && Description.length() > 255)
|
||||
{
|
||||
log.warning("Length > 255 - truncated");
|
||||
Description = Description.substring(0, 255);
|
||||
}
|
||||
set_Value (COLUMNNAME_Description, Description);
|
||||
}
|
||||
|
||||
/** Get Description.
|
||||
@return Optional short description of the record
|
||||
*/
|
||||
public String getDescription ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_Description);
|
||||
}
|
||||
|
||||
/** Set Discount Amount.
|
||||
@param DiscountAmt
|
||||
Calculated amount of discount
|
||||
*/
|
||||
public void setDiscountAmt (BigDecimal DiscountAmt)
|
||||
{
|
||||
set_Value (COLUMNNAME_DiscountAmt, DiscountAmt);
|
||||
}
|
||||
|
||||
/** Get Discount Amount.
|
||||
@return Calculated amount of discount
|
||||
*/
|
||||
public BigDecimal getDiscountAmt ()
|
||||
{
|
||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_DiscountAmt);
|
||||
if (bd == null)
|
||||
return Env.ZERO;
|
||||
return bd;
|
||||
}
|
||||
|
||||
/** Set Generated.
|
||||
@param IsGenerated
|
||||
This Line is generated
|
||||
*/
|
||||
public void setIsGenerated (boolean IsGenerated)
|
||||
{
|
||||
set_ValueNoCheck (COLUMNNAME_IsGenerated, Boolean.valueOf(IsGenerated));
|
||||
}
|
||||
|
||||
/** Get Generated.
|
||||
@return This Line is generated
|
||||
*/
|
||||
public boolean isGenerated ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsGenerated);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Line No.
|
||||
@param Line
|
||||
Unique line for this document
|
||||
*/
|
||||
public void setLine (int Line)
|
||||
{
|
||||
set_Value (COLUMNNAME_Line, Integer.valueOf(Line));
|
||||
}
|
||||
|
||||
/** Get Line No.
|
||||
@return Unique line for this document
|
||||
*/
|
||||
public int getLine ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_Line);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** 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 Write-off Amount.
|
||||
@param WriteOffAmt
|
||||
Amount to write-off
|
||||
*/
|
||||
public void setWriteOffAmt (BigDecimal WriteOffAmt)
|
||||
{
|
||||
set_Value (COLUMNNAME_WriteOffAmt, WriteOffAmt);
|
||||
}
|
||||
|
||||
/** Get Write-off Amount.
|
||||
@return Amount to write-off
|
||||
*/
|
||||
public BigDecimal getWriteOffAmt ()
|
||||
{
|
||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_WriteOffAmt);
|
||||
if (bd == null)
|
||||
return Env.ZERO;
|
||||
return bd;
|
||||
}
|
||||
}
|
|
@ -1,337 +0,0 @@
|
|||
/******************************************************************************
|
||||
* 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;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
|
||||
/** Generated Model for C_Currency
|
||||
* @author Adempiere (generated)
|
||||
* @version Release 3.4.0s - $Id$ */
|
||||
public class X_C_Currency extends PO implements I_C_Currency, I_Persistent
|
||||
{
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_C_Currency (Properties ctx, int C_Currency_ID, String trxName)
|
||||
{
|
||||
super (ctx, C_Currency_ID, trxName);
|
||||
/** if (C_Currency_ID == 0)
|
||||
{
|
||||
setC_Currency_ID (0);
|
||||
setCostingPrecision (0);
|
||||
// 4
|
||||
setDescription (null);
|
||||
setIsEMUMember (false);
|
||||
// N
|
||||
setIsEuro (false);
|
||||
// N
|
||||
setISO_Code (null);
|
||||
setRoundOffFactor (Env.ZERO);
|
||||
// 1
|
||||
setStdPrecision (0);
|
||||
// 2
|
||||
} */
|
||||
}
|
||||
|
||||
/** Load Constructor */
|
||||
public X_C_Currency (Properties ctx, ResultSet rs, String trxName)
|
||||
{
|
||||
super (ctx, rs, trxName);
|
||||
}
|
||||
|
||||
/** AccessLevel
|
||||
* @return 6 - System - Client
|
||||
*/
|
||||
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_Currency[")
|
||||
.append(get_ID()).append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/** Set Currency.
|
||||
@param C_Currency_ID
|
||||
The Currency for this record
|
||||
*/
|
||||
public void setC_Currency_ID (int C_Currency_ID)
|
||||
{
|
||||
if (C_Currency_ID < 1)
|
||||
throw new IllegalArgumentException ("C_Currency_ID is mandatory.");
|
||||
set_ValueNoCheck (COLUMNNAME_C_Currency_ID, Integer.valueOf(C_Currency_ID));
|
||||
}
|
||||
|
||||
/** Get Currency.
|
||||
@return The Currency for this record
|
||||
*/
|
||||
public int getC_Currency_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_Currency_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Costing Precision.
|
||||
@param CostingPrecision
|
||||
Rounding used costing calculations
|
||||
*/
|
||||
public void setCostingPrecision (int CostingPrecision)
|
||||
{
|
||||
set_Value (COLUMNNAME_CostingPrecision, Integer.valueOf(CostingPrecision));
|
||||
}
|
||||
|
||||
/** Get Costing Precision.
|
||||
@return Rounding used costing calculations
|
||||
*/
|
||||
public int getCostingPrecision ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_CostingPrecision);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Symbol.
|
||||
@param CurSymbol
|
||||
Symbol of the currency (opt used for printing only)
|
||||
*/
|
||||
public void setCurSymbol (String CurSymbol)
|
||||
{
|
||||
|
||||
if (CurSymbol != null && CurSymbol.length() > 10)
|
||||
{
|
||||
log.warning("Length > 10 - truncated");
|
||||
CurSymbol = CurSymbol.substring(0, 10);
|
||||
}
|
||||
set_Value (COLUMNNAME_CurSymbol, CurSymbol);
|
||||
}
|
||||
|
||||
/** Get Symbol.
|
||||
@return Symbol of the currency (opt used for printing only)
|
||||
*/
|
||||
public String getCurSymbol ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_CurSymbol);
|
||||
}
|
||||
|
||||
/** Set Description.
|
||||
@param Description
|
||||
Optional short description of the record
|
||||
*/
|
||||
public void setDescription (String Description)
|
||||
{
|
||||
if (Description == null)
|
||||
throw new IllegalArgumentException ("Description is mandatory.");
|
||||
|
||||
if (Description.length() > 255)
|
||||
{
|
||||
log.warning("Length > 255 - truncated");
|
||||
Description = Description.substring(0, 255);
|
||||
}
|
||||
set_Value (COLUMNNAME_Description, Description);
|
||||
}
|
||||
|
||||
/** Get Description.
|
||||
@return Optional short description of the record
|
||||
*/
|
||||
public String getDescription ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_Description);
|
||||
}
|
||||
|
||||
/** Set EMU Entry Date.
|
||||
@param EMUEntryDate
|
||||
Date when the currency joined / will join the EMU
|
||||
*/
|
||||
public void setEMUEntryDate (Timestamp EMUEntryDate)
|
||||
{
|
||||
set_Value (COLUMNNAME_EMUEntryDate, EMUEntryDate);
|
||||
}
|
||||
|
||||
/** Get EMU Entry Date.
|
||||
@return Date when the currency joined / will join the EMU
|
||||
*/
|
||||
public Timestamp getEMUEntryDate ()
|
||||
{
|
||||
return (Timestamp)get_Value(COLUMNNAME_EMUEntryDate);
|
||||
}
|
||||
|
||||
/** Set EMU Rate.
|
||||
@param EMURate
|
||||
Official rate to the Euro
|
||||
*/
|
||||
public void setEMURate (BigDecimal EMURate)
|
||||
{
|
||||
set_Value (COLUMNNAME_EMURate, EMURate);
|
||||
}
|
||||
|
||||
/** Get EMU Rate.
|
||||
@return Official rate to the Euro
|
||||
*/
|
||||
public BigDecimal getEMURate ()
|
||||
{
|
||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_EMURate);
|
||||
if (bd == null)
|
||||
return Env.ZERO;
|
||||
return bd;
|
||||
}
|
||||
|
||||
/** Set EMU Member.
|
||||
@param IsEMUMember
|
||||
This currency is member if the European Monetary Union
|
||||
*/
|
||||
public void setIsEMUMember (boolean IsEMUMember)
|
||||
{
|
||||
set_Value (COLUMNNAME_IsEMUMember, Boolean.valueOf(IsEMUMember));
|
||||
}
|
||||
|
||||
/** Get EMU Member.
|
||||
@return This currency is member if the European Monetary Union
|
||||
*/
|
||||
public boolean isEMUMember ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsEMUMember);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set The Euro Currency.
|
||||
@param IsEuro
|
||||
This currency is the Euro
|
||||
*/
|
||||
public void setIsEuro (boolean IsEuro)
|
||||
{
|
||||
set_Value (COLUMNNAME_IsEuro, Boolean.valueOf(IsEuro));
|
||||
}
|
||||
|
||||
/** Get The Euro Currency.
|
||||
@return This currency is the Euro
|
||||
*/
|
||||
public boolean isEuro ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsEuro);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set ISO Currency Code.
|
||||
@param ISO_Code
|
||||
Three letter ISO 4217 Code of the Currency
|
||||
*/
|
||||
public void setISO_Code (String ISO_Code)
|
||||
{
|
||||
if (ISO_Code == null)
|
||||
throw new IllegalArgumentException ("ISO_Code is mandatory.");
|
||||
|
||||
if (ISO_Code.length() > 3)
|
||||
{
|
||||
log.warning("Length > 3 - truncated");
|
||||
ISO_Code = ISO_Code.substring(0, 3);
|
||||
}
|
||||
set_Value (COLUMNNAME_ISO_Code, ISO_Code);
|
||||
}
|
||||
|
||||
/** Get ISO Currency Code.
|
||||
@return Three letter ISO 4217 Code of the Currency
|
||||
*/
|
||||
public String getISO_Code ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_ISO_Code);
|
||||
}
|
||||
|
||||
/** Get Record ID/ColumnName
|
||||
@return ID/ColumnName pair
|
||||
*/
|
||||
public KeyNamePair getKeyNamePair()
|
||||
{
|
||||
return new KeyNamePair(get_ID(), getISO_Code());
|
||||
}
|
||||
|
||||
/** Set RoundOffFactor.
|
||||
@param RoundOffFactor
|
||||
Used to Round Off Payment Amount
|
||||
*/
|
||||
public void setRoundOffFactor (BigDecimal RoundOffFactor)
|
||||
{
|
||||
if (RoundOffFactor == null)
|
||||
throw new IllegalArgumentException ("RoundOffFactor is mandatory.");
|
||||
set_Value (COLUMNNAME_RoundOffFactor, RoundOffFactor);
|
||||
}
|
||||
|
||||
/** Get RoundOffFactor.
|
||||
@return Used to Round Off Payment Amount
|
||||
*/
|
||||
public BigDecimal getRoundOffFactor ()
|
||||
{
|
||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_RoundOffFactor);
|
||||
if (bd == null)
|
||||
return Env.ZERO;
|
||||
return bd;
|
||||
}
|
||||
|
||||
/** Set Standard Precision.
|
||||
@param StdPrecision
|
||||
Rule for rounding calculated amounts
|
||||
*/
|
||||
public void setStdPrecision (int StdPrecision)
|
||||
{
|
||||
set_Value (COLUMNNAME_StdPrecision, Integer.valueOf(StdPrecision));
|
||||
}
|
||||
|
||||
/** Get Standard Precision.
|
||||
@return Rule for rounding calculated amounts
|
||||
*/
|
||||
public int getStdPrecision ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_StdPrecision);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,477 +0,0 @@
|
|||
/******************************************************************************
|
||||
* 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.lang.reflect.Constructor;
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.ResultSet;
|
||||
import java.util.Properties;
|
||||
import java.util.logging.Level;
|
||||
import org.compiere.util.Env;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
|
||||
/** Generated Model for M_InventoryLine
|
||||
* @author Adempiere (generated)
|
||||
* @version Release 3.4.0s - $Id$ */
|
||||
public class X_M_InventoryLine extends PO implements I_M_InventoryLine, I_Persistent
|
||||
{
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_M_InventoryLine (Properties ctx, int M_InventoryLine_ID, String trxName)
|
||||
{
|
||||
super (ctx, M_InventoryLine_ID, trxName);
|
||||
/** if (M_InventoryLine_ID == 0)
|
||||
{
|
||||
setInventoryType (null);
|
||||
// D
|
||||
setM_AttributeSetInstance_ID (0);
|
||||
setM_Inventory_ID (0);
|
||||
setM_InventoryLine_ID (0);
|
||||
setM_Locator_ID (0);
|
||||
// @M_Locator_ID@
|
||||
setM_Product_ID (0);
|
||||
setProcessed (false);
|
||||
setQtyBook (Env.ZERO);
|
||||
setQtyCount (Env.ZERO);
|
||||
setqtycsv (Env.ZERO);
|
||||
} */
|
||||
}
|
||||
|
||||
/** Load Constructor */
|
||||
public X_M_InventoryLine (Properties ctx, ResultSet rs, String trxName)
|
||||
{
|
||||
super (ctx, rs, trxName);
|
||||
}
|
||||
|
||||
/** AccessLevel
|
||||
* @return 1 - 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_M_InventoryLine[")
|
||||
.append(get_ID()).append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
public I_C_Charge getC_Charge() throws Exception
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_C_Charge.Table_Name);
|
||||
I_C_Charge result = null;
|
||||
try {
|
||||
Constructor<?> constructor = null;
|
||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||
result = (I_C_Charge)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Charge_ID()), get_TrxName()});
|
||||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw e;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Set Charge.
|
||||
@param C_Charge_ID
|
||||
Additional document charges
|
||||
*/
|
||||
public void setC_Charge_ID (int C_Charge_ID)
|
||||
{
|
||||
if (C_Charge_ID < 1)
|
||||
set_Value (COLUMNNAME_C_Charge_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_C_Charge_ID, Integer.valueOf(C_Charge_ID));
|
||||
}
|
||||
|
||||
/** Get Charge.
|
||||
@return Additional document charges
|
||||
*/
|
||||
public int getC_Charge_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_Charge_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Description.
|
||||
@param Description
|
||||
Optional short description of the record
|
||||
*/
|
||||
public void setDescription (String Description)
|
||||
{
|
||||
|
||||
if (Description != null && Description.length() > 255)
|
||||
{
|
||||
log.warning("Length > 255 - truncated");
|
||||
Description = Description.substring(0, 255);
|
||||
}
|
||||
set_Value (COLUMNNAME_Description, Description);
|
||||
}
|
||||
|
||||
/** Get Description.
|
||||
@return Optional short description of the record
|
||||
*/
|
||||
public String getDescription ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_Description);
|
||||
}
|
||||
|
||||
/** InventoryType AD_Reference_ID=292 */
|
||||
public static final int INVENTORYTYPE_AD_Reference_ID=292;
|
||||
/** Inventory Difference = D */
|
||||
public static final String INVENTORYTYPE_InventoryDifference = "D";
|
||||
/** Charge Account = C */
|
||||
public static final String INVENTORYTYPE_ChargeAccount = "C";
|
||||
/** Set Inventory Type.
|
||||
@param InventoryType
|
||||
Type of inventory difference
|
||||
*/
|
||||
public void setInventoryType (String InventoryType)
|
||||
{
|
||||
if (InventoryType == null) throw new IllegalArgumentException ("InventoryType is mandatory");
|
||||
if (InventoryType.equals("D") || InventoryType.equals("C")); else throw new IllegalArgumentException ("InventoryType Invalid value - " + InventoryType + " - Reference_ID=292 - D - C");
|
||||
if (InventoryType.length() > 1)
|
||||
{
|
||||
log.warning("Length > 1 - truncated");
|
||||
InventoryType = InventoryType.substring(0, 1);
|
||||
}
|
||||
set_Value (COLUMNNAME_InventoryType, InventoryType);
|
||||
}
|
||||
|
||||
/** Get Inventory Type.
|
||||
@return Type of inventory difference
|
||||
*/
|
||||
public String getInventoryType ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_InventoryType);
|
||||
}
|
||||
|
||||
/** Set Line No.
|
||||
@param Line
|
||||
Unique line for this document
|
||||
*/
|
||||
public void setLine (int Line)
|
||||
{
|
||||
set_Value (COLUMNNAME_Line, Integer.valueOf(Line));
|
||||
}
|
||||
|
||||
/** Get Line No.
|
||||
@return Unique line for this document
|
||||
*/
|
||||
public int getLine ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_Line);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Get Record ID/ColumnName
|
||||
@return ID/ColumnName pair
|
||||
*/
|
||||
public KeyNamePair getKeyNamePair()
|
||||
{
|
||||
return new KeyNamePair(get_ID(), String.valueOf(getLine()));
|
||||
}
|
||||
|
||||
/** Set Attribute Set Instance.
|
||||
@param M_AttributeSetInstance_ID
|
||||
Product Attribute Set Instance
|
||||
*/
|
||||
public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID)
|
||||
{
|
||||
if (M_AttributeSetInstance_ID < 0)
|
||||
throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory.");
|
||||
set_Value (COLUMNNAME_M_AttributeSetInstance_ID, Integer.valueOf(M_AttributeSetInstance_ID));
|
||||
}
|
||||
|
||||
/** Get Attribute Set Instance.
|
||||
@return Product Attribute Set Instance
|
||||
*/
|
||||
public int getM_AttributeSetInstance_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_M_AttributeSetInstance_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_M_Inventory getM_Inventory() throws Exception
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_M_Inventory.Table_Name);
|
||||
I_M_Inventory result = null;
|
||||
try {
|
||||
Constructor<?> constructor = null;
|
||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||
result = (I_M_Inventory)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Inventory_ID()), get_TrxName()});
|
||||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw e;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Set Phys.Inventory.
|
||||
@param M_Inventory_ID
|
||||
Parameters for a Physical Inventory
|
||||
*/
|
||||
public void setM_Inventory_ID (int M_Inventory_ID)
|
||||
{
|
||||
if (M_Inventory_ID < 1)
|
||||
throw new IllegalArgumentException ("M_Inventory_ID is mandatory.");
|
||||
set_ValueNoCheck (COLUMNNAME_M_Inventory_ID, Integer.valueOf(M_Inventory_ID));
|
||||
}
|
||||
|
||||
/** Get Phys.Inventory.
|
||||
@return Parameters for a Physical Inventory
|
||||
*/
|
||||
public int getM_Inventory_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_M_Inventory_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Phys.Inventory Line.
|
||||
@param M_InventoryLine_ID
|
||||
Unique line in an Inventory document
|
||||
*/
|
||||
public void setM_InventoryLine_ID (int M_InventoryLine_ID)
|
||||
{
|
||||
if (M_InventoryLine_ID < 1)
|
||||
throw new IllegalArgumentException ("M_InventoryLine_ID is mandatory.");
|
||||
set_ValueNoCheck (COLUMNNAME_M_InventoryLine_ID, Integer.valueOf(M_InventoryLine_ID));
|
||||
}
|
||||
|
||||
/** Get Phys.Inventory Line.
|
||||
@return Unique line in an Inventory document
|
||||
*/
|
||||
public int getM_InventoryLine_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_M_InventoryLine_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Locator.
|
||||
@param M_Locator_ID
|
||||
Warehouse Locator
|
||||
*/
|
||||
public void setM_Locator_ID (int M_Locator_ID)
|
||||
{
|
||||
if (M_Locator_ID < 1)
|
||||
throw new IllegalArgumentException ("M_Locator_ID is mandatory.");
|
||||
set_Value (COLUMNNAME_M_Locator_ID, Integer.valueOf(M_Locator_ID));
|
||||
}
|
||||
|
||||
/** Get Locator.
|
||||
@return Warehouse Locator
|
||||
*/
|
||||
public int getM_Locator_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_M_Locator_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** M_Product_ID AD_Reference_ID=171 */
|
||||
public static final int M_PRODUCT_ID_AD_Reference_ID=171;
|
||||
/** Set Product.
|
||||
@param M_Product_ID
|
||||
Product, Service, Item
|
||||
*/
|
||||
public void setM_Product_ID (int M_Product_ID)
|
||||
{
|
||||
if (M_Product_ID < 1)
|
||||
throw new IllegalArgumentException ("M_Product_ID is mandatory.");
|
||||
set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID));
|
||||
}
|
||||
|
||||
/** Get Product.
|
||||
@return Product, Service, Item
|
||||
*/
|
||||
public int getM_Product_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_M_Product_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** 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 Quantity book.
|
||||
@param QtyBook
|
||||
Book Quantity
|
||||
*/
|
||||
public void setQtyBook (BigDecimal QtyBook)
|
||||
{
|
||||
if (QtyBook == null)
|
||||
throw new IllegalArgumentException ("QtyBook is mandatory.");
|
||||
set_ValueNoCheck (COLUMNNAME_QtyBook, QtyBook);
|
||||
}
|
||||
|
||||
/** Get Quantity book.
|
||||
@return Book Quantity
|
||||
*/
|
||||
public BigDecimal getQtyBook ()
|
||||
{
|
||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyBook);
|
||||
if (bd == null)
|
||||
return Env.ZERO;
|
||||
return bd;
|
||||
}
|
||||
|
||||
/** Set Quantity count.
|
||||
@param QtyCount
|
||||
Counted Quantity
|
||||
*/
|
||||
public void setQtyCount (BigDecimal QtyCount)
|
||||
{
|
||||
if (QtyCount == null)
|
||||
throw new IllegalArgumentException ("QtyCount is mandatory.");
|
||||
set_Value (COLUMNNAME_QtyCount, QtyCount);
|
||||
}
|
||||
|
||||
/** Get Quantity count.
|
||||
@return Counted Quantity
|
||||
*/
|
||||
public BigDecimal getQtyCount ()
|
||||
{
|
||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyCount);
|
||||
if (bd == null)
|
||||
return Env.ZERO;
|
||||
return bd;
|
||||
}
|
||||
|
||||
/** Set Quantity CSV.
|
||||
@param Quantity CSV
|
||||
Quantity CSV
|
||||
*/
|
||||
public void setQtyCsv (BigDecimal QtyCsv)
|
||||
{
|
||||
if (QtyCsv == null)
|
||||
throw new IllegalArgumentException ("qtycsv is mandatory.");
|
||||
set_Value (COLUMNNAME_QtyCsv, QtyCsv);
|
||||
}
|
||||
|
||||
/** Get Quantity CSV.
|
||||
@return Quantity CSV
|
||||
*/
|
||||
public BigDecimal getQtyCsv ()
|
||||
{
|
||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyCsv);
|
||||
if (bd == null)
|
||||
return Env.ZERO;
|
||||
return bd;
|
||||
}
|
||||
|
||||
/** Set Internal Use Qty.
|
||||
@param QtyInternalUse
|
||||
Internal Use Quantity removed from Inventory
|
||||
*/
|
||||
public void setQtyInternalUse (BigDecimal QtyInternalUse)
|
||||
{
|
||||
set_Value (COLUMNNAME_QtyInternalUse, QtyInternalUse);
|
||||
}
|
||||
|
||||
/** Get Internal Use Qty.
|
||||
@return Internal Use Quantity removed from Inventory
|
||||
*/
|
||||
public BigDecimal getQtyInternalUse ()
|
||||
{
|
||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyInternalUse);
|
||||
if (bd == null)
|
||||
return Env.ZERO;
|
||||
return bd;
|
||||
}
|
||||
|
||||
/** Set UPC/EAN.
|
||||
@param UPC
|
||||
Bar Code (Universal Product Code or its superset European Article Number)
|
||||
*/
|
||||
public void setUPC (String UPC)
|
||||
{
|
||||
throw new IllegalArgumentException ("UPC is virtual column"); }
|
||||
|
||||
/** Get UPC/EAN.
|
||||
@return Bar Code (Universal Product Code or its superset European Article Number)
|
||||
*/
|
||||
public String getUPC ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_UPC);
|
||||
}
|
||||
|
||||
/** Set Search Key.
|
||||
@param Value
|
||||
Search key for the record in the format required - must be unique
|
||||
*/
|
||||
public void setValue (String Value)
|
||||
{
|
||||
throw new IllegalArgumentException ("Value is virtual column"); }
|
||||
|
||||
/** 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);
|
||||
}
|
||||
}
|
|
@ -1,388 +0,0 @@
|
|||
/******************************************************************************
|
||||
* 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.lang.reflect.Constructor;
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.ResultSet;
|
||||
import java.util.Properties;
|
||||
import java.util.logging.Level;
|
||||
import org.compiere.util.Env;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
|
||||
/** Generated Model for M_PriceList
|
||||
* @author Adempiere (generated)
|
||||
* @version Release 3.3.1b - $Id$ */
|
||||
public class X_M_PriceList extends PO implements I_M_PriceList, I_Persistent
|
||||
{
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_M_PriceList (Properties ctx, int M_PriceList_ID, String trxName)
|
||||
{
|
||||
super (ctx, M_PriceList_ID, trxName);
|
||||
/** if (M_PriceList_ID == 0)
|
||||
{
|
||||
setC_Currency_ID (0);
|
||||
setEnforcePriceLimit (false);
|
||||
setIsDefault (false);
|
||||
setIsSOPriceList (false);
|
||||
setIsTaxIncluded (false);
|
||||
setM_PriceList_ID (0);
|
||||
setName (null);
|
||||
setPricePrecision (Env.ZERO);
|
||||
// 2
|
||||
} */
|
||||
}
|
||||
|
||||
/** Load Constructor */
|
||||
public X_M_PriceList (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);
|
||||
return poi;
|
||||
}
|
||||
|
||||
public String toString()
|
||||
{
|
||||
StringBuffer sb = new StringBuffer ("X_M_PriceList[")
|
||||
.append(get_ID()).append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/** BasePriceList_ID AD_Reference_ID=166 */
|
||||
public static final int BASEPRICELIST_ID_AD_Reference_ID=166;
|
||||
/** Set Base Pricelist.
|
||||
@param BasePriceList_ID
|
||||
Pricelist to be used, if product not found on this pricelist
|
||||
*/
|
||||
public void setBasePriceList_ID (int BasePriceList_ID)
|
||||
{
|
||||
if (BasePriceList_ID <= 0)
|
||||
set_Value (COLUMNNAME_BasePriceList_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_BasePriceList_ID, Integer.valueOf(BasePriceList_ID));
|
||||
}
|
||||
|
||||
/** Get Base Pricelist.
|
||||
@return Pricelist to be used, if product not found on this pricelist
|
||||
*/
|
||||
public int getBasePriceList_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_BasePriceList_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_Currency getC_Currency() throws Exception
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_C_Currency.Table_Name);
|
||||
I_C_Currency result = null;
|
||||
try {
|
||||
Constructor<?> constructor = null;
|
||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||
result = (I_C_Currency)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Currency_ID()), get_TrxName()});
|
||||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw e;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Set Currency.
|
||||
@param C_Currency_ID
|
||||
The Currency for this record
|
||||
*/
|
||||
public void setC_Currency_ID (int C_Currency_ID)
|
||||
{
|
||||
if (C_Currency_ID < 1)
|
||||
throw new IllegalArgumentException ("C_Currency_ID is mandatory.");
|
||||
set_Value (COLUMNNAME_C_Currency_ID, Integer.valueOf(C_Currency_ID));
|
||||
}
|
||||
|
||||
/** Get Currency.
|
||||
@return The Currency for this record
|
||||
*/
|
||||
public int getC_Currency_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_Currency_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Description.
|
||||
@param Description
|
||||
Optional short description of the record
|
||||
*/
|
||||
public void setDescription (String Description)
|
||||
{
|
||||
|
||||
if (Description != null && Description.length() > 255)
|
||||
{
|
||||
log.warning("Length > 255 - truncated");
|
||||
Description = Description.substring(0, 255);
|
||||
}
|
||||
set_Value (COLUMNNAME_Description, Description);
|
||||
}
|
||||
|
||||
/** Get Description.
|
||||
@return Optional short description of the record
|
||||
*/
|
||||
public String getDescription ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_Description);
|
||||
}
|
||||
|
||||
/** Set Enforce price limit.
|
||||
@param EnforcePriceLimit
|
||||
Do not allow prices below the limit price
|
||||
*/
|
||||
public void setEnforcePriceLimit (boolean EnforcePriceLimit)
|
||||
{
|
||||
set_Value (COLUMNNAME_EnforcePriceLimit, Boolean.valueOf(EnforcePriceLimit));
|
||||
}
|
||||
|
||||
/** Get Enforce price limit.
|
||||
@return Do not allow prices below the limit price
|
||||
*/
|
||||
public boolean isEnforcePriceLimit ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_EnforcePriceLimit);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Default.
|
||||
@param IsDefault
|
||||
Default value
|
||||
*/
|
||||
public void setIsDefault (boolean IsDefault)
|
||||
{
|
||||
set_Value (COLUMNNAME_IsDefault, Boolean.valueOf(IsDefault));
|
||||
}
|
||||
|
||||
/** Get Default.
|
||||
@return Default value
|
||||
*/
|
||||
public boolean isDefault ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsDefault);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Mandatory.
|
||||
@param IsMandatory
|
||||
Data entry is required in this column
|
||||
*/
|
||||
public void setIsMandatory (boolean IsMandatory)
|
||||
{
|
||||
set_Value (COLUMNNAME_IsMandatory, Boolean.valueOf(IsMandatory));
|
||||
}
|
||||
|
||||
/** Get Mandatory.
|
||||
@return Data entry is required in this column
|
||||
*/
|
||||
public boolean isMandatory ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsMandatory);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set isPresentForProduct.
|
||||
@param isPresentForProduct isPresentForProduct */
|
||||
public void setisPresentForProduct (boolean isPresentForProduct)
|
||||
{
|
||||
set_Value (COLUMNNAME_isPresentForProduct, Boolean.valueOf(isPresentForProduct));
|
||||
}
|
||||
|
||||
/** Get isPresentForProduct.
|
||||
@return isPresentForProduct */
|
||||
public boolean isPresentForProduct ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_isPresentForProduct);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Sales Price list.
|
||||
@param IsSOPriceList
|
||||
This is a Sales Price List
|
||||
*/
|
||||
public void setIsSOPriceList (boolean IsSOPriceList)
|
||||
{
|
||||
set_Value (COLUMNNAME_IsSOPriceList, Boolean.valueOf(IsSOPriceList));
|
||||
}
|
||||
|
||||
/** Get Sales Price list.
|
||||
@return This is a Sales Price List
|
||||
*/
|
||||
public boolean isSOPriceList ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsSOPriceList);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Price includes Tax.
|
||||
@param IsTaxIncluded
|
||||
Tax is included in the price
|
||||
*/
|
||||
public void setIsTaxIncluded (boolean IsTaxIncluded)
|
||||
{
|
||||
set_Value (COLUMNNAME_IsTaxIncluded, Boolean.valueOf(IsTaxIncluded));
|
||||
}
|
||||
|
||||
/** Get Price includes Tax.
|
||||
@return Tax is included in the price
|
||||
*/
|
||||
public boolean isTaxIncluded ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsTaxIncluded);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Price List.
|
||||
@param M_PriceList_ID
|
||||
Unique identifier of a Price List
|
||||
*/
|
||||
public void setM_PriceList_ID (int M_PriceList_ID)
|
||||
{
|
||||
if (M_PriceList_ID < 1)
|
||||
throw new IllegalArgumentException ("M_PriceList_ID is mandatory.");
|
||||
set_ValueNoCheck (COLUMNNAME_M_PriceList_ID, Integer.valueOf(M_PriceList_ID));
|
||||
}
|
||||
|
||||
/** Get Price List.
|
||||
@return Unique identifier of a Price List
|
||||
*/
|
||||
public int getM_PriceList_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_M_PriceList_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Name.
|
||||
@param Name
|
||||
Alphanumeric identifier of the entity
|
||||
*/
|
||||
public void setName (String Name)
|
||||
{
|
||||
if (Name == null)
|
||||
throw new IllegalArgumentException ("Name is mandatory.");
|
||||
|
||||
if (Name.length() > 60)
|
||||
{
|
||||
log.warning("Length > 60 - truncated");
|
||||
Name = Name.substring(0, 60);
|
||||
}
|
||||
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 Price Precision.
|
||||
@param PricePrecision
|
||||
Precision (number of decimals) for the Price
|
||||
*/
|
||||
public void setPricePrecision (BigDecimal PricePrecision)
|
||||
{
|
||||
if (PricePrecision == null)
|
||||
throw new IllegalArgumentException ("PricePrecision is mandatory.");
|
||||
set_Value (COLUMNNAME_PricePrecision, PricePrecision);
|
||||
}
|
||||
|
||||
/** Get Price Precision.
|
||||
@return Precision (number of decimals) for the Price
|
||||
*/
|
||||
public BigDecimal getPricePrecision ()
|
||||
{
|
||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_PricePrecision);
|
||||
if (bd == null)
|
||||
return Env.ZERO;
|
||||
return bd;
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,774 +0,0 @@
|
|||
/******************************************************************************
|
||||
* 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.lang.reflect.Constructor;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Properties;
|
||||
import java.util.logging.Level;
|
||||
|
||||
/** Generated Model for U_POSTerminal
|
||||
* @author Adempiere (generated)
|
||||
* @version Release 3.4.0s - $Id$ */
|
||||
public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent
|
||||
{
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_U_POSTerminal (Properties ctx, int U_POSTerminal_ID, String trxName)
|
||||
{
|
||||
super (ctx, U_POSTerminal_ID, trxName);
|
||||
/** if (U_POSTerminal_ID == 0)
|
||||
{
|
||||
setAutoLock (false);
|
||||
// N
|
||||
setCashBookTransferType (null);
|
||||
setC_CashBook_ID (0);
|
||||
setC_CashBPartner_ID (0);
|
||||
setU_POSTerminal_ID (0);
|
||||
} */
|
||||
}
|
||||
|
||||
/** Load Constructor */
|
||||
public X_U_POSTerminal (Properties ctx, ResultSet rs, String trxName)
|
||||
{
|
||||
super (ctx, rs, trxName);
|
||||
}
|
||||
|
||||
/** AccessLevel
|
||||
* @return 1 - 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_U_POSTerminal[")
|
||||
.append(get_ID()).append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/** Set Auto Lock.
|
||||
@param AutoLock
|
||||
Whether to automatically lock the terminal when till is closed
|
||||
*/
|
||||
public void setAutoLock (boolean AutoLock)
|
||||
{
|
||||
set_Value (COLUMNNAME_AutoLock, Boolean.valueOf(AutoLock));
|
||||
}
|
||||
|
||||
/** Get Auto Lock.
|
||||
@return Whether to automatically lock the terminal when till is closed
|
||||
*/
|
||||
public boolean isAutoLock ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_AutoLock);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Card_BankAccount_ID AD_Reference_ID=52003 */
|
||||
public static final int CARD_BANKACCOUNT_ID_AD_Reference_ID=52003;
|
||||
/** Set Card Bank Account.
|
||||
@param Card_BankAccount_ID
|
||||
Bank Account on which card transactions will be processed
|
||||
*/
|
||||
public void setCard_BankAccount_ID (int Card_BankAccount_ID)
|
||||
{
|
||||
if (Card_BankAccount_ID < 1)
|
||||
set_Value (COLUMNNAME_Card_BankAccount_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_Card_BankAccount_ID, Integer.valueOf(Card_BankAccount_ID));
|
||||
}
|
||||
|
||||
/** Get Card Bank Account.
|
||||
@return Bank Account on which card transactions will be processed
|
||||
*/
|
||||
public int getCard_BankAccount_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_Card_BankAccount_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** CardTransferBankAccount_ID AD_Reference_ID=52003 */
|
||||
public static final int CARDTRANSFERBANKACCOUNT_ID_AD_Reference_ID=52003;
|
||||
/** Set Transfer Card trx to.
|
||||
@param CardTransferBankAccount_ID
|
||||
Bank account on which to transfer Card transactions
|
||||
*/
|
||||
public void setCardTransferBankAccount_ID (int CardTransferBankAccount_ID)
|
||||
{
|
||||
if (CardTransferBankAccount_ID < 1)
|
||||
set_Value (COLUMNNAME_CardTransferBankAccount_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_CardTransferBankAccount_ID, Integer.valueOf(CardTransferBankAccount_ID));
|
||||
}
|
||||
|
||||
/** Get Transfer Card trx to.
|
||||
@return Bank account on which to transfer Card transactions
|
||||
*/
|
||||
public int getCardTransferBankAccount_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_CardTransferBankAccount_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** CardTransferCashBook_ID AD_Reference_ID=52004 */
|
||||
public static final int CARDTRANSFERCASHBOOK_ID_AD_Reference_ID=52004;
|
||||
/** Set Transfer Card trx to.
|
||||
@param CardTransferCashBook_ID
|
||||
Cash Book on which to transfer all Card transactions
|
||||
*/
|
||||
public void setCardTransferCashBook_ID (int CardTransferCashBook_ID)
|
||||
{
|
||||
if (CardTransferCashBook_ID < 1)
|
||||
set_Value (COLUMNNAME_CardTransferCashBook_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_CardTransferCashBook_ID, Integer.valueOf(CardTransferCashBook_ID));
|
||||
}
|
||||
|
||||
/** Get Transfer Card trx to.
|
||||
@return Cash Book on which to transfer all Card transactions
|
||||
*/
|
||||
public int getCardTransferCashBook_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_CardTransferCashBook_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** CardTransferType AD_Reference_ID=52002 */
|
||||
public static final int CARDTRANSFERTYPE_AD_Reference_ID=52002;
|
||||
/** Bank Account = B */
|
||||
public static final String CARDTRANSFERTYPE_BankAccount = "B";
|
||||
/** CashBook = C */
|
||||
public static final String CARDTRANSFERTYPE_CashBook = "C";
|
||||
/** Set Card Transfer Type.
|
||||
@param CardTransferType Card Transfer Type */
|
||||
public void setCardTransferType (String CardTransferType)
|
||||
{
|
||||
|
||||
if (CardTransferType == null || CardTransferType.equals("B") || CardTransferType.equals("C")); else throw new IllegalArgumentException ("CardTransferType Invalid value - " + CardTransferType + " - Reference_ID=52002 - B - C");
|
||||
if (CardTransferType != null && CardTransferType.length() > 1)
|
||||
{
|
||||
log.warning("Length > 1 - truncated");
|
||||
CardTransferType = CardTransferType.substring(0, 1);
|
||||
}
|
||||
set_Value (COLUMNNAME_CardTransferType, CardTransferType);
|
||||
}
|
||||
|
||||
/** Get Card Transfer Type.
|
||||
@return Card Transfer Type */
|
||||
public String getCardTransferType ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_CardTransferType);
|
||||
}
|
||||
|
||||
/** CashBookTransferType AD_Reference_ID=52002 */
|
||||
public static final int CASHBOOKTRANSFERTYPE_AD_Reference_ID=52002;
|
||||
/** Bank Account = B */
|
||||
public static final String CASHBOOKTRANSFERTYPE_BankAccount = "B";
|
||||
/** CashBook = C */
|
||||
public static final String CASHBOOKTRANSFERTYPE_CashBook = "C";
|
||||
/** Set Cash Book Transfer Type.
|
||||
@param CashBookTransferType
|
||||
Where the money in the cash book should be transfered to. Either a Bank Account or another Cash Book
|
||||
*/
|
||||
public void setCashBookTransferType (String CashBookTransferType)
|
||||
{
|
||||
if (CashBookTransferType == null) throw new IllegalArgumentException ("CashBookTransferType is mandatory");
|
||||
if (CashBookTransferType.equals("B") || CashBookTransferType.equals("C")); else throw new IllegalArgumentException ("CashBookTransferType Invalid value - " + CashBookTransferType + " - Reference_ID=52002 - B - C");
|
||||
if (CashBookTransferType.length() > 1)
|
||||
{
|
||||
log.warning("Length > 1 - truncated");
|
||||
CashBookTransferType = CashBookTransferType.substring(0, 1);
|
||||
}
|
||||
set_Value (COLUMNNAME_CashBookTransferType, CashBookTransferType);
|
||||
}
|
||||
|
||||
/** Get Cash Book Transfer Type.
|
||||
@return Where the money in the cash book should be transfered to. Either a Bank Account or another Cash Book
|
||||
*/
|
||||
public String getCashBookTransferType ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_CashBookTransferType);
|
||||
}
|
||||
|
||||
/** CashTransferBankAccount_ID AD_Reference_ID=52003 */
|
||||
public static final int CASHTRANSFERBANKACCOUNT_ID_AD_Reference_ID=52003;
|
||||
/** Set Transfer Cash trx to.
|
||||
@param CashTransferBankAccount_ID
|
||||
Bank Account on which to transfer all Cash transactions
|
||||
*/
|
||||
public void setCashTransferBankAccount_ID (int CashTransferBankAccount_ID)
|
||||
{
|
||||
if (CashTransferBankAccount_ID < 1)
|
||||
set_Value (COLUMNNAME_CashTransferBankAccount_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_CashTransferBankAccount_ID, Integer.valueOf(CashTransferBankAccount_ID));
|
||||
}
|
||||
|
||||
/** Get Transfer Cash trx to.
|
||||
@return Bank Account on which to transfer all Cash transactions
|
||||
*/
|
||||
public int getCashTransferBankAccount_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_CashTransferBankAccount_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** CashTransferCashBook_ID AD_Reference_ID=52004 */
|
||||
public static final int CASHTRANSFERCASHBOOK_ID_AD_Reference_ID=52004;
|
||||
/** Set Transfer Cash trx to.
|
||||
@param CashTransferCashBook_ID
|
||||
Cash Book on which to transfer all Cash transactions
|
||||
*/
|
||||
public void setCashTransferCashBook_ID (int CashTransferCashBook_ID)
|
||||
{
|
||||
if (CashTransferCashBook_ID < 1)
|
||||
set_Value (COLUMNNAME_CashTransferCashBook_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_CashTransferCashBook_ID, Integer.valueOf(CashTransferCashBook_ID));
|
||||
}
|
||||
|
||||
/** Get Transfer Cash trx to.
|
||||
@return Cash Book on which to transfer all Cash transactions
|
||||
*/
|
||||
public int getCashTransferCashBook_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_CashTransferCashBook_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_C_CashBook getC_CashBook() throws Exception
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_C_CashBook.Table_Name);
|
||||
I_C_CashBook result = null;
|
||||
try {
|
||||
Constructor<?> constructor = null;
|
||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||
result = (I_C_CashBook)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_CashBook_ID()), get_TrxName()});
|
||||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw e;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Set Cash Book.
|
||||
@param C_CashBook_ID
|
||||
Cash Book for recording petty cash transactions
|
||||
*/
|
||||
public void setC_CashBook_ID (int C_CashBook_ID)
|
||||
{
|
||||
if (C_CashBook_ID < 1)
|
||||
throw new IllegalArgumentException ("C_CashBook_ID is mandatory.");
|
||||
set_Value (COLUMNNAME_C_CashBook_ID, Integer.valueOf(C_CashBook_ID));
|
||||
}
|
||||
|
||||
/** Get Cash Book.
|
||||
@return Cash Book for recording petty cash transactions
|
||||
*/
|
||||
public int getC_CashBook_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_CashBook_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** C_CashBPartner_ID AD_Reference_ID=173 */
|
||||
public static final int C_CASHBPARTNER_ID_AD_Reference_ID=173;
|
||||
/** Set Cash BPartner.
|
||||
@param C_CashBPartner_ID
|
||||
BPartner to be used for Cash transactions
|
||||
*/
|
||||
public void setC_CashBPartner_ID (int C_CashBPartner_ID)
|
||||
{
|
||||
if (C_CashBPartner_ID < 1)
|
||||
throw new IllegalArgumentException ("C_CashBPartner_ID is mandatory.");
|
||||
set_Value (COLUMNNAME_C_CashBPartner_ID, Integer.valueOf(C_CashBPartner_ID));
|
||||
}
|
||||
|
||||
/** Get Cash BPartner.
|
||||
@return BPartner to be used for Cash transactions
|
||||
*/
|
||||
public int getC_CashBPartner_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_CashBPartner_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Check_BankAccount_ID AD_Reference_ID=52003 */
|
||||
public static final int CHECK_BANKACCOUNT_ID_AD_Reference_ID=52003;
|
||||
/** Set Check Bank Account.
|
||||
@param Check_BankAccount_ID
|
||||
Bank Account to be used for processing Check transactions
|
||||
*/
|
||||
public void setCheck_BankAccount_ID (int Check_BankAccount_ID)
|
||||
{
|
||||
if (Check_BankAccount_ID < 1)
|
||||
set_Value (COLUMNNAME_Check_BankAccount_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_Check_BankAccount_ID, Integer.valueOf(Check_BankAccount_ID));
|
||||
}
|
||||
|
||||
/** Get Check Bank Account.
|
||||
@return Bank Account to be used for processing Check transactions
|
||||
*/
|
||||
public int getCheck_BankAccount_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_Check_BankAccount_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** CheckTransferBankAccount_ID AD_Reference_ID=52003 */
|
||||
public static final int CHECKTRANSFERBANKACCOUNT_ID_AD_Reference_ID=52003;
|
||||
/** Set Tranfer Check trx to.
|
||||
@param CheckTransferBankAccount_ID
|
||||
Bank account on which to transfer Check transactions
|
||||
*/
|
||||
public void setCheckTransferBankAccount_ID (int CheckTransferBankAccount_ID)
|
||||
{
|
||||
if (CheckTransferBankAccount_ID < 1)
|
||||
set_Value (COLUMNNAME_CheckTransferBankAccount_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_CheckTransferBankAccount_ID, Integer.valueOf(CheckTransferBankAccount_ID));
|
||||
}
|
||||
|
||||
/** Get Tranfer Check trx to.
|
||||
@return Bank account on which to transfer Check transactions
|
||||
*/
|
||||
public int getCheckTransferBankAccount_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_CheckTransferBankAccount_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** CheckTransferCashBook_ID AD_Reference_ID=52004 */
|
||||
public static final int CHECKTRANSFERCASHBOOK_ID_AD_Reference_ID=52004;
|
||||
/** Set Transfer Check trx to.
|
||||
@param CheckTransferCashBook_ID
|
||||
Cash Book on which to transfer all Check transactions
|
||||
*/
|
||||
public void setCheckTransferCashBook_ID (int CheckTransferCashBook_ID)
|
||||
{
|
||||
if (CheckTransferCashBook_ID < 1)
|
||||
set_Value (COLUMNNAME_CheckTransferCashBook_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_CheckTransferCashBook_ID, Integer.valueOf(CheckTransferCashBook_ID));
|
||||
}
|
||||
|
||||
/** Get Transfer Check trx to.
|
||||
@return Cash Book on which to transfer all Check transactions
|
||||
*/
|
||||
public int getCheckTransferCashBook_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_CheckTransferCashBook_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** CheckTransferType AD_Reference_ID=52002 */
|
||||
public static final int CHECKTRANSFERTYPE_AD_Reference_ID=52002;
|
||||
/** Bank Account = B */
|
||||
public static final String CHECKTRANSFERTYPE_BankAccount = "B";
|
||||
/** CashBook = C */
|
||||
public static final String CHECKTRANSFERTYPE_CashBook = "C";
|
||||
/** Set Check Transfer Type.
|
||||
@param CheckTransferType Check Transfer Type */
|
||||
public void setCheckTransferType (String CheckTransferType)
|
||||
{
|
||||
|
||||
if (CheckTransferType == null || CheckTransferType.equals("B") || CheckTransferType.equals("C")); else throw new IllegalArgumentException ("CheckTransferType Invalid value - " + CheckTransferType + " - Reference_ID=52002 - B - C");
|
||||
if (CheckTransferType != null && CheckTransferType.length() > 1)
|
||||
{
|
||||
log.warning("Length > 1 - truncated");
|
||||
CheckTransferType = CheckTransferType.substring(0, 1);
|
||||
}
|
||||
set_Value (COLUMNNAME_CheckTransferType, CheckTransferType);
|
||||
}
|
||||
|
||||
/** Get Check Transfer Type.
|
||||
@return Check Transfer Type */
|
||||
public String getCheckTransferType ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_CheckTransferType);
|
||||
}
|
||||
|
||||
/** C_TemplateBPartner_ID AD_Reference_ID=173 */
|
||||
public static final int C_TEMPLATEBPARTNER_ID_AD_Reference_ID=173;
|
||||
/** Set Template BPartner.
|
||||
@param C_TemplateBPartner_ID
|
||||
BPartner that is to be used as template when new customers are created
|
||||
*/
|
||||
public void setC_TemplateBPartner_ID (int C_TemplateBPartner_ID)
|
||||
{
|
||||
if (C_TemplateBPartner_ID < 1)
|
||||
set_Value (COLUMNNAME_C_TemplateBPartner_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_C_TemplateBPartner_ID, Integer.valueOf(C_TemplateBPartner_ID));
|
||||
}
|
||||
|
||||
/** Get Template BPartner.
|
||||
@return BPartner that is to be used as template when new customers are created
|
||||
*/
|
||||
public int getC_TemplateBPartner_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_TemplateBPartner_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Description.
|
||||
@param Description
|
||||
Optional short description of the record
|
||||
*/
|
||||
public void setDescription (String Description)
|
||||
{
|
||||
|
||||
if (Description != null && Description.length() > 255)
|
||||
{
|
||||
log.warning("Length > 255 - truncated");
|
||||
Description = Description.substring(0, 255);
|
||||
}
|
||||
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)
|
||||
{
|
||||
|
||||
if (Help != null && Help.length() > 2000)
|
||||
{
|
||||
log.warning("Length > 2000 - truncated");
|
||||
Help = Help.substring(0, 2000);
|
||||
}
|
||||
set_Value (COLUMNNAME_Help, Help);
|
||||
}
|
||||
|
||||
/** Get Comment/Help.
|
||||
@return Comment or Hint
|
||||
*/
|
||||
public String getHelp ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_Help);
|
||||
}
|
||||
|
||||
/** Set Last Lock Time.
|
||||
@param LastLockTime
|
||||
Last time at which the terminal was locked
|
||||
*/
|
||||
public void setLastLockTime (Timestamp LastLockTime)
|
||||
{
|
||||
set_Value (COLUMNNAME_LastLockTime, LastLockTime);
|
||||
}
|
||||
|
||||
/** Get Last Lock Time.
|
||||
@return Last time at which the terminal was locked
|
||||
*/
|
||||
public Timestamp getLastLockTime ()
|
||||
{
|
||||
return (Timestamp)get_Value(COLUMNNAME_LastLockTime);
|
||||
}
|
||||
|
||||
/** Set Locked.
|
||||
@param Locked
|
||||
Whether the terminal is locked
|
||||
*/
|
||||
public void setLocked (boolean Locked)
|
||||
{
|
||||
set_Value (COLUMNNAME_Locked, Boolean.valueOf(Locked));
|
||||
}
|
||||
|
||||
/** Get Locked.
|
||||
@return Whether the terminal is locked
|
||||
*/
|
||||
public boolean isLocked ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_Locked);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Lock Time.
|
||||
@param LockTime
|
||||
Time in minutes the terminal should be kept in a locked state.
|
||||
*/
|
||||
public void setLockTime (int LockTime)
|
||||
{
|
||||
set_Value (COLUMNNAME_LockTime, Integer.valueOf(LockTime));
|
||||
}
|
||||
|
||||
/** Get Lock Time.
|
||||
@return Time in minutes the terminal should be kept in a locked state.
|
||||
*/
|
||||
public int getLockTime ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_LockTime);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_M_Warehouse getM_Warehouse() throws Exception
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_M_Warehouse.Table_Name);
|
||||
I_M_Warehouse result = null;
|
||||
try {
|
||||
Constructor<?> constructor = null;
|
||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||
result = (I_M_Warehouse)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Warehouse_ID()), get_TrxName()});
|
||||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw e;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Set Warehouse.
|
||||
@param M_Warehouse_ID
|
||||
Storage Warehouse and Service Point
|
||||
*/
|
||||
public void setM_Warehouse_ID (int M_Warehouse_ID)
|
||||
{
|
||||
if (M_Warehouse_ID < 1)
|
||||
set_Value (COLUMNNAME_M_Warehouse_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_M_Warehouse_ID, Integer.valueOf(M_Warehouse_ID));
|
||||
}
|
||||
|
||||
/** Get Warehouse.
|
||||
@return Storage Warehouse and Service Point
|
||||
*/
|
||||
public int getM_Warehouse_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_M_Warehouse_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Name.
|
||||
@param Name
|
||||
Alphanumeric identifier of the entity
|
||||
*/
|
||||
public void setName (String Name)
|
||||
{
|
||||
|
||||
if (Name != null && Name.length() > 60)
|
||||
{
|
||||
log.warning("Length > 60 - truncated");
|
||||
Name = Name.substring(0, 60);
|
||||
}
|
||||
set_Value (COLUMNNAME_Name, Name);
|
||||
}
|
||||
|
||||
/** Get Name.
|
||||
@return Alphanumeric identifier of the entity
|
||||
*/
|
||||
public String getName ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_Name);
|
||||
}
|
||||
|
||||
/** PO_PriceList_ID AD_Reference_ID=166 */
|
||||
public static final int PO_PRICELIST_ID_AD_Reference_ID=166;
|
||||
/** Set Purchase Pricelist.
|
||||
@param PO_PriceList_ID
|
||||
Price List used by this Business Partner
|
||||
*/
|
||||
public void setPO_PriceList_ID (int PO_PriceList_ID)
|
||||
{
|
||||
if (PO_PriceList_ID < 1)
|
||||
set_Value (COLUMNNAME_PO_PriceList_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_PO_PriceList_ID, Integer.valueOf(PO_PriceList_ID));
|
||||
}
|
||||
|
||||
/** Get Purchase Pricelist.
|
||||
@return Price List used by this Business Partner
|
||||
*/
|
||||
public int getPO_PriceList_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_PO_PriceList_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Printer Name.
|
||||
@param PrinterName
|
||||
Name of the Printer
|
||||
*/
|
||||
public void setPrinterName (String PrinterName)
|
||||
{
|
||||
|
||||
if (PrinterName != null && PrinterName.length() > 60)
|
||||
{
|
||||
log.warning("Length > 60 - truncated");
|
||||
PrinterName = PrinterName.substring(0, 60);
|
||||
}
|
||||
set_Value (COLUMNNAME_PrinterName, PrinterName);
|
||||
}
|
||||
|
||||
/** Get Printer Name.
|
||||
@return Name of the Printer
|
||||
*/
|
||||
public String getPrinterName ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_PrinterName);
|
||||
}
|
||||
|
||||
/** SalesRep_ID AD_Reference_ID=316 */
|
||||
public static final int SALESREP_ID_AD_Reference_ID=316;
|
||||
/** Set Sales Representative.
|
||||
@param SalesRep_ID
|
||||
Sales Representative or Company Agent
|
||||
*/
|
||||
public void setSalesRep_ID (int SalesRep_ID)
|
||||
{
|
||||
if (SalesRep_ID < 1)
|
||||
set_Value (COLUMNNAME_SalesRep_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_SalesRep_ID, Integer.valueOf(SalesRep_ID));
|
||||
}
|
||||
|
||||
/** Get Sales Representative.
|
||||
@return Sales Representative or Company Agent
|
||||
*/
|
||||
public int getSalesRep_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_SalesRep_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** SO_PriceList_ID AD_Reference_ID=166 */
|
||||
public static final int SO_PRICELIST_ID_AD_Reference_ID=166;
|
||||
/** Set Sales Pricelist.
|
||||
@param SO_PriceList_ID Sales Pricelist */
|
||||
public void setSO_PriceList_ID (int SO_PriceList_ID)
|
||||
{
|
||||
if (SO_PriceList_ID < 1)
|
||||
set_Value (COLUMNNAME_SO_PriceList_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_SO_PriceList_ID, Integer.valueOf(SO_PriceList_ID));
|
||||
}
|
||||
|
||||
/** Get Sales Pricelist.
|
||||
@return Sales Pricelist */
|
||||
public int getSO_PriceList_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_SO_PriceList_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set UnlockingTime.
|
||||
@param UnlockingTime
|
||||
Time at which the terminal should be unlocked
|
||||
*/
|
||||
public void setUnlockingTime (Timestamp UnlockingTime)
|
||||
{
|
||||
set_Value (COLUMNNAME_UnlockingTime, UnlockingTime);
|
||||
}
|
||||
|
||||
/** Get UnlockingTime.
|
||||
@return Time at which the terminal should be unlocked
|
||||
*/
|
||||
public Timestamp getUnlockingTime ()
|
||||
{
|
||||
return (Timestamp)get_Value(COLUMNNAME_UnlockingTime);
|
||||
}
|
||||
|
||||
/** Set POS Terminal.
|
||||
@param U_POSTerminal_ID POS Terminal */
|
||||
public void setU_POSTerminal_ID (int U_POSTerminal_ID)
|
||||
{
|
||||
if (U_POSTerminal_ID < 1)
|
||||
throw new IllegalArgumentException ("U_POSTerminal_ID is mandatory.");
|
||||
set_ValueNoCheck (COLUMNNAME_U_POSTerminal_ID, Integer.valueOf(U_POSTerminal_ID));
|
||||
}
|
||||
|
||||
/** Get POS Terminal.
|
||||
@return POS Terminal */
|
||||
public int getU_POSTerminal_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_U_POSTerminal_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue