📚 SAP Business One SDK Help

AdditionalExpenses Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a record to the object table in SAP Business One company database.
Public Method CloseNot supported.
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 RemoveDeletes a record from the object table.
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 BrowserReturns the DataBrowser object.
Public Property DistributionMethodSets or returns a valid value of BoAeDistMthd type that specifies the distribution method of the additional expenses.

Field name: DistrbMthd

Public Property DistributionRuleThe distribution rule for allocating costs and revenues (both direct and indirect) to one or more cost centers.

This is a foreign key to the DistributionRule object.

Field name: OcrCode

Public Property DistributionRule2Multiple distribution rules for allocating costs and revenues (both direct and indirect) to one or more cost centers.

Field name: OcrCode2

Public Property DistributionRule3Multiple distribution rules for allocating costs and revenues (both direct and indirect) to one or more cost centers.

Field name: OcrCode3

Public Property DistributionRule4Multiple distribution rules for allocating costs and revenues (both direct and indirect) to one or more cost centers.

Field name: OcrCode4

Public Property DistributionRule5Multiple distribution rules for allocating costs and revenues (both direct and indirect) to one or more cost centers.

Field name: OcrCode5

Public Property DrawingMethod

The calculation method for freight per row. The calculation method is relevant when you copy rows from a base document to a target document. Field name: BaseMethod

Public Property ExpensCodeReturns the unique ID (primary key) of the additional expense. SAP Business One assigns a sequential number when adding an additional expense.

Field name: ExpnsCode

Public Property ExpenseAccountSets or returns the expense account number. You can set only accounts that are defined as Expenses type in Chart of Accounts.

Field name: ExpnsAcct

Length: 15 characters

This is a foreign key to the ChartOfAccounts object.

Public Property ExpenseExemptedAccountSets or returns the expense exempted account.

Field name: ExpnsExAct

Length: 15 characters

This is a foreign key to the ChartOfAccounts object.

Public Property FixedAmountExpensesSets or returns the fixed amount of the expense.

Field name: ExpFixSum

Public Property FixedAmountRevenuesSets or returns the fixed revenue amount of the expense.

Field name: RevFixSum

Public Property FreightOffsetAccountSets or returns the freight offset account.

Field name: ExpOfstAc

Length: 15 characters

This is a foreign key to the ChartOfAccounts object.

Public Property FreightTypeIndicates the type of freight expense.

Field name: ExpnsType

Public Property FreightTypeForBolloproperty FreightTypeForBollo
Public Property GrossFreightproperty GrossFreight
Public Property Includein1099Sets or returns a valid value that determines wether or not to include the expense in the 1099 form.

Field name: In1099

Public Property InputVATGroupSets or returns the input VAT group.

Field name: VatGroupi

Length: 8 characters

This is a foreign key to the VatGroups object.

Public Property LastPurchasePrice

Indicates whether to update the last purchase price list after adding an A/P invoice that includes a freight amount per row. Field name: LstPchPrce

Public Property NameSets or returns the expense name.

Field name: ExpnsName

Length: 20 characters

Public Property OutputVATGroupSets or returns the output VAT group.

Field name: VatGroupo

Length: 8 characters

This is a foreign key to the VatGroups object.

Public Property ProjectThe project that relates to the freight.

Field: Project.

Length: 20 characters.

Public Property RevenuesAccountSets or returns the revenues account. You can set only accounts that are defined as Revenues type in Chart of Accounts.

Field name: RevAcct

Length: 15 characters

This is a foreign key to the ChartOfAccounts object.

Public Property RevenuesExemptedAccountSets or returns the revenues exempted account.

Field name: RevExmAcct

Length: 15 characters

This is a foreign key to the ChartOfAccounts object.

Public Property SACCodeproperty SACCode
Public Property SAFTProductTypeStandard Audit File-Tax (SAF-T) product types according to the Portuguese tax authority.

Field name: ProdctType.

Public Property SAFTProductTypeExStandard Audit File-Tax (SAF-T) define-new option for product types according to the Portuguese tax authority.

Field name: ProdTypeEx.

Length: 10 characters.

Public Property Stock

Indicates whether to add the freight amount, either in the row level or the total level, to the item's cost when working with perpetual inventory. Field name: Stock.

Public Property TaxLiableSets or returns a valid value of BoYesNoEnum type that specifies whether or not the additional expense is VAT liable.

Field name: TaxLiable

Public Property UserFieldsReturns the UserFields object.
Public Property WTLiableReturns the whether or not the additional expense is subject to withholding tax.

Field name: TaxLiable

Length: 1 character

See Also