📚 SAP Business One SDK Help

ChartOfAccounts Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a record to the object table in SAP Business One company database.
Public Method GetAsXMLReturns the object from XML data, which is stored as string in a buffer.
Public Method GetByKeyRetrieves and sets the values of the object's properties by the object's absolute key from the Company database.
Public Method RemoveNot supported.
Public Method SaveToFileSave the object to a file as XML data.
Public Method SaveXMLSaves the object data to XML formatted data.
Public Method UpdateUpdates the object data in the company database.

Public Properties

Public Property AccountLevelReturns the level of the account.

Field name: Levels.

Public Property AccountPurposeCodeproperty AccountPurposeCode
Public Property AccountTypeSets or returns a valid value of BoAccountTypes that specifies the account type (revenues, expenses, or other) for active accounts only.

Field name: ActType.

Public Property AcctCurrencySets or returns the currency in which all the journal entries for that account are recorded.

Field name: ActCurr.

Length: 3 characters.

Public Property ActiveAccountSets or returns a valid value of BoYesNoEnum type that specifies whether the account is an active account or just a title. title is used to organize and display data in financial reports, and can summarize several active accounts or several active accounts and titles together.

Field name: Postable.

Public Property AllowChangeVatGroupSets or returns a valid value of BoYesNoEnum type that specifies whether or not to allow change of the VAT group.

Field name: VatChange.

Public Property AllowMultipleLinkingSpecify whether to link this account more than once within the same financial template.

Field: MultiLink.

Public Property BalanceReturns the account balance in local currency.

Field name: CurrTotal.

Public Property Balance_FrgnCurrReturns the account balance in foreign currency.

Field name: FcTotal.

Public Property Balance_syscurrReturns the account balance in system currency.

Field name: SysTotal).

Public Property BlockManualPostingproperty BlockManualPosting
Public Property BPLIDproperty BPLID
Public Property BPLNameproperty BPLName
Public Property BrowserReturns the DataBrowser object.
Public Property BudgetAccountSets or returns a valid value of BoYesNoEnum type that specifies whether or not the account (active account only) is relevant to budget management.
Public Property CashAccountSets or returns a valid value of BoYesNoEnum type that specifies whether the account is a monetary account or indexed account.

Field name: CashBox.

Public Property CashFlowRelevantproperty CashFlowRelevant
Public Property CategorySets or returns this chart of account category.

Field name: category.

This is a foreign key to the OACG object.

Public Property CodeSets or returns the G/L account code.

Field name: AcctCode.

Mandatory field in SAP Business One when not working with segmentation.

Length: 15 characters.

Public Property CostAccountingOnlyproperty CostAccountingOnly
Public Property CostElementCodeproperty CostElementCode
Public Property CostElementRelevantproperty CostElementRelevant
Public Property DataExportCodeSets or returns an alternate code for identifying the account in data that is exported to other programs.

Field name: ExportCode.

Length: 10 characters.

Public Property DatevAccountProperty DatevAccount
Public Property DatevAutoAccountProperty DatevAutoAccount
Public Property DatevFirstDataEntryProperty DatevFirstDataEntry
Public Property DefaultVatGroupSets or returns the default VAT group.

Field name: DfltVat.

Length: 8 characters.

This is a foreign key to the VatGroups object.

Public Property DetailsSets or returns details about the account.

Field name: Details.

Length: 254 characters.

Public Property DistributionRule2RelevantSpecify whether the G/L account is relevant to the distribution rules of corresponding dimensions.

Field: Dim2Relvnt.

Public Property DistributionRule3RelevantSpecify whether the G/L account is relevant to the distribution rules of corresponding dimensions.

Field: Dim3Relvnt.

Public Property DistributionRule4RelevantSpecify whether the G/L account is relevant to the distribution rules of corresponding dimensions.

Field: Dim4Relvnt.

Public Property DistributionRule5RelevantSpecify whether the G/L account is relevant to the distribution rules of corresponding dimensions.

Field: Dim5Relvnt.

Public Property DistributionRuleRelevantSpecify whether the G/L account is relevant to the distribution rules of corresponding dimensions.

Field: Dim1Relvnt.

Public Property ExchangeRateDifferenceExchange Rate Differences.

Field name: ExchRate.

Public Property ExpenseClassificationCategoryField name: ExClassCat.
Public Property ExpenseClassificationTypeField name: ExClassTyp.
Public Property ExternalCodeSets or returns an additional code that is used for information only. The external code allows you to refine queries when generating customized reports.

Field name: AccntntCod.

Length: 12 characters.

Public Property ExternalReconNoReturns the external reconciliation number.

Field name: ExtrMatch.

Public Property FatherAccountKeySets or returns the parent account key that is used to define the G/L account location in drawer.

Field name: FatherNum.

Mandatory property.

Length: 15 characters.

Public Property ForeignNameSets or returns an alternative account name (for example in foreign language).

Field name: FrgnName.

Length: 100 characters.

Public Property FormatCodeSets or returns the account number when account segmentation is defined in SAP Business One.

Field name: FormatCode.

Length: 210 characters.

Mandatory field in SAP Business One when working with account segmentation

Public Property FrozenForproperty FrozenFor
Public Property FrozenFromproperty FrozenFrom
Public Property FrozenRemarksproperty FrozenRemarks
Public Property FrozenToproperty FrozenTo
Public Property IncomeClassificationCategoryField name: InClassCat.
Public Property IncomeClassificationTypeField name: InClassTyp.
Public Property InternalReconNoReturns the internal reconciliation number (internal reconciliation are also known as financial statement analyses).

Field name: IntrMatch.

Public Property LiableForAdvancesSets or returns a valid value of BoYesNoEnum type that specifies whether or not the account is liable for advances.

Field name: Advance.

Public Property LoadingFactorCodeThe distribution rule for dimension 1 for allocating this account to one or more profit centers.

Field name: OverCode

This is a foreign key to the DistributionRule object.

Public Property LoadingFactorCode2The distribution rule for dimension 2 for allocating this account to one or more profit centers.

Field name: OverCode2

This is a foreign key to the DistributionRule object.

Public Property LoadingFactorCode3The distribution rule for dimension 3 for allocating this account to one or more profit centers.

Field name: OverCode3

This is a foreign key to the DistributionRule object.

Public Property LoadingFactorCode4The distribution rule for dimension 4 for allocating this account to one or more profit centers.

Field name: OverCode4

This is a foreign key to the DistributionRule object.

Public Property LoadingFactorCode5The distribution rule for dimension 5 for allocating this account to one or more profit centers.

Field name: OverCode5

This is a foreign key to the DistributionRule object.

Public Property LoadingTypeIndicates whether the chart of accounts is associated with distribution rules, which are defined in the LoadFactorCode properties.

Field name: OverType

Public Property LockManualTransactionSets or returns a valid value of BoYesNoEnum type that specifies whether or not the account (active account only) can be added to the first two drawers in Chart of Accounts: Assets and Liabilities.

Field name: LocManTran.

Public Property NameSets or returns the account name.

Field name: AcctName.

Length: 100 characters.

Public Property OfficialAccountCodeContains codes from official chart of accounts for mapping system accounts.

Field name: OffcCode.

Length: 15 characters.

Public Property PCN874ReportRelevantproperty PCN874ReportRelevant
Public Property PlanningLevelThe planning level that reflects the typical financial transactions and explains the origin of the data.

Field name: PlngLevel.

Length: 2 characters.

Public Property PrimaryAccountReturns a valid value of BoYesNoEnum type that specifies whether or not the account is a primary account (fixed).

Field name: Fixed.

Public Property PrimaryClosingAccountproperty PrimaryClosingAccount
Public Property ProjectCodeSets or returns the project code related to the account.

Field name: Project.

Length: 8 characters.

This is a foreign key to the Countries table OPRJ (not exposed through the DI API).

Public Property ProjectRelevantSpecify whether the G/L account is relevant to a project.

Field: PrjRelvnt.

Public Property ProtectedSets or returns a valid value of BoYesNoEnum type that specifies whether or not the account is confidential.

Field name: Protected.

Public Property RateConversionSets or returns a valid value of BoYesNoEnum type that specifies whether or not to include the account (active account only) in the calculation of conversion rate differences.

Field name: RateTrans.

Public Property ReconciledAccountSets or returns a valid value of BoYesNoEnum type that specifies whether or not the account is a reconciliation account.

Field name: RealAcct.

Public Property ReferentialAccountCodeproperty ReferentialAccountCode
Public Property RevaluationCoordinatedSets or returns a valid value of BoYesNoEnum type that specifies whether or not the account is coordinated with revaluation.

Field name: RevalMatch.

Public Property StandardAccountCodeproperty StandardAccountCode
Public Property TaxExemptAccount Sets or returns a valid value of BoYesNoEnum type that specifies whether or not the account is VAT exempted.

Field name: ExmIncome.

Public Property TaxLiableAccountField name: .Sets or returns a valid value of BoYesNoEnum type that specifies whether or not the account is liable to VAT.

Field name: .

Public Property TaxonomyCodeproperty TaxonomyCode
Public Property TransactionCodeSets or returns this ChartOfAccount transaction code.

Field name: TransCode.

Length: 4 characters.

This is a foreign key to the OTRC object.

Public Property UserFieldsReturns the UserFields object.
Public Property ValidForproperty ValidFor
Public Property ValidFromproperty ValidFrom
Public Property ValidRemarksproperty ValidRemarks
Public Property ValidToproperty ValidTo
Public Property VATRegNumproperty VATRegNum

See Also