Package org.compiere.model
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 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
COMMITMENTTYPE_AD_Reference_ID
CommitmentType AD_Reference_ID=359static String
COMMITMENTTYPE_None
None = Nstatic String
COMMITMENTTYPE_POCommitmentOnly
PO Commitment only = Cstatic String
COMMITMENTTYPE_POCommitmentReservation
PO Commitment & Reservation = Bstatic String
COMMITMENTTYPE_POSOCommitment
PO/SO Commitment = Ostatic String
COMMITMENTTYPE_POSOCommitmentReservation
PO/SO Commitment & Reservation = Astatic String
COMMITMENTTYPE_SOCommitmentOnly
SO Commitment only = Sstatic int
COSTINGLEVEL_AD_Reference_ID
CostingLevel AD_Reference_ID=355static String
COSTINGLEVEL_BatchLot
Batch/Lot = Bstatic String
COSTINGLEVEL_Client
Client = Cstatic String
COSTINGLEVEL_Organization
Organization = Ostatic String
COSTINGMETHOD__
_ = xstatic int
COSTINGMETHOD_AD_Reference_ID
CostingMethod AD_Reference_ID=122static String
COSTINGMETHOD_AverageInvoice
Average Invoice = Istatic String
COSTINGMETHOD_AveragePO
Average PO = Astatic String
COSTINGMETHOD_Fifo
Fifo = Fstatic String
COSTINGMETHOD_LastInvoice
Last Invoice = istatic String
COSTINGMETHOD_LastPOPrice
Last PO Price = pstatic String
COSTINGMETHOD_Lifo
Lifo = Lstatic String
COSTINGMETHOD_StandardCosting
Standard Costing = Sstatic String
COSTINGMETHOD_UserDefined
User Defined = Ustatic int
GAAP_AD_Reference_ID
GAAP AD_Reference_ID=123static String
GAAP_CustomAccountingRules
Custom Accounting Rules = XXstatic String
GAAP_FrenchAccountingStandard
French Accounting Standard = FRstatic String
GAAP_GermanHGB
German HGB = DEstatic String
GAAP_InternationalGAAP
International GAAP = UNstatic String
GAAP_USGAAP
US GAAP = USstatic int
TAXCORRECTIONTYPE_AD_Reference_ID
TaxCorrectionType AD_Reference_ID=392static String
TAXCORRECTIONTYPE_DiscountOnly
Discount only = Dstatic String
TAXCORRECTIONTYPE_None
None = Nstatic String
TAXCORRECTIONTYPE_Write_OffAndDiscount
Write-off and Discount = Bstatic String
TAXCORRECTIONTYPE_Write_OffOnly
Write-off only = W-
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_AcctSchema
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_OrgOnly_ID, COLUMNNAME_AutoPeriodControl, COLUMNNAME_C_AcctSchema_ID, COLUMNNAME_C_AcctSchema_UU, COLUMNNAME_C_Currency_ID, COLUMNNAME_C_Period_ID, COLUMNNAME_CommitmentType, COLUMNNAME_CostingLevel, COLUMNNAME_CostingMethod, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_GAAP, COLUMNNAME_HasAlias, COLUMNNAME_HasCombination, COLUMNNAME_IsAccrual, COLUMNNAME_IsActive, COLUMNNAME_IsAdjustCOGS, COLUMNNAME_IsAllowNegativePosting, COLUMNNAME_IsDiscountCorrectsTax, COLUMNNAME_IsExplicitCostAdjustment, COLUMNNAME_IsPostIfClearingEqual, COLUMNNAME_IsPostServices, COLUMNNAME_IsTradeDiscountPosted, COLUMNNAME_M_CostType_ID, COLUMNNAME_Name, COLUMNNAME_Period_OpenFuture, COLUMNNAME_Period_OpenHistory, COLUMNNAME_Processing, COLUMNNAME_Separator, COLUMNNAME_TaxCorrectionType, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_C_AcctSchema(Properties ctx, int C_AcctSchema_ID, String trxName)
Standard ConstructorX_C_AcctSchema(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()
AccessLevelint
getAD_OrgOnly_ID()
Get Only Organization.int
getC_AcctSchema_ID()
Get Accounting Schema.String
getC_AcctSchema_UU()
Get C_AcctSchema_UU.I_C_Currency
getC_Currency()
int
getC_Currency_ID()
Get Currency.I_C_Period
getC_Period()
int
getC_Period_ID()
Get Period.String
getCommitmentType()
Get Commitment Type.String
getCostingLevel()
Get Costing Level.String
getCostingMethod()
Get Costing Method.String
getDescription()
Get Description.String
getGAAP()
Get GAAP.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameI_M_CostType
getM_CostType()
int
getM_CostType_ID()
Get Cost Type.String
getName()
Get Name.int
getPeriod_OpenFuture()
Get Future Days.int
getPeriod_OpenHistory()
Get History Days.String
getSeparator()
Get Element Separator.String
getTaxCorrectionType()
Get Tax Correction.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isAccrual()
Get Accrual.boolean
isAdjustCOGS()
Get Adjust COGS.boolean
isAllowNegativePosting()
Get Allow Negative Posting.boolean
isAutoPeriodControl()
Get Automatic Period Control.boolean
isDiscountCorrectsTax()
Get Correct tax for Discounts/Charges.boolean
isExplicitCostAdjustment()
Get Explicit Cost Adjustment.boolean
isHasAlias()
Get Use Account Alias.boolean
isHasCombination()
Get Use Account Combination Control.boolean
isPostIfClearingEqual()
Get Post if Clearing Equal.boolean
isPostServices()
Get Post Services Separately.boolean
isProcessing()
Get Process Now.boolean
isTradeDiscountPosted()
Get Post Trade Discount.void
setAD_OrgOnly_ID(int AD_OrgOnly_ID)
Set Only Organization.void
setAutoPeriodControl(boolean AutoPeriodControl)
Set Automatic Period Control.void
setC_AcctSchema_ID(int C_AcctSchema_ID)
Set Accounting Schema.void
setC_AcctSchema_UU(String C_AcctSchema_UU)
Set C_AcctSchema_UU.void
setC_Currency_ID(int C_Currency_ID)
Set Currency.void
setC_Period_ID(int C_Period_ID)
Set Period.void
setCommitmentType(String CommitmentType)
Set Commitment Type.void
setCostingLevel(String CostingLevel)
Set Costing Level.void
setCostingMethod(String CostingMethod)
Set Costing Method.void
setDescription(String Description)
Set Description.void
setGAAP(String GAAP)
Set GAAP.void
setHasAlias(boolean HasAlias)
Set Use Account Alias.void
setHasCombination(boolean HasCombination)
Set Use Account Combination Control.void
setIsAccrual(boolean IsAccrual)
Set Accrual.void
setIsAdjustCOGS(boolean IsAdjustCOGS)
Set Adjust COGS.void
setIsAllowNegativePosting(boolean IsAllowNegativePosting)
Set Allow Negative Posting.void
setIsDiscountCorrectsTax(boolean IsDiscountCorrectsTax)
Set Correct tax for Discounts/Charges.void
setIsExplicitCostAdjustment(boolean IsExplicitCostAdjustment)
Set Explicit Cost Adjustment.void
setIsPostIfClearingEqual(boolean IsPostIfClearingEqual)
Set Post if Clearing Equal.void
setIsPostServices(boolean IsPostServices)
Set Post Services Separately.void
setIsTradeDiscountPosted(boolean IsTradeDiscountPosted)
Set Post Trade Discount.void
setM_CostType_ID(int M_CostType_ID)
Set Cost Type.void
setName(String Name)
Set Name.void
setPeriod_OpenFuture(int Period_OpenFuture)
Set Future Days.void
setPeriod_OpenHistory(int Period_OpenHistory)
Set History Days.void
setProcessing(boolean Processing)
Set Process Now.void
setSeparator(String Separator)
Set Element Separator.void
setTaxCorrectionType(String TaxCorrectionType)
Set Tax Correction.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_AcctSchema
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
-
COMMITMENTTYPE_AD_Reference_ID
public static final int COMMITMENTTYPE_AD_Reference_ID
CommitmentType AD_Reference_ID=359- See Also:
- Constant Field Values
-
COMMITMENTTYPE_POSOCommitmentReservation
public static final String COMMITMENTTYPE_POSOCommitmentReservation
PO/SO Commitment & Reservation = A- See Also:
- Constant Field Values
-
COMMITMENTTYPE_POCommitmentReservation
public static final String COMMITMENTTYPE_POCommitmentReservation
PO Commitment & Reservation = B- See Also:
- Constant Field Values
-
COMMITMENTTYPE_POCommitmentOnly
public static final String COMMITMENTTYPE_POCommitmentOnly
PO Commitment only = C- See Also:
- Constant Field Values
-
COMMITMENTTYPE_None
public static final String COMMITMENTTYPE_None
None = N- See Also:
- Constant Field Values
-
COMMITMENTTYPE_POSOCommitment
public static final String COMMITMENTTYPE_POSOCommitment
PO/SO Commitment = O- See Also:
- Constant Field Values
-
COMMITMENTTYPE_SOCommitmentOnly
public static final String COMMITMENTTYPE_SOCommitmentOnly
SO Commitment only = S- See Also:
- Constant Field Values
-
COSTINGLEVEL_AD_Reference_ID
public static final int COSTINGLEVEL_AD_Reference_ID
CostingLevel AD_Reference_ID=355- See Also:
- Constant Field Values
-
COSTINGLEVEL_BatchLot
public static final String COSTINGLEVEL_BatchLot
Batch/Lot = B- See Also:
- Constant Field Values
-
COSTINGLEVEL_Client
public static final String COSTINGLEVEL_Client
Client = C- See Also:
- Constant Field Values
-
COSTINGLEVEL_Organization
public static final String COSTINGLEVEL_Organization
Organization = O- See Also:
- Constant Field Values
-
COSTINGMETHOD_AD_Reference_ID
public static final int COSTINGMETHOD_AD_Reference_ID
CostingMethod AD_Reference_ID=122- See Also:
- Constant Field Values
-
COSTINGMETHOD_AveragePO
public static final String COSTINGMETHOD_AveragePO
Average PO = A- See Also:
- Constant Field Values
-
COSTINGMETHOD_Fifo
public static final String COSTINGMETHOD_Fifo
Fifo = F- See Also:
- Constant Field Values
-
COSTINGMETHOD_LastInvoice
public static final String COSTINGMETHOD_LastInvoice
Last Invoice = i- See Also:
- Constant Field Values
-
COSTINGMETHOD_AverageInvoice
public static final String COSTINGMETHOD_AverageInvoice
Average Invoice = I- See Also:
- Constant Field Values
-
COSTINGMETHOD_Lifo
public static final String COSTINGMETHOD_Lifo
Lifo = L- See Also:
- Constant Field Values
-
COSTINGMETHOD_LastPOPrice
public static final String COSTINGMETHOD_LastPOPrice
Last PO Price = p- See Also:
- Constant Field Values
-
COSTINGMETHOD_StandardCosting
public static final String COSTINGMETHOD_StandardCosting
Standard Costing = S- See Also:
- Constant Field Values
-
COSTINGMETHOD_UserDefined
public static final String COSTINGMETHOD_UserDefined
User Defined = U- See Also:
- Constant Field Values
-
COSTINGMETHOD__
public static final String COSTINGMETHOD__
_ = x- See Also:
- Constant Field Values
-
GAAP_AD_Reference_ID
public static final int GAAP_AD_Reference_ID
GAAP AD_Reference_ID=123- See Also:
- Constant Field Values
-
GAAP_GermanHGB
public static final String GAAP_GermanHGB
German HGB = DE- See Also:
- Constant Field Values
-
GAAP_FrenchAccountingStandard
public static final String GAAP_FrenchAccountingStandard
French Accounting Standard = FR- See Also:
- Constant Field Values
-
GAAP_InternationalGAAP
public static final String GAAP_InternationalGAAP
International GAAP = UN- See Also:
- Constant Field Values
-
GAAP_USGAAP
public static final String GAAP_USGAAP
US GAAP = US- See Also:
- Constant Field Values
-
GAAP_CustomAccountingRules
public static final String GAAP_CustomAccountingRules
Custom Accounting Rules = XX- See Also:
- Constant Field Values
-
TAXCORRECTIONTYPE_AD_Reference_ID
public static final int TAXCORRECTIONTYPE_AD_Reference_ID
TaxCorrectionType AD_Reference_ID=392- See Also:
- Constant Field Values
-
TAXCORRECTIONTYPE_Write_OffAndDiscount
public static final String TAXCORRECTIONTYPE_Write_OffAndDiscount
Write-off and Discount = B- See Also:
- Constant Field Values
-
TAXCORRECTIONTYPE_DiscountOnly
public static final String TAXCORRECTIONTYPE_DiscountOnly
Discount only = D- See Also:
- Constant Field Values
-
TAXCORRECTIONTYPE_None
public static final String TAXCORRECTIONTYPE_None
None = N- See Also:
- Constant Field Values
-
TAXCORRECTIONTYPE_Write_OffOnly
public static final String TAXCORRECTIONTYPE_Write_OffOnly
Write-off only = W- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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, 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
-
setAD_OrgOnly_ID
public void setAD_OrgOnly_ID(int AD_OrgOnly_ID)
Set Only Organization.- Specified by:
setAD_OrgOnly_ID
in interfaceI_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 interfaceI_C_AcctSchema
- Returns:
- Create posting entries only for this organization
-
setAutoPeriodControl
public void setAutoPeriodControl(boolean AutoPeriodControl)
Set Automatic Period Control.- Specified by:
setAutoPeriodControl
in interfaceI_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 interfaceI_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 interfaceI_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 interfaceI_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 interfaceI_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 interfaceI_C_AcctSchema
- Returns:
- C_AcctSchema_UU
-
getC_Currency
public I_C_Currency getC_Currency() throws RuntimeException
- Specified by:
getC_Currency
in interfaceI_C_AcctSchema
- Throws:
RuntimeException
-
setC_Currency_ID
public void setC_Currency_ID(int C_Currency_ID)
Set Currency.- Specified by:
setC_Currency_ID
in interfaceI_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 interfaceI_C_AcctSchema
- Returns:
- The Currency for this record
-
setCommitmentType
public void setCommitmentType(String CommitmentType)
Set Commitment Type.- Specified by:
setCommitmentType
in interfaceI_C_AcctSchema
- Parameters:
CommitmentType
- Create Commitment and/or Reservations for Budget Control
-
getCommitmentType
public String getCommitmentType()
Get Commitment Type.- Specified by:
getCommitmentType
in interfaceI_C_AcctSchema
- Returns:
- Create Commitment and/or Reservations for Budget Control
-
setCostingLevel
public void setCostingLevel(String CostingLevel)
Set Costing Level.- Specified by:
setCostingLevel
in interfaceI_C_AcctSchema
- Parameters:
CostingLevel
- The lowest level to accumulate Costing Information
-
getCostingLevel
public String getCostingLevel()
Get Costing Level.- Specified by:
getCostingLevel
in interfaceI_C_AcctSchema
- Returns:
- The lowest level to accumulate Costing Information
-
setCostingMethod
public void setCostingMethod(String CostingMethod)
Set Costing Method.- Specified by:
setCostingMethod
in interfaceI_C_AcctSchema
- Parameters:
CostingMethod
- Indicates how Costs will be calculated
-
getCostingMethod
public String getCostingMethod()
Get Costing Method.- Specified by:
getCostingMethod
in interfaceI_C_AcctSchema
- Returns:
- Indicates how Costs will be calculated
-
getC_Period
public I_C_Period getC_Period() throws RuntimeException
- Specified by:
getC_Period
in interfaceI_C_AcctSchema
- Throws:
RuntimeException
-
setC_Period_ID
public void setC_Period_ID(int C_Period_ID)
Set Period.- Specified by:
setC_Period_ID
in interfaceI_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 interfaceI_C_AcctSchema
- Returns:
- Period of the Calendar
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_C_AcctSchema
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_C_AcctSchema
- Returns:
- Optional short description of the record
-
setGAAP
public void setGAAP(String GAAP)
Set GAAP.- Specified by:
setGAAP
in interfaceI_C_AcctSchema
- Parameters:
GAAP
- Generally Accepted Accounting Principles
-
getGAAP
public String getGAAP()
Get GAAP.- Specified by:
getGAAP
in interfaceI_C_AcctSchema
- Returns:
- Generally Accepted Accounting Principles
-
setHasAlias
public void setHasAlias(boolean HasAlias)
Set Use Account Alias.- Specified by:
setHasAlias
in interfaceI_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 interfaceI_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 interfaceI_C_AcctSchema
- Parameters:
HasCombination
- Combination of account elements are checked
-
isHasCombination
public boolean isHasCombination()
Get Use Account Combination Control.- Specified by:
isHasCombination
in interfaceI_C_AcctSchema
- Returns:
- Combination of account elements are checked
-
setIsAccrual
public void setIsAccrual(boolean IsAccrual)
Set Accrual.- Specified by:
setIsAccrual
in interfaceI_C_AcctSchema
- Parameters:
IsAccrual
- Indicates if Accrual or Cash Based accounting will be used
-
isAccrual
public boolean isAccrual()
Get Accrual.- Specified by:
isAccrual
in interfaceI_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 interfaceI_C_AcctSchema
- Parameters:
IsAdjustCOGS
- Adjust Cost of Good Sold
-
isAdjustCOGS
public boolean isAdjustCOGS()
Get Adjust COGS.- Specified by:
isAdjustCOGS
in interfaceI_C_AcctSchema
- Returns:
- Adjust Cost of Good Sold
-
setIsAllowNegativePosting
public void setIsAllowNegativePosting(boolean IsAllowNegativePosting)
Set Allow Negative Posting.- Specified by:
setIsAllowNegativePosting
in interfaceI_C_AcctSchema
- Parameters:
IsAllowNegativePosting
- Allow to post negative accounting values
-
isAllowNegativePosting
public boolean isAllowNegativePosting()
Get Allow Negative Posting.- Specified by:
isAllowNegativePosting
in interfaceI_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 interfaceI_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 interfaceI_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 interfaceI_C_AcctSchema
- Parameters:
IsExplicitCostAdjustment
- Post the cost adjustment explicitly
-
isExplicitCostAdjustment
public boolean isExplicitCostAdjustment()
Get Explicit Cost Adjustment.- Specified by:
isExplicitCostAdjustment
in interfaceI_C_AcctSchema
- Returns:
- Post the cost adjustment explicitly
-
setIsPostIfClearingEqual
public void setIsPostIfClearingEqual(boolean IsPostIfClearingEqual)
Set Post if Clearing Equal.- Specified by:
setIsPostIfClearingEqual
in interfaceI_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 interfaceI_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 interfaceI_C_AcctSchema
- Parameters:
IsPostServices
- Differentiate between Services and Product Receivable/Payables
-
isPostServices
public boolean isPostServices()
Get Post Services Separately.- Specified by:
isPostServices
in interfaceI_C_AcctSchema
- Returns:
- Differentiate between Services and Product Receivable/Payables
-
setIsTradeDiscountPosted
public void setIsTradeDiscountPosted(boolean IsTradeDiscountPosted)
Set Post Trade Discount.- Specified by:
setIsTradeDiscountPosted
in interfaceI_C_AcctSchema
- Parameters:
IsTradeDiscountPosted
- Generate postings for trade discounts
-
isTradeDiscountPosted
public boolean isTradeDiscountPosted()
Get Post Trade Discount.- Specified by:
isTradeDiscountPosted
in interfaceI_C_AcctSchema
- Returns:
- Generate postings for trade discounts
-
getM_CostType
public I_M_CostType getM_CostType() throws RuntimeException
- Specified by:
getM_CostType
in interfaceI_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 interfaceI_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 interfaceI_C_AcctSchema
- Returns:
- Type of Cost (e.g. Current, Plan, Future)
-
setName
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_C_AcctSchema
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_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 interfaceI_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 interfaceI_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 interfaceI_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 interfaceI_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 interfaceI_C_AcctSchema
- Parameters:
Processing
- Process Now
-
isProcessing
public boolean isProcessing()
Get Process Now.- Specified by:
isProcessing
in interfaceI_C_AcctSchema
- Returns:
- Process Now
-
setSeparator
public void setSeparator(String Separator)
Set Element Separator.- Specified by:
setSeparator
in interfaceI_C_AcctSchema
- Parameters:
Separator
- Element Separator
-
getSeparator
public String getSeparator()
Get Element Separator.- Specified by:
getSeparator
in interfaceI_C_AcctSchema
- Returns:
- Element Separator
-
setTaxCorrectionType
public void setTaxCorrectionType(String TaxCorrectionType)
Set Tax Correction.- Specified by:
setTaxCorrectionType
in interfaceI_C_AcctSchema
- Parameters:
TaxCorrectionType
- Type of Tax Correction
-
getTaxCorrectionType
public String getTaxCorrectionType()
Get Tax Correction.- Specified by:
getTaxCorrectionType
in interfaceI_C_AcctSchema
- Returns:
- Type of Tax Correction
-
-