Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/112
Table Type: Company
Table Name: Sales Invoice Header
Database Table Name: CRONUS UK Ltd_$Sales Invoice Header$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 Sales Invoice Header can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Sell-to Customer No_]
,[No_]
,[Bill-to Customer No_]
,[Bill-to Name]
,[Bill-to Name 2]
,[Bill-to Address]
,[Bill-to Address 2]
,[Bill-to City]
,[Bill-to Contact]
,[Your Reference]
,[Ship-to Code]
,[Ship-to Name]
,[Ship-to Name 2]
,[Ship-to Address]
,[Ship-to Address 2]
,[Ship-to City]
,[Ship-to Contact]
,[Order Date]
,[Posting Date]
,[Shipment Date]
,[Posting Description]
,[Payment Terms Code]
,[Due Date]
,[Payment Discount _]
,[Pmt_ Discount Date]
,[Shipment Method Code]
,[Location Code]
,[Shortcut Dimension 1 Code]
,[Shortcut Dimension 2 Code]
,[Customer Posting Group]
,[Currency Code]
,[Currency Factor]
,[Customer Price Group]
,[Prices Including VAT]
,[Invoice Disc_ Code]
,[Customer Disc_ Group]
,[Language Code]
,[Format Region]
,[Salesperson Code]
,[Order No_]
,[No_ Printed]
,[On Hold]
,[Applies-to Doc_ Type]
,[Applies-to Doc_ No_]
,[Bal_ Account No_]
,[VAT Registration No_]
,[Reason Code]
,[Gen_ Bus_ Posting Group]
,[EU 3-Party Trade]
,[Transaction Type]
,[Transport Method]
,[VAT Country_Region Code]
,[Sell-to Customer Name]
,[Sell-to Customer Name 2]
,[Sell-to Address]
,[Sell-to Address 2]
,[Sell-to City]
,[Sell-to Contact]
,[Bill-to Post Code]
,[Bill-to County]
,[Bill-to Country_Region Code]
,[Sell-to Post Code]
,[Sell-to County]
,[Sell-to Country_Region Code]
,[Ship-to Post Code]
,[Ship-to County]
,[Ship-to Country_Region Code]
,[Bal_ Account Type]
,[Exit Point]
,[Correction]
,[Document Date]
,[External Document No_]
,[Area]
,[Transaction Specification]
,[Payment Method Code]
,[Shipping Agent Code]
,[Package Tracking No_]
,[Pre-Assigned No_ Series]
,[No_ Series]
,[Order No_ Series]
,[Pre-Assigned No_]
,[User ID]
,[Source Code]
,[Tax Area Code]
,[Tax Liable]
,[VAT Bus_ Posting Group]
,[VAT Base Discount _]
,[Invoice Discount Calculation]
,[Invoice Discount Value]
,[Prepayment No_ Series]
,[Prepayment Invoice]
,[Prepayment Order No_]
,[Quote No_]
,[Company Bank Account Code]
,[Sell-to Phone No_]
,[Sell-to E-Mail]
,[Payment Instructions]
,[Payment Instructions Name]
,[VAT Reporting Date]
,[Payment Reference]
,[Work Description]
,[Dimension Set ID]
,[Payment Service Set ID]
,[Document Exchange Identifier]
,[Document Exchange Status]
,[Doc_ Exch_ Original Identifier]
,[Coupled to CRM]
,[Direct Debit Mandate ID]
,[Cust_ Ledger Entry No_]
,[Campaign No_]
,[Sell-to Contact No_]
,[Bill-to Contact No_]
,[Opportunity No_]
,[Responsibility Center]
,[Price Calculation Method]
,[Allow Line Disc_]
,[Get Shipment Used]
,[Id]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header]
LEFT JOIN
[CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
ON
[Sales Invoice Header].[Bill-to Name] = [Customer].[Name]
LEFT JOIN
[CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
ON
[Sales Invoice Header].[Bill-to City] = [Post Code].[City]
LEFT JOIN
[CRONUS UK Ltd_$Ship-to Address$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Ship-to Address]
ON
[Sales Invoice Header].[Ship-to Code] = [Ship-to Address].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
ON
[Sales Invoice Header].[Ship-to City] = [Post Code].[City]
LEFT JOIN
[CRONUS UK Ltd_$Payment Terms$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Terms]
ON
[Sales Invoice Header].[Payment Terms Code] = [Payment Terms].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Shipment Method$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Shipment Method]
ON
[Sales Invoice Header].[Shipment Method Code] = [Shipment Method].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Sales Invoice Header].[Location Code] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Sales Invoice Header].[Shortcut Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Sales Invoice Header].[Shortcut Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Customer Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer Posting Group]
ON
[Sales Invoice Header].[Customer Posting Group] = [Customer Posting Group].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Sales Invoice Header].[Currency Code] = [Currency].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Customer Price Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer Price Group]
ON
[Sales Invoice Header].[Customer Price Group] = [Customer Price Group].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Language$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Language]
ON
[Sales Invoice Header].[Language Code] = [Language].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Salesperson_Purchaser$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salesperson/Purchaser]
ON
[Sales Invoice Header].[Salesperson Code] = [Salesperson/Purchaser].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Reason Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reason Code]
ON
[Sales Invoice Header].[Reason Code] = [Reason Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Transaction Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Transaction Type]
ON
[Sales Invoice Header].[Transaction Type] = [Transaction Type].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Transport Method$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Transport Method]
ON
[Sales Invoice Header].[Transport Method] = [Transport Method].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
ON
[Sales Invoice Header].[Sell-to Customer Name] = [Customer].[Name]
LEFT JOIN
[CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
ON
[Sales Invoice Header].[Sell-to City] = [Post Code].[City]
LEFT JOIN
[CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
ON
[Sales Invoice Header].[Bill-to Post Code] = [Post Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
ON
[Sales Invoice Header].[Sell-to Post Code] = [Post Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
ON
[Sales Invoice Header].[Ship-to Post Code] = [Post Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Entry_Exit Point$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Entry/Exit Point]
ON
[Sales Invoice Header].[Exit Point] = [Entry/Exit Point].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Area$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Area]
ON
[Sales Invoice Header].[Area] = [Area].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Transaction Specification$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Transaction Specification]
ON
[Sales Invoice Header].[Transaction Specification] = [Transaction Specification].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Payment Method$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Payment Method]
ON
[Sales Invoice Header].[Payment Method Code] = [Payment Method].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Shipping Agent$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Shipping Agent]
ON
[Sales Invoice Header].[Shipping Agent Code] = [Shipping Agent].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Source Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Source Code]
ON
[Sales Invoice Header].[Source Code] = [Source Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Tax Area$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tax Area]
ON
[Sales Invoice Header].[Tax Area Code] = [Tax Area].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry]
ON
[Sales Invoice Header].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID]
LEFT JOIN
[CRONUS UK Ltd_$Responsibility Center$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Responsibility Center]
ON
[Sales Invoice Header].[Responsibility Center] = [Responsibility Center].[Code]
LEFT JOIN
[User] AS [User]
ON
[Sales Invoice Header].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Sales Invoice Header].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Sales Invoice Header table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
2 | Sell-to Customer No. | Sell-to Customer No. | Normal | Code | 20 | Sell-to Customer No_ | nvarchar(40) |
Key to join to the Customer table.Show/hide example querySELECT [Sales Invoice Header].[Sell-to Customer No_] ,[Customer].[No_] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer] ON [Sales Invoice Header].[Sell-to Customer No_] = [Customer].[No_] | |||||||
3 | No. | No. | Normal | Code | 20 | No_ | nvarchar(40) |
4 | Bill-to Customer No. | Bill-to Customer No. | Normal | Code | 20 | Bill-to Customer No_ | nvarchar(40) |
Key to join to the Customer table.Show/hide example querySELECT [Sales Invoice Header].[Bill-to Customer No_] ,[Customer].[No_] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer] ON [Sales Invoice Header].[Bill-to Customer No_] = [Customer].[No_] | |||||||
5 | Bill-to Name | Name | Normal | Text | 100 | Bill-to Name | nvarchar(200) |
Key to join to the Customer table.Show/hide example querySELECT [Sales Invoice Header].[Bill-to Name] ,[Customer].[Name] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer] ON [Sales Invoice Header].[Bill-to Name] = [Customer].[Name] | |||||||
6 | Bill-to Name 2 | Name 2 | Normal | Text | 50 | Bill-to Name 2 | nvarchar(100) |
7 | Bill-to Address | Address | Normal | Text | 100 | Bill-to Address | nvarchar(200) |
8 | Bill-to Address 2 | Address 2 | Normal | Text | 50 | Bill-to Address 2 | nvarchar(100) |
9 | Bill-to City | City | Normal | Text | 30 | Bill-to City | nvarchar(60) |
Key to join to the Post Code table.Show/hide example querySELECT [Sales Invoice Header].[Bill-to City] ,[Post Code].[City] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code] ON [Sales Invoice Header].[Bill-to City] = [Post Code].[City] | |||||||
10 | Bill-to Contact | Contact | Normal | Text | 100 | Bill-to Contact | nvarchar(200) |
11 | Your Reference | Your Reference | Normal | Text | 35 | Your Reference | nvarchar(70) |
12 | Ship-to Code | Ship-to Code | Normal | Code | 10 | Ship-to Code | nvarchar(20) |
Key to join to the Ship-to Address table.Show/hide example querySELECT [Sales Invoice Header].[Ship-to Code] ,[Ship-to Address].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Ship-to Address$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Ship-to Address] ON [Sales Invoice Header].[Ship-to Code] = [Ship-to Address].[Code] | |||||||
13 | Ship-to Name | Ship-to Name | Normal | Text | 100 | Ship-to Name | nvarchar(200) |
14 | Ship-to Name 2 | Ship-to Name 2 | Normal | Text | 50 | Ship-to Name 2 | nvarchar(100) |
15 | Ship-to Address | Ship-to Address | Normal | Text | 100 | Ship-to Address | nvarchar(200) |
16 | Ship-to Address 2 | Ship-to Address 2 | Normal | Text | 50 | Ship-to Address 2 | nvarchar(100) |
17 | Ship-to City | Ship-to City | Normal | Text | 30 | Ship-to City | nvarchar(60) |
Key to join to the Post Code table.Show/hide example querySELECT [Sales Invoice Header].[Ship-to City] ,[Post Code].[City] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code] ON [Sales Invoice Header].[Ship-to City] = [Post Code].[City] | |||||||
18 | Ship-to Contact | Ship-to Contact | Normal | Text | 100 | Ship-to Contact | nvarchar(200) |
19 | Order Date | Order Date | Normal | Date | 4 | Order Date | datetime |
20 | Posting Date | Posting Date | Normal | Date | 4 | Posting Date | datetime |
21 | Shipment Date | Shipment Date | Normal | Date | 4 | Shipment Date | datetime |
22 | Posting Description | Posting Description | Normal | Text | 100 | Posting Description | nvarchar(200) |
23 | Payment Terms Code | Payment Terms Code | Normal | Code | 10 | Payment Terms Code | nvarchar(20) |
Key to join to the Payment Terms table.Show/hide example querySELECT [Sales Invoice Header].[Payment Terms Code] ,[Payment Terms].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Payment Terms$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Terms] ON [Sales Invoice Header].[Payment Terms Code] = [Payment Terms].[Code] | |||||||
24 | Due Date | Due Date | Normal | Date | 4 | Due Date | datetime |
25 | Payment Discount % | Payment Discount % | Normal | Decimal | 12 | Payment Discount _ | decimal(38,38) |
26 | Pmt. Discount Date | Pmt. Discount Date | Normal | Date | 4 | Pmt_ Discount Date | datetime |
27 | Shipment Method Code | Shipment Method Code | Normal | Code | 10 | Shipment Method Code | nvarchar(20) |
Key to join to the Shipment Method table.Show/hide example querySELECT [Sales Invoice Header].[Shipment Method Code] ,[Shipment Method].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Shipment Method$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Shipment Method] ON [Sales Invoice Header].[Shipment Method Code] = [Shipment Method].[Code] | |||||||
28 | Location Code | Location Code | Normal | Code | 10 | Location Code | nvarchar(20) |
Key to join to the Location table.Show/hide example querySELECT [Sales Invoice Header].[Location Code] ,[Location].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Sales Invoice Header].[Location Code] = [Location].[Code] | |||||||
29 | Shortcut Dimension 1 Code | Shortcut Dimension 1 Code | Normal | Code | 20 | Shortcut Dimension 1 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [Sales Invoice Header].[Shortcut Dimension 1 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Sales Invoice Header].[Shortcut Dimension 1 Code] = [Dimension].[Code] | |||||||
30 | Shortcut Dimension 2 Code | Shortcut Dimension 2 Code | Normal | Code | 20 | Shortcut Dimension 2 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [Sales Invoice Header].[Shortcut Dimension 2 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Sales Invoice Header].[Shortcut Dimension 2 Code] = [Dimension].[Code] | |||||||
31 | Customer Posting Group | Customer Posting Group | Normal | Code | 20 | Customer Posting Group | nvarchar(40) |
Key to join to the Customer Posting Group table.Show/hide example querySELECT [Sales Invoice Header].[Customer Posting Group] ,[Customer Posting Group].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Customer Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer Posting Group] ON [Sales Invoice Header].[Customer Posting Group] = [Customer Posting Group].[Code] | |||||||
32 | Currency Code | Currency Code | Normal | Code | 10 | Currency Code | nvarchar(20) |
Key to join to the Currency table.Show/hide example querySELECT [Sales Invoice Header].[Currency Code] ,[Currency].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency] ON [Sales Invoice Header].[Currency Code] = [Currency].[Code] | |||||||
33 | Currency Factor | Currency Factor | Normal | Decimal | 12 | Currency Factor | decimal(38,38) |
34 | Customer Price Group | Customer Price Group | Normal | Code | 10 | Customer Price Group | nvarchar(20) |
Key to join to the Customer Price Group table.Show/hide example querySELECT [Sales Invoice Header].[Customer Price Group] ,[Customer Price Group].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Customer Price Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer Price Group] ON [Sales Invoice Header].[Customer Price Group] = [Customer Price Group].[Code] | |||||||
35 | Prices Including VAT | Prices Including Tax | Normal | Boolean | 4 | Prices Including VAT | tinyint |
37 | Invoice Disc. Code | Invoice Disc. Code | Normal | Code | 20 | Invoice Disc_ Code | nvarchar(40) |
40 | Customer Disc. Group | Customer Disc. Group | Normal | Code | 20 | Customer Disc_ Group | nvarchar(40) |
Key to join to the Customer Discount Group table.Show/hide example querySELECT [Sales Invoice Header].[Customer Disc_ Group] ,[Customer Discount Group].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Customer Discount Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer Discount Group] ON [Sales Invoice Header].[Customer Disc_ Group] = [Customer Discount Group].[Code] | |||||||
41 | Language Code | Language Code | Normal | Code | 10 | Language Code | nvarchar(20) |
Key to join to the Language table.Show/hide example querySELECT [Sales Invoice Header].[Language Code] ,[Language].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Language$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Language] ON [Sales Invoice Header].[Language Code] = [Language].[Code] | |||||||
42 | Format Region | Format Region | Normal | Text | 80 | Format Region | nvarchar(160) |
43 | Salesperson Code | Salesperson Code | Normal | Code | 20 | Salesperson Code | nvarchar(40) |
Key to join to the Salesperson/Purchaser table.Show/hide example querySELECT [Sales Invoice Header].[Salesperson Code] ,[Salesperson/Purchaser].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Salesperson_Purchaser$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salesperson/Purchaser] ON [Sales Invoice Header].[Salesperson Code] = [Salesperson/Purchaser].[Code] | |||||||
44 | Order No. | Order No. | Normal | Code | 20 | Order No_ | nvarchar(40) |
46 | Comment | Comment | FlowField | Boolean | 4 | ||
47 | No. Printed | No. Printed | Normal | Integer | 4 | No_ Printed | int |
51 | On Hold | On Hold | Normal | Code | 3 | On Hold | nvarchar(6) |
52 | Applies-to Doc. Type | Applies-to Doc. Type | Normal | Option | 4 | Applies-to Doc_ Type | int |
Available options are:
| |||||||
53 | Applies-to Doc. No. | Applies-to Doc. No. | Normal | Code | 20 | Applies-to Doc_ No_ | nvarchar(40) |
55 | Bal. Account No. | Bal. Account No. | Normal | Code | 20 | Bal_ Account No_ | nvarchar(40) |
60 | Amount | Amount | FlowField | Decimal | 12 | ||
61 | Amount Including VAT | Amount Including Tax | FlowField | Decimal | 12 | ||
70 | VAT Registration No. | Tax Registration No. | Normal | Text | 20 | VAT Registration No_ | nvarchar(40) |
73 | Reason Code | Reason Code | Normal | Code | 10 | Reason Code | nvarchar(20) |
Key to join to the Reason Code table.Show/hide example querySELECT [Sales Invoice Header].[Reason Code] ,[Reason Code].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Reason Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reason Code] ON [Sales Invoice Header].[Reason Code] = [Reason Code].[Code] | |||||||
74 | Gen. Bus. Posting Group | Gen. Bus. Posting Group | Normal | Code | 20 | Gen_ Bus_ Posting Group | nvarchar(40) |
Key to join to the Gen. Business Posting Group table.Show/hide example querySELECT [Sales Invoice Header].[Gen_ Bus_ Posting Group] ,[Gen. Business Posting Group].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Gen_ Business Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Gen. Business Posting Group] ON [Sales Invoice Header].[Gen_ Bus_ Posting Group] = [Gen. Business Posting Group].[Code] | |||||||
75 | EU 3-Party Trade | EU 3-Party Trade | Normal | Boolean | 4 | EU 3-Party Trade | tinyint |
76 | Transaction Type | Transaction Type | Normal | Code | 10 | Transaction Type | nvarchar(20) |
Key to join to the Transaction Type table.Show/hide example querySELECT [Sales Invoice Header].[Transaction Type] ,[Transaction Type].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Transaction Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Transaction Type] ON [Sales Invoice Header].[Transaction Type] = [Transaction Type].[Code] | |||||||
77 | Transport Method | Transport Method | Normal | Code | 10 | Transport Method | nvarchar(20) |
Key to join to the Transport Method table.Show/hide example querySELECT [Sales Invoice Header].[Transport Method] ,[Transport Method].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Transport Method$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Transport Method] ON [Sales Invoice Header].[Transport Method] = [Transport Method].[Code] | |||||||
78 | VAT Country/Region Code | Tax Country/Region Code | Normal | Code | 10 | VAT Country_Region Code | nvarchar(20) |
79 | Sell-to Customer Name | Sell-to Customer Name | Normal | Text | 100 | Sell-to Customer Name | nvarchar(200) |
Key to join to the Customer table.Show/hide example querySELECT [Sales Invoice Header].[Sell-to Customer Name] ,[Customer].[Name] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer] ON [Sales Invoice Header].[Sell-to Customer Name] = [Customer].[Name] | |||||||
80 | Sell-to Customer Name 2 | Sell-to Customer Name 2 | Normal | Text | 50 | Sell-to Customer Name 2 | nvarchar(100) |
81 | Sell-to Address | Sell-to Address | Normal | Text | 100 | Sell-to Address | nvarchar(200) |
82 | Sell-to Address 2 | Sell-to Address 2 | Normal | Text | 50 | Sell-to Address 2 | nvarchar(100) |
83 | Sell-to City | Sell-to City | Normal | Text | 30 | Sell-to City | nvarchar(60) |
Key to join to the Post Code table.Show/hide example querySELECT [Sales Invoice Header].[Sell-to City] ,[Post Code].[City] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code] ON [Sales Invoice Header].[Sell-to City] = [Post Code].[City] | |||||||
84 | Sell-to Contact | Sell-to Contact | Normal | Text | 100 | Sell-to Contact | nvarchar(200) |
85 | Bill-to Post Code | ZIP Code | Normal | Code | 20 | Bill-to Post Code | nvarchar(40) |
Key to join to the Post Code table.Show/hide example querySELECT [Sales Invoice Header].[Bill-to Post Code] ,[Post Code].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code] ON [Sales Invoice Header].[Bill-to Post Code] = [Post Code].[Code] | |||||||
86 | Bill-to County | State | Normal | Text | 30 | Bill-to County | nvarchar(60) |
87 | Bill-to Country/Region Code | Country/Region Code | Normal | Code | 10 | Bill-to Country_Region Code | nvarchar(20) |
88 | Sell-to Post Code | Sell-to ZIP Code | Normal | Code | 20 | Sell-to Post Code | nvarchar(40) |
Key to join to the Post Code table.Show/hide example querySELECT [Sales Invoice Header].[Sell-to Post Code] ,[Post Code].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code] ON [Sales Invoice Header].[Sell-to Post Code] = [Post Code].[Code] | |||||||
89 | Sell-to County | Sell-to State | Normal | Text | 30 | Sell-to County | nvarchar(60) |
90 | Sell-to Country/Region Code | Sell-to Country/Region Code | Normal | Code | 10 | Sell-to Country_Region Code | nvarchar(20) |
91 | Ship-to Post Code | Ship-to ZIP Code | Normal | Code | 20 | Ship-to Post Code | nvarchar(40) |
Key to join to the Post Code table.Show/hide example querySELECT [Sales Invoice Header].[Ship-to Post Code] ,[Post Code].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code] ON [Sales Invoice Header].[Ship-to Post Code] = [Post Code].[Code] | |||||||
92 | Ship-to County | Ship-to State | Normal | Text | 30 | Ship-to County | nvarchar(60) |
93 | Ship-to Country/Region Code | Ship-to Country/Region Code | Normal | Code | 10 | Ship-to Country_Region Code | nvarchar(20) |
94 | Bal. Account Type | Bal. Account Type | Normal | Option | 4 | Bal_ Account Type | int |
Available options are:
| |||||||
97 | Exit Point | Exit Point | Normal | Code | 10 | Exit Point | nvarchar(20) |
Key to join to the Entry/Exit Point table.Show/hide example querySELECT [Sales Invoice Header].[Exit Point] ,[Entry/Exit Point].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Entry_Exit Point$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Entry/Exit Point] ON [Sales Invoice Header].[Exit Point] = [Entry/Exit Point].[Code] | |||||||
98 | Correction | Correction | Normal | Boolean | 4 | Correction | tinyint |
99 | Document Date | Document Date | Normal | Date | 4 | Document Date | datetime |
100 | External Document No. | External Document No. | Normal | Code | 35 | External Document No_ | nvarchar(70) |
101 | Area | Area | Normal | Code | 10 | Area | nvarchar(20) |
Key to join to the Area table.Show/hide example querySELECT [Sales Invoice Header].[Area] ,[Area].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Area$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Area] ON [Sales Invoice Header].[Area] = [Area].[Code] | |||||||
102 | Transaction Specification | Transaction Specification | Normal | Code | 10 | Transaction Specification | nvarchar(20) |
Key to join to the Transaction Specification table.Show/hide example querySELECT [Sales Invoice Header].[Transaction Specification] ,[Transaction Specification].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Transaction Specification$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Transaction Specification] ON [Sales Invoice Header].[Transaction Specification] = [Transaction Specification].[Code] | |||||||
104 | Payment Method Code | Payment Method Code | Normal | Code | 10 | Payment Method Code | nvarchar(20) |
Key to join to the Payment Method table.Show/hide example querySELECT [Sales Invoice Header].[Payment Method Code] ,[Payment Method].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Payment Method$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Payment Method] ON [Sales Invoice Header].[Payment Method Code] = [Payment Method].[Code] | |||||||
105 | Shipping Agent Code | Shipping Agent Code | Normal | Code | 10 | Shipping Agent Code | nvarchar(20) |
Key to join to the Shipping Agent table.Show/hide example querySELECT [Sales Invoice Header].[Shipping Agent Code] ,[Shipping Agent].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Shipping Agent$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Shipping Agent] ON [Sales Invoice Header].[Shipping Agent Code] = [Shipping Agent].[Code] | |||||||
106 | Package Tracking No. | Package Tracking No. | Normal | Text | 30 | Package Tracking No_ | nvarchar(60) |
107 | Pre-Assigned No. Series | Pre-Assigned No. Series | Normal | Code | 20 | Pre-Assigned No_ Series | nvarchar(40) |
Key to join to the No. Series table.Show/hide example querySELECT [Sales Invoice Header].[Pre-Assigned No_ Series] ,[No. Series].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series] ON [Sales Invoice Header].[Pre-Assigned No_ Series] = [No. Series].[Code] | |||||||
108 | No. Series | No. Series | Normal | Code | 20 | No_ Series | nvarchar(40) |
Key to join to the No. Series table.Show/hide example querySELECT [Sales Invoice Header].[No_ Series] ,[No. Series].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series] ON [Sales Invoice Header].[No_ Series] = [No. Series].[Code] | |||||||
110 | Order No. Series | Order No. Series | Normal | Code | 20 | Order No_ Series | nvarchar(40) |
Key to join to the No. Series table.Show/hide example querySELECT [Sales Invoice Header].[Order No_ Series] ,[No. Series].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series] ON [Sales Invoice Header].[Order No_ Series] = [No. Series].[Code] | |||||||
111 | Pre-Assigned No. | Pre-Assigned No. | Normal | Code | 20 | Pre-Assigned No_ | nvarchar(40) |
112 | User ID | User ID | Normal | Code | 50 | User ID | nvarchar(100) |
113 | Source Code | Source Code | Normal | Code | 10 | Source Code | nvarchar(20) |
Key to join to the Source Code table.Show/hide example querySELECT [Sales Invoice Header].[Source Code] ,[Source Code].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Source Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Source Code] ON [Sales Invoice Header].[Source Code] = [Source Code].[Code] | |||||||
114 | Tax Area Code | Tax Area Code | Normal | Code | 20 | Tax Area Code | nvarchar(40) |
Key to join to the Tax Area table.Show/hide example querySELECT [Sales Invoice Header].[Tax Area Code] ,[Tax Area].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Tax Area$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tax Area] ON [Sales Invoice Header].[Tax Area Code] = [Tax Area].[Code] | |||||||
115 | Tax Liable | Tax Liable | Normal | Boolean | 4 | Tax Liable | tinyint |
116 | VAT Bus. Posting Group | VAT Bus. Posting Group | Normal | Code | 20 | VAT Bus_ Posting Group | nvarchar(40) |
Key to join to the VAT Business Posting Group table.Show/hide example querySELECT [Sales Invoice Header].[VAT Bus_ Posting Group] ,[VAT Business Posting Group].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$VAT Business Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Business Posting Group] ON [Sales Invoice Header].[VAT Bus_ Posting Group] = [VAT Business Posting Group].[Code] | |||||||
119 | VAT Base Discount % | VAT Base Discount % | Normal | Decimal | 12 | VAT Base Discount _ | decimal(38,38) |
121 | Invoice Discount Calculation | Invoice Discount Calculation | Normal | Option | 4 | Invoice Discount Calculation | int |
Available options are:
| |||||||
122 | Invoice Discount Value | Invoice Discount Value | Normal | Decimal | 12 | Invoice Discount Value | decimal(38,38) |
131 | Prepayment No. Series | Prepayment No. Series | Normal | Code | 20 | Prepayment No_ Series | nvarchar(40) |
Key to join to the No. Series table.Show/hide example querySELECT [Sales Invoice Header].[Prepayment No_ Series] ,[No. Series].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series] ON [Sales Invoice Header].[Prepayment No_ Series] = [No. Series].[Code] | |||||||
136 | Prepayment Invoice | Prepayment Invoice | Normal | Boolean | 4 | Prepayment Invoice | tinyint |
137 | Prepayment Order No. | Prepayment Order No. | Normal | Code | 20 | Prepayment Order No_ | nvarchar(40) |
151 | Quote No. | Quote No. | Normal | Code | 20 | Quote No_ | nvarchar(40) |
163 | Company Bank Account Code | Company Bank Account Code | Normal | Code | 20 | Company Bank Account Code | nvarchar(40) |
166 | Last Email Sent Time | Last Email Sent Time | FlowField | DateTime | 8 | ||
167 | Last Email Sent Status | Last Email Sent Status | FlowField | Option | 4 | ||
168 | Sent as Email | Sent as Email | FlowField | Boolean | 4 | ||
169 | Last Email Notif Cleared | Last Email Notif Cleared | FlowField | Boolean | 4 | ||
171 | Sell-to Phone No. | Sell-to Phone No. | Normal | Text | 30 | Sell-to Phone No_ | nvarchar(60) |
172 | Sell-to E-Mail | Normal | Text | 80 | Sell-to E-Mail | nvarchar(160) | |
176 | Payment Instructions | Payment Instructions | Normal | BLOB | 8 | Payment Instructions | image |
177 | Payment Instructions Name | Payment Instructions Name | Normal | Text | 20 | Payment Instructions Name | nvarchar(40) |
179 | VAT Reporting Date | Tax Date | Normal | Date | 4 | VAT Reporting Date | datetime |
180 | Payment Reference | Payment Reference | Normal | Code | 50 | Payment Reference | nvarchar(100) |
200 | Work Description | Work Description | Normal | BLOB | 8 | Work Description | image |
480 | Dimension Set ID | Dimension Set ID | Normal | Integer | 4 | Dimension Set ID | int |
Key to join to the Dimension Set Entry table.Show/hide example querySELECT [Sales Invoice Header].[Dimension Set ID] ,[Dimension Set Entry].[Dimension Set ID] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry] ON [Sales Invoice Header].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID] | |||||||
600 | Payment Service Set ID | Payment Service Set ID | Normal | Integer | 4 | Payment Service Set ID | int |
710 | Document Exchange Identifier | Document Exchange Identifier | Normal | Text | 50 | Document Exchange Identifier | nvarchar(100) |
711 | Document Exchange Status | Document Exchange Status | Normal | Option | 4 | Document Exchange Status | int |
Available options are:
| |||||||
712 | Doc. Exch. Original Identifier | Doc. Exch. Original Identifier | Normal | Text | 50 | Doc_ Exch_ Original Identifier | nvarchar(100) |
720 | Coupled to CRM | Coupled to Dynamics 365 Sales | Normal | Boolean | 4 | Coupled to CRM | tinyint |
721 | Coupled to Dataverse | Coupled to Dynamics 365 Sales | FlowField | Boolean | 4 | ||
1200 | Direct Debit Mandate ID | Direct Debit Mandate ID | Normal | Code | 35 | Direct Debit Mandate ID | nvarchar(70) |
1302 | Closed | Closed | FlowField | Boolean | 4 | ||
1303 | Remaining Amount | Remaining Amount | FlowField | Decimal | 12 | ||
1304 | Cust. Ledger Entry No. | Cust. Ledger Entry No. | Normal | Integer | 4 | Cust_ Ledger Entry No_ | int |
Key to join to the Cust. Ledger Entry table.Show/hide example querySELECT [Sales Invoice Header].[Cust_ Ledger Entry No_] ,[Cust. Ledger Entry].[Entry No_] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Cust_ Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cust. Ledger Entry] ON [Sales Invoice Header].[Cust_ Ledger Entry No_] = [Cust. Ledger Entry].[Entry No_] | |||||||
1305 | Invoice Discount Amount | Invoice Discount Amount | FlowField | Decimal | 12 | ||
1310 | Cancelled | Canceled | FlowField | Boolean | 4 | ||
1311 | Corrective | Corrective | FlowField | Boolean | 4 | ||
1312 | Reversed | Reversed | FlowField | Boolean | 4 | ||
5050 | Campaign No. | Campaign No. | Normal | Code | 20 | Campaign No_ | nvarchar(40) |
Key to join to the Campaign table.Show/hide example querySELECT [Sales Invoice Header].[Campaign No_] ,[Campaign].[No_] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Campaign$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Campaign] ON [Sales Invoice Header].[Campaign No_] = [Campaign].[No_] | |||||||
5052 | Sell-to Contact No. | Sell-to Contact No. | Normal | Code | 20 | Sell-to Contact No_ | nvarchar(40) |
Key to join to the Contact table.Show/hide example querySELECT [Sales Invoice Header].[Sell-to Contact No_] ,[Contact].[No_] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Contact$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Contact] ON [Sales Invoice Header].[Sell-to Contact No_] = [Contact].[No_] | |||||||
5053 | Bill-to Contact No. | Bill-to Contact No. | Normal | Code | 20 | Bill-to Contact No_ | nvarchar(40) |
Key to join to the Contact table.Show/hide example querySELECT [Sales Invoice Header].[Bill-to Contact No_] ,[Contact].[No_] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Contact$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Contact] ON [Sales Invoice Header].[Bill-to Contact No_] = [Contact].[No_] | |||||||
5055 | Opportunity No. | Opportunity No. | Normal | Code | 20 | Opportunity No_ | nvarchar(40) |
Key to join to the Opportunity table.Show/hide example querySELECT [Sales Invoice Header].[Opportunity No_] ,[Opportunity].[No_] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Opportunity$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Opportunity] ON [Sales Invoice Header].[Opportunity No_] = [Opportunity].[No_] | |||||||
5700 | Responsibility Center | Responsibility Center | Normal | Code | 10 | Responsibility Center | nvarchar(20) |
Key to join to the Responsibility Center table.Show/hide example querySELECT [Sales Invoice Header].[Responsibility Center] ,[Responsibility Center].[Code] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [CRONUS UK Ltd_$Responsibility Center$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Responsibility Center] ON [Sales Invoice Header].[Responsibility Center] = [Responsibility Center].[Code] | |||||||
7000 | Price Calculation Method | Price Calculation Method | Normal | Option | 4 | Price Calculation Method | int |
Available options are:
| |||||||
7001 | Allow Line Disc. | Allow Line Disc. | Normal | Boolean | 4 | Allow Line Disc_ | tinyint |
7200 | Get Shipment Used | Get Shipment Used | Normal | Boolean | 4 | Get Shipment Used | tinyint |
8000 | Id | Id | Normal | GUID | 16 | Id | uniqueidentifier |
8001 | Draft Invoice SystemId | Draft Invoice SystemId | Normal | GUID | 16 | ||
10005 | Ship-to UPS Zone | Ship-to UPS Zone | Normal | Code | 2 | ||
10015 | Tax Exemption No. | Tax Exemption No. | Normal | Text | 30 | ||
10018 | STE Transaction ID | STE Transaction ID | Normal | Text | 20 | ||
10019 | Electronic Document Sent | Electronic Document Sent | Normal | Boolean | 4 | ||
10020 | Original Document XML | Original Document XML | Normal | BLOB | 8 | ||
10021 | No. of E-Documents Sent | No. of E-Documents Sent | Normal | Integer | 4 | ||
10022 | Original String | Original String | Normal | BLOB | 8 | ||
10023 | Digital Stamp SAT | Digital Stamp SAT | Normal | BLOB | 8 | ||
10024 | Certificate Serial No. | Certificate Serial No. | Normal | Text | 250 | ||
10025 | Signed Document XML | Signed Document XML | Normal | BLOB | 8 | ||
10026 | Digital Stamp PAC | Digital Stamp PAC | Normal | BLOB | 8 | ||
10030 | Electronic Document Status | Electronic Document Status | Normal | Option | 4 | ||
10031 | Date/Time Stamped | Date/Time Stamped | Normal | Text | 50 | ||
10032 | Date/Time Sent | Date/Time Sent | Normal | Text | 50 | ||
10033 | Date/Time Canceled | Date/Time Canceled | Normal | Text | 50 | ||
10035 | Error Code | Error Code | Normal | Code | 10 | ||
10036 | Error Description | Error Description | Normal | Text | 250 | ||
10037 | Date/Time Stamp Received | Date/Time Stamp Received | Normal | DateTime | 8 | ||
10038 | Date/Time Cancel Sent | Date/Time Cancel Sent | Normal | DateTime | 8 | ||
10040 | PAC Web Service Name | PAC Web Service Name | Normal | Text | 50 | ||
10041 | QR Code | QR Code | Normal | BLOB | 8 | ||
10042 | Fiscal Invoice Number PAC | Fiscal Invoice Number PAC | Normal | Text | 50 | ||
10043 | Date/Time First Req. Sent | Date/Time First Req. Sent | Normal | Text | 50 | ||
10050 | Foreign Trade | Foreign Trade | Normal | Boolean | 4 | ||
10055 | Transit-to Location | Transit-to Location | Normal | Code | 10 | ||
10059 | SAT International Trade Term | SAT International Trade Term | Normal | Code | 10 | ||
10060 | Exchange Rate USD | Exchange Rate USD | Normal | Decimal | 12 | ||
27000 | CFDI Purpose | CFDI Purpose | Normal | Code | 10 | ||
27001 | CFDI Relation | CFDI Relation | Normal | Code | 10 | ||
27002 | CFDI Cancellation Reason Code | CFDI Cancelation Reason | Normal | Code | 10 | ||
27003 | Substitution Document No. | Substitution Document No. | Normal | Code | 20 | ||
27004 | CFDI Export Code | CFDI Export Code | Normal | Code | 10 | ||
27005 | CFDI Period | CFDI Period | Normal | Option | 4 | ||
27007 | CFDI Cancellation ID | CFDI Cancelation ID | Normal | Text | 50 | ||
27008 | Marked as Canceled | Marked as Canceled | Normal | Boolean | 4 | ||
27009 | SAT Address ID | SAT Address ID | Normal | Integer | 4 | ||
30100 | Shpfy Order Id | Shopify Order Id | Normal | BigInteger | 8 | ||
30101 | Shpfy Order No. | Shopify Order No. | Normal | Code | 50 | ||
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 querySELECT [Sales Invoice Header].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Sales Invoice Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Invoice Header] LEFT JOIN [User] AS [User] ON [Sales Invoice Header].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |