Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/2850
Table Type: Company
Table Name: Native – API Tax Setup
Database Table Name: CRONUS UK Ltd_$Native – API Tax Setup$437dbf0e-84ff-417a-965d-ed2bb9650972
Due to how Dynamics BC tables and columns are named, square brackets need to be wrapped around the table name and column names. Below are example queries showing how Native – API Tax Setup can be queried.
Show/hide an example select of all columns
Show/hide an example select of all columns by name
Show/hide an example select of all columns including those from all joined tables
Show/hide columns in Native – API Tax Setup table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Code ![]() | Code | Normal | Code | 20 | Code | nvarchar(40) |
2 | Description ![]() | Description | Normal | Text | 100 | Description | nvarchar(200) |
3 | Total Tax Percentage ![]() | Total Tax Percentage | Normal | Decimal | 12 | Total Tax Percentage | decimal(38,38) |
10 | Last Modified Date Time ![]() | Last Modified Date Time | Normal | DateTime | 8 | Last Modified Date Time | datetime |
20 | VAT Percentage ![]() | VAT Percentage | Normal | Decimal | 12 | VAT Percentage | decimal(38,38) |
21 | VAT Regulation Reference ID ![]() | VAT Regulation Reference ID | Normal | GUID | 16 | VAT Regulation Reference ID | uniqueidentifier |
22 | VAT Regulation Description ![]() | VAT Regulation Description | Normal | Text | 250 | VAT Regulation Description | nvarchar(500) |
30 | City ![]() | City | Normal | Text | 30 | City | nvarchar(60) |
Key to join to the Post Code table.Show/hide example query | |||||||
31 | City Rate ![]() | City Rate | Normal | Decimal | 12 | City Rate | decimal(38,38) |
32 | State ![]() | State | Normal | Code | 2 | State | nvarchar(4) |
33 | State Rate ![]() | State Rate | Normal | Decimal | 12 | State Rate | decimal(38,38) |
40 | GST or HST Code ![]() | GST or HST Code | Normal | Code | 10 | GST or HST Code | nvarchar(20) |
41 | GST or HST Description ![]() | GST or HST Description | Normal | Text | 50 | GST or HST Description | nvarchar(100) |
42 | GST or HST Rate ![]() | GST or HST Rate | Normal | Decimal | 12 | GST or HST Rate | decimal(38,38) |
45 | PST Code ![]() | PST Code | Normal | Code | 10 | PST Code | nvarchar(20) |
46 | PST Description ![]() | PST Description | Normal | Text | 50 | PST Description | nvarchar(100) |
47 | PST Rate ![]() | PST Rate | Normal | Decimal | 12 | PST Rate | decimal(38,38) |
100 | Default ![]() | Default | Normal | Boolean | 4 | Default | tinyint |
8000 | Id ![]() | Id | Normal | GUID | 16 | Id | uniqueidentifier |
9600 | Type ![]() ![]() | Type | Normal | Option | 4 | Type | int |
Available options are:
| |||||||
10010 | Country/Region ![]() | Country/Region | Normal | Option | 4 | ||
2000000000 | $systemId ![]() | System ID | Normal | GUID | 16 | $systemId | uniqueidentifier |
2000000001 | SystemCreatedAt ![]() | Created At | Normal | DateTime | 8 | $systemCreatedAt | datetime |
2000000002 | SystemCreatedBy ![]() | Created By | Normal | GUID | 16 | $systemCreatedBy | uniqueidentifier |
Key to join to the User table.Show/hide example query | |||||||
2000000003 | SystemModifiedAt ![]() | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy ![]() | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |