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 11 - $Id$
Author:
iDempiere (generated)
See Also:
  • Field Details

    • DOCBASETYPE_AD_Reference_ID

      public static final int DOCBASETYPE_AD_Reference_ID
      DocBaseType AD_Reference_ID=183
      See Also:
    • DOCBASETYPE_APCreditMemo

      public static final String DOCBASETYPE_APCreditMemo
      AP Credit Memo = APC
      See Also:
    • DOCBASETYPE_APInvoice

      public static final String DOCBASETYPE_APInvoice
      AP Invoice = API
      See Also:
    • DOCBASETYPE_APPayment

      public static final String DOCBASETYPE_APPayment
      AP Payment = APP
      See Also:
    • DOCBASETYPE_ARCreditMemo

      public static final String DOCBASETYPE_ARCreditMemo
      AR Credit Memo = ARC
      See Also:
    • DOCBASETYPE_ARProFormaInvoice

      public static final String DOCBASETYPE_ARProFormaInvoice
      AR Pro Forma Invoice = ARF
      See Also:
    • DOCBASETYPE_ARInvoice

      public static final String DOCBASETYPE_ARInvoice
      AR Invoice = ARI
      See Also:
    • DOCBASETYPE_ARReceipt

      public static final String DOCBASETYPE_ARReceipt
      AR Receipt = ARR
      See Also:
    • DOCBASETYPE_PaymentAllocation

      public static final String DOCBASETYPE_PaymentAllocation
      Payment Allocation = CMA
      See Also:
    • DOCBASETYPE_BankStatement

      public static final String DOCBASETYPE_BankStatement
      Bank Statement = CMB
      See Also:
    • DOCBASETYPE_CashJournal

      public static final String DOCBASETYPE_CashJournal
      Cash Journal = CMC
      See Also:
    • DOCBASETYPE_DistributionOrder

      public static final String DOCBASETYPE_DistributionOrder
      Distribution Order = DOO
      See Also:
    • DOCBASETYPE_FixedAssetsAddition

      public static final String DOCBASETYPE_FixedAssetsAddition
      Fixed Assets Addition = FAA
      See Also:
    • DOCBASETYPE_FixedAssetsDisposal

      public static final String DOCBASETYPE_FixedAssetsDisposal
      Fixed Assets Disposal = FAD
      See Also:
    • DOCBASETYPE_FixedAssetsDepreciation

      public static final String DOCBASETYPE_FixedAssetsDepreciation
      Fixed Assets Depreciation = FDP
      See Also:
    • DOCBASETYPE_GLDocument

      public static final String DOCBASETYPE_GLDocument
      GL Document = GLD
      See Also:
    • DOCBASETYPE_GLJournal

      public static final String DOCBASETYPE_GLJournal
      GL Journal = GLJ
      See Also:
    • DOCBASETYPE_Payroll

      public static final String DOCBASETYPE_Payroll
      Payroll = HRP
      See Also:
    • DOCBASETYPE_ManufacturingCostCollector

      public static final String DOCBASETYPE_ManufacturingCostCollector
      Manufacturing Cost Collector = MCC
      See Also:
    • DOCBASETYPE_MaterialPhysicalInventory

      public static final String DOCBASETYPE_MaterialPhysicalInventory
      Material Physical Inventory = MMI
      See Also:
    • DOCBASETYPE_MaterialMovement

      public static final String DOCBASETYPE_MaterialMovement
      Material Movement = MMM
      See Also:
    • DOCBASETYPE_MaterialProduction

      public static final String DOCBASETYPE_MaterialProduction
      Material Production = MMP
      See Also:
    • DOCBASETYPE_MaterialReceipt

      public static final String DOCBASETYPE_MaterialReceipt
      Material Receipt = MMR
      See Also:
    • DOCBASETYPE_MaterialDelivery

      public static final String DOCBASETYPE_MaterialDelivery
      Material Delivery = MMS
      See Also:
    • DOCBASETYPE_MaintenanceOrder

      public static final String DOCBASETYPE_MaintenanceOrder
      Maintenance Order = MOF
      See Also:
    • DOCBASETYPE_ManufacturingOrder

      public static final String DOCBASETYPE_ManufacturingOrder
      Manufacturing Order = MOP
      See Also:
    • DOCBASETYPE_QualityOrder

      public static final String DOCBASETYPE_QualityOrder
      Quality Order = MQO
      See Also:
    • DOCBASETYPE_MatchInvoice

      public static final String DOCBASETYPE_MatchInvoice
      Match Invoice = MXI
      See Also:
    • DOCBASETYPE_MatchPO

      public static final String DOCBASETYPE_MatchPO
      Match PO = MXP
      See Also:
    • DOCBASETYPE_ProjectIssue

      public static final String DOCBASETYPE_ProjectIssue
      Project Issue = PJI
      See Also:
    • DOCBASETYPE_PurchaseOrder

      public static final String DOCBASETYPE_PurchaseOrder
      Purchase Order = POO
      See Also:
    • DOCBASETYPE_PurchaseRequisition

      public static final String DOCBASETYPE_PurchaseRequisition
      Purchase Requisition = POR
      See Also:
    • DOCBASETYPE_SalesOrder

      public static final String DOCBASETYPE_SalesOrder
      Sales Order = SOO
      See Also:
    • PERIODACTION_AD_Reference_ID

      public static final int PERIODACTION_AD_Reference_ID
      PeriodAction AD_Reference_ID=176
      See Also:
    • PERIODACTION_ClosePeriod

      public static final String PERIODACTION_ClosePeriod
      Close Period = C
      See Also:
    • PERIODACTION_DocumentClosePeriod

      public static final String PERIODACTION_DocumentClosePeriod
      Document Close Period = D
      See Also:
    • PERIODACTION_NoAction

      public static final String PERIODACTION_NoAction
      <No Action> = N
      See Also:
    • PERIODACTION_OpenPeriod

      public static final String PERIODACTION_OpenPeriod
      Open Period = O
      See Also:
    • PERIODACTION_PermanentlyClosePeriod

      public static final String PERIODACTION_PermanentlyClosePeriod
      Permanently Close Period = P
      See Also:
    • PERIODSTATUS_AD_Reference_ID

      public static final int PERIODSTATUS_AD_Reference_ID
      PeriodStatus AD_Reference_ID=177
      See Also:
    • PERIODSTATUS_Closed

      public static final String PERIODSTATUS_Closed
      Closed = C
      See Also:
    • PERIODSTATUS_DocumentClosed

      public static final String PERIODSTATUS_DocumentClosed
      Document closed = D
      See Also:
    • PERIODSTATUS_NeverOpened

      public static final String PERIODSTATUS_NeverOpened
      Never opened = N
      See Also:
    • PERIODSTATUS_Open

      public static final String PERIODSTATUS_Open
      Open = O
      See Also:
    • PERIODSTATUS_PermanentlyClosed

      public static final String PERIODSTATUS_PermanentlyClosed
      Permanently closed = P
      See Also:
  • Constructor Details

    • 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, int C_PeriodControl_ID, String trxName, String... virtualColumns)
      Standard Constructor
    • X_C_PeriodControl

      public X_C_PeriodControl(Properties ctx, String C_PeriodControl_UU, String trxName)
      Standard Constructor
    • X_C_PeriodControl

      public X_C_PeriodControl(Properties ctx, String C_PeriodControl_UU, String trxName, String... virtualColumns)
      Standard Constructor
    • X_C_PeriodControl

      public X_C_PeriodControl(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
  • Method Details

    • get_AccessLevel

      protected int get_AccessLevel()
      AccessLevel
      Specified by:
      get_AccessLevel in class PO
      Returns:
      2 - Client
    • initPO

      protected POInfo initPO(Properties ctx)
      Load Meta Data
      Specified by:
      initPO in class PO
      Parameters:
      ctx - context
      Returns:
      Meta data of PO
    • toString

      public String toString()
      Description copied from class: PO
      String representation
      Overrides:
      toString in class PO
      Returns:
      String representation
    • setC_PeriodControl_ID

      public void setC_PeriodControl_ID(int C_PeriodControl_ID)
      Set Period Control.
      Specified by:
      setC_PeriodControl_ID in interface I_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 interface I_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 interface I_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 interface I_C_PeriodControl
      Returns:
      C_PeriodControl_UU
    • getC_Period

      public I_C_Period getC_Period() throws RuntimeException
      Specified by:
      getC_Period in interface I_C_PeriodControl
      Throws:
      RuntimeException
    • setC_Period_ID

      public void setC_Period_ID(int C_Period_ID)
      Set Period.
      Specified by:
      setC_Period_ID in interface I_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 interface I_C_PeriodControl
      Returns:
      Period of the Calendar
    • setDocBaseType

      public void setDocBaseType(String DocBaseType)
      Set Document Base Type.
      Specified by:
      setDocBaseType in interface I_C_PeriodControl
      Parameters:
      DocBaseType - Logical type of document
    • getDocBaseType

      public String getDocBaseType()
      Get Document Base Type.
      Specified by:
      getDocBaseType in interface I_C_PeriodControl
      Returns:
      Logical type of document
    • setPeriodAction

      public void setPeriodAction(String PeriodAction)
      Set Period Action.
      Specified by:
      setPeriodAction in interface I_C_PeriodControl
      Parameters:
      PeriodAction - Action taken for this period
    • getPeriodAction

      public String getPeriodAction()
      Get Period Action.
      Specified by:
      getPeriodAction in interface I_C_PeriodControl
      Returns:
      Action taken for this period
    • setPeriodStatus

      public void setPeriodStatus(String PeriodStatus)
      Set Period Status.
      Specified by:
      setPeriodStatus in interface I_C_PeriodControl
      Parameters:
      PeriodStatus - Current state of this period
    • getPeriodStatus

      public String getPeriodStatus()
      Get Period Status.
      Specified by:
      getPeriodStatus in interface I_C_PeriodControl
      Returns:
      Current state of this period
    • setProcessing

      public void setProcessing(boolean Processing)
      Set Process Now.
      Specified by:
      setProcessing in interface I_C_PeriodControl
      Parameters:
      Processing - Process Now
    • isProcessing

      public boolean isProcessing()
      Get Process Now.
      Specified by:
      isProcessing in interface I_C_PeriodControl
      Returns:
      Process Now