invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

VATCodeDefinitions: Twinfield VAT code definitions

insert per partition XML

  • Catalog: Twinfield
  • Schema: Masters
  • Label: VAT code definitions

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

Can retrieve data and change data using insert.

Summary

VAT codes to create or change, with their percentages in VATCodeDefinitionPercentages through insert ... identified by and insert ... attach to. A change sends the whole code; status deleted deletes it. Read them through VatCodeSettings and VatCodePercentages.

API Source

  • XML service: webservices/processxml.asmx
  • XML topic: vat

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.

Table Columns

The columns of the table VATCodeDefinitions 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
CODE varchar2 Code VAT code.
COMPANY_CODE varchar2 Company ID
COMPANY_NAME varchar2 Company Name
NAME varchar2 Name Name, at most 40 characters.
SHORTNAME varchar2 itgen_twinfield_shortname Short name, at most 20 characters.
STATUS varchar2 Status active or deleted.
TYPE varchar2 Type sales or purchase.

Keys

Key Column Refers to Kind Description
VATCodeDefinitions_COMPANY_CODE_fk COMPANY_CODE Offices.code Key
VATCodeDefinitions_TYPE_VatCodeTypes_cv TYPE VatCodeTypes.code Key Twinfield documents the codes of the element; the table is write-only, so the data cannot be sampled.

Release Notes

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