SalesInvoiceByNumber: Twinfield Sales Invoice by Number
read only per partition XML
- Catalog:
Twinfield - Schema:
Settings - Label: Sales Invoice by Number
The data in this table is partitioned per value of the COMPANY_CODE column.
Can only retrieve data.
Summary
The head of one sales invoice. An invoice is not a transaction: it carries the customer, the addresses it was sent to and the texts above and below the lines. Its lines are answered by SalesInvoiceLinesByNumber and its VAT by SalesInvoiceVatLinesByNumber.
API Source
- XML service:
webservices/processxml.asmx - XML topic:
salesinvoice - XML path:
/salesinvoice/header
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 of company. | ||
invoicenumber |
`` | Number of the invoice. |
Table Columns
The columns of the table SalesInvoiceByNumber 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 |
|---|---|---|---|---|---|
BANK |
varchar2 |
Bank | / |
||
COMPANY_ |
varchar2 |
Company ID | |||
COMPANY_ |
varchar2 |
Company Name | |||
CURRENCY |
varchar2 |
Currency | / |
||
CUSTOMER |
varchar2 |
Customer | / |
||
DELIVERADDRESSNUMBER |
int32 |
Delivery Address Number | / |
||
DUEDATE |
datetime |
Due Date | / |
||
FOOTERTEXT |
varchar2 |
Footer Text | / |
||
HEADERTEXT |
varchar2 |
Header Text | / |
||
INVOICEADDRESSNUMBER |
int32 |
Invoice Address Number | / |
||
INVOICEDATE |
datetime |
Invoice Date | / |
||
INVOICENUMBER |
varchar2 |
Invoice Number | / |
||
INVOICETYPE |
varchar2 |
Invoice Type | / |
||
OFFICE |
varchar2 |
Office | / |
||
PAYMENTMETHOD |
varchar2 |
Payment Method | / |
One of cash, bank, cheque, cashondelivery or da. | |
PERFORMANCEDATE |
datetime |
Performance Date | / |
||
PERIOD |
varchar2 |
Period | / |
||
STATUS |
varchar2 |
Status | / |
One of default, concept or final. |
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.SalesInvoiceByNumber is added
The table function has 18 columns and can select.
- importance 3