Package org.maintenance.model
Class X_MP_OT
java.lang.Object
org.compiere.model.PO
org.maintenance.model.X_MP_OT
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_Persistent
,Evaluatee
,I_MP_OT
- Direct Known Subclasses:
MMPOT
Generated Model for MP_OT
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
DocAction AD_Reference_ID=135static final String
Approve = APstatic final String
Close = CLstatic final String
Complete = COstatic final String
Invalidate = INstatic final String
<None> = --static final String
Post = POstatic final String
Prepare = PRstatic final String
Re-activate = REstatic final String
Reject = RJstatic final String
Reverse - Accrual = RAstatic final String
Reverse - Correct = RCstatic final String
Unlock = XLstatic final String
Void = VOstatic final String
Wait Complete = WCstatic final int
DocStatus AD_Reference_ID=131static final String
Approved = APstatic final String
Closed = CLstatic final String
Completed = COstatic final String
Drafted = DRstatic final String
In Progress = IPstatic final String
Invalid = INstatic final String
Not Approved = NAstatic final String
Reversed = REstatic final String
Unknown = ??static final String
Voided = VOstatic final String
Waiting Confirmation = WCstatic final String
Waiting Payment = WPFields 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, LOCAL_TRX_PREFIX, log, p_ctx, p_info, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
Fields inherited from interface org.maintenance.model.I_MP_OT
accessLevel, COLUMNNAME_A_Asset_ID, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_User_ID, COLUMNNAME_C_DocType_ID, COLUMNNAME_COF_Equipments_ID, COLUMNNAME_cof_Processing, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_DateTrx, COLUMNNAME_Description, COLUMNNAME_DocAction, COLUMNNAME_DocStatus, COLUMNNAME_DocumentNo, COLUMNNAME_IsActive, COLUMNNAME_MP_JobStandar_ID, COLUMNNAME_MP_Maintain_ID, COLUMNNAME_MP_OT_ID, COLUMNNAME_MP_OT_Request_ID, COLUMNNAME_MP_OT_UU, COLUMNNAME_Processed, COLUMNNAME_Processing, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_MP_OT
(Properties ctx, int MP_OT_ID, String trxName) Standard ConstructorX_MP_OT
(Properties ctx, int MP_OT_ID, String trxName, String... virtualColumns) Standard ConstructorX_MP_OT
(Properties ctx, String MP_OT_UU, String trxName) Standard ConstructorX_MP_OT
(Properties ctx, String MP_OT_UU, String trxName, String... virtualColumns) Standard ConstructorX_MP_OT
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Asset.int
Get User/Contact.int
Get Document Type.int
Get Equipamentos.Get Process Now.Get Transaction Date.Get Description.Get Document Action.Get Document Status.Get Document No.int
Get Standard Job.int
Get Maintenance.int
Get Work Order (OT).int
Get Work Order (OT) Request.Get MP_OT_UU.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Processed.boolean
Get Process Now.void
setA_Asset_ID
(int A_Asset_ID) Set Asset.void
setAD_User_ID
(int AD_User_ID) Set User/Contact.void
setC_DocType_ID
(int C_DocType_ID) Set Document Type.void
setCOF_Equipments_ID
(int COF_Equipments_ID) Set Equipamentos.void
setcof_Processing
(String cof_Processing) Set Process Now.void
setDateTrx
(Timestamp DateTrx) Set Transaction Date.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
setMP_JobStandar_ID
(int MP_JobStandar_ID) Set Standard Job.void
setMP_Maintain_ID
(int MP_Maintain_ID) Set Maintenance.void
setMP_OT_ID
(int MP_OT_ID) Set Work Order (OT).void
setMP_OT_Request_ID
(int MP_OT_Request_ID) Set Work Order (OT) Request.void
setMP_OT_UU
(String MP_OT_UU) Set MP_OT_UU.void
setProcessed
(boolean Processed) Set Processed.void
setProcessing
(boolean Processing) Set Process Now.toString()
String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, 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_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, toInsertSQL, unlock, update_Tree, validForeignKeys
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
Methods inherited from interface org.maintenance.model.I_MP_OT
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
Methods inherited from interface org.compiere.model.I_Persistent
save
-
Field Details
-
DOCACTION_AD_Reference_ID
public static final int DOCACTION_AD_Reference_IDDocAction AD_Reference_ID=135- See Also:
-
DOCACTION_None
<None> = --- See Also:
-
DOCACTION_Approve
Approve = AP- See Also:
-
DOCACTION_Close
Close = CL- See Also:
-
DOCACTION_Complete
Complete = CO- See Also:
-
DOCACTION_Invalidate
Invalidate = IN- See Also:
-
DOCACTION_Post
Post = PO- See Also:
-
DOCACTION_Prepare
Prepare = PR- See Also:
-
DOCACTION_Reverse_Accrual
Reverse - Accrual = RA- See Also:
-
DOCACTION_Reverse_Correct
Reverse - Correct = RC- See Also:
-
DOCACTION_Re_Activate
Re-activate = RE- See Also:
-
DOCACTION_Reject
Reject = RJ- See Also:
-
DOCACTION_Void
Void = VO- See Also:
-
DOCACTION_WaitComplete
Wait Complete = WC- See Also:
-
DOCACTION_Unlock
Unlock = XL- See Also:
-
DOCSTATUS_AD_Reference_ID
public static final int DOCSTATUS_AD_Reference_IDDocStatus AD_Reference_ID=131- See Also:
-
DOCSTATUS_Unknown
Unknown = ??- See Also:
-
DOCSTATUS_Approved
Approved = AP- See Also:
-
DOCSTATUS_Closed
Closed = CL- See Also:
-
DOCSTATUS_Completed
Completed = CO- See Also:
-
DOCSTATUS_Drafted
Drafted = DR- See Also:
-
DOCSTATUS_Invalid
Invalid = IN- See Also:
-
DOCSTATUS_InProgress
In Progress = IP- See Also:
-
DOCSTATUS_NotApproved
Not Approved = NA- See Also:
-
DOCSTATUS_Reversed
Reversed = RE- See Also:
-
DOCSTATUS_Voided
Voided = VO- See Also:
-
DOCSTATUS_WaitingConfirmation
Waiting Confirmation = WC- See Also:
-
DOCSTATUS_WaitingPayment
Waiting Payment = WP- See Also:
-
-
Constructor Details
-
X_MP_OT
Standard Constructor -
X_MP_OT
Standard Constructor -
X_MP_OT
Standard Constructor -
X_MP_OT
Standard Constructor -
X_MP_OT
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
getAD_User
- Specified by:
getAD_User
in interfaceI_MP_OT
- Throws:
RuntimeException
-
setAD_User_ID
public void setAD_User_ID(int AD_User_ID) Set User/Contact.- Specified by:
setAD_User_ID
in interfaceI_MP_OT
- Parameters:
AD_User_ID
- User within the system - Internal or Business Partner Contact
-
getAD_User_ID
public int getAD_User_ID()Get User/Contact.- Specified by:
getAD_User_ID
in interfaceI_MP_OT
- Returns:
- User within the system - Internal or Business Partner Contact
-
getA_Asset
- Specified by:
getA_Asset
in interfaceI_MP_OT
- Throws:
RuntimeException
-
setA_Asset_ID
public void setA_Asset_ID(int A_Asset_ID) Set Asset.- Specified by:
setA_Asset_ID
in interfaceI_MP_OT
- Parameters:
A_Asset_ID
- Asset used internally or by customers
-
getA_Asset_ID
public int getA_Asset_ID()Get Asset.- Specified by:
getA_Asset_ID
in interfaceI_MP_OT
- Returns:
- Asset used internally or by customers
-
setCOF_Equipments_ID
public void setCOF_Equipments_ID(int COF_Equipments_ID) Set Equipamentos.- Specified by:
setCOF_Equipments_ID
in interfaceI_MP_OT
- Parameters:
COF_Equipments_ID
- Primary Key : Equipments
-
getCOF_Equipments_ID
public int getCOF_Equipments_ID()Get Equipamentos.- Specified by:
getCOF_Equipments_ID
in interfaceI_MP_OT
- Returns:
- Primary Key : Equipments
-
getC_DocType
- Specified by:
getC_DocType
in interfaceI_MP_OT
- Throws:
RuntimeException
-
setC_DocType_ID
public void setC_DocType_ID(int C_DocType_ID) Set Document Type.- Specified by:
setC_DocType_ID
in interfaceI_MP_OT
- Parameters:
C_DocType_ID
- Document type or rules
-
getC_DocType_ID
public int getC_DocType_ID()Get Document Type.- Specified by:
getC_DocType_ID
in interfaceI_MP_OT
- Returns:
- Document type or rules
-
setDateTrx
Set Transaction Date.- Specified by:
setDateTrx
in interfaceI_MP_OT
- Parameters:
DateTrx
- Transaction Date
-
getDateTrx
Get Transaction Date.- Specified by:
getDateTrx
in interfaceI_MP_OT
- Returns:
- Transaction Date
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_MP_OT
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_MP_OT
- Returns:
- Optional short description of the record
-
setDocAction
Set Document Action.- Specified by:
setDocAction
in interfaceI_MP_OT
- Parameters:
DocAction
- The targeted status of the document
-
getDocAction
Get Document Action.- Specified by:
getDocAction
in interfaceI_MP_OT
- Returns:
- The targeted status of the document
-
setDocStatus
Set Document Status.- Specified by:
setDocStatus
in interfaceI_MP_OT
- Parameters:
DocStatus
- The current status of the document
-
getDocStatus
Get Document Status.- Specified by:
getDocStatus
in interfaceI_MP_OT
- Returns:
- The current status of the document
-
setDocumentNo
Set Document No.- Specified by:
setDocumentNo
in interfaceI_MP_OT
- Parameters:
DocumentNo
- Document sequence number of the document
-
getDocumentNo
Get Document No.- Specified by:
getDocumentNo
in interfaceI_MP_OT
- Returns:
- Document sequence number of the document
-
setMP_JobStandar_ID
public void setMP_JobStandar_ID(int MP_JobStandar_ID) Set Standard Job.- Specified by:
setMP_JobStandar_ID
in interfaceI_MP_OT
- Parameters:
MP_JobStandar_ID
- Standard Job
-
getMP_JobStandar_ID
public int getMP_JobStandar_ID()Get Standard Job.- Specified by:
getMP_JobStandar_ID
in interfaceI_MP_OT
- Returns:
- Standard Job
-
setMP_Maintain_ID
public void setMP_Maintain_ID(int MP_Maintain_ID) Set Maintenance.- Specified by:
setMP_Maintain_ID
in interfaceI_MP_OT
- Parameters:
MP_Maintain_ID
- Maintenance
-
getMP_Maintain_ID
public int getMP_Maintain_ID()Get Maintenance.- Specified by:
getMP_Maintain_ID
in interfaceI_MP_OT
- Returns:
- Maintenance
-
setMP_OT_ID
public void setMP_OT_ID(int MP_OT_ID) Set Work Order (OT).- Specified by:
setMP_OT_ID
in interfaceI_MP_OT
- Parameters:
MP_OT_ID
- Work Order (OT)
-
getMP_OT_ID
public int getMP_OT_ID()Get Work Order (OT).- Specified by:
getMP_OT_ID
in interfaceI_MP_OT
- Returns:
- Work Order (OT)
-
setMP_OT_Request_ID
public void setMP_OT_Request_ID(int MP_OT_Request_ID) Set Work Order (OT) Request.- Specified by:
setMP_OT_Request_ID
in interfaceI_MP_OT
- Parameters:
MP_OT_Request_ID
- Work Order (OT) Request
-
getMP_OT_Request_ID
public int getMP_OT_Request_ID()Get Work Order (OT) Request.- Specified by:
getMP_OT_Request_ID
in interfaceI_MP_OT
- Returns:
- Work Order (OT) Request
-
setMP_OT_UU
Set MP_OT_UU.- Specified by:
setMP_OT_UU
in interfaceI_MP_OT
- Parameters:
MP_OT_UU
- MP_OT_UU
-
getMP_OT_UU
Get MP_OT_UU.- Specified by:
getMP_OT_UU
in interfaceI_MP_OT
- Returns:
- MP_OT_UU
-
setProcessed
public void setProcessed(boolean Processed) Set Processed.- Specified by:
setProcessed
in interfaceI_MP_OT
- Parameters:
Processed
- The document has been processed
-
isProcessed
public boolean isProcessed()Get Processed.- Specified by:
isProcessed
in interfaceI_MP_OT
- Returns:
- The document has been processed
-
setProcessing
public void setProcessing(boolean Processing) Set Process Now.- Specified by:
setProcessing
in interfaceI_MP_OT
- Parameters:
Processing
- Process Now
-
isProcessing
public boolean isProcessing()Get Process Now.- Specified by:
isProcessing
in interfaceI_MP_OT
- Returns:
- Process Now
-
setcof_Processing
Set Process Now.- Specified by:
setcof_Processing
in interfaceI_MP_OT
- Parameters:
cof_Processing
- Process Now
-
getcof_Processing
Get Process Now.- Specified by:
getcof_Processing
in interfaceI_MP_OT
- Returns:
- Process Now
-