Compiere 3.1

org.compiere.model
Class X_C_Order

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

public class X_C_Order
extends PO

Generated Model for C_Order

Version:
Release 3.1.0 - $Id$
Author:
Jorg Janke (generated)
See Also:
Serialized Form

Field Summary
protected  BigDecimal accessLevel
           
static int AD_ORGTRX_ID_AD_Reference_ID
          AD_OrgTrx_ID AD_Reference_ID=130
static int BILL_BPARTNER_ID_AD_Reference_ID
          Bill_BPartner_ID AD_Reference_ID=138
static int BILL_LOCATION_ID_AD_Reference_ID
          Bill_Location_ID AD_Reference_ID=159
static int BILL_USER_ID_AD_Reference_ID
          Bill_User_ID AD_Reference_ID=110
static int C_BPARTNERSR_ID_AD_Reference_ID
          C_BPartnerSR_ID AD_Reference_ID=353
static int C_DOCTYPE_ID_AD_Reference_ID
          C_DocType_ID AD_Reference_ID=170
static int C_DOCTYPETARGET_ID_AD_Reference_ID
          C_DocTypeTarget_ID AD_Reference_ID=170
static int DELIVERYRULE_AD_Reference_ID
          DeliveryRule AD_Reference_ID=151
static String DELIVERYRULE_AfterReceipt
          After Receipt = R
static String DELIVERYRULE_Availability
          Availability = A
static String DELIVERYRULE_CompleteLine
          Complete Line = L
static String DELIVERYRULE_CompleteOrder
          Complete Order = O
static String DELIVERYRULE_Force
          Force = F
static String DELIVERYRULE_Manual
          Manual = M
static int DELIVERYVIARULE_AD_Reference_ID
          DeliveryViaRule AD_Reference_ID=152
static String DELIVERYVIARULE_Delivery
          Delivery = D
static String DELIVERYVIARULE_Pickup
          Pickup = P
static String DELIVERYVIARULE_Shipper
          Shipper = S
static int DOCACTION_AD_Reference_ID
          DocAction AD_Reference_ID=135
static String DOCACTION_Approve
          Approve = AP
static String DOCACTION_Close
          Close = CL
static String DOCACTION_Complete
          Complete = CO
static String DOCACTION_Invalidate
          Invalidate = IN
static String DOCACTION_None
           = --
static String DOCACTION_Post
          Post = PO
static String DOCACTION_Prepare
          Prepare = PR
static String DOCACTION_Re_Activate
          Re-activate = RE
static String DOCACTION_Reject
          Reject = RJ
static String DOCACTION_Reverse_Accrual
          Reverse - Accrual = RA
static String DOCACTION_Reverse_Correct
          Reverse - Correct = RC
static String DOCACTION_Unlock
          Unlock = XL
static String DOCACTION_Void
          Void = VO
static String DOCACTION_WaitComplete
          Wait Complete = WC
static int DOCSTATUS_AD_Reference_ID
          DocStatus AD_Reference_ID=131
static String DOCSTATUS_Approved
          Approved = AP
static String DOCSTATUS_Closed
          Closed = CL
static String DOCSTATUS_Completed
          Completed = CO
static String DOCSTATUS_Drafted
          Drafted = DR
static String DOCSTATUS_InProgress
          In Progress = IP
static String DOCSTATUS_Invalid
          Invalid = IN
static String DOCSTATUS_NotApproved
          Not Approved = NA
static String DOCSTATUS_Reversed
          Reversed = RE
static String DOCSTATUS_Unknown
          Unknown = ??
static String DOCSTATUS_Voided
          Voided = VO
static String DOCSTATUS_WaitingConfirmation
          Waiting Confirmation = WC
static String DOCSTATUS_WaitingPayment
          Waiting Payment = WP
static int FREIGHTCOSTRULE_AD_Reference_ID
          FreightCostRule AD_Reference_ID=153
static String FREIGHTCOSTRULE_Calculated
          Calculated = C
static String FREIGHTCOSTRULE_FixPrice
          Fix price = F
static String FREIGHTCOSTRULE_FreightIncluded
          Freight included = I
static String FREIGHTCOSTRULE_Line
          Line = L
static int INVOICERULE_AD_Reference_ID
          InvoiceRule AD_Reference_ID=150
static String INVOICERULE_AfterDelivery
          After Delivery = D
static String INVOICERULE_AfterOrderDelivered
          After Order delivered = O
static String INVOICERULE_CustomerScheduleAfterDelivery
          Customer Schedule after Delivery = S
static String INVOICERULE_Immediate
          Immediate = I
protected static KeyNamePair Model
           
static int ORDERTYPE_AD_Reference_ID
          OrderType AD_Reference_ID=148
static String ORDERTYPE_OnCreditOrder
          On Credit Order = WI
static String ORDERTYPE_POSOrder
          POS Order = WR
static String ORDERTYPE_PrepayOrder
          Prepay Order = PR
static String ORDERTYPE_Proposal
          Proposal = ON
static String ORDERTYPE_Quotation
          Quotation = OB
static String ORDERTYPE_StandardOrder
          Standard Order = SO
static String ORDERTYPE_WarehouseOrder
          Warehouse Order = WP
static int ORIG_INOUT_ID_AD_Reference_ID
          Orig_InOut_ID AD_Reference_ID=337
static int ORIG_ORDER_ID_AD_Reference_ID
          Orig_Order_ID AD_Reference_ID=290
static int PAYMENTRULE_AD_Reference_ID
          PaymentRule AD_Reference_ID=195
static String PAYMENTRULE_Cash
          Cash = B
static String PAYMENTRULE_Check
          Check = S
static String PAYMENTRULE_CreditCard
          Credit Card = K
static String PAYMENTRULE_DirectDebit
          Direct Debit = D
static String PAYMENTRULE_DirectDeposit
          Direct Deposit = T
static String PAYMENTRULE_OnCredit
          On Credit = P
static int PRIORITYRULE_AD_Reference_ID
          PriorityRule AD_Reference_ID=154
static String PRIORITYRULE_High
          High = 3
static String PRIORITYRULE_Low
          Low = 7
static String PRIORITYRULE_Medium
          Medium = 5
static String PRIORITYRULE_Minor
          Minor = 9
static String PRIORITYRULE_Urgent
          Urgent = 1
static int REF_ORDER_ID_AD_Reference_ID
          Ref_Order_ID AD_Reference_ID=290
static int SALESREP_ID_AD_Reference_ID
          SalesRep_ID AD_Reference_ID=190
static int Table_ID
          AD_Table_ID=259
static String Table_Name
          TableName=C_Order
static long updatedMS
          Last Updated Timestamp 2008-07-15 10:02:26.0
static int USER1_ID_AD_Reference_ID
          User1_ID AD_Reference_ID=134
static int USER2_ID_AD_Reference_ID
          User2_ID AD_Reference_ID=137
 
Fields inherited from class org.compiere.framework.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
 
Constructor Summary
X_C_Order(Ctx ctx, int C_Order_ID, String trxName)
          Standard Constructor
X_C_Order(Ctx ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getAD_OrgTrx_ID()
          Get Trx Organization.
 int getAD_User_ID()
          Get User/Contact.
 int getBill_BPartner_ID()
          Get Bill To.
 int getBill_Location_ID()
          Get Bill To Location.
 int getBill_User_ID()
          Get Invoice Contact.
 int getC_Activity_ID()
          Get Activity.
 int getC_BP_BankAccount_ID()
          Get Partner Bank Account.
 int getC_BPartner_ID()
          Get Business Partner.
 int getC_BPartner_Location_ID()
          Get Partner Location.
 int getC_BPartnerSR_ID()
          Get BPartner (Agent).
 int getC_Campaign_ID()
          Get Campaign.
 int getC_CashLine_ID()
          Get Cash Journal Line.
 int getC_Charge_ID()
          Get Charge.
 int getC_ConversionType_ID()
          Get Currency Type.
 int getC_Currency_ID()
          Get Currency.
 int getC_DocType_ID()
          Get Document Type.
 int getC_DocTypeTarget_ID()
          Get Target Doc Type.
 int getC_Order_ID()
          Get Order.
 int getC_Payment_ID()
          Get Payment.
 int getC_PaymentTerm_ID()
          Get Payment Term.
 int getC_Project_ID()
          Get Project.
 BigDecimal getChargeAmt()
          Get Charge amount.
 String getCopyFrom()
          Get Copy From.
 Timestamp getDateAcct()
          Get Account Date.
 Timestamp getDateOrdered()
          Get Date Ordered.
 Timestamp getDatePrinted()
          Get Date printed.
 Timestamp getDatePromised()
          Get Date Promised.
 String getDeliveryRule()
          Get Shipping Rule.
 String getDeliveryViaRule()
          Get Shipping Method.
 String getDescription()
          Get Description.
 String getDocAction()
          Get Document Action.
 String getDocStatus()
          Get Document Status.
 String getDocumentNo()
          Get Document No.
 BigDecimal getFreightAmt()
          Get Freight Amount.
 String getFreightCostRule()
          Get Freight Cost Rule.
 BigDecimal getGrandTotal()
          Get Grand Total.
 String getInvoiceRule()
          Get Invoicing Rule.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getM_PriceList_ID()
          Get Price List.
 int getM_ReturnPolicy_ID()
          Get Return Policy.
 int getM_RMACategory_ID()
          Get RMA Category.
 int getM_Shipper_ID()
          Get Freight Carrier.
 int getM_Warehouse_ID()
          Get Warehouse.
 String getOrderType()
          Get Order Type.
 int getOrig_InOut_ID()
          Get Orig Shipment.
 int getOrig_Order_ID()
          Get Orig Sales Order.
 int getPay_BPartner_ID()
          Get Payment BPartner.
 int getPay_Location_ID()
          Get Payment Location.
 String getPaymentRule()
          Get Payment Method.
 String getPOReference()
          Get Order Reference.
 String getPriorityRule()
          Get Priority.
 int getRef_Order_ID()
          Get Referenced Order.
 int getSalesRep_ID()
          Get Representative.
 Timestamp getShipDate()
          Get Ship Date.
 BigDecimal getTotalLines()
          Get SubTotal.
 int getUser1_ID()
          Get User List 1.
 int getUser2_ID()
          Get User List 2.
 BigDecimal getVolume()
          Get Volume.
 BigDecimal getWeight()
          Get Weight.
protected  POInfo initPO(Ctx ctx)
          Load Meta Data
 boolean isApproved()
          Get Approved.
 boolean isCreditApproved()
          Get Credit Approved.
 boolean isDelivered()
          Get Delivered.
 boolean isDeliveryRuleValid(String test)
          Is test a valid value.
 boolean isDeliveryViaRuleValid(String test)
          Is test a valid value.
 boolean isDiscountPrinted()
          Get Discount Printed.
 boolean isDocActionValid(String test)
          Is test a valid value.
 boolean isDocStatusValid(String test)
          Is test a valid value.
 boolean isDropShip()
          Get Drop Shipment.
 boolean isFreightCostRuleValid(String test)
          Is test a valid value.
 boolean isInvoiced()
          Get Invoiced.
 boolean isInvoiceRuleValid(String test)
          Is test a valid value.
 boolean isOrderTypeValid(String test)
          Is test a valid value.
 boolean isPaymentRuleValid(String test)
          Is test a valid value.
 boolean isPosted()
          Get Posted.
 boolean isPrinted()
          Get Printed.
 boolean isPriorityRuleValid(String test)
          Is test a valid value.
 boolean isProcessed()
          Get Processed.
 boolean isProcessing()
          Get Process Now.
 boolean isReturnTrx()
          Get Return Transaction.
 boolean isSelected()
          Get Selected.
 boolean isSelfService()
          Get Self-Service.
 boolean isSendEMail()
          Get Send EMail.
 boolean isSOTrx()
          Get Sales Transaction.
 boolean isTaxIncluded()
          Get Price includes Tax.
 boolean isTransferred()
          Get Transferred.
 void setAD_OrgTrx_ID(int AD_OrgTrx_ID)
          Set Trx Organization.
 void setAD_User_ID(int AD_User_ID)
          Set User/Contact.
 void setBill_BPartner_ID(int Bill_BPartner_ID)
          Set Bill To.
 void setBill_Location_ID(int Bill_Location_ID)
          Set Bill To Location.
 void setBill_User_ID(int Bill_User_ID)
          Set Invoice Contact.
 void setC_Activity_ID(int C_Activity_ID)
          Set Activity.
 void setC_BP_BankAccount_ID(int C_BP_BankAccount_ID)
          Set Partner Bank Account.
 void setC_BPartner_ID(int C_BPartner_ID)
          Set Business Partner.
 void setC_BPartner_Location_ID(int C_BPartner_Location_ID)
          Set Partner Location.
 void setC_BPartnerSR_ID(int C_BPartnerSR_ID)
          Set BPartner (Agent).
 void setC_Campaign_ID(int C_Campaign_ID)
          Set Campaign.
 void setC_CashLine_ID(int C_CashLine_ID)
          Set Cash Journal Line.
 void setC_Charge_ID(int C_Charge_ID)
          Set Charge.
 void setC_ConversionType_ID(int C_ConversionType_ID)
          Set Currency Type.
 void setC_Currency_ID(int C_Currency_ID)
          Set Currency.
 void setC_DocType_ID(int C_DocType_ID)
          Set Document Type.
 void setC_DocTypeTarget_ID(int C_DocTypeTarget_ID)
          Set Target Doc Type.
 void setC_Order_ID(int C_Order_ID)
          Set Order.
 void setC_Payment_ID(int C_Payment_ID)
          Set Payment.
 void setC_PaymentTerm_ID(int C_PaymentTerm_ID)
          Set Payment Term.
 void setC_Project_ID(int C_Project_ID)
          Set Project.
 void setChargeAmt(BigDecimal ChargeAmt)
          Set Charge amount.
 void setCopyFrom(String CopyFrom)
          Set Copy From.
 void setDateAcct(Timestamp DateAcct)
          Set Account Date.
 void setDateOrdered(Timestamp DateOrdered)
          Set Date Ordered.
 void setDatePrinted(Timestamp DatePrinted)
          Set Date printed.
 void setDatePromised(Timestamp DatePromised)
          Set Date Promised.
 void setDeliveryRule(String DeliveryRule)
          Set Shipping Rule.
 void setDeliveryViaRule(String DeliveryViaRule)
          Set Shipping Method.
 void setDescription(String Description)
          Set Description.
 void setDocAction(String DocAction)
          Set Document Action.
 void setDocStatus(String DocStatus)
          Set Document Status.
 void setDocumentNo(String DocumentNo)
          Set Document No.
 void setFreightAmt(BigDecimal FreightAmt)
          Set Freight Amount.
 void setFreightCostRule(String FreightCostRule)
          Set Freight Cost Rule.
 void setGrandTotal(BigDecimal GrandTotal)
          Set Grand Total.
 void setInvoiceRule(String InvoiceRule)
          Set Invoicing Rule.
 void setIsApproved(boolean IsApproved)
          Set Approved.
 void setIsCreditApproved(boolean IsCreditApproved)
          Set Credit Approved.
 void setIsDelivered(boolean IsDelivered)
          Set Delivered.
 void setIsDiscountPrinted(boolean IsDiscountPrinted)
          Set Discount Printed.
 void setIsDropShip(boolean IsDropShip)
          Set Drop Shipment.
 void setIsInvoiced(boolean IsInvoiced)
          Set Invoiced.
 void setIsPrinted(boolean IsPrinted)
          Set Printed.
 void setIsReturnTrx(boolean IsReturnTrx)
          Set Return Transaction.
 void setIsSelected(boolean IsSelected)
          Set Selected.
 void setIsSelfService(boolean IsSelfService)
          Set Self-Service.
 void setIsSOTrx(boolean IsSOTrx)
          Set Sales Transaction.
 void setIsTaxIncluded(boolean IsTaxIncluded)
          Set Price includes Tax.
 void setIsTransferred(boolean IsTransferred)
          Set Transferred.
 void setM_PriceList_ID(int M_PriceList_ID)
          Set Price List.
 void setM_ReturnPolicy_ID(int M_ReturnPolicy_ID)
          Set Return Policy.
 void setM_RMACategory_ID(int M_RMACategory_ID)
          Set RMA Category.
 void setM_Shipper_ID(int M_Shipper_ID)
          Set Freight Carrier.
 void setM_Warehouse_ID(int M_Warehouse_ID)
          Set Warehouse.
 void setOrderType(String OrderType)
          Set Order Type.
 void setOrig_InOut_ID(int Orig_InOut_ID)
          Set Orig Shipment.
 void setOrig_Order_ID(int Orig_Order_ID)
          Set Orig Sales Order.
 void setPay_BPartner_ID(int Pay_BPartner_ID)
          Set Payment BPartner.
 void setPay_Location_ID(int Pay_Location_ID)
          Set Payment Location.
 void setPaymentRule(String PaymentRule)
          Set Payment Method.
 void setPOReference(String POReference)
          Set Order Reference.
 void setPosted(boolean Posted)
          Set Posted.
 void setPriorityRule(String PriorityRule)
          Set Priority.
 void setProcessed(boolean Processed)
          Set Processed.
 void setProcessing(boolean Processing)
          Set Process Now.
 void setRef_Order_ID(int Ref_Order_ID)
          Set Referenced Order.
 void setSalesRep_ID(int SalesRep_ID)
          Set Representative.
 void setSendEMail(boolean SendEMail)
          Set Send EMail.
 void setShipDate(Timestamp ShipDate)
          Set Ship Date.
 void setTotalLines(BigDecimal TotalLines)
          Set SubTotal.
 void setUser1_ID(int User1_ID)
          Set User List 1.
 void setUser2_ID(int User2_ID)
          Set User List 2.
 void setVolume(BigDecimal Volume)
          Set Volume.
 void setWeight(BigDecimal Weight)
          Set Weight.
 String toString()
          Info
 
Methods inherited from class org.compiere.framework.PO
addAttachment, addAttachment, addError, afterDelete, afterSave, beforeDelete, beforeSave, compare, convertToBigDecimal, convertToBoolean, convertToInt, convertToTimestamp, copy, copyValues, copyValues, createAttachment, delete_Accounting, delete, delete, dump, dump, equals, get_ChangeVO, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_EntityType, get_HashMap, get_ID, get_IDOld, get_Info, get_KeyColumns, get_Logger, get_Table_ID, get_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_ValuesAsString, get_WhereClause, get_xmlDocument, get_xmlString, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getVO, hashCode, insert_Accounting, is_Changed, is_KeyColumn, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveNew_getID, saveNewInsertSQL, saveNewSpecial, saveUpdate, set_ChangeVO, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueString, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setContext, setCtx, setDocWorkflowMgr, setIsActive, setStandardDefaults, setUpdateable, setUpdatedBy, toStringX, unlock, update
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

updatedMS

public static final long updatedMS
Last Updated Timestamp 2008-07-15 10:02:26.0

See Also:
Constant Field Values

Table_ID

public static final int Table_ID
AD_Table_ID=259

See Also:
Constant Field Values

Table_Name

public static final String Table_Name
TableName=C_Order

See Also:
Constant Field Values

Model

protected static KeyNamePair Model

accessLevel

protected BigDecimal accessLevel

AD_ORGTRX_ID_AD_Reference_ID

public static final int AD_ORGTRX_ID_AD_Reference_ID
AD_OrgTrx_ID AD_Reference_ID=130

See Also:
Constant Field Values

BILL_BPARTNER_ID_AD_Reference_ID

public static final int BILL_BPARTNER_ID_AD_Reference_ID
Bill_BPartner_ID AD_Reference_ID=138

See Also:
Constant Field Values

BILL_LOCATION_ID_AD_Reference_ID

public static final int BILL_LOCATION_ID_AD_Reference_ID
Bill_Location_ID AD_Reference_ID=159

See Also:
Constant Field Values

BILL_USER_ID_AD_Reference_ID

public static final int BILL_USER_ID_AD_Reference_ID
Bill_User_ID AD_Reference_ID=110

See Also:
Constant Field Values

C_BPARTNERSR_ID_AD_Reference_ID

public static final int C_BPARTNERSR_ID_AD_Reference_ID
C_BPartnerSR_ID AD_Reference_ID=353

See Also:
Constant Field Values

C_DOCTYPETARGET_ID_AD_Reference_ID

public static final int C_DOCTYPETARGET_ID_AD_Reference_ID
C_DocTypeTarget_ID AD_Reference_ID=170

See Also:
Constant Field Values

C_DOCTYPE_ID_AD_Reference_ID

public static final int C_DOCTYPE_ID_AD_Reference_ID
C_DocType_ID AD_Reference_ID=170

See Also:
Constant Field Values

DELIVERYRULE_AD_Reference_ID

public static final int DELIVERYRULE_AD_Reference_ID
DeliveryRule AD_Reference_ID=151

See Also:
Constant Field Values

DELIVERYRULE_Availability

public static final String DELIVERYRULE_Availability
Availability = A

See Also:
Constant Field Values

DELIVERYRULE_Force

public static final String DELIVERYRULE_Force
Force = F

See Also:
Constant Field Values

DELIVERYRULE_CompleteLine

public static final String DELIVERYRULE_CompleteLine
Complete Line = L

See Also:
Constant Field Values

DELIVERYRULE_Manual

public static final String DELIVERYRULE_Manual
Manual = M

See Also:
Constant Field Values

DELIVERYRULE_CompleteOrder

public static final String DELIVERYRULE_CompleteOrder
Complete Order = O

See Also:
Constant Field Values

DELIVERYRULE_AfterReceipt

public static final String DELIVERYRULE_AfterReceipt
After Receipt = R

See Also:
Constant Field Values

DELIVERYVIARULE_AD_Reference_ID

public static final int DELIVERYVIARULE_AD_Reference_ID
DeliveryViaRule AD_Reference_ID=152

See Also:
Constant Field Values

DELIVERYVIARULE_Delivery

public static final String DELIVERYVIARULE_Delivery
Delivery = D

See Also:
Constant Field Values

DELIVERYVIARULE_Pickup

public static final String DELIVERYVIARULE_Pickup
Pickup = P

See Also:
Constant Field Values

DELIVERYVIARULE_Shipper

public static final String DELIVERYVIARULE_Shipper
Shipper = S

See Also:
Constant Field Values

DOCACTION_AD_Reference_ID

public static final int DOCACTION_AD_Reference_ID
DocAction AD_Reference_ID=135

See Also:
Constant Field Values

DOCACTION_None

public static final String DOCACTION_None
= --

See Also:
Constant Field Values

DOCACTION_Approve

public static final String DOCACTION_Approve
Approve = AP

See Also:
Constant Field Values

DOCACTION_Close

public static final String DOCACTION_Close
Close = CL

See Also:
Constant Field Values

DOCACTION_Complete

public static final String DOCACTION_Complete
Complete = CO

See Also:
Constant Field Values

DOCACTION_Invalidate

public static final String DOCACTION_Invalidate
Invalidate = IN

See Also:
Constant Field Values

DOCACTION_Post

public static final String DOCACTION_Post
Post = PO

See Also:
Constant Field Values

DOCACTION_Prepare

public static final String DOCACTION_Prepare
Prepare = PR

See Also:
Constant Field Values

DOCACTION_Reverse_Accrual

public static final String DOCACTION_Reverse_Accrual
Reverse - Accrual = RA

See Also:
Constant Field Values

DOCACTION_Reverse_Correct

public static final String DOCACTION_Reverse_Correct
Reverse - Correct = RC

See Also:
Constant Field Values

DOCACTION_Re_Activate

public static final String DOCACTION_Re_Activate
Re-activate = RE

See Also:
Constant Field Values

DOCACTION_Reject

public static final String DOCACTION_Reject
Reject = RJ

See Also:
Constant Field Values

DOCACTION_Void

public static final String DOCACTION_Void
Void = VO

See Also:
Constant Field Values

DOCACTION_WaitComplete

public static final String DOCACTION_WaitComplete
Wait Complete = WC

See Also:
Constant Field Values

DOCACTION_Unlock

public static final String DOCACTION_Unlock
Unlock = XL

See Also:
Constant Field Values

DOCSTATUS_AD_Reference_ID

public static final int DOCSTATUS_AD_Reference_ID
DocStatus AD_Reference_ID=131

See Also:
Constant Field Values

DOCSTATUS_Unknown

public static final String DOCSTATUS_Unknown
Unknown = ??

See Also:
Constant Field Values

DOCSTATUS_Approved

public static final String DOCSTATUS_Approved
Approved = AP

See Also:
Constant Field Values

DOCSTATUS_Closed

public static final String DOCSTATUS_Closed
Closed = CL

See Also:
Constant Field Values

DOCSTATUS_Completed

public static final String DOCSTATUS_Completed
Completed = CO

See Also:
Constant Field Values

DOCSTATUS_Drafted

public static final String DOCSTATUS_Drafted
Drafted = DR

See Also:
Constant Field Values

DOCSTATUS_Invalid

public static final String DOCSTATUS_Invalid
Invalid = IN

See Also:
Constant Field Values

DOCSTATUS_InProgress

public static final String DOCSTATUS_InProgress
In Progress = IP

See Also:
Constant Field Values

DOCSTATUS_NotApproved

public static final String DOCSTATUS_NotApproved
Not Approved = NA

See Also:
Constant Field Values

DOCSTATUS_Reversed

public static final String DOCSTATUS_Reversed
Reversed = RE

See Also:
Constant Field Values

DOCSTATUS_Voided

public static final String DOCSTATUS_Voided
Voided = VO

See Also:
Constant Field Values

DOCSTATUS_WaitingConfirmation

public static final String DOCSTATUS_WaitingConfirmation
Waiting Confirmation = WC

See Also:
Constant Field Values

DOCSTATUS_WaitingPayment

public static final String DOCSTATUS_WaitingPayment
Waiting Payment = WP

See Also:
Constant Field Values

FREIGHTCOSTRULE_AD_Reference_ID

public static final int FREIGHTCOSTRULE_AD_Reference_ID
FreightCostRule AD_Reference_ID=153

See Also:
Constant Field Values

FREIGHTCOSTRULE_Calculated

public static final String FREIGHTCOSTRULE_Calculated
Calculated = C

See Also:
Constant Field Values

FREIGHTCOSTRULE_FixPrice

public static final String FREIGHTCOSTRULE_FixPrice
Fix price = F

See Also:
Constant Field Values

FREIGHTCOSTRULE_FreightIncluded

public static final String FREIGHTCOSTRULE_FreightIncluded
Freight included = I

See Also:
Constant Field Values

FREIGHTCOSTRULE_Line

public static final String FREIGHTCOSTRULE_Line
Line = L

See Also:
Constant Field Values

INVOICERULE_AD_Reference_ID

public static final int INVOICERULE_AD_Reference_ID
InvoiceRule AD_Reference_ID=150

See Also:
Constant Field Values

INVOICERULE_AfterDelivery

public static final String INVOICERULE_AfterDelivery
After Delivery = D

See Also:
Constant Field Values

INVOICERULE_Immediate

public static final String INVOICERULE_Immediate
Immediate = I

See Also:
Constant Field Values

INVOICERULE_AfterOrderDelivered

public static final String INVOICERULE_AfterOrderDelivered
After Order delivered = O

See Also:
Constant Field Values

INVOICERULE_CustomerScheduleAfterDelivery

public static final String INVOICERULE_CustomerScheduleAfterDelivery
Customer Schedule after Delivery = S

See Also:
Constant Field Values

ORDERTYPE_AD_Reference_ID

public static final int ORDERTYPE_AD_Reference_ID
OrderType AD_Reference_ID=148

See Also:
Constant Field Values

ORDERTYPE_Quotation

public static final String ORDERTYPE_Quotation
Quotation = OB

See Also:
Constant Field Values

ORDERTYPE_Proposal

public static final String ORDERTYPE_Proposal
Proposal = ON

See Also:
Constant Field Values

ORDERTYPE_PrepayOrder

public static final String ORDERTYPE_PrepayOrder
Prepay Order = PR

See Also:
Constant Field Values

ORDERTYPE_StandardOrder

public static final String ORDERTYPE_StandardOrder
Standard Order = SO

See Also:
Constant Field Values

ORDERTYPE_OnCreditOrder

public static final String ORDERTYPE_OnCreditOrder
On Credit Order = WI

See Also:
Constant Field Values

ORDERTYPE_WarehouseOrder

public static final String ORDERTYPE_WarehouseOrder
Warehouse Order = WP

See Also:
Constant Field Values

ORDERTYPE_POSOrder

public static final String ORDERTYPE_POSOrder
POS Order = WR

See Also:
Constant Field Values

ORIG_INOUT_ID_AD_Reference_ID

public static final int ORIG_INOUT_ID_AD_Reference_ID
Orig_InOut_ID AD_Reference_ID=337

See Also:
Constant Field Values

ORIG_ORDER_ID_AD_Reference_ID

public static final int ORIG_ORDER_ID_AD_Reference_ID
Orig_Order_ID AD_Reference_ID=290

See Also:
Constant Field Values

PAYMENTRULE_AD_Reference_ID

public static final int PAYMENTRULE_AD_Reference_ID
PaymentRule AD_Reference_ID=195

See Also:
Constant Field Values

PAYMENTRULE_Cash

public static final String PAYMENTRULE_Cash
Cash = B

See Also:
Constant Field Values

PAYMENTRULE_DirectDebit

public static final String PAYMENTRULE_DirectDebit
Direct Debit = D

See Also:
Constant Field Values

PAYMENTRULE_CreditCard

public static final String PAYMENTRULE_CreditCard
Credit Card = K

See Also:
Constant Field Values

PAYMENTRULE_OnCredit

public static final String PAYMENTRULE_OnCredit
On Credit = P

See Also:
Constant Field Values

PAYMENTRULE_Check

public static final String PAYMENTRULE_Check
Check = S

See Also:
Constant Field Values

PAYMENTRULE_DirectDeposit

public static final String PAYMENTRULE_DirectDeposit
Direct Deposit = T

See Also:
Constant Field Values

PRIORITYRULE_AD_Reference_ID

public static final int PRIORITYRULE_AD_Reference_ID
PriorityRule AD_Reference_ID=154

See Also:
Constant Field Values

PRIORITYRULE_Urgent

public static final String PRIORITYRULE_Urgent
Urgent = 1

See Also:
Constant Field Values

PRIORITYRULE_High

public static final String PRIORITYRULE_High
High = 3

See Also:
Constant Field Values

PRIORITYRULE_Medium

public static final String PRIORITYRULE_Medium
Medium = 5

See Also:
Constant Field Values

PRIORITYRULE_Low

public static final String PRIORITYRULE_Low
Low = 7

See Also:
Constant Field Values

PRIORITYRULE_Minor

public static final String PRIORITYRULE_Minor
Minor = 9

See Also:
Constant Field Values

REF_ORDER_ID_AD_Reference_ID

public static final int REF_ORDER_ID_AD_Reference_ID
Ref_Order_ID AD_Reference_ID=290

See Also:
Constant Field Values

SALESREP_ID_AD_Reference_ID

public static final int SALESREP_ID_AD_Reference_ID
SalesRep_ID AD_Reference_ID=190

See Also:
Constant Field Values

USER1_ID_AD_Reference_ID

public static final int USER1_ID_AD_Reference_ID
User1_ID AD_Reference_ID=134

See Also:
Constant Field Values

USER2_ID_AD_Reference_ID

public static final int USER2_ID_AD_Reference_ID
User2_ID AD_Reference_ID=137

See Also:
Constant Field Values
Constructor Detail

X_C_Order

public X_C_Order(Ctx ctx,
                 int C_Order_ID,
                 String trxName)
Standard Constructor

Parameters:
ctx - context
C_Order_ID - id
trxName - transaction

X_C_Order

public X_C_Order(Ctx ctx,
                 ResultSet rs,
                 String trxName)
Load Constructor

Parameters:
ctx - context
rs - result set
trxName - transaction
Method Detail

get_AccessLevel

protected int get_AccessLevel()
AccessLevel

Specified by:
get_AccessLevel in class PO
Returns:
1 - Org

initPO

protected POInfo initPO(Ctx ctx)
Load Meta Data

Specified by:
initPO in class PO
Parameters:
ctx - context
Returns:
PO Info

toString

public String toString()
Info

Overrides:
toString in class PO
Returns:
info

setAD_OrgTrx_ID

public void setAD_OrgTrx_ID(int AD_OrgTrx_ID)
Set Trx Organization.

Parameters:
AD_OrgTrx_ID - Performing or initiating organization

getAD_OrgTrx_ID

public int getAD_OrgTrx_ID()
Get Trx Organization.

Returns:
Performing or initiating organization

setAD_User_ID

public void setAD_User_ID(int AD_User_ID)
Set User/Contact.

Parameters:
AD_User_ID - User within the system - Internal or Business Partner Contact

getAD_User_ID

public int getAD_User_ID()
Get User/Contact.

Returns:
User within the system - Internal or Business Partner Contact

setBill_BPartner_ID

public void setBill_BPartner_ID(int Bill_BPartner_ID)
Set Bill To.

Parameters:
Bill_BPartner_ID - Business Partner to be invoiced

getBill_BPartner_ID

public int getBill_BPartner_ID()
Get Bill To.

Returns:
Business Partner to be invoiced

setBill_Location_ID

public void setBill_Location_ID(int Bill_Location_ID)
Set Bill To Location.

Parameters:
Bill_Location_ID - Business Partner Location for invoicing

getBill_Location_ID

public int getBill_Location_ID()
Get Bill To Location.

Returns:
Business Partner Location for invoicing

setBill_User_ID

public void setBill_User_ID(int Bill_User_ID)
Set Invoice Contact.

Parameters:
Bill_User_ID - Business Partner Contact for invoicing

getBill_User_ID

public int getBill_User_ID()
Get Invoice Contact.

Returns:
Business Partner Contact for invoicing

setC_Activity_ID

public void setC_Activity_ID(int C_Activity_ID)
Set Activity.

Parameters:
C_Activity_ID - Business Activity

getC_Activity_ID

public int getC_Activity_ID()
Get Activity.

Returns:
Business Activity

setC_BP_BankAccount_ID

public void setC_BP_BankAccount_ID(int C_BP_BankAccount_ID)
Set Partner Bank Account.

Parameters:
C_BP_BankAccount_ID - Bank Account of the Business Partner

getC_BP_BankAccount_ID

public int getC_BP_BankAccount_ID()
Get Partner Bank Account.

Returns:
Bank Account of the Business Partner

setC_BPartnerSR_ID

public void setC_BPartnerSR_ID(int C_BPartnerSR_ID)
Set BPartner (Agent).

Parameters:
C_BPartnerSR_ID - Business Partner (Agent or Sales Rep)

getC_BPartnerSR_ID

public int getC_BPartnerSR_ID()
Get BPartner (Agent).

Returns:
Business Partner (Agent or Sales Rep)

setC_BPartner_ID

public void setC_BPartner_ID(int C_BPartner_ID)
Set Business Partner.

Parameters:
C_BPartner_ID - Identifies a Business Partner

getC_BPartner_ID

public int getC_BPartner_ID()
Get Business Partner.

Returns:
Identifies a Business Partner

setC_BPartner_Location_ID

public void setC_BPartner_Location_ID(int C_BPartner_Location_ID)
Set Partner Location.

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.

Returns:
Identifies the (ship to) address for this Business Partner

setC_Campaign_ID

public void setC_Campaign_ID(int C_Campaign_ID)
Set Campaign.

Parameters:
C_Campaign_ID - Marketing Campaign

getC_Campaign_ID

public int getC_Campaign_ID()
Get Campaign.

Returns:
Marketing Campaign

setC_CashLine_ID

public void setC_CashLine_ID(int C_CashLine_ID)
Set Cash Journal Line.

Parameters:
C_CashLine_ID - Cash Journal Line

getC_CashLine_ID

public int getC_CashLine_ID()
Get Cash Journal Line.

Returns:
Cash Journal Line

setC_Charge_ID

public void setC_Charge_ID(int C_Charge_ID)
Set Charge.

Parameters:
C_Charge_ID - Additional document charges

getC_Charge_ID

public int getC_Charge_ID()
Get Charge.

Returns:
Additional document charges

setC_ConversionType_ID

public void setC_ConversionType_ID(int C_ConversionType_ID)
Set Currency Type.

Parameters:
C_ConversionType_ID - Currency Conversion Rate Type

getC_ConversionType_ID

public int getC_ConversionType_ID()
Get Currency Type.

Returns:
Currency Conversion Rate Type

setC_Currency_ID

public void setC_Currency_ID(int C_Currency_ID)
Set Currency.

Parameters:
C_Currency_ID - The Currency for this record

getC_Currency_ID

public int getC_Currency_ID()
Get Currency.

Returns:
The Currency for this record

setC_DocTypeTarget_ID

public void setC_DocTypeTarget_ID(int C_DocTypeTarget_ID)
Set Target Doc Type.

Parameters:
C_DocTypeTarget_ID - Target document type for documents

getC_DocTypeTarget_ID

public int getC_DocTypeTarget_ID()
Get Target Doc Type.

Returns:
Target document type for documents

setC_DocType_ID

public void setC_DocType_ID(int C_DocType_ID)
Set Document Type.

Parameters:
C_DocType_ID - Document type or rules

getC_DocType_ID

public int getC_DocType_ID()
Get Document Type.

Returns:
Document type or rules

setC_Order_ID

public void setC_Order_ID(int C_Order_ID)
Set Order.

Parameters:
C_Order_ID - Order

getC_Order_ID

public int getC_Order_ID()
Get Order.

Returns:
Order

setC_PaymentTerm_ID

public void setC_PaymentTerm_ID(int C_PaymentTerm_ID)
Set Payment Term.

Parameters:
C_PaymentTerm_ID - The terms of Payment (timing, discount)

getC_PaymentTerm_ID

public int getC_PaymentTerm_ID()
Get Payment Term.

Returns:
The terms of Payment (timing, discount)

setC_Payment_ID

public void setC_Payment_ID(int C_Payment_ID)
Set Payment.

Parameters:
C_Payment_ID - Payment identifier

getC_Payment_ID

public int getC_Payment_ID()
Get Payment.

Returns:
Payment identifier

setC_Project_ID

public void setC_Project_ID(int C_Project_ID)
Set Project.

Parameters:
C_Project_ID - Financial Project

getC_Project_ID

public int getC_Project_ID()
Get Project.

Returns:
Financial Project

setChargeAmt

public void setChargeAmt(BigDecimal ChargeAmt)
Set Charge amount.

Parameters:
ChargeAmt - Charge Amount

getChargeAmt

public BigDecimal getChargeAmt()
Get Charge amount.

Returns:
Charge Amount

setCopyFrom

public void setCopyFrom(String CopyFrom)
Set Copy From.

Parameters:
CopyFrom - Copy From Record

getCopyFrom

public String getCopyFrom()
Get Copy From.

Returns:
Copy From Record

setDateAcct

public void setDateAcct(Timestamp DateAcct)
Set Account Date.

Parameters:
DateAcct - General Ledger Date

getDateAcct

public Timestamp getDateAcct()
Get Account Date.

Returns:
General Ledger Date

setDateOrdered

public void setDateOrdered(Timestamp DateOrdered)
Set Date Ordered.

Parameters:
DateOrdered - Date of Order

getDateOrdered

public Timestamp getDateOrdered()
Get Date Ordered.

Returns:
Date of Order

setDatePrinted

public void setDatePrinted(Timestamp DatePrinted)
Set Date printed.

Parameters:
DatePrinted - Date the document was printed.

getDatePrinted

public Timestamp getDatePrinted()
Get Date printed.

Returns:
Date the document was printed.

setDatePromised

public void setDatePromised(Timestamp DatePromised)
Set Date Promised.

Parameters:
DatePromised - Date Order was promised

getDatePromised

public Timestamp getDatePromised()
Get Date Promised.

Returns:
Date Order was promised

isDeliveryRuleValid

public boolean isDeliveryRuleValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setDeliveryRule

public void setDeliveryRule(String DeliveryRule)
Set Shipping Rule.

Parameters:
DeliveryRule - Defines the timing of Shipping

getDeliveryRule

public String getDeliveryRule()
Get Shipping Rule.

Returns:
Defines the timing of Shipping

isDeliveryViaRuleValid

public boolean isDeliveryViaRuleValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setDeliveryViaRule

public void setDeliveryViaRule(String DeliveryViaRule)
Set Shipping Method.

Parameters:
DeliveryViaRule - How the order will be delivered

getDeliveryViaRule

public String getDeliveryViaRule()
Get Shipping Method.

Returns:
How the order will be delivered

setDescription

public void setDescription(String Description)
Set Description.

Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Returns:
Optional short description of the record

isDocActionValid

public boolean isDocActionValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setDocAction

public void setDocAction(String DocAction)
Set Document Action.

Parameters:
DocAction - The targeted status of the document

getDocAction

public String getDocAction()
Get Document Action.

Returns:
The targeted status of the document

isDocStatusValid

public boolean isDocStatusValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setDocStatus

public void setDocStatus(String DocStatus)
Set Document Status.

Parameters:
DocStatus - The current status of the document

getDocStatus

public String getDocStatus()
Get Document Status.

Returns:
The current status of the document

setDocumentNo

public void setDocumentNo(String DocumentNo)
Set Document No.

Parameters:
DocumentNo - Document sequence number of the document

getDocumentNo

public String getDocumentNo()
Get Document No.

Returns:
Document sequence number of the document

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setFreightAmt

public void setFreightAmt(BigDecimal FreightAmt)
Set Freight Amount.

Parameters:
FreightAmt - Freight Amount

getFreightAmt

public BigDecimal getFreightAmt()
Get Freight Amount.

Returns:
Freight Amount

isFreightCostRuleValid

public boolean isFreightCostRuleValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setFreightCostRule

public void setFreightCostRule(String FreightCostRule)
Set Freight Cost Rule.

Parameters:
FreightCostRule - Method for charging Freight

getFreightCostRule

public String getFreightCostRule()
Get Freight Cost Rule.

Returns:
Method for charging Freight

setGrandTotal

public void setGrandTotal(BigDecimal GrandTotal)
Set Grand Total.

Parameters:
GrandTotal - Total amount of document

getGrandTotal

public BigDecimal getGrandTotal()
Get Grand Total.

Returns:
Total amount of document

isInvoiceRuleValid

public boolean isInvoiceRuleValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setInvoiceRule

public void setInvoiceRule(String InvoiceRule)
Set Invoicing Rule.

Parameters:
InvoiceRule - Frequency and method of invoicing

getInvoiceRule

public String getInvoiceRule()
Get Invoicing Rule.

Returns:
Frequency and method of invoicing

setIsApproved

public void setIsApproved(boolean IsApproved)
Set Approved.

Parameters:
IsApproved - Indicates if this document requires approval

isApproved

public boolean isApproved()
Get Approved.

Returns:
Indicates if this document requires approval

setIsCreditApproved

public void setIsCreditApproved(boolean IsCreditApproved)
Set Credit Approved.

Parameters:
IsCreditApproved - Credit has been approved

isCreditApproved

public boolean isCreditApproved()
Get Credit Approved.

Returns:
Credit has been approved

setIsDelivered

public void setIsDelivered(boolean IsDelivered)
Set Delivered.

Parameters:
IsDelivered - Delivered

isDelivered

public boolean isDelivered()
Get Delivered.

Returns:
Delivered

setIsDiscountPrinted

public void setIsDiscountPrinted(boolean IsDiscountPrinted)
Set Discount Printed.

Parameters:
IsDiscountPrinted - Print Discount on Invoice and Order

isDiscountPrinted

public boolean isDiscountPrinted()
Get Discount Printed.

Returns:
Print Discount on Invoice and Order

setIsDropShip

public void setIsDropShip(boolean IsDropShip)
Set Drop Shipment.

Parameters:
IsDropShip - Drop Shipments are sent from the Vendor directly to the Customer

isDropShip

public boolean isDropShip()
Get Drop Shipment.

Returns:
Drop Shipments are sent from the Vendor directly to the Customer

setIsInvoiced

public void setIsInvoiced(boolean IsInvoiced)
Set Invoiced.

Parameters:
IsInvoiced - Is this invoiced?

isInvoiced

public boolean isInvoiced()
Get Invoiced.

Returns:
Is this invoiced?

setIsPrinted

public void setIsPrinted(boolean IsPrinted)
Set Printed.

Parameters:
IsPrinted - Indicates if this document / line is printed

isPrinted

public boolean isPrinted()
Get Printed.

Returns:
Indicates if this document / line is printed

setIsReturnTrx

public void setIsReturnTrx(boolean IsReturnTrx)
Set Return Transaction.

Parameters:
IsReturnTrx - This is a return transaction

isReturnTrx

public boolean isReturnTrx()
Get Return Transaction.

Returns:
This is a return transaction

setIsSOTrx

public void setIsSOTrx(boolean IsSOTrx)
Set Sales Transaction.

Parameters:
IsSOTrx - This is a Sales Transaction

isSOTrx

public boolean isSOTrx()
Get Sales Transaction.

Returns:
This is a Sales Transaction

setIsSelected

public void setIsSelected(boolean IsSelected)
Set Selected.

Parameters:
IsSelected - Selected

isSelected

public boolean isSelected()
Get Selected.

Returns:
Selected

setIsSelfService

public void setIsSelfService(boolean IsSelfService)
Set Self-Service.

Parameters:
IsSelfService - This is a Self-Service entry or this entry can be changed via Self-Service

isSelfService

public boolean isSelfService()
Get Self-Service.

Returns:
This is a Self-Service entry or this entry can be changed via Self-Service

setIsTaxIncluded

public void setIsTaxIncluded(boolean IsTaxIncluded)
Set Price includes Tax.

Parameters:
IsTaxIncluded - Tax is included in the price

isTaxIncluded

public boolean isTaxIncluded()
Get Price includes Tax.

Returns:
Tax is included in the price

setIsTransferred

public void setIsTransferred(boolean IsTransferred)
Set Transferred.

Parameters:
IsTransferred - Transferred to General Ledger (i.e. accounted)

isTransferred

public boolean isTransferred()
Get Transferred.

Returns:
Transferred to General Ledger (i.e. accounted)

setM_PriceList_ID

public void setM_PriceList_ID(int M_PriceList_ID)
Set Price List.

Parameters:
M_PriceList_ID - Unique identifier of a Price List

getM_PriceList_ID

public int getM_PriceList_ID()
Get Price List.

Returns:
Unique identifier of a Price List

setM_RMACategory_ID

public void setM_RMACategory_ID(int M_RMACategory_ID)
Set RMA Category.

Parameters:
M_RMACategory_ID - Return Material Authorization Category

getM_RMACategory_ID

public int getM_RMACategory_ID()
Get RMA Category.

Returns:
Return Material Authorization Category

setM_ReturnPolicy_ID

public void setM_ReturnPolicy_ID(int M_ReturnPolicy_ID)
Set Return Policy.

Parameters:
M_ReturnPolicy_ID - The Return Policy dictates the timeframe within which goods can be returned.

getM_ReturnPolicy_ID

public int getM_ReturnPolicy_ID()
Get Return Policy.

Returns:
The Return Policy dictates the timeframe within which goods can be returned.

setM_Shipper_ID

public void setM_Shipper_ID(int M_Shipper_ID)
Set Freight Carrier.

Parameters:
M_Shipper_ID - Method or manner of product delivery

getM_Shipper_ID

public int getM_Shipper_ID()
Get Freight Carrier.

Returns:
Method or manner of product delivery

setM_Warehouse_ID

public void setM_Warehouse_ID(int M_Warehouse_ID)
Set Warehouse.

Parameters:
M_Warehouse_ID - Storage Warehouse and Service Point

getM_Warehouse_ID

public int getM_Warehouse_ID()
Get Warehouse.

Returns:
Storage Warehouse and Service Point

isOrderTypeValid

public boolean isOrderTypeValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setOrderType

public void setOrderType(String OrderType)
Set Order Type.

Parameters:
OrderType - Document Base Type for Sales Orders

getOrderType

public String getOrderType()
Get Order Type.

Returns:
Document Base Type for Sales Orders

setOrig_InOut_ID

public void setOrig_InOut_ID(int Orig_InOut_ID)
Set Orig Shipment.

Parameters:
Orig_InOut_ID - Original shipment of the RMA

getOrig_InOut_ID

public int getOrig_InOut_ID()
Get Orig Shipment.

Returns:
Original shipment of the RMA

setOrig_Order_ID

public void setOrig_Order_ID(int Orig_Order_ID)
Set Orig Sales Order.

Parameters:
Orig_Order_ID - Original Sales Order for Return Material Authorization

getOrig_Order_ID

public int getOrig_Order_ID()
Get Orig Sales Order.

Returns:
Original Sales Order for Return Material Authorization

setPOReference

public void setPOReference(String POReference)
Set Order Reference.

Parameters:
POReference - Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner

getPOReference

public String getPOReference()
Get Order Reference.

Returns:
Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner

setPay_BPartner_ID

public void setPay_BPartner_ID(int Pay_BPartner_ID)
Set Payment BPartner.

Parameters:
Pay_BPartner_ID - Business Partner responsible for the payment

getPay_BPartner_ID

public int getPay_BPartner_ID()
Get Payment BPartner.

Returns:
Business Partner responsible for the payment

setPay_Location_ID

public void setPay_Location_ID(int Pay_Location_ID)
Set Payment Location.

Parameters:
Pay_Location_ID - Location of the Business Partner responsible for the payment

getPay_Location_ID

public int getPay_Location_ID()
Get Payment Location.

Returns:
Location of the Business Partner responsible for the payment

isPaymentRuleValid

public boolean isPaymentRuleValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setPaymentRule

public void setPaymentRule(String PaymentRule)
Set Payment Method.

Parameters:
PaymentRule - How you pay the invoice

getPaymentRule

public String getPaymentRule()
Get Payment Method.

Returns:
How you pay the invoice

setPosted

public void setPosted(boolean Posted)
Set Posted.

Parameters:
Posted - Posting status

isPosted

public boolean isPosted()
Get Posted.

Returns:
Posting status

isPriorityRuleValid

public boolean isPriorityRuleValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setPriorityRule

public void setPriorityRule(String PriorityRule)
Set Priority.

Parameters:
PriorityRule - Priority of a document

getPriorityRule

public String getPriorityRule()
Get Priority.

Returns:
Priority of a document

setProcessed

public void setProcessed(boolean Processed)
Set Processed.

Parameters:
Processed - The document has been processed

isProcessed

public boolean isProcessed()
Get Processed.

Returns:
The document has been processed

setProcessing

public void setProcessing(boolean Processing)
Set Process Now.

Parameters:
Processing - Process Now

isProcessing

public boolean isProcessing()
Get Process Now.

Returns:
Process Now

setRef_Order_ID

public void setRef_Order_ID(int Ref_Order_ID)
Set Referenced Order.

Parameters:
Ref_Order_ID - Reference to corresponding Sales/Purchase Order

getRef_Order_ID

public int getRef_Order_ID()
Get Referenced Order.

Returns:
Reference to corresponding Sales/Purchase Order

setSalesRep_ID

public void setSalesRep_ID(int SalesRep_ID)
Set Representative.

Parameters:
SalesRep_ID - Company Agent like Sales Representative, Purchase Agent, and Customer Service Representative...

getSalesRep_ID

public int getSalesRep_ID()
Get Representative.

Returns:
Company Agent like Sales Representative, Purchase Agent, and Customer Service Representative...

setSendEMail

public void setSendEMail(boolean SendEMail)
Set Send EMail.

Parameters:
SendEMail - Enable sending Document EMail

isSendEMail

public boolean isSendEMail()
Get Send EMail.

Returns:
Enable sending Document EMail

setShipDate

public void setShipDate(Timestamp ShipDate)
Set Ship Date.

Parameters:
ShipDate - Shipment Date/Time

getShipDate

public Timestamp getShipDate()
Get Ship Date.

Returns:
Shipment Date/Time

setTotalLines

public void setTotalLines(BigDecimal TotalLines)
Set SubTotal.

Parameters:
TotalLines - Total of all document lines (excluding Tax)

getTotalLines

public BigDecimal getTotalLines()
Get SubTotal.

Returns:
Total of all document lines (excluding Tax)

setUser1_ID

public void setUser1_ID(int User1_ID)
Set User List 1.

Parameters:
User1_ID - User defined list element #1

getUser1_ID

public int getUser1_ID()
Get User List 1.

Returns:
User defined list element #1

setUser2_ID

public void setUser2_ID(int User2_ID)
Set User List 2.

Parameters:
User2_ID - User defined list element #2

getUser2_ID

public int getUser2_ID()
Get User List 2.

Returns:
User defined list element #2

setVolume

public void setVolume(BigDecimal Volume)
Set Volume.

Parameters:
Volume - Volume of a product

getVolume

public BigDecimal getVolume()
Get Volume.

Returns:
Volume of a product

setWeight

public void setWeight(BigDecimal Weight)
Set Weight.

Parameters:
Weight - Weight of a product

getWeight

public BigDecimal getWeight()
Get Weight.

Returns:
Weight of a product

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.