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
Generated Model for C_AcctSchema
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
CommitmentType AD_Reference_ID=359static final String
None = Nstatic final String
PO Commitment only = Cstatic final String
PO Commitment & Reservation = Bstatic final String
PO/SO Commitment = Ostatic final String
PO/SO Commitment & Reservation = Astatic final String
SO Commitment only = Sstatic final int
CostingLevel AD_Reference_ID=355static final String
Batch/Lot = Bstatic final String
Client = Cstatic final String
Organization = Ostatic final String
_ = xstatic final int
CostingMethod AD_Reference_ID=122static final String
Average Invoice = Istatic final String
Average PO = Astatic final String
Fifo = Fstatic final String
Last Invoice = istatic final String
Last PO Price = pstatic final String
Lifo = Lstatic final String
Standard Costing = Sstatic final String
User Defined = Ustatic final int
GAAP AD_Reference_ID=123static final String
Custom Accounting Rules = XXstatic final String
French Accounting Standard = FRstatic final String
German HGB = DEstatic final String
International GAAP = UNstatic final String
US GAAP = USstatic final int
TaxCorrectionType AD_Reference_ID=392static final String
Discount only = Dstatic final String
None = Nstatic final String
Write-off and Discount = Bstatic final String
Write-off only = WFields 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_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
ConstructorDescriptionX_C_AcctSchema
(Properties ctx, int C_AcctSchema_ID, String trxName) Standard ConstructorX_C_AcctSchema
(Properties ctx, int C_AcctSchema_ID, String trxName, String... virtualColumns) Standard ConstructorX_C_AcctSchema
(Properties ctx, String C_AcctSchema_UU, String trxName) Standard ConstructorX_C_AcctSchema
(Properties ctx, String C_AcctSchema_UU, String trxName, String... virtualColumns) Standard ConstructorX_C_AcctSchema
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Only Organization.int
Get Accounting Schema.Get C_AcctSchema_UU.int
Get Currency.int
Get Period.Get Commitment Type.Get Costing Level.Get Costing Method.Get Description.getGAAP()
Get GAAP.Get Record ID/ColumnNameint
Get Cost Type.getName()
Get Name.int
Get Future Days.int
Get History Days.Get Element Separator.Get Tax Correction.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Accrual.boolean
Get Adjust COGS.boolean
Get Allow Negative Posting.boolean
Get Automatic Period Control.boolean
Get Correct tax for Discounts/Charges.boolean
Get Explicit Cost Adjustment.boolean
Get Use Account Alias.boolean
Get Use Account Combination Control.boolean
Get Post if Clearing Equal.boolean
Get Post Services Separately.boolean
Get Process Now.boolean
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
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
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.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_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 Details
-
COMMITMENTTYPE_AD_Reference_ID
public static final int COMMITMENTTYPE_AD_Reference_IDCommitmentType AD_Reference_ID=359- See Also:
-
COMMITMENTTYPE_POSOCommitmentReservation
PO/SO Commitment & Reservation = A- See Also:
-
COMMITMENTTYPE_POCommitmentReservation
PO Commitment & Reservation = B- See Also:
-
COMMITMENTTYPE_POCommitmentOnly
PO Commitment only = C- See Also:
-
COMMITMENTTYPE_None
None = N- See Also:
-
COMMITMENTTYPE_POSOCommitment
PO/SO Commitment = O- See Also:
-
COMMITMENTTYPE_SOCommitmentOnly
SO Commitment only = S- See Also:
-
COSTINGLEVEL_AD_Reference_ID
public static final int COSTINGLEVEL_AD_Reference_IDCostingLevel AD_Reference_ID=355- See Also:
-
COSTINGLEVEL_BatchLot
Batch/Lot = B- See Also:
-
COSTINGLEVEL_Client
Client = C- See Also:
-
COSTINGLEVEL_Organization
Organization = O- See Also:
-
COSTINGMETHOD_AD_Reference_ID
public static final int COSTINGMETHOD_AD_Reference_IDCostingMethod AD_Reference_ID=122- See Also:
-
COSTINGMETHOD_AveragePO
Average PO = A- See Also:
-
COSTINGMETHOD_Fifo
Fifo = F- See Also:
-
COSTINGMETHOD_LastInvoice
Last Invoice = i- See Also:
-
COSTINGMETHOD_AverageInvoice
Average Invoice = I- See Also:
-
COSTINGMETHOD_Lifo
Lifo = L- See Also:
-
COSTINGMETHOD_LastPOPrice
Last PO Price = p- See Also:
-
COSTINGMETHOD_StandardCosting
Standard Costing = S- See Also:
-
COSTINGMETHOD_UserDefined
User Defined = U- See Also:
-
COSTINGMETHOD__
_ = x- See Also:
-
GAAP_AD_Reference_ID
public static final int GAAP_AD_Reference_IDGAAP AD_Reference_ID=123- See Also:
-
GAAP_GermanHGB
German HGB = DE- See Also:
-
GAAP_FrenchAccountingStandard
French Accounting Standard = FR- See Also:
-
GAAP_InternationalGAAP
International GAAP = UN- See Also:
-
GAAP_USGAAP
US GAAP = US- See Also:
-
GAAP_CustomAccountingRules
Custom Accounting Rules = XX- See Also:
-
TAXCORRECTIONTYPE_AD_Reference_ID
public static final int TAXCORRECTIONTYPE_AD_Reference_IDTaxCorrectionType AD_Reference_ID=392- See Also:
-
TAXCORRECTIONTYPE_Write_OffAndDiscount
Write-off and Discount = B- See Also:
-
TAXCORRECTIONTYPE_DiscountOnly
Discount only = D- See Also:
-
TAXCORRECTIONTYPE_None
None = N- See Also:
-
TAXCORRECTIONTYPE_Write_OffOnly
Write-off only = W- See Also:
-
-
Constructor Details
-
X_C_AcctSchema
Standard Constructor -
X_C_AcctSchema
public X_C_AcctSchema(Properties ctx, int C_AcctSchema_ID, String trxName, String... virtualColumns) Standard Constructor -
X_C_AcctSchema
Standard Constructor -
X_C_AcctSchema
public X_C_AcctSchema(Properties ctx, String C_AcctSchema_UU, String trxName, String... virtualColumns) Standard Constructor -
X_C_AcctSchema
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 -
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
Set C_AcctSchema_UU.- Specified by:
setC_AcctSchema_UU
in interfaceI_C_AcctSchema
- Parameters:
C_AcctSchema_UU
- C_AcctSchema_UU
-
getC_AcctSchema_UU
Get C_AcctSchema_UU.- Specified by:
getC_AcctSchema_UU
in interfaceI_C_AcctSchema
- Returns:
- C_AcctSchema_UU
-
getC_Currency
- 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
Set Commitment Type.- Specified by:
setCommitmentType
in interfaceI_C_AcctSchema
- Parameters:
CommitmentType
- Create Commitment and/or Reservations for Budget Control
-
getCommitmentType
Get Commitment Type.- Specified by:
getCommitmentType
in interfaceI_C_AcctSchema
- Returns:
- Create Commitment and/or Reservations for Budget Control
-
setCostingLevel
Set Costing Level.- Specified by:
setCostingLevel
in interfaceI_C_AcctSchema
- Parameters:
CostingLevel
- The lowest level to accumulate Costing Information
-
getCostingLevel
Get Costing Level.- Specified by:
getCostingLevel
in interfaceI_C_AcctSchema
- Returns:
- The lowest level to accumulate Costing Information
-
setCostingMethod
Set Costing Method.- Specified by:
setCostingMethod
in interfaceI_C_AcctSchema
- Parameters:
CostingMethod
- Indicates how Costs will be calculated
-
getCostingMethod
Get Costing Method.- Specified by:
getCostingMethod
in interfaceI_C_AcctSchema
- Returns:
- Indicates how Costs will be calculated
-
getC_Period
- 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
Set Description.- Specified by:
setDescription
in interfaceI_C_AcctSchema
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_C_AcctSchema
- Returns:
- Optional short description of the record
-
setGAAP
Set GAAP.- Specified by:
setGAAP
in interfaceI_C_AcctSchema
- Parameters:
GAAP
- Generally Accepted Accounting Principles
-
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
- 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
Set Name.- Specified by:
setName
in interfaceI_C_AcctSchema
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getName
in interfaceI_C_AcctSchema
- Returns:
- Alphanumeric identifier of the entity
-
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
Set Element Separator.- Specified by:
setSeparator
in interfaceI_C_AcctSchema
- Parameters:
Separator
- Element Separator
-
getSeparator
Get Element Separator.- Specified by:
getSeparator
in interfaceI_C_AcctSchema
- Returns:
- Element Separator
-
setTaxCorrectionType
Set Tax Correction.- Specified by:
setTaxCorrectionType
in interfaceI_C_AcctSchema
- Parameters:
TaxCorrectionType
- Type of Tax Correction
-
getTaxCorrectionType
Get Tax Correction.- Specified by:
getTaxCorrectionType
in interfaceI_C_AcctSchema
- Returns:
- Type of Tax Correction
-