biuan SAP® BUSINESS ONE SDK
DTW A/R Invoice - Row Structure
API Document Special Lines

Description

This object represents text and subtotal lines in marketing documents.

Source table: INV10 and IN10V (a virtual table for storing calculated values).

Remarks

In text line, you can add remarks.

In subtotal line, you can calculate subtotal of previous lines.

Text and subtotal lines cannot be drawn from the base document.

Example

Adding a Subtotal Special Line (Visual Basic)
Sub AddSpecialLine() 'Adding special line 'Assume Qut is an existing Quotation Document Object 'Setting the type of special line to be sub total Qut.SpecialLines.LineType = SAPbobsCOM.BoDocSpecialLineType.dslt_Subtotal 'Setting the after line number 'A number that says after which line the special line will appear Qut.SpecialLines.AfterLineNumber = 2 'Check for errors lRetCode = Qut.Update() If lRetCode <> 0 Then oCompany.GetLastError(lErrCode, sErrMsg) MsgBox(lErrCode & " " & sErrMsg) ' Display error message Else MsgBox("Special Lines Added") End If End Sub

See Also

SAP® B1 DI-API C# definition

public class Document_SpecialLinesClass : IDocument_SpecialLines, Document_SpecialLines { public virtual int AfterLineNumber { get; set; } public virtual int Count { get; } public virtual double Freight1 { get; } public virtual double Freight1FC { get; } public virtual double Freight1SC { get; } public virtual double Freight2 { get; } public virtual double Freight2FC { get; } public virtual double Freight2SC { get; } public virtual double Freight3 { get; } public virtual double Freight3FC { get; } public virtual double Freight3SC { get; } public virtual double GrossTotal { get; } public virtual double GrossTotalFC { get; } public virtual double GrossTotalSC { get; } public virtual int LineNum { get; } public virtual string LineText { get; set; } public virtual BoDocSpecialLineType LineType { get; set; } public virtual int OrderNumber { get; } public virtual double Subtotal { get; } public virtual double SubtotalFC { get; } public virtual double SubtotalSC { get; } public virtual double TaxAmount { get; } public virtual double TaxAmountFC { get; } public virtual double TaxAmountSC { get; } public extern Document_SpecialLinesClass(); public virtual extern void Add(); public virtual extern void Delete(); public virtual extern void SetCurrentLine(int LineNum); }

Related information


Bo Doc Special Line Type BoDocSpecialLineType Enumeration
Defines the line type of special lines in marketing documents.
   Parent: Document Special Lines Document_SpecialLines Object· Table: INV10


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