Class X_C_Order

java.lang.Object
org.compiere.model.PO
org.compiere.model.X_C_Order
All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_C_Order, I_Persistent, Evaluatee
Direct Known Subclasses:
MOrder

public class X_C_Order extends PO implements I_C_Order, I_Persistent
Generated Model for C_Order
Version:
Release 11 - $Id$
Author:
iDempiere (generated)
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • get_AccessLevel

      protected int get_AccessLevel()
      AccessLevel
      Specified by:
      get_AccessLevel in class PO
      Returns:
      1 - Org
    • 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
    • setAD_OrgTrx_ID

      public void setAD_OrgTrx_ID(int AD_OrgTrx_ID)
      Set Trx Organization.
      Specified by:
      setAD_OrgTrx_ID in interface I_C_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_C_Order
      Returns:
      Performing or initiating organization
    • getAD_User

      public I_AD_User getAD_User() throws RuntimeException
      Specified by:
      getAD_User in interface I_C_Order
      Throws:
      RuntimeException
    • setAD_User_ID

      public void setAD_User_ID(int AD_User_ID)
      Set User/Contact.
      Specified by:
      setAD_User_ID in interface I_C_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_C_Order
      Returns:
      User within the system - Internal or Business Partner Contact
    • setAmountRefunded

      public void setAmountRefunded(BigDecimal AmountRefunded)
      Set Amount Refunded.
      Specified by:
      setAmountRefunded in interface I_C_Order
      Parameters:
      AmountRefunded - Amount Refunded
    • getAmountRefunded

      public BigDecimal getAmountRefunded()
      Get Amount Refunded.
      Specified by:
      getAmountRefunded in interface I_C_Order
      Returns:
      Amount Refunded
    • setAmountTendered

      public void setAmountTendered(BigDecimal AmountTendered)
      Set Amount Tendered.
      Specified by:
      setAmountTendered in interface I_C_Order
      Parameters:
      AmountTendered - Amount Tendered
    • getAmountTendered

      public BigDecimal getAmountTendered()
      Get Amount Tendered.
      Specified by:
      getAmountTendered in interface I_C_Order
      Returns:
      Amount Tendered
    • getBill_BPartner

      public I_C_BPartner getBill_BPartner() throws RuntimeException
      Specified by:
      getBill_BPartner in interface I_C_Order
      Throws:
      RuntimeException
    • setBill_BPartner_ID

      public void setBill_BPartner_ID(int Bill_BPartner_ID)
      Set Invoice Partner.
      Specified by:
      setBill_BPartner_ID in interface I_C_Order
      Parameters:
      Bill_BPartner_ID - Business Partner to be invoiced
    • getBill_BPartner_ID

      public int getBill_BPartner_ID()
      Get Invoice Partner.
      Specified by:
      getBill_BPartner_ID in interface I_C_Order
      Returns:
      Business Partner to be invoiced
    • getBill_Location

      public I_C_BPartner_Location getBill_Location() throws RuntimeException
      Specified by:
      getBill_Location in interface I_C_Order
      Throws:
      RuntimeException
    • setBill_Location_ID

      public void setBill_Location_ID(int Bill_Location_ID)
      Set Invoice Location.
      Specified by:
      setBill_Location_ID in interface I_C_Order
      Parameters:
      Bill_Location_ID - Business Partner Location for invoicing
    • getBill_Location_ID

      public int getBill_Location_ID()
      Get Invoice Location.
      Specified by:
      getBill_Location_ID in interface I_C_Order
      Returns:
      Business Partner Location for invoicing
    • getBill_User

      public I_AD_User getBill_User() throws RuntimeException
      Specified by:
      getBill_User in interface I_C_Order
      Throws:
      RuntimeException
    • setBill_User_ID

      public void setBill_User_ID(int Bill_User_ID)
      Set Invoice Contact.
      Specified by:
      setBill_User_ID in interface I_C_Order
      Parameters:
      Bill_User_ID - Business Partner Contact for invoicing
    • getBill_User_ID

      public int getBill_User_ID()
      Get Invoice Contact.
      Specified by:
      getBill_User_ID in interface I_C_Order
      Returns:
      Business Partner Contact for invoicing
    • getC_Activity

      public I_C_Activity getC_Activity() throws RuntimeException
      Specified by:
      getC_Activity in interface I_C_Order
      Throws:
      RuntimeException
    • setC_Activity_ID

      public void setC_Activity_ID(int C_Activity_ID)
      Set Activity.
      Specified by:
      setC_Activity_ID in interface I_C_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_C_Order
      Returns:
      Business Activity
    • getC_BPartner

      public I_C_BPartner getC_BPartner() throws RuntimeException
      Specified by:
      getC_BPartner in interface I_C_Order
      Throws:
      RuntimeException
    • setC_BPartner_ID

      public void setC_BPartner_ID(int C_BPartner_ID)
      Set Business Partner.
      Specified by:
      setC_BPartner_ID in interface I_C_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_C_Order
      Returns:
      Identifies a Business Partner
    • getC_BPartner_Location

      public I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException
      Specified by:
      getC_BPartner_Location in interface I_C_Order
      Throws:
      RuntimeException
    • 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_C_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_C_Order
      Returns:
      Identifies the (ship to) address for this Business Partner
    • getC_Campaign

      public I_C_Campaign getC_Campaign() throws RuntimeException
      Specified by:
      getC_Campaign in interface I_C_Order
      Throws:
      RuntimeException
    • setC_Campaign_ID

      public void setC_Campaign_ID(int C_Campaign_ID)
      Set Campaign.
      Specified by:
      setC_Campaign_ID in interface I_C_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_C_Order
      Returns:
      Marketing Campaign
    • getC_CashLine

      public I_C_CashLine getC_CashLine() throws RuntimeException
      Specified by:
      getC_CashLine in interface I_C_Order
      Throws:
      RuntimeException
    • setC_CashLine_ID

      public void setC_CashLine_ID(int C_CashLine_ID)
      Set Cash Journal Line.
      Specified by:
      setC_CashLine_ID in interface I_C_Order
      Parameters:
      C_CashLine_ID - Cash Journal Line
    • getC_CashLine_ID

      public int getC_CashLine_ID()
      Get Cash Journal Line.
      Specified by:
      getC_CashLine_ID in interface I_C_Order
      Returns:
      Cash Journal Line
    • getC_CashPlanLine

      public I_C_CashPlanLine getC_CashPlanLine() throws RuntimeException
      Specified by:
      getC_CashPlanLine in interface I_C_Order
      Throws:
      RuntimeException
    • setC_CashPlanLine_ID

      public void setC_CashPlanLine_ID(int C_CashPlanLine_ID)
      Set Cash Plan Line.
      Specified by:
      setC_CashPlanLine_ID in interface I_C_Order
      Parameters:
      C_CashPlanLine_ID - Cash Plan Line
    • getC_CashPlanLine_ID

      public int getC_CashPlanLine_ID()
      Get Cash Plan Line.
      Specified by:
      getC_CashPlanLine_ID in interface I_C_Order
      Returns:
      Cash Plan Line
    • getC_Charge

      public I_C_Charge getC_Charge() throws RuntimeException
      Specified by:
      getC_Charge in interface I_C_Order
      Throws:
      RuntimeException
    • setC_Charge_ID

      public void setC_Charge_ID(int C_Charge_ID)
      Set Charge.
      Specified by:
      setC_Charge_ID in interface I_C_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_C_Order
      Returns:
      Additional document charges
    • getC_ConversionType

      public I_C_ConversionType getC_ConversionType() throws RuntimeException
      Specified by:
      getC_ConversionType in interface I_C_Order
      Throws:
      RuntimeException
    • setC_ConversionType_ID

      public void setC_ConversionType_ID(int C_ConversionType_ID)
      Set Currency Type.
      Specified by:
      setC_ConversionType_ID in interface I_C_Order
      Parameters:
      C_ConversionType_ID - Currency Conversion Rate Type
    • getC_ConversionType_ID

      public int getC_ConversionType_ID()
      Get Currency Type.
      Specified by:
      getC_ConversionType_ID in interface I_C_Order
      Returns:
      Currency Conversion Rate Type
    • getC_Currency

      public I_C_Currency getC_Currency() throws RuntimeException
      Specified by:
      getC_Currency in interface I_C_Order
      Throws:
      RuntimeException
    • setC_Currency_ID

      public void setC_Currency_ID(int C_Currency_ID)
      Set Currency.
      Specified by:
      setC_Currency_ID in interface I_C_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_C_Order
      Returns:
      The Currency for this record
    • getC_DocType

      public I_C_DocType getC_DocType() throws RuntimeException
      Specified by:
      getC_DocType in interface I_C_Order
      Throws:
      RuntimeException
    • setC_DocType_ID

      public void setC_DocType_ID(int C_DocType_ID)
      Set Document Type.
      Specified by:
      setC_DocType_ID in interface I_C_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_C_Order
      Returns:
      Document type or rules
    • getC_DocTypeTarget

      public I_C_DocType getC_DocTypeTarget() throws RuntimeException
      Specified by:
      getC_DocTypeTarget in interface I_C_Order
      Throws:
      RuntimeException
    • setC_DocTypeTarget_ID

      public void setC_DocTypeTarget_ID(int C_DocTypeTarget_ID)
      Set Target Document Type.
      Specified by:
      setC_DocTypeTarget_ID in interface I_C_Order
      Parameters:
      C_DocTypeTarget_ID - Target document type for conversing documents
    • getC_DocTypeTarget_ID

      public int getC_DocTypeTarget_ID()
      Get Target Document Type.
      Specified by:
      getC_DocTypeTarget_ID in interface I_C_Order
      Returns:
      Target document type for conversing documents
    • setChargeAmt

      public void setChargeAmt(BigDecimal ChargeAmt)
      Set Charge amount.
      Specified by:
      setChargeAmt in interface I_C_Order
      Parameters:
      ChargeAmt - Charge Amount
    • getChargeAmt

      public BigDecimal getChargeAmt()
      Get Charge amount.
      Specified by:
      getChargeAmt in interface I_C_Order
      Returns:
      Charge Amount
    • getC_Opportunity

      public I_C_Opportunity getC_Opportunity() throws RuntimeException
      Specified by:
      getC_Opportunity in interface I_C_Order
      Throws:
      RuntimeException
    • setC_Opportunity_ID

      public void setC_Opportunity_ID(int C_Opportunity_ID)
      Set Sales Opportunity.
      Specified by:
      setC_Opportunity_ID in interface I_C_Order
      Parameters:
      C_Opportunity_ID - Sales Opportunity
    • getC_Opportunity_ID

      public int getC_Opportunity_ID()
      Get Sales Opportunity.
      Specified by:
      getC_Opportunity_ID in interface I_C_Order
      Returns:
      Sales Opportunity
    • setCopyFrom

      public void setCopyFrom(String CopyFrom)
      Set Copy From.
      Specified by:
      setCopyFrom in interface I_C_Order
      Parameters:
      CopyFrom - Copy From Record
    • getCopyFrom

      public String getCopyFrom()
      Get Copy From.
      Specified by:
      getCopyFrom in interface I_C_Order
      Returns:
      Copy From Record
    • setC_Order_ID

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

      public int getC_Order_ID()
      Get Order.
      Specified by:
      getC_Order_ID in interface I_C_Order
      Returns:
      Order
    • getC_OrderSource

      public I_C_OrderSource getC_OrderSource() throws RuntimeException
      Specified by:
      getC_OrderSource in interface I_C_Order
      Throws:
      RuntimeException
    • setC_OrderSource_ID

      public void setC_OrderSource_ID(int C_OrderSource_ID)
      Set Order Source.
      Specified by:
      setC_OrderSource_ID in interface I_C_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_C_Order
      Returns:
      Order Source
    • setC_Order_UU

      public void setC_Order_UU(String C_Order_UU)
      Set C_Order_UU.
      Specified by:
      setC_Order_UU in interface I_C_Order
      Parameters:
      C_Order_UU - C_Order_UU
    • getC_Order_UU

      public String getC_Order_UU()
      Get C_Order_UU.
      Specified by:
      getC_Order_UU in interface I_C_Order
      Returns:
      C_Order_UU
    • getC_Payment

      public I_C_Payment getC_Payment() throws RuntimeException
      Specified by:
      getC_Payment in interface I_C_Order
      Throws:
      RuntimeException
    • setC_Payment_ID

      public void setC_Payment_ID(int C_Payment_ID)
      Set Payment.
      Specified by:
      setC_Payment_ID in interface I_C_Order
      Parameters:
      C_Payment_ID - Payment identifier
    • getC_Payment_ID

      public int getC_Payment_ID()
      Get Payment.
      Specified by:
      getC_Payment_ID in interface I_C_Order
      Returns:
      Payment identifier
    • getC_PaymentTerm

      public I_C_PaymentTerm getC_PaymentTerm() throws RuntimeException
      Specified by:
      getC_PaymentTerm in interface I_C_Order
      Throws:
      RuntimeException
    • setC_PaymentTerm_ID

      public void setC_PaymentTerm_ID(int C_PaymentTerm_ID)
      Set Payment Term.
      Specified by:
      setC_PaymentTerm_ID in interface I_C_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_C_Order
      Returns:
      The terms of Payment (timing, discount)
    • getC_POS

      public I_C_POS getC_POS() throws RuntimeException
      Specified by:
      getC_POS in interface I_C_Order
      Throws:
      RuntimeException
    • setC_POS_ID

      public void setC_POS_ID(int C_POS_ID)
      Set POS Terminal.
      Specified by:
      setC_POS_ID in interface I_C_Order
      Parameters:
      C_POS_ID - Point of Sales Terminal
    • getC_POS_ID

      public int getC_POS_ID()
      Get POS Terminal.
      Specified by:
      getC_POS_ID in interface I_C_Order
      Returns:
      Point of Sales Terminal
    • getC_Project

      public I_C_Project getC_Project() throws RuntimeException
      Specified by:
      getC_Project in interface I_C_Order
      Throws:
      RuntimeException
    • setC_Project_ID

      public void setC_Project_ID(int C_Project_ID)
      Set Project.
      Specified by:
      setC_Project_ID in interface I_C_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_C_Order
      Returns:
      Financial Project
    • setDateAcct

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

      public Timestamp getDateAcct()
      Get Account Date.
      Specified by:
      getDateAcct in interface I_C_Order
      Returns:
      Accounting Date
    • setDateOrdered

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

      public Timestamp getDateOrdered()
      Get Date Ordered.
      Specified by:
      getDateOrdered in interface I_C_Order
      Returns:
      Date of Order
    • setDatePrinted

      public void setDatePrinted(Timestamp DatePrinted)
      Set Date Printed.
      Specified by:
      setDatePrinted in interface I_C_Order
      Parameters:
      DatePrinted - Date the document was printed.
    • getDatePrinted

      public Timestamp getDatePrinted()
      Get Date Printed.
      Specified by:
      getDatePrinted in interface I_C_Order
      Returns:
      Date the document was printed.
    • setDatePromised

      public void setDatePromised(Timestamp DatePromised)
      Set Date Promised.
      Specified by:
      setDatePromised in interface I_C_Order
      Parameters:
      DatePromised - Date Order was promised
    • getDatePromised

      public Timestamp getDatePromised()
      Get Date Promised.
      Specified by:
      getDatePromised in interface I_C_Order
      Returns:
      Date Order was promised
    • setDeliveryRule

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

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

      public void setDeliveryViaRule(String DeliveryViaRule)
      Set Delivery Via.
      Specified by:
      setDeliveryViaRule in interface I_C_Order
      Parameters:
      DeliveryViaRule - How the order will be delivered
    • getDeliveryViaRule

      public String getDeliveryViaRule()
      Get Delivery Via.
      Specified by:
      getDeliveryViaRule in interface I_C_Order
      Returns:
      How the order will be delivered
    • setDescription

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

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

      public void setDocAction(String DocAction)
      Set Document Action.
      Specified by:
      setDocAction in interface I_C_Order
      Parameters:
      DocAction - The targeted status of the document
    • getDocAction

      public String getDocAction()
      Get Document Action.
      Specified by:
      getDocAction in interface I_C_Order
      Returns:
      The targeted status of the document
    • setDocStatus

      public void setDocStatus(String DocStatus)
      Set Document Status.
      Specified by:
      setDocStatus in interface I_C_Order
      Parameters:
      DocStatus - The current status of the document
    • getDocStatus

      public String getDocStatus()
      Get Document Status.
      Specified by:
      getDocStatus in interface I_C_Order
      Returns:
      The current status of the document
    • setDocumentNo

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

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

      public KeyNamePair getKeyNamePair()
      Get Record ID/ColumnName
      Returns:
      ID/ColumnName pair
    • getDropShip_BPartner

      public I_C_BPartner getDropShip_BPartner() throws RuntimeException
      Specified by:
      getDropShip_BPartner in interface I_C_Order
      Throws:
      RuntimeException
    • setDropShip_BPartner_ID

      public void setDropShip_BPartner_ID(int DropShip_BPartner_ID)
      Set Drop Ship Business Partner.
      Specified by:
      setDropShip_BPartner_ID in interface I_C_Order
      Parameters:
      DropShip_BPartner_ID - Business Partner to ship to
    • getDropShip_BPartner_ID

      public int getDropShip_BPartner_ID()
      Get Drop Ship Business Partner.
      Specified by:
      getDropShip_BPartner_ID in interface I_C_Order
      Returns:
      Business Partner to ship to
    • getDropShip_Location

      public I_C_BPartner_Location getDropShip_Location() throws RuntimeException
      Specified by:
      getDropShip_Location in interface I_C_Order
      Throws:
      RuntimeException
    • setDropShip_Location_ID

      public void setDropShip_Location_ID(int DropShip_Location_ID)
      Set Drop Shipment Location.
      Specified by:
      setDropShip_Location_ID in interface I_C_Order
      Parameters:
      DropShip_Location_ID - Business Partner Location for shipping to
    • getDropShip_Location_ID

      public int getDropShip_Location_ID()
      Get Drop Shipment Location.
      Specified by:
      getDropShip_Location_ID in interface I_C_Order
      Returns:
      Business Partner Location for shipping to
    • getDropShip_User

      public I_AD_User getDropShip_User() throws RuntimeException
      Specified by:
      getDropShip_User in interface I_C_Order
      Throws:
      RuntimeException
    • setDropShip_User_ID

      public void setDropShip_User_ID(int DropShip_User_ID)
      Set Drop Shipment Contact.
      Specified by:
      setDropShip_User_ID in interface I_C_Order
      Parameters:
      DropShip_User_ID - Business Partner Contact for drop shipment
    • getDropShip_User_ID

      public int getDropShip_User_ID()
      Get Drop Shipment Contact.
      Specified by:
      getDropShip_User_ID in interface I_C_Order
      Returns:
      Business Partner Contact for drop shipment
    • setFreightAmt

      public void setFreightAmt(BigDecimal FreightAmt)
      Set Freight Amount.
      Specified by:
      setFreightAmt in interface I_C_Order
      Parameters:
      FreightAmt - Freight Amount
    • getFreightAmt

      public BigDecimal getFreightAmt()
      Get Freight Amount.
      Specified by:
      getFreightAmt in interface I_C_Order
      Returns:
      Freight Amount
    • setFreightCostRule

      public void setFreightCostRule(String FreightCostRule)
      Set Freight Cost Rule.
      Specified by:
      setFreightCostRule in interface I_C_Order
      Parameters:
      FreightCostRule - Method for charging Freight
    • getFreightCostRule

      public String getFreightCostRule()
      Get Freight Cost Rule.
      Specified by:
      getFreightCostRule in interface I_C_Order
      Returns:
      Method for charging Freight
    • setGrandTotal

      public void setGrandTotal(BigDecimal GrandTotal)
      Set Grand Total.
      Specified by:
      setGrandTotal in interface I_C_Order
      Parameters:
      GrandTotal - Total amount of document
    • getGrandTotal

      public BigDecimal getGrandTotal()
      Get Grand Total.
      Specified by:
      getGrandTotal in interface I_C_Order
      Returns:
      Total amount of document
    • setInvoiceRule

      public void setInvoiceRule(String InvoiceRule)
      Set Invoice Rule.
      Specified by:
      setInvoiceRule in interface I_C_Order
      Parameters:
      InvoiceRule - Frequency and method of invoicing
    • getInvoiceRule

      public String getInvoiceRule()
      Get Invoice Rule.
      Specified by:
      getInvoiceRule in interface I_C_Order
      Returns:
      Frequency and method of invoicing
    • setIsApproved

      public void setIsApproved(boolean IsApproved)
      Set Approved.
      Specified by:
      setIsApproved in interface I_C_Order
      Parameters:
      IsApproved - Indicates if this document requires approval
    • isApproved

      public boolean isApproved()
      Get Approved.
      Specified by:
      isApproved in interface I_C_Order
      Returns:
      Indicates if this document requires approval
    • setIsCreditApproved

      public void setIsCreditApproved(boolean IsCreditApproved)
      Set Credit Approved.
      Specified by:
      setIsCreditApproved in interface I_C_Order
      Parameters:
      IsCreditApproved - Credit has been approved
    • isCreditApproved

      public boolean isCreditApproved()
      Get Credit Approved.
      Specified by:
      isCreditApproved in interface I_C_Order
      Returns:
      Credit has been approved
    • setIsDelivered

      public void setIsDelivered(boolean IsDelivered)
      Set Delivered.
      Specified by:
      setIsDelivered in interface I_C_Order
      Parameters:
      IsDelivered - Delivered
    • isDelivered

      public boolean isDelivered()
      Get Delivered.
      Specified by:
      isDelivered in interface I_C_Order
      Returns:
      Delivered
    • setIsDiscountPrinted

      public void setIsDiscountPrinted(boolean IsDiscountPrinted)
      Set Discount Printed.
      Specified by:
      setIsDiscountPrinted in interface I_C_Order
      Parameters:
      IsDiscountPrinted - Print Discount on Invoice and Order
    • isDiscountPrinted

      public boolean isDiscountPrinted()
      Get Discount Printed.
      Specified by:
      isDiscountPrinted in interface I_C_Order
      Returns:
      Print Discount on Invoice and Order
    • setIsDropShip

      public void setIsDropShip(boolean IsDropShip)
      Set Drop Shipment.
      Specified by:
      setIsDropShip in interface I_C_Order
      Parameters:
      IsDropShip - Drop Shipments are sent directly to the Drop Shipment Location
    • isDropShip

      public boolean isDropShip()
      Get Drop Shipment.
      Specified by:
      isDropShip in interface I_C_Order
      Returns:
      Drop Shipments are sent directly to the Drop Shipment Location
    • setIsInvoiced

      public void setIsInvoiced(boolean IsInvoiced)
      Set Invoiced.
      Specified by:
      setIsInvoiced in interface I_C_Order
      Parameters:
      IsInvoiced - Is this invoiced?
    • isInvoiced

      public boolean isInvoiced()
      Get Invoiced.
      Specified by:
      isInvoiced in interface I_C_Order
      Returns:
      Is this invoiced?
    • setIsPayScheduleValid

      public void setIsPayScheduleValid(boolean IsPayScheduleValid)
      Set Pay Schedule valid.
      Specified by:
      setIsPayScheduleValid in interface I_C_Order
      Parameters:
      IsPayScheduleValid - Is the Payment Schedule is valid
    • isPayScheduleValid

      public boolean isPayScheduleValid()
      Get Pay Schedule valid.
      Specified by:
      isPayScheduleValid in interface I_C_Order
      Returns:
      Is the Payment Schedule is valid
    • setIsPrinted

      public void setIsPrinted(boolean IsPrinted)
      Set Printed.
      Specified by:
      setIsPrinted in interface I_C_Order
      Parameters:
      IsPrinted - Indicates if this document / line is printed
    • isPrinted

      public boolean isPrinted()
      Get Printed.
      Specified by:
      isPrinted in interface I_C_Order
      Returns:
      Indicates if this document / line is printed
    • setIsPriviledgedRate

      public void setIsPriviledgedRate(boolean IsPriviledgedRate)
      Set Privileged Rate.
      Specified by:
      setIsPriviledgedRate in interface I_C_Order
      Parameters:
      IsPriviledgedRate - Privileged Rate
    • isPriviledgedRate

      public boolean isPriviledgedRate()
      Get Privileged Rate.
      Specified by:
      isPriviledgedRate in interface I_C_Order
      Returns:
      Privileged Rate
    • setIsSelected

      public void setIsSelected(boolean IsSelected)
      Set Selected.
      Specified by:
      setIsSelected in interface I_C_Order
      Parameters:
      IsSelected - Selected
    • isSelected

      public boolean isSelected()
      Get Selected.
      Specified by:
      isSelected in interface I_C_Order
      Returns:
      Selected
    • setIsSelfService

      public void setIsSelfService(boolean IsSelfService)
      Set Self-Service.
      Specified by:
      setIsSelfService in interface I_C_Order
      Parameters:
      IsSelfService - This is a Self-Service entry or this entry can be changed via Self-Service
    • isSelfService

      public boolean isSelfService()
      Get Self-Service.
      Specified by:
      isSelfService in interface I_C_Order
      Returns:
      This is a Self-Service entry or this entry can be changed via Self-Service
    • setIsSOTrx

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

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

      public void setIsTaxIncluded(boolean IsTaxIncluded)
      Set Price includes Tax.
      Specified by:
      setIsTaxIncluded in interface I_C_Order
      Parameters:
      IsTaxIncluded - Tax is included in the price
    • isTaxIncluded

      public boolean isTaxIncluded()
      Get Price includes Tax.
      Specified by:
      isTaxIncluded in interface I_C_Order
      Returns:
      Tax is included in the price
    • setIsTransferred

      public void setIsTransferred(boolean IsTransferred)
      Set Transferred.
      Specified by:
      setIsTransferred in interface I_C_Order
      Parameters:
      IsTransferred - Transferred to General Ledger (i.e. accounted)
    • isTransferred

      public boolean isTransferred()
      Get Transferred.
      Specified by:
      isTransferred in interface I_C_Order
      Returns:
      Transferred to General Ledger (i.e. accounted)
    • getM_FreightCategory

      public I_M_FreightCategory getM_FreightCategory() throws RuntimeException
      Specified by:
      getM_FreightCategory in interface I_C_Order
      Throws:
      RuntimeException
    • setM_FreightCategory_ID

      public void setM_FreightCategory_ID(int M_FreightCategory_ID)
      Set Freight Category.
      Specified by:
      setM_FreightCategory_ID in interface I_C_Order
      Parameters:
      M_FreightCategory_ID - Category of the Freight
    • getM_FreightCategory_ID

      public int getM_FreightCategory_ID()
      Get Freight Category.
      Specified by:
      getM_FreightCategory_ID in interface I_C_Order
      Returns:
      Category of the Freight
    • getM_PriceList

      public I_M_PriceList getM_PriceList() throws RuntimeException
      Specified by:
      getM_PriceList in interface I_C_Order
      Throws:
      RuntimeException
    • setM_PriceList_ID

      public void setM_PriceList_ID(int M_PriceList_ID)
      Set Price List.
      Specified by:
      setM_PriceList_ID in interface I_C_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_C_Order
      Returns:
      Unique identifier of a Price List
    • getM_Shipper

      public I_M_Shipper getM_Shipper() throws RuntimeException
      Specified by:
      getM_Shipper in interface I_C_Order
      Throws:
      RuntimeException
    • setM_Shipper_ID

      public void setM_Shipper_ID(int M_Shipper_ID)
      Set Shipper.
      Specified by:
      setM_Shipper_ID in interface I_C_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_C_Order
      Returns:
      Method or manner of product delivery
    • getM_Warehouse

      public I_M_Warehouse getM_Warehouse() throws RuntimeException
      Specified by:
      getM_Warehouse in interface I_C_Order
      Throws:
      RuntimeException
    • setM_Warehouse_ID

      public void setM_Warehouse_ID(int M_Warehouse_ID)
      Set Warehouse.
      Specified by:
      setM_Warehouse_ID in interface I_C_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_C_Order
      Returns:
      Storage Warehouse and Service Point
    • setPay_BPartner_ID

      public void setPay_BPartner_ID(int Pay_BPartner_ID)
      Set Payment BPartner.
      Specified by:
      setPay_BPartner_ID in interface I_C_Order
      Parameters:
      Pay_BPartner_ID - Business Partner responsible for the payment
    • getPay_BPartner_ID

      public int getPay_BPartner_ID()
      Get Payment BPartner.
      Specified by:
      getPay_BPartner_ID in interface I_C_Order
      Returns:
      Business Partner responsible for the payment
    • setPay_Location_ID

      public void setPay_Location_ID(int Pay_Location_ID)
      Set Payment Location.
      Specified by:
      setPay_Location_ID in interface I_C_Order
      Parameters:
      Pay_Location_ID - Location of the Business Partner responsible for the payment
    • getPay_Location_ID

      public int getPay_Location_ID()
      Get Payment Location.
      Specified by:
      getPay_Location_ID in interface I_C_Order
      Returns:
      Location of the Business Partner responsible for the payment
    • setPaymentRule

      public void setPaymentRule(String PaymentRule)
      Set Payment Rule.
      Specified by:
      setPaymentRule in interface I_C_Order
      Parameters:
      PaymentRule - How you pay the invoice
    • getPaymentRule

      public String getPaymentRule()
      Get Payment Rule.
      Specified by:
      getPaymentRule in interface I_C_Order
      Returns:
      How you pay the invoice
    • setPOReference

      public void setPOReference(String POReference)
      Set Order Reference.
      Specified by:
      setPOReference in interface I_C_Order
      Parameters:
      POReference - Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner
    • getPOReference

      public String getPOReference()
      Get Order Reference.
      Specified by:
      getPOReference in interface I_C_Order
      Returns:
      Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner
    • setPosted

      public void setPosted(boolean Posted)
      Set Posted.
      Specified by:
      setPosted in interface I_C_Order
      Parameters:
      Posted - Posting status
    • isPosted

      public boolean isPosted()
      Get Posted.
      Specified by:
      isPosted in interface I_C_Order
      Returns:
      Posting status
    • setPriorityRule

      public void setPriorityRule(String PriorityRule)
      Set Priority.
      Specified by:
      setPriorityRule in interface I_C_Order
      Parameters:
      PriorityRule - Priority of a document
    • getPriorityRule

      public String getPriorityRule()
      Get Priority.
      Specified by:
      getPriorityRule in interface I_C_Order
      Returns:
      Priority of a document
    • setProcessed

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

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

      public void setProcessedOn(BigDecimal ProcessedOn)
      Set Processed On.
      Specified by:
      setProcessedOn in interface I_C_Order
      Parameters:
      ProcessedOn - The date+time (expressed in decimal format) when the document has been processed
    • getProcessedOn

      public BigDecimal getProcessedOn()
      Get Processed On.
      Specified by:
      getProcessedOn in interface I_C_Order
      Returns:
      The date+time (expressed in decimal format) when the document has been processed
    • setProcessing

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

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

      public void setPromotionCode(String PromotionCode)
      Set Promotion Code.
      Specified by:
      setPromotionCode in interface I_C_Order
      Parameters:
      PromotionCode - User entered promotion code at sales time
    • getPromotionCode

      public String getPromotionCode()
      Get Promotion Code.
      Specified by:
      getPromotionCode in interface I_C_Order
      Returns:
      User entered promotion code at sales time
    • getQuotationOrder

      public I_C_Order getQuotationOrder() throws RuntimeException
      Specified by:
      getQuotationOrder in interface I_C_Order
      Throws:
      RuntimeException
    • setQuotationOrder_ID

      public void setQuotationOrder_ID(int QuotationOrder_ID)
      Set Quotation.
      Specified by:
      setQuotationOrder_ID in interface I_C_Order
      Parameters:
      QuotationOrder_ID - Quotation used for generating this order
    • getQuotationOrder_ID

      public int getQuotationOrder_ID()
      Get Quotation.
      Specified by:
      getQuotationOrder_ID in interface I_C_Order
      Returns:
      Quotation used for generating this order
    • getRef_Order

      public I_C_Order getRef_Order() throws RuntimeException
      Specified by:
      getRef_Order in interface I_C_Order
      Throws:
      RuntimeException
    • setRef_Order_ID

      public void setRef_Order_ID(int Ref_Order_ID)
      Set Referenced Order.
      Specified by:
      setRef_Order_ID in interface I_C_Order
      Parameters:
      Ref_Order_ID - Reference to corresponding Sales/Purchase Order
    • getRef_Order_ID

      public int getRef_Order_ID()
      Get Referenced Order.
      Specified by:
      getRef_Order_ID in interface I_C_Order
      Returns:
      Reference to corresponding Sales/Purchase Order
    • getSalesRep

      public I_AD_User getSalesRep() throws RuntimeException
      Specified by:
      getSalesRep in interface I_C_Order
      Throws:
      RuntimeException
    • setSalesRep_ID

      public void setSalesRep_ID(int SalesRep_ID)
      Set Sales Representative.
      Specified by:
      setSalesRep_ID in interface I_C_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_C_Order
      Returns:
      Sales Representative or Company Agent
    • setSendEMail

      public void setSendEMail(boolean SendEMail)
      Set Send EMail.
      Specified by:
      setSendEMail in interface I_C_Order
      Parameters:
      SendEMail - Enable sending Document EMail
    • isSendEMail

      public boolean isSendEMail()
      Get Send EMail.
      Specified by:
      isSendEMail in interface I_C_Order
      Returns:
      Enable sending Document EMail
    • setShippingRateInquiry

      public void setShippingRateInquiry(String ShippingRateInquiry)
      Set Rate Inquiry.
      Specified by:
      setShippingRateInquiry in interface I_C_Order
      Parameters:
      ShippingRateInquiry - Rate Inquiry
    • getShippingRateInquiry

      public String getShippingRateInquiry()
      Get Rate Inquiry.
      Specified by:
      getShippingRateInquiry in interface I_C_Order
      Returns:
      Rate Inquiry
    • setTotalLines

      public void setTotalLines(BigDecimal TotalLines)
      Set Total Lines.
      Specified by:
      setTotalLines in interface I_C_Order
      Parameters:
      TotalLines - Total of all document lines
    • getTotalLines

      public BigDecimal getTotalLines()
      Get Total Lines.
      Specified by:
      getTotalLines in interface I_C_Order
      Returns:
      Total of all document lines
    • getUser1

      public I_C_ElementValue getUser1() throws RuntimeException
      Specified by:
      getUser1 in interface I_C_Order
      Throws:
      RuntimeException
    • setUser1_ID

      public void setUser1_ID(int User1_ID)
      Set User Element List 1.
      Specified by:
      setUser1_ID in interface I_C_Order
      Parameters:
      User1_ID - User defined list element #1
    • getUser1_ID

      public int getUser1_ID()
      Get User Element List 1.
      Specified by:
      getUser1_ID in interface I_C_Order
      Returns:
      User defined list element #1
    • getUser2

      public I_C_ElementValue getUser2() throws RuntimeException
      Specified by:
      getUser2 in interface I_C_Order
      Throws:
      RuntimeException
    • setUser2_ID

      public void setUser2_ID(int User2_ID)
      Set User Element List 2.
      Specified by:
      setUser2_ID in interface I_C_Order
      Parameters:
      User2_ID - User defined list element #2
    • getUser2_ID

      public int getUser2_ID()
      Get User Element List 2.
      Specified by:
      getUser2_ID in interface I_C_Order
      Returns:
      User defined list element #2
    • setVolume

      public void setVolume(BigDecimal Volume)
      Set Volume.
      Specified by:
      setVolume in interface I_C_Order
      Parameters:
      Volume - Volume of a product
    • getVolume

      public BigDecimal getVolume()
      Get Volume.
      Specified by:
      getVolume in interface I_C_Order
      Returns:
      Volume of a product
    • setWeight

      public void setWeight(BigDecimal Weight)
      Set Weight.
      Specified by:
      setWeight in interface I_C_Order
      Parameters:
      Weight - Weight of a product
    • getWeight

      public BigDecimal getWeight()
      Get Weight.
      Specified by:
      getWeight in interface I_C_Order
      Returns:
      Weight of a product