Class X_C_AcctSchema

java.lang.Object
org.compiere.model.PO
org.compiere.model.X_C_AcctSchema
All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_C_AcctSchema, I_Persistent, Evaluatee
Direct Known Subclasses:
MAcctSchema

public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent
Generated Model for C_AcctSchema
Version:
Release 11 - $Id$
Author:
iDempiere (generated)
See Also:
  • Field Details

    • COMMITMENTTYPE_AD_Reference_ID

      public static final int COMMITMENTTYPE_AD_Reference_ID
      CommitmentType AD_Reference_ID=359
      See Also:
    • COMMITMENTTYPE_POSOCommitmentReservation

      public static final String COMMITMENTTYPE_POSOCommitmentReservation
      PO/SO Commitment & Reservation = A
      See Also:
    • COMMITMENTTYPE_POCommitmentReservation

      public static final String COMMITMENTTYPE_POCommitmentReservation
      PO Commitment & Reservation = B
      See Also:
    • COMMITMENTTYPE_POCommitmentOnly

      public static final String COMMITMENTTYPE_POCommitmentOnly
      PO Commitment only = C
      See Also:
    • COMMITMENTTYPE_None

      public static final String COMMITMENTTYPE_None
      None = N
      See Also:
    • COMMITMENTTYPE_POSOCommitment

      public static final String COMMITMENTTYPE_POSOCommitment
      PO/SO Commitment = O
      See Also:
    • COMMITMENTTYPE_SOCommitmentOnly

      public static final String COMMITMENTTYPE_SOCommitmentOnly
      SO Commitment only = S
      See Also:
    • COSTINGLEVEL_AD_Reference_ID

      public static final int COSTINGLEVEL_AD_Reference_ID
      CostingLevel AD_Reference_ID=355
      See Also:
    • COSTINGLEVEL_BatchLot

      public static final String COSTINGLEVEL_BatchLot
      Batch/Lot = B
      See Also:
    • COSTINGLEVEL_Client

      public static final String COSTINGLEVEL_Client
      Client = C
      See Also:
    • COSTINGLEVEL_Organization

      public static final String COSTINGLEVEL_Organization
      Organization = O
      See Also:
    • COSTINGMETHOD_AD_Reference_ID

      public static final int COSTINGMETHOD_AD_Reference_ID
      CostingMethod AD_Reference_ID=122
      See Also:
    • COSTINGMETHOD_AveragePO

      public static final String COSTINGMETHOD_AveragePO
      Average PO = A
      See Also:
    • COSTINGMETHOD_Fifo

      public static final String COSTINGMETHOD_Fifo
      Fifo = F
      See Also:
    • COSTINGMETHOD_LastInvoice

      public static final String COSTINGMETHOD_LastInvoice
      Last Invoice = i
      See Also:
    • COSTINGMETHOD_AverageInvoice

      public static final String COSTINGMETHOD_AverageInvoice
      Average Invoice = I
      See Also:
    • COSTINGMETHOD_Lifo

      public static final String COSTINGMETHOD_Lifo
      Lifo = L
      See Also:
    • COSTINGMETHOD_LastPOPrice

      public static final String COSTINGMETHOD_LastPOPrice
      Last PO Price = p
      See Also:
    • COSTINGMETHOD_StandardCosting

      public static final String COSTINGMETHOD_StandardCosting
      Standard Costing = S
      See Also:
    • COSTINGMETHOD_UserDefined

      public static final String COSTINGMETHOD_UserDefined
      User Defined = U
      See Also:
    • COSTINGMETHOD__

      public static final String COSTINGMETHOD__
      _ = x
      See Also:
    • GAAP_AD_Reference_ID

      public static final int GAAP_AD_Reference_ID
      GAAP AD_Reference_ID=123
      See Also:
    • GAAP_GermanHGB

      public static final String GAAP_GermanHGB
      German HGB = DE
      See Also:
    • GAAP_FrenchAccountingStandard

      public static final String GAAP_FrenchAccountingStandard
      French Accounting Standard = FR
      See Also:
    • GAAP_InternationalGAAP

      public static final String GAAP_InternationalGAAP
      International GAAP = UN
      See Also:
    • GAAP_USGAAP

      public static final String GAAP_USGAAP
      US GAAP = US
      See Also:
    • GAAP_CustomAccountingRules

      public static final String GAAP_CustomAccountingRules
      Custom Accounting Rules = XX
      See Also:
    • TAXCORRECTIONTYPE_AD_Reference_ID

      public static final int TAXCORRECTIONTYPE_AD_Reference_ID
      TaxCorrectionType AD_Reference_ID=392
      See Also:
    • TAXCORRECTIONTYPE_Write_OffAndDiscount

      public static final String TAXCORRECTIONTYPE_Write_OffAndDiscount
      Write-off and Discount = B
      See Also:
    • TAXCORRECTIONTYPE_DiscountOnly

      public static final String TAXCORRECTIONTYPE_DiscountOnly
      Discount only = D
      See Also:
    • TAXCORRECTIONTYPE_None

      public static final String TAXCORRECTIONTYPE_None
      None = N
      See Also:
    • TAXCORRECTIONTYPE_Write_OffOnly

      public static final String TAXCORRECTIONTYPE_Write_OffOnly
      Write-off only = W
      See Also:
  • Constructor Details

    • X_C_AcctSchema

      public X_C_AcctSchema(Properties ctx, int C_AcctSchema_ID, String trxName)
      Standard Constructor
    • X_C_AcctSchema

      public X_C_AcctSchema(Properties ctx, int C_AcctSchema_ID, String trxName, String... virtualColumns)
      Standard Constructor
    • X_C_AcctSchema

      public X_C_AcctSchema(Properties ctx, String C_AcctSchema_UU, String trxName)
      Standard Constructor
    • X_C_AcctSchema

      public X_C_AcctSchema(Properties ctx, String C_AcctSchema_UU, String trxName, String... virtualColumns)
      Standard Constructor
    • X_C_AcctSchema

      public X_C_AcctSchema(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:
      POInfo
    • toString

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

      public void setAD_OrgOnly_ID(int AD_OrgOnly_ID)
      Set Only Organization.
      Specified by:
      setAD_OrgOnly_ID in interface I_C_AcctSchema
      Parameters:
      AD_OrgOnly_ID - Create posting entries only for this organization
    • getAD_OrgOnly_ID

      public int getAD_OrgOnly_ID()
      Get Only Organization.
      Specified by:
      getAD_OrgOnly_ID in interface I_C_AcctSchema
      Returns:
      Create posting entries only for this organization
    • setAutoPeriodControl

      public void setAutoPeriodControl(boolean AutoPeriodControl)
      Set Automatic Period Control.
      Specified by:
      setAutoPeriodControl in interface I_C_AcctSchema
      Parameters:
      AutoPeriodControl - If selected, the periods are automatically opened and closed
    • isAutoPeriodControl

      public boolean isAutoPeriodControl()
      Get Automatic Period Control.
      Specified by:
      isAutoPeriodControl in interface I_C_AcctSchema
      Returns:
      If selected, the periods are automatically opened and closed
    • setC_AcctSchema_ID

      public void setC_AcctSchema_ID(int C_AcctSchema_ID)
      Set Accounting Schema.
      Specified by:
      setC_AcctSchema_ID in interface I_C_AcctSchema
      Parameters:
      C_AcctSchema_ID - Rules for accounting
    • getC_AcctSchema_ID

      public int getC_AcctSchema_ID()
      Get Accounting Schema.
      Specified by:
      getC_AcctSchema_ID in interface I_C_AcctSchema
      Returns:
      Rules for accounting
    • setC_AcctSchema_UU

      public void setC_AcctSchema_UU(String C_AcctSchema_UU)
      Set C_AcctSchema_UU.
      Specified by:
      setC_AcctSchema_UU in interface I_C_AcctSchema
      Parameters:
      C_AcctSchema_UU - C_AcctSchema_UU
    • getC_AcctSchema_UU

      public String getC_AcctSchema_UU()
      Get C_AcctSchema_UU.
      Specified by:
      getC_AcctSchema_UU in interface I_C_AcctSchema
      Returns:
      C_AcctSchema_UU
    • getC_Currency

      public I_C_Currency getC_Currency() throws RuntimeException
      Specified by:
      getC_Currency in interface I_C_AcctSchema
      Throws:
      RuntimeException
    • setC_Currency_ID

      public void setC_Currency_ID(int C_Currency_ID)
      Set Currency.
      Specified by:
      setC_Currency_ID in interface I_C_AcctSchema
      Parameters:
      C_Currency_ID - The Currency for this record
    • getC_Currency_ID

      public int getC_Currency_ID()
      Get Currency.
      Specified by:
      getC_Currency_ID in interface I_C_AcctSchema
      Returns:
      The Currency for this record
    • setCommitmentType

      public void setCommitmentType(String CommitmentType)
      Set Commitment Type.
      Specified by:
      setCommitmentType in interface I_C_AcctSchema
      Parameters:
      CommitmentType - Create Commitment and/or Reservations for Budget Control
    • getCommitmentType

      public String getCommitmentType()
      Get Commitment Type.
      Specified by:
      getCommitmentType in interface I_C_AcctSchema
      Returns:
      Create Commitment and/or Reservations for Budget Control
    • setCostingLevel

      public void setCostingLevel(String CostingLevel)
      Set Costing Level.
      Specified by:
      setCostingLevel in interface I_C_AcctSchema
      Parameters:
      CostingLevel - The lowest level to accumulate Costing Information
    • getCostingLevel

      public String getCostingLevel()
      Get Costing Level.
      Specified by:
      getCostingLevel in interface I_C_AcctSchema
      Returns:
      The lowest level to accumulate Costing Information
    • setCostingMethod

      public void setCostingMethod(String CostingMethod)
      Set Costing Method.
      Specified by:
      setCostingMethod in interface I_C_AcctSchema
      Parameters:
      CostingMethod - Indicates how Costs will be calculated
    • getCostingMethod

      public String getCostingMethod()
      Get Costing Method.
      Specified by:
      getCostingMethod in interface I_C_AcctSchema
      Returns:
      Indicates how Costs will be calculated
    • getC_Period

      public I_C_Period getC_Period() throws RuntimeException
      Specified by:
      getC_Period in interface I_C_AcctSchema
      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_AcctSchema
      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_AcctSchema
      Returns:
      Period of the Calendar
    • setDescription

      public void setDescription(String Description)
      Set Description.
      Specified by:
      setDescription in interface I_C_AcctSchema
      Parameters:
      Description - Optional short description of the record
    • getDescription

      public String getDescription()
      Get Description.
      Specified by:
      getDescription in interface I_C_AcctSchema
      Returns:
      Optional short description of the record
    • setGAAP

      public void setGAAP(String GAAP)
      Set GAAP.
      Specified by:
      setGAAP in interface I_C_AcctSchema
      Parameters:
      GAAP - Generally Accepted Accounting Principles
    • getGAAP

      public String getGAAP()
      Get GAAP.
      Specified by:
      getGAAP in interface I_C_AcctSchema
      Returns:
      Generally Accepted Accounting Principles
    • setHasAlias

      public void setHasAlias(boolean HasAlias)
      Set Use Account Alias.
      Specified by:
      setHasAlias in interface I_C_AcctSchema
      Parameters:
      HasAlias - Ability to select (partial) account combinations by an Alias
    • isHasAlias

      public boolean isHasAlias()
      Get Use Account Alias.
      Specified by:
      isHasAlias in interface I_C_AcctSchema
      Returns:
      Ability to select (partial) account combinations by an Alias
    • setHasCombination

      public void setHasCombination(boolean HasCombination)
      Set Use Account Combination Control.
      Specified by:
      setHasCombination in interface I_C_AcctSchema
      Parameters:
      HasCombination - Combination of account elements are checked
    • isHasCombination

      public boolean isHasCombination()
      Get Use Account Combination Control.
      Specified by:
      isHasCombination in interface I_C_AcctSchema
      Returns:
      Combination of account elements are checked
    • setIsAccrual

      public void setIsAccrual(boolean IsAccrual)
      Set Accrual.
      Specified by:
      setIsAccrual in interface I_C_AcctSchema
      Parameters:
      IsAccrual - Indicates if Accrual or Cash Based accounting will be used
    • isAccrual

      public boolean isAccrual()
      Get Accrual.
      Specified by:
      isAccrual in interface I_C_AcctSchema
      Returns:
      Indicates if Accrual or Cash Based accounting will be used
    • setIsAdjustCOGS

      public void setIsAdjustCOGS(boolean IsAdjustCOGS)
      Set Adjust COGS.
      Specified by:
      setIsAdjustCOGS in interface I_C_AcctSchema
      Parameters:
      IsAdjustCOGS - Adjust Cost of Good Sold
    • isAdjustCOGS

      public boolean isAdjustCOGS()
      Get Adjust COGS.
      Specified by:
      isAdjustCOGS in interface I_C_AcctSchema
      Returns:
      Adjust Cost of Good Sold
    • setIsAllowNegativePosting

      public void setIsAllowNegativePosting(boolean IsAllowNegativePosting)
      Set Allow Negative Posting.
      Specified by:
      setIsAllowNegativePosting in interface I_C_AcctSchema
      Parameters:
      IsAllowNegativePosting - Allow to post negative accounting values
    • isAllowNegativePosting

      public boolean isAllowNegativePosting()
      Get Allow Negative Posting.
      Specified by:
      isAllowNegativePosting in interface I_C_AcctSchema
      Returns:
      Allow to post negative accounting values
    • setIsDiscountCorrectsTax

      public void setIsDiscountCorrectsTax(boolean IsDiscountCorrectsTax)
      Set Correct tax for Discounts/Charges.
      Specified by:
      setIsDiscountCorrectsTax in interface I_C_AcctSchema
      Parameters:
      IsDiscountCorrectsTax - Correct the tax for payment discount and charges
    • isDiscountCorrectsTax

      public boolean isDiscountCorrectsTax()
      Get Correct tax for Discounts/Charges.
      Specified by:
      isDiscountCorrectsTax in interface I_C_AcctSchema
      Returns:
      Correct the tax for payment discount and charges
    • setIsExplicitCostAdjustment

      public void setIsExplicitCostAdjustment(boolean IsExplicitCostAdjustment)
      Set Explicit Cost Adjustment.
      Specified by:
      setIsExplicitCostAdjustment in interface I_C_AcctSchema
      Parameters:
      IsExplicitCostAdjustment - Post the cost adjustment explicitly
    • isExplicitCostAdjustment

      public boolean isExplicitCostAdjustment()
      Get Explicit Cost Adjustment.
      Specified by:
      isExplicitCostAdjustment in interface I_C_AcctSchema
      Returns:
      Post the cost adjustment explicitly
    • setIsPostIfClearingEqual

      public void setIsPostIfClearingEqual(boolean IsPostIfClearingEqual)
      Set Post if Clearing Equal.
      Specified by:
      setIsPostIfClearingEqual in interface I_C_AcctSchema
      Parameters:
      IsPostIfClearingEqual - This flag controls if Adempiere must post when clearing (transit) and final accounts are the same
    • isPostIfClearingEqual

      public boolean isPostIfClearingEqual()
      Get Post if Clearing Equal.
      Specified by:
      isPostIfClearingEqual in interface I_C_AcctSchema
      Returns:
      This flag controls if Adempiere must post when clearing (transit) and final accounts are the same
    • setIsPostServices

      public void setIsPostServices(boolean IsPostServices)
      Set Post Services Separately.
      Specified by:
      setIsPostServices in interface I_C_AcctSchema
      Parameters:
      IsPostServices - Differentiate between Services and Product Receivable/Payables
    • isPostServices

      public boolean isPostServices()
      Get Post Services Separately.
      Specified by:
      isPostServices in interface I_C_AcctSchema
      Returns:
      Differentiate between Services and Product Receivable/Payables
    • setIsTradeDiscountPosted

      public void setIsTradeDiscountPosted(boolean IsTradeDiscountPosted)
      Set Post Trade Discount.
      Specified by:
      setIsTradeDiscountPosted in interface I_C_AcctSchema
      Parameters:
      IsTradeDiscountPosted - Generate postings for trade discounts
    • isTradeDiscountPosted

      public boolean isTradeDiscountPosted()
      Get Post Trade Discount.
      Specified by:
      isTradeDiscountPosted in interface I_C_AcctSchema
      Returns:
      Generate postings for trade discounts
    • getM_CostType

      public I_M_CostType getM_CostType() throws RuntimeException
      Specified by:
      getM_CostType in interface I_C_AcctSchema
      Throws:
      RuntimeException
    • setM_CostType_ID

      public void setM_CostType_ID(int M_CostType_ID)
      Set Cost Type.
      Specified by:
      setM_CostType_ID in interface I_C_AcctSchema
      Parameters:
      M_CostType_ID - Type of Cost (e.g. Current, Plan, Future)
    • getM_CostType_ID

      public int getM_CostType_ID()
      Get Cost Type.
      Specified by:
      getM_CostType_ID in interface I_C_AcctSchema
      Returns:
      Type of Cost (e.g. Current, Plan, Future)
    • setName

      public void setName(String Name)
      Set Name.
      Specified by:
      setName in interface I_C_AcctSchema
      Parameters:
      Name - Alphanumeric identifier of the entity
    • getName

      public String getName()
      Get Name.
      Specified by:
      getName in interface I_C_AcctSchema
      Returns:
      Alphanumeric identifier of the entity
    • getKeyNamePair

      public KeyNamePair getKeyNamePair()
      Get Record ID/ColumnName
      Returns:
      ID/ColumnName pair
    • setPeriod_OpenFuture

      public void setPeriod_OpenFuture(int Period_OpenFuture)
      Set Future Days.
      Specified by:
      setPeriod_OpenFuture in interface I_C_AcctSchema
      Parameters:
      Period_OpenFuture - Number of days to be able to post to a future date (based on system date)
    • getPeriod_OpenFuture

      public int getPeriod_OpenFuture()
      Get Future Days.
      Specified by:
      getPeriod_OpenFuture in interface I_C_AcctSchema
      Returns:
      Number of days to be able to post to a future date (based on system date)
    • setPeriod_OpenHistory

      public void setPeriod_OpenHistory(int Period_OpenHistory)
      Set History Days.
      Specified by:
      setPeriod_OpenHistory in interface I_C_AcctSchema
      Parameters:
      Period_OpenHistory - Number of days to be able to post in the past (based on system date)
    • getPeriod_OpenHistory

      public int getPeriod_OpenHistory()
      Get History Days.
      Specified by:
      getPeriod_OpenHistory in interface I_C_AcctSchema
      Returns:
      Number of days to be able to post in the past (based on system date)
    • setProcessing

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

      public boolean isProcessing()
      Get Process Now.
      Specified by:
      isProcessing in interface I_C_AcctSchema
      Returns:
      Process Now
    • setSeparator

      public void setSeparator(String Separator)
      Set Element Separator.
      Specified by:
      setSeparator in interface I_C_AcctSchema
      Parameters:
      Separator - Element Separator
    • getSeparator

      public String getSeparator()
      Get Element Separator.
      Specified by:
      getSeparator in interface I_C_AcctSchema
      Returns:
      Element Separator
    • setTaxCorrectionType

      public void setTaxCorrectionType(String TaxCorrectionType)
      Set Tax Correction.
      Specified by:
      setTaxCorrectionType in interface I_C_AcctSchema
      Parameters:
      TaxCorrectionType - Type of Tax Correction
    • getTaxCorrectionType

      public String getTaxCorrectionType()
      Get Tax Correction.
      Specified by:
      getTaxCorrectionType in interface I_C_AcctSchema
      Returns:
      Type of Tax Correction