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
FieldsModifier and TypeFieldDescriptionstatic final intDocAction AD_Reference_ID=135static final StringApprove = APstatic final StringClose = CLstatic final StringComplete = COstatic final StringInvalidate = INstatic final String<None> = --static final StringPost = POstatic final StringPrepare = PRstatic final StringRe-activate = REstatic final StringReject = RJstatic final StringReverse - Accrual = RAstatic final StringReverse - Correct = RCstatic final StringUnlock = XLstatic final StringVoid = VOstatic final StringWait Complete = WCstatic final intDocStatus AD_Reference_ID=131static final StringApproved = APstatic final StringClosed = CLstatic final StringCompleted = COstatic final StringDrafted = DRstatic final StringIn Progress = IPstatic final StringInvalid = INstatic final StringNot Approved = NAstatic final StringReversed = REstatic final StringUnknown = ??static final StringVoided = VOstatic final StringWaiting Confirmation = WCstatic final StringWaiting 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_IDFields 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
ConstructorsConstructorDescriptionX_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 intAccessLevelintGet Asset.intGet User/Contact.intGet Document Type.intGet Equipamentos.Get Process Now.Get Transaction Date.Get Description.Get Document Action.Get Document Status.Get Document No.intGet Standard Job.intGet Maintenance.intGet Work Order (OT).intGet Work Order (OT) Request.Get MP_OT_UU.protected POInfoinitPO(Properties ctx) Load Meta DatabooleanGet Processed.booleanGet Process Now.voidsetA_Asset_ID(int A_Asset_ID) Set Asset.voidsetAD_User_ID(int AD_User_ID) Set User/Contact.voidsetC_DocType_ID(int C_DocType_ID) Set Document Type.voidsetCOF_Equipments_ID(int COF_Equipments_ID) Set Equipamentos.voidsetcof_Processing(String cof_Processing) Set Process Now.voidsetDateTrx(Timestamp DateTrx) Set Transaction Date.voidsetDescription(String Description) Set Description.voidsetDocAction(String DocAction) Set Document Action.voidsetDocStatus(String DocStatus) Set Document Status.voidsetDocumentNo(String DocumentNo) Set Document No.voidsetMP_JobStandar_ID(int MP_JobStandar_ID) Set Standard Job.voidsetMP_Maintain_ID(int MP_Maintain_ID) Set Maintenance.voidsetMP_OT_ID(int MP_OT_ID) Set Work Order (OT).voidsetMP_OT_Request_ID(int MP_OT_Request_ID) Set Work Order (OT) Request.voidsetMP_OT_UU(String MP_OT_UU) Set MP_OT_UU.voidsetProcessed(boolean Processed) Set Processed.voidsetProcessing(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, validForeignKeysExMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface org.maintenance.model.I_MP_OT
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActiveMethods 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_AccessLevelin classPO- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:POString representation -
getAD_User
- Specified by:
getAD_Userin interfaceI_MP_OT- Throws:
RuntimeException
-
setAD_User_ID
public void setAD_User_ID(int AD_User_ID) Set User/Contact.- Specified by:
setAD_User_IDin 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_IDin interfaceI_MP_OT- Returns:
- User within the system - Internal or Business Partner Contact
-
getA_Asset
- Specified by:
getA_Assetin interfaceI_MP_OT- Throws:
RuntimeException
-
setA_Asset_ID
public void setA_Asset_ID(int A_Asset_ID) Set Asset.- Specified by:
setA_Asset_IDin 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_IDin 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_IDin interfaceI_MP_OT- Parameters:
COF_Equipments_ID- Primary Key : Equipments
-
getCOF_Equipments_ID
public int getCOF_Equipments_ID()Get Equipamentos.- Specified by:
getCOF_Equipments_IDin interfaceI_MP_OT- Returns:
- Primary Key : Equipments
-
getC_DocType
- Specified by:
getC_DocTypein interfaceI_MP_OT- Throws:
RuntimeException
-
setC_DocType_ID
public void setC_DocType_ID(int C_DocType_ID) Set Document Type.- Specified by:
setC_DocType_IDin 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_IDin interfaceI_MP_OT- Returns:
- Document type or rules
-
setDateTrx
Set Transaction Date.- Specified by:
setDateTrxin interfaceI_MP_OT- Parameters:
DateTrx- Transaction Date
-
getDateTrx
Get Transaction Date.- Specified by:
getDateTrxin interfaceI_MP_OT- Returns:
- Transaction Date
-
setDescription
Set Description.- Specified by:
setDescriptionin interfaceI_MP_OT- Parameters:
Description- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescriptionin interfaceI_MP_OT- Returns:
- Optional short description of the record
-
setDocAction
Set Document Action.- Specified by:
setDocActionin interfaceI_MP_OT- Parameters:
DocAction- The targeted status of the document
-
getDocAction
Get Document Action.- Specified by:
getDocActionin interfaceI_MP_OT- Returns:
- The targeted status of the document
-
setDocStatus
Set Document Status.- Specified by:
setDocStatusin interfaceI_MP_OT- Parameters:
DocStatus- The current status of the document
-
getDocStatus
Get Document Status.- Specified by:
getDocStatusin interfaceI_MP_OT- Returns:
- The current status of the document
-
setDocumentNo
Set Document No.- Specified by:
setDocumentNoin interfaceI_MP_OT- Parameters:
DocumentNo- Document sequence number of the document
-
getDocumentNo
Get Document No.- Specified by:
getDocumentNoin 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_IDin interfaceI_MP_OT- Parameters:
MP_JobStandar_ID- Standard Job
-
getMP_JobStandar_ID
public int getMP_JobStandar_ID()Get Standard Job.- Specified by:
getMP_JobStandar_IDin interfaceI_MP_OT- Returns:
- Standard Job
-
setMP_Maintain_ID
public void setMP_Maintain_ID(int MP_Maintain_ID) Set Maintenance.- Specified by:
setMP_Maintain_IDin interfaceI_MP_OT- Parameters:
MP_Maintain_ID- Maintenance
-
getMP_Maintain_ID
public int getMP_Maintain_ID()Get Maintenance.- Specified by:
getMP_Maintain_IDin 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_IDin 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_IDin 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_IDin 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_IDin interfaceI_MP_OT- Returns:
- Work Order (OT) Request
-
setMP_OT_UU
Set MP_OT_UU.- Specified by:
setMP_OT_UUin interfaceI_MP_OT- Parameters:
MP_OT_UU- MP_OT_UU
-
getMP_OT_UU
Get MP_OT_UU.- Specified by:
getMP_OT_UUin interfaceI_MP_OT- Returns:
- MP_OT_UU
-
setProcessed
public void setProcessed(boolean Processed) Set Processed.- Specified by:
setProcessedin interfaceI_MP_OT- Parameters:
Processed- The document has been processed
-
isProcessed
public boolean isProcessed()Get Processed.- Specified by:
isProcessedin interfaceI_MP_OT- Returns:
- The document has been processed
-
setProcessing
public void setProcessing(boolean Processing) Set Process Now.- Specified by:
setProcessingin interfaceI_MP_OT- Parameters:
Processing- Process Now
-
isProcessing
public boolean isProcessing()Get Process Now.- Specified by:
isProcessingin interfaceI_MP_OT- Returns:
- Process Now
-
setcof_Processing
Set Process Now.- Specified by:
setcof_Processingin interfaceI_MP_OT- Parameters:
cof_Processing- Process Now
-
getcof_Processing
Get Process Now.- Specified by:
getcof_Processingin interfaceI_MP_OT- Returns:
- Process Now
-