invantive documentation
Invantive Support ForumsLog In / Sign Up

SalesInvoiceLinesByNumber: Twinfield Sales Invoice Lines by Number

read only per partition XML

  • Catalog: Twinfield
  • Schema: Settings
  • Label: Sales Invoice Lines by Number

The data in this table is partitioned per value of the COMPANY_CODE column.

Can only retrieve data.

Summary

The lines of one sales invoice, with the item, the quantity, the price and what that came to.

API Source

  • XML service: webservices/processxml.asmx
  • XML topic: salesinvoice
  • XML path: /salesinvoice/lines/line

Performance Characteristics

Characteristic Value
Average access latency (ms) 54
Full scan rows per minute 1,690
Point query rows per minute 1,111
Write rows per minute 378

The result can be cached on the client.

Parameters

Name Data Type Required Default Documentation
code `` Code of the invoice type, such as FACTUUR.
COMPANY_CODE `` Code of company.
invoicenumber `` Number of the invoice.

Table Columns

The columns of the table SalesInvoiceLinesByNumber are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
ALLOWDISCOUNTORPREMIUM char Allow Discount or Premium /soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/salesinvoice/lines/line/allowdiscountorpremium
ARTICLE varchar2 Item /soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/salesinvoice/lines/line/article
COMPANY_CODE varchar2 Company ID
COMPANY_NAME varchar2 Company Name
DESCRIPTION varchar2 Description /soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/salesinvoice/lines/line/description
DIM1 varchar2 Dimension 1 /soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/salesinvoice/lines/line/dim1 General ledger account the turnover is booked on.
DIM1_NAME varchar2 Dimension 1 Name /soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/salesinvoice/lines/line/dim1/name
FREETEXT1 varchar2 Free Text 1 /soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/salesinvoice/lines/line/freetext1
FREETEXT2 varchar2 Free Text 2 /soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/salesinvoice/lines/line/freetext2
FREETEXT3 varchar2 Free Text 3 /soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/salesinvoice/lines/line/freetext3
ID int32 Line Identifier /soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/salesinvoice/lines/line/id
PERFORMANCEDATE datetime Performance Date /soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/salesinvoice/lines/line/performancedate
PERFORMANCETYPE varchar2 Performance Type /soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/salesinvoice/lines/line/performancetype
QUANTITY decimal Quantity /soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/salesinvoice/lines/line/quantity
SUBARTICLE varchar2 Sub-item /soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/salesinvoice/lines/line/subarticle
UNITS decimal Units /soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/salesinvoice/lines/line/units
UNITSPRICEEXCL decimal Unit Price Excluding VAT /soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/salesinvoice/lines/line/unitspriceexcl
VALUEEXCL decimal Value Excluding VAT /soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/salesinvoice/lines/line/valueexcl
VALUEINC decimal Value Including VAT /soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/salesinvoice/lines/line/valueinc
VATCODE varchar2 VAT Code /soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/salesinvoice/lines/line/vatcode
VATVALUE decimal VAT Value /soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/salesinvoice/lines/line/vatvalue

Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

Changes of This Table, 26.0 to 27.0

Table function Twinfield.Settings.SalesInvoiceLinesByNumber is added

The table function has 21 columns and can select.

  • importance 3

All changes of the driver, 26.0 to 27.0