Adempiere 3.5.2a

org.compiere.model
Class X_M_EDI

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_M_EDI
All Implemented Interfaces:
Serializable, Comparator, I_M_EDI, I_Persistent, Evaluatee

public class X_M_EDI
extends PO
implements I_M_EDI, I_Persistent

Generated Model for M_EDI

Version:
Release 3.5.2a - $Id$
Author:
Adempiere (generated)
See Also:
Serialized Form

Field Summary
static String EDISTATUS_Acknowledged
          Acknowledged = A
static int EDISTATUS_AD_Reference_ID
          EDIStatus AD_Reference_ID=202
static String EDISTATUS_AnsweredComplete
          Answered (complete) = C
static String EDISTATUS_Draft
          Draft = D
static String EDISTATUS_Sent
          Sent = S
static int TRXTYPE_AD_Reference_ID
          TrxType AD_Reference_ID=203
static String TRXTYPE_Inquiry
          Inquiry = I
static String TRXTYPE_PurchaseOrder
          Purchase Order = O
 
Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
 
Fields inherited from interface org.compiere.model.I_M_EDI
accessLevel, COLUMNNAME_C_BP_EDI_ID, COLUMNNAME_DocumentNo, COLUMNNAME_EDIStatus, COLUMNNAME_Line, COLUMNNAME_M_EDI_ID, COLUMNNAME_M_Product_ID, COLUMNNAME_M_Warehouse_ID, COLUMNNAME_Processed, COLUMNNAME_Reply_Price, COLUMNNAME_Reply_QtyAvailable, COLUMNNAME_Reply_QtyConfirmed, COLUMNNAME_Reply_Received, COLUMNNAME_Reply_Remarks, COLUMNNAME_Reply_ShipDate, COLUMNNAME_Request_Price, COLUMNNAME_Request_Qty, COLUMNNAME_Request_Shipdate, COLUMNNAME_TrxReceived, COLUMNNAME_TrxSent, COLUMNNAME_TrxType, Model, Table_ID, Table_Name
 
Constructor Summary
X_M_EDI(Properties ctx, int M_EDI_ID, String trxName)
          Standard Constructor
X_M_EDI(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getC_BP_EDI_ID()
          Get EDI Definition.
 I_C_BP_EDI getC_BP_EDI()
           
 String getDocumentNo()
          Get Document No.
 String getEDIStatus()
          Get EDI Status.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getLine()
          Get Line No.
 int getM_EDI_ID()
          Get EDI Transaction.
 int getM_Product_ID()
          Get Product.
 I_M_Product getM_Product()
           
 int getM_Warehouse_ID()
          Get Warehouse.
 I_M_Warehouse getM_Warehouse()
           
 BigDecimal getReply_Price()
          Get Reply Price.
 BigDecimal getReply_QtyAvailable()
          Get Reply Qty Available.
 BigDecimal getReply_QtyConfirmed()
          Get Reply Qty Confirmed.
 Timestamp getReply_Received()
          Get Reply Received.
 String getReply_Remarks()
          Get Reply Remarks.
 Timestamp getReply_ShipDate()
          Get Reply Ship date.
 BigDecimal getRequest_Price()
          Get Request Price.
 BigDecimal getRequest_Qty()
          Get Request Qty.
 Timestamp getRequest_Shipdate()
          Get Request Ship date.
 Timestamp getTrxReceived()
          Get Transaction received.
 Timestamp getTrxSent()
          Get Transaction sent.
 String getTrxType()
          Get Transaction Type.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 boolean isProcessed()
          Get Processed.
 void setC_BP_EDI_ID(int C_BP_EDI_ID)
          Set EDI Definition.
 void setDocumentNo(String DocumentNo)
          Set Document No.
 void setEDIStatus(String EDIStatus)
          Set EDI Status.
 void setLine(int Line)
          Set Line No.
 void setM_EDI_ID(int M_EDI_ID)
          Set EDI Transaction.
 void setM_Product_ID(int M_Product_ID)
          Set Product.
 void setM_Warehouse_ID(int M_Warehouse_ID)
          Set Warehouse.
 void setProcessed(boolean Processed)
          Set Processed.
 void setReply_Price(BigDecimal Reply_Price)
          Set Reply Price.
 void setReply_QtyAvailable(BigDecimal Reply_QtyAvailable)
          Set Reply Qty Available.
 void setReply_QtyConfirmed(BigDecimal Reply_QtyConfirmed)
          Set Reply Qty Confirmed.
 void setReply_Received(Timestamp Reply_Received)
          Set Reply Received.
 void setReply_Remarks(String Reply_Remarks)
          Set Reply Remarks.
 void setReply_ShipDate(Timestamp Reply_ShipDate)
          Set Reply Ship date.
 void setRequest_Price(BigDecimal Request_Price)
          Set Request Price.
 void setRequest_Qty(BigDecimal Request_Qty)
          Set Request Qty.
 void setRequest_Shipdate(Timestamp Request_Shipdate)
          Set Request Ship date.
 void setTrxReceived(Timestamp TrxReceived)
          Set Transaction received.
 void setTrxSent(Timestamp TrxSent)
          Set Transaction sent.
 void setTrxType(String TrxType)
          Set Transaction Type.
 String toString()
          String representation
 
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, compare, copyValues, copyValues, createAttachment, delete_Accounting, delete_Tree, delete, delete, deleteEx, deleteEx, dump, dump, equals, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveEx, saveEx, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setDoc, setDocWorkflowMgr, setIsActive, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.compiere.model.I_Persistent
save
 

Field Detail

EDISTATUS_AD_Reference_ID

public static final int EDISTATUS_AD_Reference_ID
EDIStatus AD_Reference_ID=202

See Also:
Constant Field Values

EDISTATUS_Draft

public static final String EDISTATUS_Draft
Draft = D

See Also:
Constant Field Values

EDISTATUS_Sent

public static final String EDISTATUS_Sent
Sent = S

See Also:
Constant Field Values

EDISTATUS_Acknowledged

public static final String EDISTATUS_Acknowledged
Acknowledged = A

See Also:
Constant Field Values

EDISTATUS_AnsweredComplete

public static final String EDISTATUS_AnsweredComplete
Answered (complete) = C

See Also:
Constant Field Values

TRXTYPE_AD_Reference_ID

public static final int TRXTYPE_AD_Reference_ID
TrxType AD_Reference_ID=203

See Also:
Constant Field Values

TRXTYPE_Inquiry

public static final String TRXTYPE_Inquiry
Inquiry = I

See Also:
Constant Field Values

TRXTYPE_PurchaseOrder

public static final String TRXTYPE_PurchaseOrder
Purchase Order = O

See Also:
Constant Field Values
Constructor Detail

X_M_EDI

public X_M_EDI(Properties ctx,
               int M_EDI_ID,
               String trxName)
Standard Constructor


X_M_EDI

public X_M_EDI(Properties ctx,
               ResultSet rs,
               String trxName)
Load Constructor

Method Detail

get_AccessLevel

protected int get_AccessLevel()
AccessLevel

Specified by:
get_AccessLevel in class PO
Returns:
3 - Client - 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

getC_BP_EDI

public I_C_BP_EDI getC_BP_EDI()
                       throws Exception
Specified by:
getC_BP_EDI in interface I_M_EDI
Throws:
Exception

setC_BP_EDI_ID

public void setC_BP_EDI_ID(int C_BP_EDI_ID)
Set EDI Definition.

Specified by:
setC_BP_EDI_ID in interface I_M_EDI
Parameters:
C_BP_EDI_ID - Electronic Data Interchange

getC_BP_EDI_ID

public int getC_BP_EDI_ID()
Get EDI Definition.

Specified by:
getC_BP_EDI_ID in interface I_M_EDI
Returns:
Electronic Data Interchange

setDocumentNo

public void setDocumentNo(String DocumentNo)
Set Document No.

Specified by:
setDocumentNo in interface I_M_EDI
Parameters:
DocumentNo - Document sequence number of the document

getDocumentNo

public String getDocumentNo()
Get Document No.

Specified by:
getDocumentNo in interface I_M_EDI
Returns:
Document sequence number of the document

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setEDIStatus

public void setEDIStatus(String EDIStatus)
Set EDI Status.

Specified by:
setEDIStatus in interface I_M_EDI
Parameters:
EDIStatus - EDI Status

getEDIStatus

public String getEDIStatus()
Get EDI Status.

Specified by:
getEDIStatus in interface I_M_EDI
Returns:
EDI Status

setLine

public void setLine(int Line)
Set Line No.

Specified by:
setLine in interface I_M_EDI
Parameters:
Line - Unique line for this document

getLine

public int getLine()
Get Line No.

Specified by:
getLine in interface I_M_EDI
Returns:
Unique line for this document

setM_EDI_ID

public void setM_EDI_ID(int M_EDI_ID)
Set EDI Transaction.

Specified by:
setM_EDI_ID in interface I_M_EDI
Parameters:
M_EDI_ID - EDI Transaction

getM_EDI_ID

public int getM_EDI_ID()
Get EDI Transaction.

Specified by:
getM_EDI_ID in interface I_M_EDI
Returns:
EDI Transaction

getM_Product

public I_M_Product getM_Product()
                         throws Exception
Specified by:
getM_Product in interface I_M_EDI
Throws:
Exception

setM_Product_ID

public void setM_Product_ID(int M_Product_ID)
Set Product.

Specified by:
setM_Product_ID in interface I_M_EDI
Parameters:
M_Product_ID - Product, Service, Item

getM_Product_ID

public int getM_Product_ID()
Get Product.

Specified by:
getM_Product_ID in interface I_M_EDI
Returns:
Product, Service, Item

getM_Warehouse

public I_M_Warehouse getM_Warehouse()
                             throws Exception
Specified by:
getM_Warehouse in interface I_M_EDI
Throws:
Exception

setM_Warehouse_ID

public void setM_Warehouse_ID(int M_Warehouse_ID)
Set Warehouse.

Specified by:
setM_Warehouse_ID in interface I_M_EDI
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_M_EDI
Returns:
Storage Warehouse and Service Point

setProcessed

public void setProcessed(boolean Processed)
Set Processed.

Specified by:
setProcessed in interface I_M_EDI
Parameters:
Processed - The document has been processed

isProcessed

public boolean isProcessed()
Get Processed.

Specified by:
isProcessed in interface I_M_EDI
Returns:
The document has been processed

setReply_Price

public void setReply_Price(BigDecimal Reply_Price)
Set Reply Price.

Specified by:
setReply_Price in interface I_M_EDI
Parameters:
Reply_Price - Confirmed Price from EDI Partner

getReply_Price

public BigDecimal getReply_Price()
Get Reply Price.

Specified by:
getReply_Price in interface I_M_EDI
Returns:
Confirmed Price from EDI Partner

setReply_QtyAvailable

public void setReply_QtyAvailable(BigDecimal Reply_QtyAvailable)
Set Reply Qty Available.

Specified by:
setReply_QtyAvailable in interface I_M_EDI
Parameters:
Reply_QtyAvailable - Reply Qty Available

getReply_QtyAvailable

public BigDecimal getReply_QtyAvailable()
Get Reply Qty Available.

Specified by:
getReply_QtyAvailable in interface I_M_EDI
Returns:
Reply Qty Available

setReply_QtyConfirmed

public void setReply_QtyConfirmed(BigDecimal Reply_QtyConfirmed)
Set Reply Qty Confirmed.

Specified by:
setReply_QtyConfirmed in interface I_M_EDI
Parameters:
Reply_QtyConfirmed - Reply Qty Confirmed

getReply_QtyConfirmed

public BigDecimal getReply_QtyConfirmed()
Get Reply Qty Confirmed.

Specified by:
getReply_QtyConfirmed in interface I_M_EDI
Returns:
Reply Qty Confirmed

setReply_Received

public void setReply_Received(Timestamp Reply_Received)
Set Reply Received.

Specified by:
setReply_Received in interface I_M_EDI
Parameters:
Reply_Received - Reply Received

getReply_Received

public Timestamp getReply_Received()
Get Reply Received.

Specified by:
getReply_Received in interface I_M_EDI
Returns:
Reply Received

setReply_Remarks

public void setReply_Remarks(String Reply_Remarks)
Set Reply Remarks.

Specified by:
setReply_Remarks in interface I_M_EDI
Parameters:
Reply_Remarks - Reply Remarks

getReply_Remarks

public String getReply_Remarks()
Get Reply Remarks.

Specified by:
getReply_Remarks in interface I_M_EDI
Returns:
Reply Remarks

setReply_ShipDate

public void setReply_ShipDate(Timestamp Reply_ShipDate)
Set Reply Ship date.

Specified by:
setReply_ShipDate in interface I_M_EDI
Parameters:
Reply_ShipDate - Reply Ship date

getReply_ShipDate

public Timestamp getReply_ShipDate()
Get Reply Ship date.

Specified by:
getReply_ShipDate in interface I_M_EDI
Returns:
Reply Ship date

setRequest_Price

public void setRequest_Price(BigDecimal Request_Price)
Set Request Price.

Specified by:
setRequest_Price in interface I_M_EDI
Parameters:
Request_Price - Request Price

getRequest_Price

public BigDecimal getRequest_Price()
Get Request Price.

Specified by:
getRequest_Price in interface I_M_EDI
Returns:
Request Price

setRequest_Qty

public void setRequest_Qty(BigDecimal Request_Qty)
Set Request Qty.

Specified by:
setRequest_Qty in interface I_M_EDI
Parameters:
Request_Qty - Request Qty

getRequest_Qty

public BigDecimal getRequest_Qty()
Get Request Qty.

Specified by:
getRequest_Qty in interface I_M_EDI
Returns:
Request Qty

setRequest_Shipdate

public void setRequest_Shipdate(Timestamp Request_Shipdate)
Set Request Ship date.

Specified by:
setRequest_Shipdate in interface I_M_EDI
Parameters:
Request_Shipdate - Request Ship date

getRequest_Shipdate

public Timestamp getRequest_Shipdate()
Get Request Ship date.

Specified by:
getRequest_Shipdate in interface I_M_EDI
Returns:
Request Ship date

setTrxReceived

public void setTrxReceived(Timestamp TrxReceived)
Set Transaction received.

Specified by:
setTrxReceived in interface I_M_EDI
Parameters:
TrxReceived - Transaction received

getTrxReceived

public Timestamp getTrxReceived()
Get Transaction received.

Specified by:
getTrxReceived in interface I_M_EDI
Returns:
Transaction received

setTrxSent

public void setTrxSent(Timestamp TrxSent)
Set Transaction sent.

Specified by:
setTrxSent in interface I_M_EDI
Parameters:
TrxSent - Transaction sent

getTrxSent

public Timestamp getTrxSent()
Get Transaction sent.

Specified by:
getTrxSent in interface I_M_EDI
Returns:
Transaction sent

setTrxType

public void setTrxType(String TrxType)
Set Transaction Type.

Specified by:
setTrxType in interface I_M_EDI
Parameters:
TrxType - Type of credit card transaction

getTrxType

public String getTrxType()
Get Transaction Type.

Specified by:
getTrxType in interface I_M_EDI
Returns:
Type of credit card transaction

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.