📚 SAP Business One SDK Help

DocumentsAdditionalExpenses Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a new data line to the object.
Public Method SetCurrentLineSets the  active row to a specified row number.

Sets the active row to a specified row number.

Public Properties

Public Property AquisitionTaxSpecifies whether or not the additional expense is subject to acquisition tax. Relevant to input tax groups (A/P) only.

Field name: IsAcquistn.

Public Property BaseDocEntrySets or returns the source document ID.

Field name: DocEntry.

Public Property BaseDocLineSets or returns the line number of the source document.

Field name: BaseLnNum.

Public Property BaseDocTypeSets or returns the source document type.

Field name: BaseType.

Public Property BaseDocumentReferenceReturns this line number.

Field name: LineNum.

Public Property CountReturns total rows in the additional expenses table.
Public Property CUSplitIf this flag is set to true, the amounts that are not subject to withholding tax and are not supplier income amounts are distinguished and split in a standalone report page.

Field name: CUSplit.

Public Property DeductibleTaxSumInternal use only.

Field name: DedVatSum.

Public Property DeductibleTaxSumFCInternal use only.

Field name: DedVatSumF.

Public Property DeductibleTaxSumSysInternal use only.

Field name: DedVatSumS.

Public Property DistributionMethodSets or returns a valid value of BoAdEpnsDistribMethods type that specifies the distribution method of the additional expenses in documents.

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 DocFreightIndicates whether freight costs, including freight tax costs, are included in the calculation of the operating profit and net income. This checkbox is only available in the Brazil localization.

Field name: DocFreight.

Public Property EBooksDetailsproperty EBooksDetails
Public Property EqualizationTaxFCReturns the equalization tax amount, in foreign currency, calculated for the additional expense.

Field name: EquVatSumF.

Public Property EqualizationTaxPercentReturns the equalization tax percentage for the additional expense.

Field name: EquVatPer.

Public Property EqualizationTaxSumReturns the equalization tax amount, in local currency, calculated for the additional expense.

Field name: EquVatSum.

Public Property EqualizationTaxSysReturns the equalization tax amount, in system currency, calculated for the additional expense.

Field name: EquVatSumS.

Public Property ExpenseCodeSets or returns the code of the additional expense as defined by SAP Business One.

Field name: ExpnsCode.

This is a foreign key to the AdditionalExpenses object.

Public Property ExternalCalcTaxAmountproperty ExternalCalcTaxAmount
Public Property ExternalCalcTaxAmountFCproperty ExternalCalcTaxAmountFC
Public Property ExternalCalcTaxAmountSCproperty ExternalCalcTaxAmountSC
Public Property ExternalCalcTaxRateproperty ExternalCalcTaxRate
Public Property LastPurchasePriceSets or returns a valid value that determines whether or not this is the Last Purchase Price.

Field name: LstPchPrce.

Public Property LineGrossproperty LineGross
Public Property LineGrossFCproperty LineGrossFC
Public Property LineGrossSysproperty LineGrossSys
Public Property LineNumReturns this document line number.

Field name: LineNum.

Public Property LineTotalSets or returns the total amount (in local currency) of the additional expense.

Field name: LineTotal.

Public Property LineTotalFCReturns the total amount (in foreign currency) of the additional expense.

Field name: TotalFrgn.

Public Property LineTotalSysReturns the total amount (in system currency) of the additional expense.

Field name: TotalSumSy.

Public Property PaidToDateReturns the paid amount (in local currency) of the additional expense.

Field name: PaidToDate.

Not supported in DI API version 6.5.

Public Property PaidToDateFCReturns the paid amount (in foreign currency) of the additional expense.

Field name: PaidFC.

Not supported in DI API version 6.5.

Public Property PaidToDateSysReturns the paid amount (in system currency) of the additional expense.

Field name: PaidSys.

Not supported in DI API version 6.5.

Public Property ProjectThe project that relates to the freight.

Field: Project.

Length: 20 characters.

Public Property RemarksSets or returns comments regarding the additional expense.

Field name: Comments.

Length: 100 characters.

Public Property StatusReturns a valid value that determines this document Status, (open or Close).

Field name: Status.

Public Property StockSets or returns a valid value that Determines whether or not a Stock exists.

Field name: Stock.

Public Property TargetAbsEntryReturns the Target Absolute Entry of this document.

Field name: TrgAbsEnt.

Public Property TargetTypeReturns the Target Type for this document.

Field name: TrgType.

Public Property TaxCodeSets or returns the sales tax code for the item specified in the row.

Field name: TaxCode.

Length: 8 characters.

This is a foreign key to the SalesTaxCodes object.

Sets or returns the sales tax code for the item specified in the row.

Field name: TaxCode.

Length: 8 characters.

This is a foreign key to the SalesTaxCodes object.

Public Property TaxJurisdictionsReturns the TaxJurisdictions object.
Public Property TaxLiableReturns a valid value of BoYesNoEnum type that specifies whether or not the additional expense is VAT liable.

Field name: TaxStatus.

Public Property TaxPaidNot used.

Field name: LineVat.

Public Property TaxPaidFCNot used.

Field name: LineVatF.

Public Property TaxPaidSysNot used.

Field name: LineVatS.

Public Property TaxPercentReturns the tax percentage for the additional expense.

Field name: VatPrcnt.

Public Property TaxSumThe tax amount, in local currency, calculated for the additional expense.

You can manually adjust the tax amount according to the business need.

Field name: VatSum.

Public Property TaxSumFCReturns the tax amount, in foreign currency, calculated for the additional expense.

Field name: VatSumFrgn.

Public Property TaxSumSysReturns the total tax amount, in system currency, calculated for the additional expense.

Field name: VatSumSy.

Public Property TaxTotalSumReturns the total tax amount (TaxSum + EqualizationTaxSum) in local currency.

Field name: EquVatSum.

Public Property TaxTotalSumFCReturns the total tax amount (TaxSumFC + EqualizationTaxFC) in foreign currency.

Field name: EquVatSumF.

Public Property TaxTotalSumSysReturns the total tax amount ( TaxSumSys + EqualizationTaxSys) in system currency.

Field name: EquVatSumS.

Public Property TaxTypeReturns a valid value of BoAdEpnsTaxTypes type that specifies tax type for the additional expense.

Field name: TaxType.

Public Property UserFieldsReturns the UserFields object.
Public Property VatGroupSets or returns the VAT group for the additional expense.

Field name: VatGroup.

Length: 8 characters.

This is a foreign key to the VatGroups object.

Public Property WTLiableSets or returns a valid value that determines whether or not this document is subject to Withholding Tax.

Field name: TaxStatus.

See Also