Package org.compiere.model
Class X_C_PeriodControl
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_C_PeriodControl
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_C_PeriodControl
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MPeriodControl
Generated Model for C_PeriodControl
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
DocBaseType AD_Reference_ID=183static final String
AP Credit Memo = APCstatic final String
AP Invoice = APIstatic final String
AP Payment = APPstatic final String
AR Credit Memo = ARCstatic final String
AR Invoice = ARIstatic final String
AR Pro Forma Invoice = ARFstatic final String
AR Receipt = ARRstatic final String
Bank Statement = CMBstatic final String
Cash Journal = CMCstatic final String
Distribution Order = DOOstatic final String
Fixed Assets Addition = FAAstatic final String
Fixed Assets Depreciation = FDPstatic final String
Fixed Assets Disposal = FADstatic final String
GL Document = GLDstatic final String
GL Journal = GLJstatic final String
Maintenance Order = MOFstatic final String
Manufacturing Cost Collector = MCCstatic final String
Manufacturing Order = MOPstatic final String
Match Invoice = MXIstatic final String
Match PO = MXPstatic final String
Material Delivery = MMSstatic final String
Material Movement = MMMstatic final String
Material Physical Inventory = MMIstatic final String
Material Production = MMPstatic final String
Material Receipt = MMRstatic final String
Payment Allocation = CMAstatic final String
Payroll = HRPstatic final String
Project Issue = PJIstatic final String
Purchase Order = POOstatic final String
Purchase Requisition = PORstatic final String
Quality Order = MQOstatic final String
Sales Order = SOOstatic final int
PeriodAction AD_Reference_ID=176static final String
Close Period = Cstatic final String
Document Close Period = Dstatic final String
<No Action> = Nstatic final String
Open Period = Ostatic final String
Permanently Close Period = Pstatic final int
PeriodStatus AD_Reference_ID=177static final String
Closed = Cstatic final String
Document closed = Dstatic final String
Never opened = Nstatic final String
Open = Ostatic final String
Permanently closed = PFields 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.compiere.model.I_C_PeriodControl
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_Period_ID, COLUMNNAME_C_PeriodControl_ID, COLUMNNAME_C_PeriodControl_UU, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_DocBaseType, COLUMNNAME_IsActive, COLUMNNAME_PeriodAction, COLUMNNAME_PeriodStatus, COLUMNNAME_Processing, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_C_PeriodControl
(Properties ctx, int C_PeriodControl_ID, String trxName) Standard ConstructorX_C_PeriodControl
(Properties ctx, int C_PeriodControl_ID, String trxName, String... virtualColumns) Standard ConstructorX_C_PeriodControl
(Properties ctx, String C_PeriodControl_UU, String trxName) Standard ConstructorX_C_PeriodControl
(Properties ctx, String C_PeriodControl_UU, String trxName, String... virtualColumns) Standard ConstructorX_C_PeriodControl
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Period.int
Get Period Control.Get C_PeriodControl_UU.Get Document Base Type.Get Record ID/ColumnNameGet Period Action.Get Period Status.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Process Now.void
setC_Period_ID
(int C_Period_ID) Set Period.void
setC_PeriodControl_ID
(int C_PeriodControl_ID) Set Period Control.void
setC_PeriodControl_UU
(String C_PeriodControl_UU) Set C_PeriodControl_UU.void
setDocBaseType
(String DocBaseType) Set Document Base Type.void
setPeriodAction
(String PeriodAction) Set Period Action.void
setPeriodStatus
(String PeriodStatus) Set Period Status.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.compiere.model.I_C_PeriodControl
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
-
DOCBASETYPE_AD_Reference_ID
public static final int DOCBASETYPE_AD_Reference_IDDocBaseType AD_Reference_ID=183- See Also:
-
DOCBASETYPE_APCreditMemo
AP Credit Memo = APC- See Also:
-
DOCBASETYPE_APInvoice
AP Invoice = API- See Also:
-
DOCBASETYPE_APPayment
AP Payment = APP- See Also:
-
DOCBASETYPE_ARCreditMemo
AR Credit Memo = ARC- See Also:
-
DOCBASETYPE_ARProFormaInvoice
AR Pro Forma Invoice = ARF- See Also:
-
DOCBASETYPE_ARInvoice
AR Invoice = ARI- See Also:
-
DOCBASETYPE_ARReceipt
AR Receipt = ARR- See Also:
-
DOCBASETYPE_PaymentAllocation
Payment Allocation = CMA- See Also:
-
DOCBASETYPE_BankStatement
Bank Statement = CMB- See Also:
-
DOCBASETYPE_CashJournal
Cash Journal = CMC- See Also:
-
DOCBASETYPE_DistributionOrder
Distribution Order = DOO- See Also:
-
DOCBASETYPE_FixedAssetsAddition
Fixed Assets Addition = FAA- See Also:
-
DOCBASETYPE_FixedAssetsDisposal
Fixed Assets Disposal = FAD- See Also:
-
DOCBASETYPE_FixedAssetsDepreciation
Fixed Assets Depreciation = FDP- See Also:
-
DOCBASETYPE_GLDocument
GL Document = GLD- See Also:
-
DOCBASETYPE_GLJournal
GL Journal = GLJ- See Also:
-
DOCBASETYPE_Payroll
Payroll = HRP- See Also:
-
DOCBASETYPE_ManufacturingCostCollector
Manufacturing Cost Collector = MCC- See Also:
-
DOCBASETYPE_MaterialPhysicalInventory
Material Physical Inventory = MMI- See Also:
-
DOCBASETYPE_MaterialMovement
Material Movement = MMM- See Also:
-
DOCBASETYPE_MaterialProduction
Material Production = MMP- See Also:
-
DOCBASETYPE_MaterialReceipt
Material Receipt = MMR- See Also:
-
DOCBASETYPE_MaterialDelivery
Material Delivery = MMS- See Also:
-
DOCBASETYPE_MaintenanceOrder
Maintenance Order = MOF- See Also:
-
DOCBASETYPE_ManufacturingOrder
Manufacturing Order = MOP- See Also:
-
DOCBASETYPE_QualityOrder
Quality Order = MQO- See Also:
-
DOCBASETYPE_MatchInvoice
Match Invoice = MXI- See Also:
-
DOCBASETYPE_MatchPO
Match PO = MXP- See Also:
-
DOCBASETYPE_ProjectIssue
Project Issue = PJI- See Also:
-
DOCBASETYPE_PurchaseOrder
Purchase Order = POO- See Also:
-
DOCBASETYPE_PurchaseRequisition
Purchase Requisition = POR- See Also:
-
DOCBASETYPE_SalesOrder
Sales Order = SOO- See Also:
-
PERIODACTION_AD_Reference_ID
public static final int PERIODACTION_AD_Reference_IDPeriodAction AD_Reference_ID=176- See Also:
-
PERIODACTION_ClosePeriod
Close Period = C- See Also:
-
PERIODACTION_DocumentClosePeriod
Document Close Period = D- See Also:
-
PERIODACTION_NoAction
<No Action> = N- See Also:
-
PERIODACTION_OpenPeriod
Open Period = O- See Also:
-
PERIODACTION_PermanentlyClosePeriod
Permanently Close Period = P- See Also:
-
PERIODSTATUS_AD_Reference_ID
public static final int PERIODSTATUS_AD_Reference_IDPeriodStatus AD_Reference_ID=177- See Also:
-
PERIODSTATUS_Closed
Closed = C- See Also:
-
PERIODSTATUS_DocumentClosed
Document closed = D- See Also:
-
PERIODSTATUS_NeverOpened
Never opened = N- See Also:
-
PERIODSTATUS_Open
Open = O- See Also:
-
PERIODSTATUS_PermanentlyClosed
Permanently closed = P- See Also:
-
-
Constructor Details
-
X_C_PeriodControl
Standard Constructor -
X_C_PeriodControl
public X_C_PeriodControl(Properties ctx, int C_PeriodControl_ID, String trxName, String... virtualColumns) Standard Constructor -
X_C_PeriodControl
Standard Constructor -
X_C_PeriodControl
public X_C_PeriodControl(Properties ctx, String C_PeriodControl_UU, String trxName, String... virtualColumns) Standard Constructor -
X_C_PeriodControl
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 2 - Client
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
setC_PeriodControl_ID
public void setC_PeriodControl_ID(int C_PeriodControl_ID) Set Period Control.- Specified by:
setC_PeriodControl_ID
in interfaceI_C_PeriodControl
- Parameters:
C_PeriodControl_ID
- Period Control
-
getC_PeriodControl_ID
public int getC_PeriodControl_ID()Get Period Control.- Specified by:
getC_PeriodControl_ID
in interfaceI_C_PeriodControl
- Returns:
- Period Control
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setC_PeriodControl_UU
Set C_PeriodControl_UU.- Specified by:
setC_PeriodControl_UU
in interfaceI_C_PeriodControl
- Parameters:
C_PeriodControl_UU
- C_PeriodControl_UU
-
getC_PeriodControl_UU
Get C_PeriodControl_UU.- Specified by:
getC_PeriodControl_UU
in interfaceI_C_PeriodControl
- Returns:
- C_PeriodControl_UU
-
getC_Period
- Specified by:
getC_Period
in interfaceI_C_PeriodControl
- Throws:
RuntimeException
-
setC_Period_ID
public void setC_Period_ID(int C_Period_ID) Set Period.- Specified by:
setC_Period_ID
in interfaceI_C_PeriodControl
- Parameters:
C_Period_ID
- Period of the Calendar
-
getC_Period_ID
public int getC_Period_ID()Get Period.- Specified by:
getC_Period_ID
in interfaceI_C_PeriodControl
- Returns:
- Period of the Calendar
-
setDocBaseType
Set Document Base Type.- Specified by:
setDocBaseType
in interfaceI_C_PeriodControl
- Parameters:
DocBaseType
- Logical type of document
-
getDocBaseType
Get Document Base Type.- Specified by:
getDocBaseType
in interfaceI_C_PeriodControl
- Returns:
- Logical type of document
-
setPeriodAction
Set Period Action.- Specified by:
setPeriodAction
in interfaceI_C_PeriodControl
- Parameters:
PeriodAction
- Action taken for this period
-
getPeriodAction
Get Period Action.- Specified by:
getPeriodAction
in interfaceI_C_PeriodControl
- Returns:
- Action taken for this period
-
setPeriodStatus
Set Period Status.- Specified by:
setPeriodStatus
in interfaceI_C_PeriodControl
- Parameters:
PeriodStatus
- Current state of this period
-
getPeriodStatus
Get Period Status.- Specified by:
getPeriodStatus
in interfaceI_C_PeriodControl
- Returns:
- Current state of this period
-
setProcessing
public void setProcessing(boolean Processing) Set Process Now.- Specified by:
setProcessing
in interfaceI_C_PeriodControl
- Parameters:
Processing
- Process Now
-
isProcessing
public boolean isProcessing()Get Process Now.- Specified by:
isProcessing
in interfaceI_C_PeriodControl
- Returns:
- Process Now
-