biuan SAP® BUSINESS ONE SDK
API Documents / Documents Additional Expenses

Description

DocumentsAdditionalExpenses is a child object of Documents object and represents the documents of additional expenses in the Marketing Documents module.

The source table for each document is according to the document type as follows: INV3, RIN3, DLN3, RDN3, RDR3, QUT3, PCH3, RPC3, PDN3, RPD3, POR3, and DRF3.

Object Model

Remarks

Mandatory fields in SAP Business One: ExpenseCode and of Name of AdditionalExpenses object.

For each type of additional expense you can add one row that summarizes all expenses of that type.

To display the form in the application, first define expenses in documents as follows:

    1. Select Administration --> System Initialization --> Document Settings.
    2. In the General tab, select Manage Expenses In Documents.
    3. Click Define Expenses.

Then,

  • For INV3 table, select Sales - A/R --> A/R Invoice. Click Add. Expenses.
  • For RIN3 table, select Sales - A/R --> A/R Credit Memo. Click Add. Expenses.
  • For DLN3 table, select Sales - A/R --> Delivery. Click Add. Expenses.
  • For RDN3 table, select Sales - A/R --> Returns. Click Add. Expenses.
  • For RDR3 table, select Sales - A/R --> Order. Click Add. Expenses.
  • For QUT3 table, select Sales - A/R --> Quotation. Click Add. Expenses.
  • For PCH3 table, select Purchasing - A/P --> A/P Invoice. Click Add. Expenses.
  • For RPC3 table, select Purchasing - A/P --> A/P Credit Memo. Click Add. Expenses.
  • For PDN3 table, select Purchasing - A/P --> Goods Receipt PO. Click Add. Expenses.
  • For RPD3 table, select Purchasing - A/P --> Goods Returns. Click Add. Expenses.
  • For POR3 table, select Purchasing - A/P --> A/R Invoice. Click Add. Expenses.
  • For DRF3 table, select Sales - A/R (or Purchasing - A/P) --> Document Draft. Set your selection criteria, and click OK. Click Add. Expenses.

See Also

SAP® B1 DI-API C# definition

public class DocumentsAdditionalExpensesClass : IDocumentsAdditionalExpenses, DocumentsAdditionalExpenses { public virtual BoYesNoEnum AquisitionTax { get; } public virtual int BaseDocEntry { get; set; } public virtual int BaseDocLine { get; set; } public virtual int BaseDocType { get; set; } public virtual int BaseDocumentReference { get; } public virtual int Count { get; } public virtual double DeductibleTaxSum { get; set; } public virtual double DeductibleTaxSumFC { get; } public virtual double DeductibleTaxSumSys { get; } public virtual BoAdEpnsDistribMethods DistributionMethod { get; set; } public virtual string DistributionRule { get; set; } public virtual string DistributionRule2 { get; set; } public virtual string DistributionRule3 { get; set; } public virtual string DistributionRule4 { get; set; } public virtual string DistributionRule5 { get; set; } public virtual double EqualizationTaxFC { get; } public virtual double EqualizationTaxPercent { get; } public virtual double EqualizationTaxSum { get; } public virtual double EqualizationTaxSys { get; } public virtual int ExpenseCode { get; set; } public virtual BoYesNoEnum LastPurchasePrice { get; set; } public virtual double LineGross { get; set; } public virtual double LineGrossFC { get; } public virtual double LineGrossSys { get; } public virtual int LineNum { get; } public virtual double LineTotal { get; set; } public virtual double LineTotalFC { get; } public virtual double LineTotalSys { get; } public virtual double PaidToDate { get; } public virtual double PaidToDateFC { get; } public virtual double PaidToDateSys { get; } public virtual string Project { get; set; } public virtual string Remarks { get; set; } public virtual BoStatus Status { get; } public virtual BoYesNoEnum Stock { get; set; } public virtual int TargetAbsEntry { get; } public virtual int TargetType { get; } public virtual string TaxCode { get; set; } public virtual SAPbobsCOM.TaxJurisdictions TaxJurisdictions { get; } public virtual BoYesNoEnum TaxLiable { get; } public virtual double TaxPaid { get; } public virtual double TaxPaidFC { get; } public virtual double TaxPaidSys { get; } public virtual double TaxPercent { get; } public virtual double TaxSum { get; set; } public virtual double TaxSumFC { get; } public virtual double TaxSumSys { get; } public virtual double TaxTotalSum { get; } public virtual double TaxTotalSumFC { get; } public virtual double TaxTotalSumSys { get; } public virtual BoAdEpnsTaxTypes TaxType { get; } public virtual SAPbobsCOM.UserFields UserFields { get; } public virtual string VatGroup { get; set; } public virtual BoYesNoEnum WTLiable { get; set; } public extern DocumentsAdditionalExpensesClass(); public virtual extern void Add(); public virtual extern void SetCurrentLine(int LineNum); }

Related information


Documents Documents Object· Table: OIGE OIGN
Documents is a business object that represents the header data of documents in the Marketing Documents and Receipts module and the Inventory and Production module of SAP Business One application. The source table for each document is according...


Tax Jurisdictions TaxJurisdictions Object· Table: PCH4
Represents the tax amount of a document. Source table: PCH4.   TaxJurisdictions is a child object of the following existing objects: Document_Lines object (Source table: PCh2) Document_LinesAdditionalExpenses object (Source table:...
   Parent: Documents Additional Expenses DocumentsAdditionalExpenses Object

Address Extension AddressExtension Object· Table: INV12 IGE12 IGN12
The Bill To and Ship To address for a marketing document. Source table: INV12
   Parent: Documents Documents Object· Table: OIGE OIGN

Document Approval Requests Document_ApprovalRequests Object· Table: OWDDV
Documents_ApprovalRequests is a child object of the Documents object. You can set the remarks field of the approval request. Source table: OWDDV.
   Parent: Documents Documents Object· Table: OIGE OIGN

Document Installments Document_Installments Object
A child object of Documents object representing the installments feature in marketing documents. Source tables:  INV6, OPCH6.
   Parent: Documents Documents Object· Table: OIGE OIGN

Document Lines Document_Lines Object· Table: IGE1 IGN1
Document_Lines is a child object of Documents object and represents the line entries of a document in the Marketing Documents and Receipts module and the Inventory and Production module. The source table for each document is according to the...
   Parent: Documents Documents Object· Table: OIGE OIGN

Document Special Lines Document_SpecialLines Object· Table: INV10
This object represents text and subtotal lines in marketing documents. Source table: INV10 and IN10V (a virtual table for storing calculated values).
   Parent: Documents Documents Object· Table: OIGE OIGN

Document Packages DocumentPackages Object
This object holds a collection of packaging types you can attach to items in Delivery or A/R Invoice documents. Access this object via Documents.Packages property. Source tables: DLN7, DLN8, INV7, INV8.
   Parent: Documents Documents Object· Table: OIGE OIGN


SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates