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
public class X_C_PeriodControl extends PO implements I_C_PeriodControl, I_Persistent
Generated Model for C_PeriodControl- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
DOCBASETYPE_AD_Reference_ID
DocBaseType AD_Reference_ID=183static String
DOCBASETYPE_APCreditMemo
AP Credit Memo = APCstatic String
DOCBASETYPE_APInvoice
AP Invoice = APIstatic String
DOCBASETYPE_APPayment
AP Payment = APPstatic String
DOCBASETYPE_ARCreditMemo
AR Credit Memo = ARCstatic String
DOCBASETYPE_ARInvoice
AR Invoice = ARIstatic String
DOCBASETYPE_ARProFormaInvoice
AR Pro Forma Invoice = ARFstatic String
DOCBASETYPE_ARReceipt
AR Receipt = ARRstatic String
DOCBASETYPE_BankStatement
Bank Statement = CMBstatic String
DOCBASETYPE_CashJournal
Cash Journal = CMCstatic String
DOCBASETYPE_DistributionOrder
Distribution Order = DOOstatic String
DOCBASETYPE_FixedAssetsAddition
Fixed Assets Addition = FAAstatic String
DOCBASETYPE_FixedAssetsDepreciation
Fixed Assets Depreciation = FDPstatic String
DOCBASETYPE_FixedAssetsDisposal
Fixed Assets Disposal = FADstatic String
DOCBASETYPE_GLDocument
GL Document = GLDstatic String
DOCBASETYPE_GLJournal
GL Journal = GLJstatic String
DOCBASETYPE_MaintenanceOrder
Maintenance Order = MOFstatic String
DOCBASETYPE_ManufacturingCostCollector
Manufacturing Cost Collector = MCCstatic String
DOCBASETYPE_ManufacturingOrder
Manufacturing Order = MOPstatic String
DOCBASETYPE_MatchInvoice
Match Invoice = MXIstatic String
DOCBASETYPE_MatchPO
Match PO = MXPstatic String
DOCBASETYPE_MaterialDelivery
Material Delivery = MMSstatic String
DOCBASETYPE_MaterialMovement
Material Movement = MMMstatic String
DOCBASETYPE_MaterialPhysicalInventory
Material Physical Inventory = MMIstatic String
DOCBASETYPE_MaterialProduction
Material Production = MMPstatic String
DOCBASETYPE_MaterialReceipt
Material Receipt = MMRstatic String
DOCBASETYPE_PaymentAllocation
Payment Allocation = CMAstatic String
DOCBASETYPE_Payroll
Payroll = HRPstatic String
DOCBASETYPE_ProjectIssue
Project Issue = PJIstatic String
DOCBASETYPE_PurchaseOrder
Purchase Order = POOstatic String
DOCBASETYPE_PurchaseRequisition
Purchase Requisition = PORstatic String
DOCBASETYPE_QualityOrder
Quality Order = MQOstatic String
DOCBASETYPE_SalesOrder
Sales Order = SOOstatic int
PERIODACTION_AD_Reference_ID
PeriodAction AD_Reference_ID=176static String
PERIODACTION_ClosePeriod
Close Period = Cstatic String
PERIODACTION_NoAction
<No Action> = Nstatic String
PERIODACTION_OpenPeriod
Open Period = Ostatic String
PERIODACTION_PermanentlyClosePeriod
Permanently Close Period = Pstatic int
PERIODSTATUS_AD_Reference_ID
PeriodStatus AD_Reference_ID=177static String
PERIODSTATUS_Closed
Closed = Cstatic String
PERIODSTATUS_NeverOpened
Never opened = Nstatic String
PERIODSTATUS_Open
Open = Ostatic String
PERIODSTATUS_PermanentlyClosed
Permanently closed = P-
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, LOCAL_TRX_PREFIX, log, p_ctx, p_info, 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
Constructors Constructor Description X_C_PeriodControl(Properties ctx, int C_PeriodControl_ID, String trxName)
Standard ConstructorX_C_PeriodControl(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
get_AccessLevel()
AccessLevelI_C_Period
getC_Period()
int
getC_Period_ID()
Get Period.int
getC_PeriodControl_ID()
Get Period Control.String
getC_PeriodControl_UU()
Get C_PeriodControl_UU.String
getDocBaseType()
Get Document BaseType.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameString
getPeriodAction()
Get Period Action.String
getPeriodStatus()
Get Period Status.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isProcessing()
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 BaseType.void
setPeriodAction(String PeriodAction)
Set Period Action.void
setPeriodStatus(String PeriodStatus)
Set Period Status.void
setProcessing(boolean Processing)
Set Process Now.String
toString()
String representation-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, 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_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, 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, load, loadByUU, loadComplete, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, 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, 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 Detail
-
DOCBASETYPE_AD_Reference_ID
public static final int DOCBASETYPE_AD_Reference_ID
DocBaseType AD_Reference_ID=183- See Also:
- Constant Field Values
-
DOCBASETYPE_APCreditMemo
public static final String DOCBASETYPE_APCreditMemo
AP Credit Memo = APC- See Also:
- Constant Field Values
-
DOCBASETYPE_APInvoice
public static final String DOCBASETYPE_APInvoice
AP Invoice = API- See Also:
- Constant Field Values
-
DOCBASETYPE_APPayment
public static final String DOCBASETYPE_APPayment
AP Payment = APP- See Also:
- Constant Field Values
-
DOCBASETYPE_ARCreditMemo
public static final String DOCBASETYPE_ARCreditMemo
AR Credit Memo = ARC- See Also:
- Constant Field Values
-
DOCBASETYPE_ARProFormaInvoice
public static final String DOCBASETYPE_ARProFormaInvoice
AR Pro Forma Invoice = ARF- See Also:
- Constant Field Values
-
DOCBASETYPE_ARInvoice
public static final String DOCBASETYPE_ARInvoice
AR Invoice = ARI- See Also:
- Constant Field Values
-
DOCBASETYPE_ARReceipt
public static final String DOCBASETYPE_ARReceipt
AR Receipt = ARR- See Also:
- Constant Field Values
-
DOCBASETYPE_PaymentAllocation
public static final String DOCBASETYPE_PaymentAllocation
Payment Allocation = CMA- See Also:
- Constant Field Values
-
DOCBASETYPE_BankStatement
public static final String DOCBASETYPE_BankStatement
Bank Statement = CMB- See Also:
- Constant Field Values
-
DOCBASETYPE_CashJournal
public static final String DOCBASETYPE_CashJournal
Cash Journal = CMC- See Also:
- Constant Field Values
-
DOCBASETYPE_DistributionOrder
public static final String DOCBASETYPE_DistributionOrder
Distribution Order = DOO- See Also:
- Constant Field Values
-
DOCBASETYPE_FixedAssetsAddition
public static final String DOCBASETYPE_FixedAssetsAddition
Fixed Assets Addition = FAA- See Also:
- Constant Field Values
-
DOCBASETYPE_FixedAssetsDisposal
public static final String DOCBASETYPE_FixedAssetsDisposal
Fixed Assets Disposal = FAD- See Also:
- Constant Field Values
-
DOCBASETYPE_FixedAssetsDepreciation
public static final String DOCBASETYPE_FixedAssetsDepreciation
Fixed Assets Depreciation = FDP- See Also:
- Constant Field Values
-
DOCBASETYPE_GLDocument
public static final String DOCBASETYPE_GLDocument
GL Document = GLD- See Also:
- Constant Field Values
-
DOCBASETYPE_GLJournal
public static final String DOCBASETYPE_GLJournal
GL Journal = GLJ- See Also:
- Constant Field Values
-
DOCBASETYPE_Payroll
public static final String DOCBASETYPE_Payroll
Payroll = HRP- See Also:
- Constant Field Values
-
DOCBASETYPE_ManufacturingCostCollector
public static final String DOCBASETYPE_ManufacturingCostCollector
Manufacturing Cost Collector = MCC- See Also:
- Constant Field Values
-
DOCBASETYPE_MaterialPhysicalInventory
public static final String DOCBASETYPE_MaterialPhysicalInventory
Material Physical Inventory = MMI- See Also:
- Constant Field Values
-
DOCBASETYPE_MaterialMovement
public static final String DOCBASETYPE_MaterialMovement
Material Movement = MMM- See Also:
- Constant Field Values
-
DOCBASETYPE_MaterialProduction
public static final String DOCBASETYPE_MaterialProduction
Material Production = MMP- See Also:
- Constant Field Values
-
DOCBASETYPE_MaterialReceipt
public static final String DOCBASETYPE_MaterialReceipt
Material Receipt = MMR- See Also:
- Constant Field Values
-
DOCBASETYPE_MaterialDelivery
public static final String DOCBASETYPE_MaterialDelivery
Material Delivery = MMS- See Also:
- Constant Field Values
-
DOCBASETYPE_MaintenanceOrder
public static final String DOCBASETYPE_MaintenanceOrder
Maintenance Order = MOF- See Also:
- Constant Field Values
-
DOCBASETYPE_ManufacturingOrder
public static final String DOCBASETYPE_ManufacturingOrder
Manufacturing Order = MOP- See Also:
- Constant Field Values
-
DOCBASETYPE_QualityOrder
public static final String DOCBASETYPE_QualityOrder
Quality Order = MQO- See Also:
- Constant Field Values
-
DOCBASETYPE_MatchInvoice
public static final String DOCBASETYPE_MatchInvoice
Match Invoice = MXI- See Also:
- Constant Field Values
-
DOCBASETYPE_MatchPO
public static final String DOCBASETYPE_MatchPO
Match PO = MXP- See Also:
- Constant Field Values
-
DOCBASETYPE_ProjectIssue
public static final String DOCBASETYPE_ProjectIssue
Project Issue = PJI- See Also:
- Constant Field Values
-
DOCBASETYPE_PurchaseOrder
public static final String DOCBASETYPE_PurchaseOrder
Purchase Order = POO- See Also:
- Constant Field Values
-
DOCBASETYPE_PurchaseRequisition
public static final String DOCBASETYPE_PurchaseRequisition
Purchase Requisition = POR- See Also:
- Constant Field Values
-
DOCBASETYPE_SalesOrder
public static final String DOCBASETYPE_SalesOrder
Sales Order = SOO- See Also:
- Constant Field Values
-
PERIODACTION_AD_Reference_ID
public static final int PERIODACTION_AD_Reference_ID
PeriodAction AD_Reference_ID=176- See Also:
- Constant Field Values
-
PERIODACTION_ClosePeriod
public static final String PERIODACTION_ClosePeriod
Close Period = C- See Also:
- Constant Field Values
-
PERIODACTION_NoAction
public static final String PERIODACTION_NoAction
<No Action> = N- See Also:
- Constant Field Values
-
PERIODACTION_OpenPeriod
public static final String PERIODACTION_OpenPeriod
Open Period = O- See Also:
- Constant Field Values
-
PERIODACTION_PermanentlyClosePeriod
public static final String PERIODACTION_PermanentlyClosePeriod
Permanently Close Period = P- See Also:
- Constant Field Values
-
PERIODSTATUS_AD_Reference_ID
public static final int PERIODSTATUS_AD_Reference_ID
PeriodStatus AD_Reference_ID=177- See Also:
- Constant Field Values
-
PERIODSTATUS_Closed
public static final String PERIODSTATUS_Closed
Closed = C- See Also:
- Constant Field Values
-
PERIODSTATUS_NeverOpened
public static final String PERIODSTATUS_NeverOpened
Never opened = N- See Also:
- Constant Field Values
-
PERIODSTATUS_Open
public static final String PERIODSTATUS_Open
Open = O- See Also:
- Constant Field Values
-
PERIODSTATUS_PermanentlyClosed
public static final String PERIODSTATUS_PermanentlyClosed
Permanently closed = P- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_C_PeriodControl
public X_C_PeriodControl(Properties ctx, int C_PeriodControl_ID, String trxName)
Standard Constructor
-
X_C_PeriodControl
public X_C_PeriodControl(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 2 - Client
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
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
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setC_PeriodControl_UU
public void setC_PeriodControl_UU(String C_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
public String getC_PeriodControl_UU()
Get C_PeriodControl_UU.- Specified by:
getC_PeriodControl_UU
in interfaceI_C_PeriodControl
- Returns:
- C_PeriodControl_UU
-
getC_Period
public I_C_Period getC_Period() throws RuntimeException
- 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
public void setDocBaseType(String DocBaseType)
Set Document BaseType.- Specified by:
setDocBaseType
in interfaceI_C_PeriodControl
- Parameters:
DocBaseType
- Logical type of document
-
getDocBaseType
public String getDocBaseType()
Get Document BaseType.- Specified by:
getDocBaseType
in interfaceI_C_PeriodControl
- Returns:
- Logical type of document
-
setPeriodAction
public void setPeriodAction(String PeriodAction)
Set Period Action.- Specified by:
setPeriodAction
in interfaceI_C_PeriodControl
- Parameters:
PeriodAction
- Action taken for this period
-
getPeriodAction
public String getPeriodAction()
Get Period Action.- Specified by:
getPeriodAction
in interfaceI_C_PeriodControl
- Returns:
- Action taken for this period
-
setPeriodStatus
public void setPeriodStatus(String PeriodStatus)
Set Period Status.- Specified by:
setPeriodStatus
in interfaceI_C_PeriodControl
- Parameters:
PeriodStatus
- Current state of this period
-
getPeriodStatus
public String 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
-
-