Class X_I_Order

    • Constructor Detail

      • X_I_Order

        public X_I_Order​(Properties ctx,
                         int I_Order_ID,
                         String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        2 - Client
      • initPO

        protected POInfo initPO​(Properties ctx)
        Load Meta Data
        Specified by:
        initPO in class PO
        Parameters:
        ctx - context
        Returns:
        POInfo
      • toString

        public String toString()
        Description copied from class: PO
        String representation
        Overrides:
        toString in class PO
        Returns:
        String representation
      • setAddress1

        public void setAddress1​(String Address1)
        Set Address 1.
        Specified by:
        setAddress1 in interface I_I_Order
        Parameters:
        Address1 - Address line 1 for this location
      • getAddress1

        public String getAddress1()
        Get Address 1.
        Specified by:
        getAddress1 in interface I_I_Order
        Returns:
        Address line 1 for this location
      • setAddress2

        public void setAddress2​(String Address2)
        Set Address 2.
        Specified by:
        setAddress2 in interface I_I_Order
        Parameters:
        Address2 - Address line 2 for this location
      • getAddress2

        public String getAddress2()
        Get Address 2.
        Specified by:
        getAddress2 in interface I_I_Order
        Returns:
        Address line 2 for this location
      • setAD_OrgTrx_ID

        public void setAD_OrgTrx_ID​(int AD_OrgTrx_ID)
        Set Trx Organization.
        Specified by:
        setAD_OrgTrx_ID in interface I_I_Order
        Parameters:
        AD_OrgTrx_ID - Performing or initiating organization
      • getAD_OrgTrx_ID

        public int getAD_OrgTrx_ID()
        Get Trx Organization.
        Specified by:
        getAD_OrgTrx_ID in interface I_I_Order
        Returns:
        Performing or initiating organization
      • setAD_User_ID

        public void setAD_User_ID​(int AD_User_ID)
        Set User/Contact.
        Specified by:
        setAD_User_ID in interface I_I_Order
        Parameters:
        AD_User_ID - User within the system - Internal or Business Partner Contact
      • getAD_User_ID

        public int getAD_User_ID()
        Get User/Contact.
        Specified by:
        getAD_User_ID in interface I_I_Order
        Returns:
        User within the system - Internal or Business Partner Contact
      • setBillTo_ID

        public void setBillTo_ID​(int BillTo_ID)
        Set Invoice To.
        Specified by:
        setBillTo_ID in interface I_I_Order
        Parameters:
        BillTo_ID - Bill to Address
      • getBillTo_ID

        public int getBillTo_ID()
        Get Invoice To.
        Specified by:
        getBillTo_ID in interface I_I_Order
        Returns:
        Bill to Address
      • setBPartnerValue

        public void setBPartnerValue​(String BPartnerValue)
        Set Business Partner Key.
        Specified by:
        setBPartnerValue in interface I_I_Order
        Parameters:
        BPartnerValue - Key of the Business Partner
      • getBPartnerValue

        public String getBPartnerValue()
        Get Business Partner Key.
        Specified by:
        getBPartnerValue in interface I_I_Order
        Returns:
        Key of the Business Partner
      • setC_Activity_ID

        public void setC_Activity_ID​(int C_Activity_ID)
        Set Activity.
        Specified by:
        setC_Activity_ID in interface I_I_Order
        Parameters:
        C_Activity_ID - Business Activity
      • getC_Activity_ID

        public int getC_Activity_ID()
        Get Activity.
        Specified by:
        getC_Activity_ID in interface I_I_Order
        Returns:
        Business Activity
      • setC_BPartner_ID

        public void setC_BPartner_ID​(int C_BPartner_ID)
        Set Business Partner.
        Specified by:
        setC_BPartner_ID in interface I_I_Order
        Parameters:
        C_BPartner_ID - Identifies a Business Partner
      • getC_BPartner_ID

        public int getC_BPartner_ID()
        Get Business Partner.
        Specified by:
        getC_BPartner_ID in interface I_I_Order
        Returns:
        Identifies a Business Partner
      • setC_BPartner_Location_ID

        public void setC_BPartner_Location_ID​(int C_BPartner_Location_ID)
        Set Partner Location.
        Specified by:
        setC_BPartner_Location_ID in interface I_I_Order
        Parameters:
        C_BPartner_Location_ID - Identifies the (ship to) address for this Business Partner
      • getC_BPartner_Location_ID

        public int getC_BPartner_Location_ID()
        Get Partner Location.
        Specified by:
        getC_BPartner_Location_ID in interface I_I_Order
        Returns:
        Identifies the (ship to) address for this Business Partner
      • setC_Campaign_ID

        public void setC_Campaign_ID​(int C_Campaign_ID)
        Set Campaign.
        Specified by:
        setC_Campaign_ID in interface I_I_Order
        Parameters:
        C_Campaign_ID - Marketing Campaign
      • getC_Campaign_ID

        public int getC_Campaign_ID()
        Get Campaign.
        Specified by:
        getC_Campaign_ID in interface I_I_Order
        Returns:
        Marketing Campaign
      • setC_Charge_ID

        public void setC_Charge_ID​(int C_Charge_ID)
        Set Charge.
        Specified by:
        setC_Charge_ID in interface I_I_Order
        Parameters:
        C_Charge_ID - Additional document charges
      • getC_Charge_ID

        public int getC_Charge_ID()
        Get Charge.
        Specified by:
        getC_Charge_ID in interface I_I_Order
        Returns:
        Additional document charges
      • setC_Country_ID

        public void setC_Country_ID​(int C_Country_ID)
        Set Country.
        Specified by:
        setC_Country_ID in interface I_I_Order
        Parameters:
        C_Country_ID - Country
      • getC_Country_ID

        public int getC_Country_ID()
        Get Country.
        Specified by:
        getC_Country_ID in interface I_I_Order
        Returns:
        Country
      • setC_Currency_ID

        public void setC_Currency_ID​(int C_Currency_ID)
        Set Currency.
        Specified by:
        setC_Currency_ID in interface I_I_Order
        Parameters:
        C_Currency_ID - The Currency for this record
      • getC_Currency_ID

        public int getC_Currency_ID()
        Get Currency.
        Specified by:
        getC_Currency_ID in interface I_I_Order
        Returns:
        The Currency for this record
      • setC_DocType_ID

        public void setC_DocType_ID​(int C_DocType_ID)
        Set Document Type.
        Specified by:
        setC_DocType_ID in interface I_I_Order
        Parameters:
        C_DocType_ID - Document type or rules
      • getC_DocType_ID

        public int getC_DocType_ID()
        Get Document Type.
        Specified by:
        getC_DocType_ID in interface I_I_Order
        Returns:
        Document type or rules
      • setChargeName

        public void setChargeName​(String ChargeName)
        Set Charge Name.
        Specified by:
        setChargeName in interface I_I_Order
        Parameters:
        ChargeName - Name of the Charge
      • getChargeName

        public String getChargeName()
        Get Charge Name.
        Specified by:
        getChargeName in interface I_I_Order
        Returns:
        Name of the Charge
      • setCity

        public void setCity​(String City)
        Set City.
        Specified by:
        setCity in interface I_I_Order
        Parameters:
        City - Identifies a City
      • getCity

        public String getCity()
        Get City.
        Specified by:
        getCity in interface I_I_Order
        Returns:
        Identifies a City
      • setC_Location_ID

        public void setC_Location_ID​(int C_Location_ID)
        Set Address.
        Specified by:
        setC_Location_ID in interface I_I_Order
        Parameters:
        C_Location_ID - Location or Address
      • getC_Location_ID

        public int getC_Location_ID()
        Get Address.
        Specified by:
        getC_Location_ID in interface I_I_Order
        Returns:
        Location or Address
      • setContactName

        public void setContactName​(String ContactName)
        Set Contact Name.
        Specified by:
        setContactName in interface I_I_Order
        Parameters:
        ContactName - Business Partner Contact Name
      • getContactName

        public String getContactName()
        Get Contact Name.
        Specified by:
        getContactName in interface I_I_Order
        Returns:
        Business Partner Contact Name
      • setC_Order_ID

        public void setC_Order_ID​(int C_Order_ID)
        Set Order.
        Specified by:
        setC_Order_ID in interface I_I_Order
        Parameters:
        C_Order_ID - Order
      • getC_Order_ID

        public int getC_Order_ID()
        Get Order.
        Specified by:
        getC_Order_ID in interface I_I_Order
        Returns:
        Order
      • setC_OrderLine_ID

        public void setC_OrderLine_ID​(int C_OrderLine_ID)
        Set Sales Order Line.
        Specified by:
        setC_OrderLine_ID in interface I_I_Order
        Parameters:
        C_OrderLine_ID - Sales Order Line
      • getC_OrderLine_ID

        public int getC_OrderLine_ID()
        Get Sales Order Line.
        Specified by:
        getC_OrderLine_ID in interface I_I_Order
        Returns:
        Sales Order Line
      • setC_OrderSource_ID

        public void setC_OrderSource_ID​(int C_OrderSource_ID)
        Set Order Source.
        Specified by:
        setC_OrderSource_ID in interface I_I_Order
        Parameters:
        C_OrderSource_ID - Order Source
      • getC_OrderSource_ID

        public int getC_OrderSource_ID()
        Get Order Source.
        Specified by:
        getC_OrderSource_ID in interface I_I_Order
        Returns:
        Order Source
      • setC_OrderSourceValue

        public void setC_OrderSourceValue​(String C_OrderSourceValue)
        Set Order Source Key.
        Specified by:
        setC_OrderSourceValue in interface I_I_Order
        Parameters:
        C_OrderSourceValue - Order Source Key
      • setCountryCode

        public void setCountryCode​(String CountryCode)
        Set ISO Country Code.
        Specified by:
        setCountryCode in interface I_I_Order
        Parameters:
        CountryCode - Upper-case two-letter alphanumeric ISO Country code according to ISO 3166-1 - http://www.chemie.fu-berlin.de/diverse/doc/ISO_3166.html
      • getCountryCode

        public String getCountryCode()
        Get ISO Country Code.
        Specified by:
        getCountryCode in interface I_I_Order
        Returns:
        Upper-case two-letter alphanumeric ISO Country code according to ISO 3166-1 - http://www.chemie.fu-berlin.de/diverse/doc/ISO_3166.html
      • setC_PaymentTerm_ID

        public void setC_PaymentTerm_ID​(int C_PaymentTerm_ID)
        Set Payment Term.
        Specified by:
        setC_PaymentTerm_ID in interface I_I_Order
        Parameters:
        C_PaymentTerm_ID - The terms of Payment (timing, discount)
      • getC_PaymentTerm_ID

        public int getC_PaymentTerm_ID()
        Get Payment Term.
        Specified by:
        getC_PaymentTerm_ID in interface I_I_Order
        Returns:
        The terms of Payment (timing, discount)
      • setC_Project_ID

        public void setC_Project_ID​(int C_Project_ID)
        Set Project.
        Specified by:
        setC_Project_ID in interface I_I_Order
        Parameters:
        C_Project_ID - Financial Project
      • getC_Project_ID

        public int getC_Project_ID()
        Get Project.
        Specified by:
        getC_Project_ID in interface I_I_Order
        Returns:
        Financial Project
      • setC_Region_ID

        public void setC_Region_ID​(int C_Region_ID)
        Set Region.
        Specified by:
        setC_Region_ID in interface I_I_Order
        Parameters:
        C_Region_ID - Identifies a geographical Region
      • getC_Region_ID

        public int getC_Region_ID()
        Get Region.
        Specified by:
        getC_Region_ID in interface I_I_Order
        Returns:
        Identifies a geographical Region
      • setC_Tax_ID

        public void setC_Tax_ID​(int C_Tax_ID)
        Set Tax.
        Specified by:
        setC_Tax_ID in interface I_I_Order
        Parameters:
        C_Tax_ID - Tax identifier
      • getC_Tax_ID

        public int getC_Tax_ID()
        Get Tax.
        Specified by:
        getC_Tax_ID in interface I_I_Order
        Returns:
        Tax identifier
      • setC_UOM_ID

        public void setC_UOM_ID​(int C_UOM_ID)
        Set UOM.
        Specified by:
        setC_UOM_ID in interface I_I_Order
        Parameters:
        C_UOM_ID - Unit of Measure
      • getC_UOM_ID

        public int getC_UOM_ID()
        Get UOM.
        Specified by:
        getC_UOM_ID in interface I_I_Order
        Returns:
        Unit of Measure
      • setDateAcct

        public void setDateAcct​(Timestamp DateAcct)
        Set Account Date.
        Specified by:
        setDateAcct in interface I_I_Order
        Parameters:
        DateAcct - Accounting Date
      • setDateOrdered

        public void setDateOrdered​(Timestamp DateOrdered)
        Set Date Ordered.
        Specified by:
        setDateOrdered in interface I_I_Order
        Parameters:
        DateOrdered - Date of Order
      • setDeliveryRule

        public void setDeliveryRule​(String DeliveryRule)
        Set Delivery Rule.
        Specified by:
        setDeliveryRule in interface I_I_Order
        Parameters:
        DeliveryRule - Defines the timing of Delivery
      • getDeliveryRule

        public String getDeliveryRule()
        Get Delivery Rule.
        Specified by:
        getDeliveryRule in interface I_I_Order
        Returns:
        Defines the timing of Delivery
      • setDescription

        public void setDescription​(String Description)
        Set Description.
        Specified by:
        setDescription in interface I_I_Order
        Parameters:
        Description - Optional short description of the record
      • getDescription

        public String getDescription()
        Get Description.
        Specified by:
        getDescription in interface I_I_Order
        Returns:
        Optional short description of the record
      • setDocTypeName

        public void setDocTypeName​(String DocTypeName)
        Set Document Type Name.
        Specified by:
        setDocTypeName in interface I_I_Order
        Parameters:
        DocTypeName - Name of the Document Type
      • getDocTypeName

        public String getDocTypeName()
        Get Document Type Name.
        Specified by:
        getDocTypeName in interface I_I_Order
        Returns:
        Name of the Document Type
      • setDocumentNo

        public void setDocumentNo​(String DocumentNo)
        Set Document No.
        Specified by:
        setDocumentNo in interface I_I_Order
        Parameters:
        DocumentNo - Document sequence number of the document
      • getDocumentNo

        public String getDocumentNo()
        Get Document No.
        Specified by:
        getDocumentNo in interface I_I_Order
        Returns:
        Document sequence number of the document
      • setEMail

        public void setEMail​(String EMail)
        Set EMail Address.
        Specified by:
        setEMail in interface I_I_Order
        Parameters:
        EMail - Electronic Mail Address
      • getEMail

        public String getEMail()
        Get EMail Address.
        Specified by:
        getEMail in interface I_I_Order
        Returns:
        Electronic Mail Address
      • setFreightAmt

        public void setFreightAmt​(BigDecimal FreightAmt)
        Set Freight Amount.
        Specified by:
        setFreightAmt in interface I_I_Order
        Parameters:
        FreightAmt - Freight Amount
      • setI_ErrorMsg

        public void setI_ErrorMsg​(String I_ErrorMsg)
        Set Import Error Message.
        Specified by:
        setI_ErrorMsg in interface I_I_Order
        Parameters:
        I_ErrorMsg - Messages generated from import process
      • getI_ErrorMsg

        public String getI_ErrorMsg()
        Get Import Error Message.
        Specified by:
        getI_ErrorMsg in interface I_I_Order
        Returns:
        Messages generated from import process
      • setI_IsImported

        public void setI_IsImported​(boolean I_IsImported)
        Set Imported.
        Specified by:
        setI_IsImported in interface I_I_Order
        Parameters:
        I_IsImported - Has this import been processed
      • isI_IsImported

        public boolean isI_IsImported()
        Get Imported.
        Specified by:
        isI_IsImported in interface I_I_Order
        Returns:
        Has this import been processed
      • setI_Order_ID

        public void setI_Order_ID​(int I_Order_ID)
        Set Import Order.
        Specified by:
        setI_Order_ID in interface I_I_Order
        Parameters:
        I_Order_ID - Import Orders
      • getI_Order_ID

        public int getI_Order_ID()
        Get Import Order.
        Specified by:
        getI_Order_ID in interface I_I_Order
        Returns:
        Import Orders
      • setI_Order_UU

        public void setI_Order_UU​(String I_Order_UU)
        Set I_Order_UU.
        Specified by:
        setI_Order_UU in interface I_I_Order
        Parameters:
        I_Order_UU - I_Order_UU
      • setIsSOTrx

        public void setIsSOTrx​(boolean IsSOTrx)
        Set Sales Transaction.
        Specified by:
        setIsSOTrx in interface I_I_Order
        Parameters:
        IsSOTrx - This is a Sales Transaction
      • isSOTrx

        public boolean isSOTrx()
        Get Sales Transaction.
        Specified by:
        isSOTrx in interface I_I_Order
        Returns:
        This is a Sales Transaction
      • setLineDescription

        public void setLineDescription​(String LineDescription)
        Set Line Description.
        Specified by:
        setLineDescription in interface I_I_Order
        Parameters:
        LineDescription - Description of the Line
      • getLineDescription

        public String getLineDescription()
        Get Line Description.
        Specified by:
        getLineDescription in interface I_I_Order
        Returns:
        Description of the Line
      • setM_PriceList_ID

        public void setM_PriceList_ID​(int M_PriceList_ID)
        Set Price List.
        Specified by:
        setM_PriceList_ID in interface I_I_Order
        Parameters:
        M_PriceList_ID - Unique identifier of a Price List
      • getM_PriceList_ID

        public int getM_PriceList_ID()
        Get Price List.
        Specified by:
        getM_PriceList_ID in interface I_I_Order
        Returns:
        Unique identifier of a Price List
      • setM_Product_ID

        public void setM_Product_ID​(int M_Product_ID)
        Set Product.
        Specified by:
        setM_Product_ID in interface I_I_Order
        Parameters:
        M_Product_ID - Product, Service, Item
      • getM_Product_ID

        public int getM_Product_ID()
        Get Product.
        Specified by:
        getM_Product_ID in interface I_I_Order
        Returns:
        Product, Service, Item
      • setM_Shipper_ID

        public void setM_Shipper_ID​(int M_Shipper_ID)
        Set Shipper.
        Specified by:
        setM_Shipper_ID in interface I_I_Order
        Parameters:
        M_Shipper_ID - Method or manner of product delivery
      • getM_Shipper_ID

        public int getM_Shipper_ID()
        Get Shipper.
        Specified by:
        getM_Shipper_ID in interface I_I_Order
        Returns:
        Method or manner of product delivery
      • setM_Warehouse_ID

        public void setM_Warehouse_ID​(int M_Warehouse_ID)
        Set Warehouse.
        Specified by:
        setM_Warehouse_ID in interface I_I_Order
        Parameters:
        M_Warehouse_ID - Storage Warehouse and Service Point
      • getM_Warehouse_ID

        public int getM_Warehouse_ID()
        Get Warehouse.
        Specified by:
        getM_Warehouse_ID in interface I_I_Order
        Returns:
        Storage Warehouse and Service Point
      • setName

        public void setName​(String Name)
        Set Name.
        Specified by:
        setName in interface I_I_Order
        Parameters:
        Name - Alphanumeric identifier of the entity
      • getName

        public String getName()
        Get Name.
        Specified by:
        getName in interface I_I_Order
        Returns:
        Alphanumeric identifier of the entity
      • setPaymentTermValue

        public void setPaymentTermValue​(String PaymentTermValue)
        Set Payment Term Key.
        Specified by:
        setPaymentTermValue in interface I_I_Order
        Parameters:
        PaymentTermValue - Key of the Payment Term
      • getPaymentTermValue

        public String getPaymentTermValue()
        Get Payment Term Key.
        Specified by:
        getPaymentTermValue in interface I_I_Order
        Returns:
        Key of the Payment Term
      • setPhone

        public void setPhone​(String Phone)
        Set Phone.
        Specified by:
        setPhone in interface I_I_Order
        Parameters:
        Phone - Identifies a telephone number
      • getPhone

        public String getPhone()
        Get Phone.
        Specified by:
        getPhone in interface I_I_Order
        Returns:
        Identifies a telephone number
      • setPostal

        public void setPostal​(String Postal)
        Set ZIP.
        Specified by:
        setPostal in interface I_I_Order
        Parameters:
        Postal - Postal code
      • setPriceActual

        public void setPriceActual​(BigDecimal PriceActual)
        Set Unit Price.
        Specified by:
        setPriceActual in interface I_I_Order
        Parameters:
        PriceActual - Actual Price
      • setProcessed

        public void setProcessed​(boolean Processed)
        Set Processed.
        Specified by:
        setProcessed in interface I_I_Order
        Parameters:
        Processed - The document has been processed
      • isProcessed

        public boolean isProcessed()
        Get Processed.
        Specified by:
        isProcessed in interface I_I_Order
        Returns:
        The document has been processed
      • setProcessing

        public void setProcessing​(boolean Processing)
        Set Process Now.
        Specified by:
        setProcessing in interface I_I_Order
        Parameters:
        Processing - Process Now
      • isProcessing

        public boolean isProcessing()
        Get Process Now.
        Specified by:
        isProcessing in interface I_I_Order
        Returns:
        Process Now
      • setProductValue

        public void setProductValue​(String ProductValue)
        Set Product Key.
        Specified by:
        setProductValue in interface I_I_Order
        Parameters:
        ProductValue - Key of the Product
      • getProductValue

        public String getProductValue()
        Get Product Key.
        Specified by:
        getProductValue in interface I_I_Order
        Returns:
        Key of the Product
      • setQtyOrdered

        public void setQtyOrdered​(BigDecimal QtyOrdered)
        Set Ordered Quantity.
        Specified by:
        setQtyOrdered in interface I_I_Order
        Parameters:
        QtyOrdered - Ordered Quantity
      • setRegionName

        public void setRegionName​(String RegionName)
        Set Region.
        Specified by:
        setRegionName in interface I_I_Order
        Parameters:
        RegionName - Name of the Region
      • getRegionName

        public String getRegionName()
        Get Region.
        Specified by:
        getRegionName in interface I_I_Order
        Returns:
        Name of the Region
      • setSalesRep_ID

        public void setSalesRep_ID​(int SalesRep_ID)
        Set Sales Representative.
        Specified by:
        setSalesRep_ID in interface I_I_Order
        Parameters:
        SalesRep_ID - Sales Representative or Company Agent
      • getSalesRep_ID

        public int getSalesRep_ID()
        Get Sales Representative.
        Specified by:
        getSalesRep_ID in interface I_I_Order
        Returns:
        Sales Representative or Company Agent
      • setSKU

        public void setSKU​(String SKU)
        Set SKU.
        Specified by:
        setSKU in interface I_I_Order
        Parameters:
        SKU - Stock Keeping Unit
      • getSKU

        public String getSKU()
        Get SKU.
        Specified by:
        getSKU in interface I_I_Order
        Returns:
        Stock Keeping Unit
      • setTaxAmt

        public void setTaxAmt​(BigDecimal TaxAmt)
        Set Tax Amount.
        Specified by:
        setTaxAmt in interface I_I_Order
        Parameters:
        TaxAmt - Tax Amount for a document
      • getTaxAmt

        public BigDecimal getTaxAmt()
        Get Tax Amount.
        Specified by:
        getTaxAmt in interface I_I_Order
        Returns:
        Tax Amount for a document
      • setTaxIndicator

        public void setTaxIndicator​(String TaxIndicator)
        Set Tax Indicator.
        Specified by:
        setTaxIndicator in interface I_I_Order
        Parameters:
        TaxIndicator - Short form for Tax to be printed on documents
      • getTaxIndicator

        public String getTaxIndicator()
        Get Tax Indicator.
        Specified by:
        getTaxIndicator in interface I_I_Order
        Returns:
        Short form for Tax to be printed on documents
      • setUPC

        public void setUPC​(String UPC)
        Set UPC/EAN.
        Specified by:
        setUPC in interface I_I_Order
        Parameters:
        UPC - Bar Code (Universal Product Code or its superset European Article Number)
      • getUPC

        public String getUPC()
        Get UPC/EAN.
        Specified by:
        getUPC in interface I_I_Order
        Returns:
        Bar Code (Universal Product Code or its superset European Article Number)