Compiere 3.1

org.compiere.model
Class X_C_Invoice

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

public class X_C_Invoice
extends PO

Generated Model for C_Invoice

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 C_CHARGE_ID_AD_Reference_ID
          C_Charge_ID AD_Reference_ID=200
static int C_DOCTYPETARGET_ID_AD_Reference_ID
          C_DocTypeTarget_ID AD_Reference_ID=170
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 INVOICECOLLECTIONTYPE_AD_Reference_ID
          InvoiceCollectionType AD_Reference_ID=394
static String INVOICECOLLECTIONTYPE_CollectionAgency
          Collection Agency = C
static String INVOICECOLLECTIONTYPE_Dunning
          Dunning = D
static String INVOICECOLLECTIONTYPE_LegalProcedure
          Legal Procedure = L
static String INVOICECOLLECTIONTYPE_Uncollectable
          Uncollectable = U
static int MATCHREQUIREMENTI_AD_Reference_ID
          MatchRequirementI AD_Reference_ID=360
static String MATCHREQUIREMENTI_None
          None = N
static String MATCHREQUIREMENTI_PurchaseOrder
          Purchase Order = P
static String MATCHREQUIREMENTI_PurchaseOrderAndReceipt
          Purchase Order and Receipt = B
static String MATCHREQUIREMENTI_Receipt
          Receipt = R
protected static KeyNamePair Model
           
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 SALESREP_ID_AD_Reference_ID
          SalesRep_ID AD_Reference_ID=190
static int Table_ID
          AD_Table_ID=318
static String Table_Name
          TableName=C_Invoice
static long updatedMS
          Last Updated Timestamp 2008-07-15 10:03:30.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_Invoice(Ctx ctx, int C_Invoice_ID, String trxName)
          Standard Constructor
X_C_Invoice(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 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_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_Invoice_ID()
          Get Invoice.
 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.
 String getCreateFrom()
          Get Create lines from.
 Timestamp getDateAcct()
          Get Account Date.
 Timestamp getDateInvoiced()
          Get Date Invoiced.
 Timestamp getDateOrdered()
          Get Date Ordered.
 Timestamp getDatePrinted()
          Get Date printed.
 String getDescription()
          Get Description.
 String getDocAction()
          Get Document Action.
 String getDocStatus()
          Get Document Status.
 String getDocumentNo()
          Get Document No.
 String getGenerateTo()
          Get Generate To.
 BigDecimal getGrandTotal()
          Get Grand Total.
 String getInvoiceCollectionType()
          Get Collection Status.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getM_PriceList_ID()
          Get Price List.
 String getMatchRequirementI()
          Get Invoice Match Requirement.
 String getPaymentRule()
          Get Payment Method.
 String getPOReference()
          Get Order Reference.
 int getRef_Invoice_ID()
          Get Referenced Invoice.
 int getSalesRep_ID()
          Get Representative.
 BigDecimal getTotalLines()
          Get SubTotal.
 int getUser1_ID()
          Get User List 1.
 int getUser2_ID()
          Get User List 2.
protected  POInfo initPO(Ctx ctx)
          Load Meta Data
 boolean isApproved()
          Get Approved.
 boolean isDiscountPrinted()
          Get Discount Printed.
 boolean isDocActionValid(String test)
          Is test a valid value.
 boolean isDocStatusValid(String test)
          Is test a valid value.
 boolean isInDispute()
          Get In Dispute.
 boolean isInvoiceCollectionTypeValid(String test)
          Is test a valid value.
 boolean isMatchRequirementIValid(String test)
          Is test a valid value.
 boolean isPaid()
          Get Paid.
 boolean isPaymentRuleValid(String test)
          Is test a valid value.
 boolean isPayScheduleValid()
          Get Pay Schedule valid.
 boolean isPosted()
          Get Posted.
 boolean isPrinted()
          Get Printed.
 boolean isProcessed()
          Get Processed.
 boolean isProcessing()
          Get Process Now.
 boolean isReturnTrx()
          Get Return Transaction.
 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 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_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_Invoice_ID(int C_Invoice_ID)
          Set Invoice.
 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 setCreateFrom(String CreateFrom)
          Set Create lines from.
 void setDateAcct(Timestamp DateAcct)
          Set Account Date.
 void setDateInvoiced(Timestamp DateInvoiced)
          Set Date Invoiced.
 void setDateOrdered(Timestamp DateOrdered)
          Set Date Ordered.
 void setDatePrinted(Timestamp DatePrinted)
          Set Date printed.
 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 setGenerateTo(String GenerateTo)
          Set Generate To.
 void setGrandTotal(BigDecimal GrandTotal)
          Set Grand Total.
 void setInvoiceCollectionType(String InvoiceCollectionType)
          Set Collection Status.
 void setIsApproved(boolean IsApproved)
          Set Approved.
 void setIsDiscountPrinted(boolean IsDiscountPrinted)
          Set Discount Printed.
 void setIsInDispute(boolean IsInDispute)
          Set In Dispute.
 void setIsPaid(boolean IsPaid)
          Set Paid.
 void setIsPayScheduleValid(boolean IsPayScheduleValid)
          Set Pay Schedule valid.
 void setIsPrinted(boolean IsPrinted)
          Set Printed.
 void setIsReturnTrx(boolean IsReturnTrx)
          Set Return Transaction.
 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 setMatchRequirementI(String MatchRequirementI)
          Set Invoice Match Requirement.
 void setPaymentRule(String PaymentRule)
          Set Payment Method.
 void setPOReference(String POReference)
          Set Order Reference.
 void setPosted(boolean Posted)
          Set Posted.
 void setProcessed(boolean Processed)
          Set Processed.
 void setProcessing(boolean Processing)
          Set Process Now.
 void setRef_Invoice_ID(int Ref_Invoice_ID)
          Set Referenced Invoice.
 void setSalesRep_ID(int SalesRep_ID)
          Set Representative.
 void setSendEMail(boolean SendEMail)
          Set Send EMail.
 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.
 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:03:30.0

See Also:
Constant Field Values

Table_ID

public static final int Table_ID
AD_Table_ID=318

See Also:
Constant Field Values

Table_Name

public static final String Table_Name
TableName=C_Invoice

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

C_CHARGE_ID_AD_Reference_ID

public static final int C_CHARGE_ID_AD_Reference_ID
C_Charge_ID AD_Reference_ID=200

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

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

INVOICECOLLECTIONTYPE_AD_Reference_ID

public static final int INVOICECOLLECTIONTYPE_AD_Reference_ID
InvoiceCollectionType AD_Reference_ID=394

See Also:
Constant Field Values

INVOICECOLLECTIONTYPE_CollectionAgency

public static final String INVOICECOLLECTIONTYPE_CollectionAgency
Collection Agency = C

See Also:
Constant Field Values

INVOICECOLLECTIONTYPE_Dunning

public static final String INVOICECOLLECTIONTYPE_Dunning
Dunning = D

See Also:
Constant Field Values

INVOICECOLLECTIONTYPE_LegalProcedure

public static final String INVOICECOLLECTIONTYPE_LegalProcedure
Legal Procedure = L

See Also:
Constant Field Values

INVOICECOLLECTIONTYPE_Uncollectable

public static final String INVOICECOLLECTIONTYPE_Uncollectable
Uncollectable = U

See Also:
Constant Field Values

MATCHREQUIREMENTI_AD_Reference_ID

public static final int MATCHREQUIREMENTI_AD_Reference_ID
MatchRequirementI AD_Reference_ID=360

See Also:
Constant Field Values

MATCHREQUIREMENTI_PurchaseOrderAndReceipt

public static final String MATCHREQUIREMENTI_PurchaseOrderAndReceipt
Purchase Order and Receipt = B

See Also:
Constant Field Values

MATCHREQUIREMENTI_None

public static final String MATCHREQUIREMENTI_None
None = N

See Also:
Constant Field Values

MATCHREQUIREMENTI_PurchaseOrder

public static final String MATCHREQUIREMENTI_PurchaseOrder
Purchase Order = P

See Also:
Constant Field Values

MATCHREQUIREMENTI_Receipt

public static final String MATCHREQUIREMENTI_Receipt
Receipt = R

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

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_Invoice

public X_C_Invoice(Ctx ctx,
                   int C_Invoice_ID,
                   String trxName)
Standard Constructor

Parameters:
ctx - context
C_Invoice_ID - id
trxName - transaction

X_C_Invoice

public X_C_Invoice(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

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_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_Invoice_ID

public void setC_Invoice_ID(int C_Invoice_ID)
Set Invoice.

Parameters:
C_Invoice_ID - Invoice Identifier

getC_Invoice_ID

public int getC_Invoice_ID()
Get Invoice.

Returns:
Invoice Identifier

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

setCreateFrom

public void setCreateFrom(String CreateFrom)
Set Create lines from.

Parameters:
CreateFrom - Process which will generate a new document lines based on an existing document

getCreateFrom

public String getCreateFrom()
Get Create lines from.

Returns:
Process which will generate a new document lines based on an existing document

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

setDateInvoiced

public void setDateInvoiced(Timestamp DateInvoiced)
Set Date Invoiced.

Parameters:
DateInvoiced - Date printed on Invoice

getDateInvoiced

public Timestamp getDateInvoiced()
Get Date Invoiced.

Returns:
Date printed on Invoice

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.

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

setGenerateTo

public void setGenerateTo(String GenerateTo)
Set Generate To.

Parameters:
GenerateTo - Generate To

getGenerateTo

public String getGenerateTo()
Get Generate To.

Returns:
Generate To

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

isInvoiceCollectionTypeValid

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

Parameters:
test - testvalue
Returns:
true if valid

setInvoiceCollectionType

public void setInvoiceCollectionType(String InvoiceCollectionType)
Set Collection Status.

Parameters:
InvoiceCollectionType - Invoice Collection Status

getInvoiceCollectionType

public String getInvoiceCollectionType()
Get Collection Status.

Returns:
Invoice Collection Status

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

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

setIsInDispute

public void setIsInDispute(boolean IsInDispute)
Set In Dispute.

Parameters:
IsInDispute - Document is in dispute

isInDispute

public boolean isInDispute()
Get In Dispute.

Returns:
Document is in dispute

setIsPaid

public void setIsPaid(boolean IsPaid)
Set Paid.

Parameters:
IsPaid - The document is paid

isPaid

public boolean isPaid()
Get Paid.

Returns:
The document is paid

setIsPayScheduleValid

public void setIsPayScheduleValid(boolean IsPayScheduleValid)
Set Pay Schedule valid.

Parameters:
IsPayScheduleValid - Is the Payment Schedule is valid

isPayScheduleValid

public boolean isPayScheduleValid()
Get Pay Schedule valid.

Returns:
Is the Payment Schedule is valid

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

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

isMatchRequirementIValid

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

Parameters:
test - testvalue
Returns:
true if valid

setMatchRequirementI

public void setMatchRequirementI(String MatchRequirementI)
Set Invoice Match Requirement.

Parameters:
MatchRequirementI - Matching Requirement for Invoice

getMatchRequirementI

public String getMatchRequirementI()
Get Invoice Match Requirement.

Returns:
Matching Requirement for Invoice

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

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

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_Invoice_ID

public void setRef_Invoice_ID(int Ref_Invoice_ID)
Set Referenced Invoice.

Parameters:
Ref_Invoice_ID - Referenced Invoice

getRef_Invoice_ID

public int getRef_Invoice_ID()
Get Referenced Invoice.

Returns:
Referenced Invoice

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

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

Compiere 3.1

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