Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/6660
Table Type: Company
Table Name: Return Receipt Header
Database Table Name: CRONUS UK Ltd_$Return Receipt 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 Return Receipt Header can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Return Receipt 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]
,[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_]
,[No_ Series]
,[User ID]
,[Source Code]
,[Tax Area Code]
,[Tax Liable]
,[VAT Bus_ Posting Group]
,[VAT Base Discount _]
,[Rcvd-from Country_Region Code]
,[Rcvd_-from Count__Region Code]
,[Dimension Set ID]
,[Campaign No_]
,[Sell-to Contact No_]
,[Bill-to Contact No_]
,[Opportunity No_]
,[Responsibility Center]
,[Requested Delivery Date]
,[Promised Delivery Date]
,[Shipping Time]
,[Warehouse Handling Time]
,[Late Order Shipping]
,[Return Order No_]
,[Return Order No_ Series]
,[Price Calculation Method]
,[Allow Line Disc_]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Return Receipt 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_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header]
LEFT JOIN
[CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
ON
[Return Receipt Header].[Bill-to Name] = [Customer].[Name]
LEFT JOIN
[CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
ON
[Return Receipt 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
[Return Receipt Header].[Ship-to Code] = [Ship-to Address].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
ON
[Return Receipt Header].[Ship-to City] = [Post Code].[City]
LEFT JOIN
[CRONUS UK Ltd_$Payment Terms$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Terms]
ON
[Return Receipt Header].[Payment Terms Code] = [Payment Terms].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Shipment Method$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Shipment Method]
ON
[Return Receipt Header].[Shipment Method Code] = [Shipment Method].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Return Receipt Header].[Location Code] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Return Receipt Header].[Shortcut Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Return Receipt 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
[Return Receipt Header].[Customer Posting Group] = [Customer Posting Group].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Return Receipt Header].[Currency Code] = [Currency].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Customer Price Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer Price Group]
ON
[Return Receipt Header].[Customer Price Group] = [Customer Price Group].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Language$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Language]
ON
[Return Receipt Header].[Language Code] = [Language].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Salesperson_Purchaser$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salesperson/Purchaser]
ON
[Return Receipt Header].[Salesperson Code] = [Salesperson/Purchaser].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Reason Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reason Code]
ON
[Return Receipt Header].[Reason Code] = [Reason Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Transaction Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Transaction Type]
ON
[Return Receipt Header].[Transaction Type] = [Transaction Type].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Transport Method$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Transport Method]
ON
[Return Receipt Header].[Transport Method] = [Transport Method].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
ON
[Return Receipt Header].[Sell-to Customer Name] = [Customer].[Name]
LEFT JOIN
[CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
ON
[Return Receipt Header].[Sell-to City] = [Post Code].[City]
LEFT JOIN
[CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
ON
[Return Receipt Header].[Bill-to Post Code] = [Post Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
ON
[Return Receipt Header].[Sell-to Post Code] = [Post Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
ON
[Return Receipt 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
[Return Receipt Header].[Exit Point] = [Entry/Exit Point].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Area$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Area]
ON
[Return Receipt Header].[Area] = [Area].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Transaction Specification$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Transaction Specification]
ON
[Return Receipt Header].[Transaction Specification] = [Transaction Specification].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Payment Method$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Payment Method]
ON
[Return Receipt Header].[Payment Method Code] = [Payment Method].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Shipping Agent$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Shipping Agent]
ON
[Return Receipt Header].[Shipping Agent Code] = [Shipping Agent].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Source Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Source Code]
ON
[Return Receipt Header].[Source Code] = [Source Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Tax Area$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tax Area]
ON
[Return Receipt 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
[Return Receipt 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
[Return Receipt Header].[Responsibility Center] = [Responsibility Center].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Shpfy Refund Header$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Refund Header]
ON
[Return Receipt Header].[Shpfy Refund Id] = [Shpfy Refund Header].[Refund Id]
LEFT JOIN
[User] AS [User]
ON
[Return Receipt Header].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Return Receipt Header].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Return Receipt 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 [Return Receipt Header].[Sell-to Customer No_] ,[Customer].[No_] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer] ON [Return Receipt 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 [Return Receipt Header].[Bill-to Customer No_] ,[Customer].[No_] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer] ON [Return Receipt 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 [Return Receipt Header].[Bill-to Name] ,[Customer].[Name] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer] ON [Return Receipt 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 [Return Receipt Header].[Bill-to City] ,[Post Code].[City] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code] ON [Return Receipt 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 [Return Receipt Header].[Ship-to Code] ,[Ship-to Address].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Ship-to Address$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Ship-to Address] ON [Return Receipt 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 [Return Receipt Header].[Ship-to City] ,[Post Code].[City] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code] ON [Return Receipt 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 [Return Receipt Header].[Payment Terms Code] ,[Payment Terms].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Payment Terms$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Terms] ON [Return Receipt 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 [Return Receipt Header].[Shipment Method Code] ,[Shipment Method].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Shipment Method$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Shipment Method] ON [Return Receipt 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 [Return Receipt Header].[Location Code] ,[Location].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Return Receipt 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 [Return Receipt Header].[Shortcut Dimension 1 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Return Receipt 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 [Return Receipt Header].[Shortcut Dimension 2 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Return Receipt 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 [Return Receipt Header].[Customer Posting Group] ,[Customer Posting Group].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Customer Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer Posting Group] ON [Return Receipt 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 [Return Receipt Header].[Currency Code] ,[Currency].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency] ON [Return Receipt 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 [Return Receipt Header].[Customer Price Group] ,[Customer Price Group].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Customer Price Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer Price Group] ON [Return Receipt 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 [Return Receipt Header].[Customer Disc_ Group] ,[Customer Discount Group].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Customer Discount Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer Discount Group] ON [Return Receipt 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 [Return Receipt Header].[Language Code] ,[Language].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Language$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Language] ON [Return Receipt 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 [Return Receipt Header].[Salesperson Code] ,[Salesperson/Purchaser].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Salesperson_Purchaser$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salesperson/Purchaser] ON [Return Receipt Header].[Salesperson Code] = [Salesperson/Purchaser].[Code] | |||||||
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) |
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 [Return Receipt Header].[Reason Code] ,[Reason Code].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Reason Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reason Code] ON [Return Receipt 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 [Return Receipt Header].[Gen_ Bus_ Posting Group] ,[Gen. Business Posting Group].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Gen_ Business Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Gen. Business Posting Group] ON [Return Receipt 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 [Return Receipt Header].[Transaction Type] ,[Transaction Type].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Transaction Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Transaction Type] ON [Return Receipt 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 [Return Receipt Header].[Transport Method] ,[Transport Method].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Transport Method$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Transport Method] ON [Return Receipt 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 [Return Receipt Header].[Sell-to Customer Name] ,[Customer].[Name] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer] ON [Return Receipt 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 [Return Receipt Header].[Sell-to City] ,[Post Code].[City] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code] ON [Return Receipt 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 [Return Receipt Header].[Bill-to Post Code] ,[Post Code].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code] ON [Return Receipt 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 [Return Receipt Header].[Sell-to Post Code] ,[Post Code].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code] ON [Return Receipt 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 [Return Receipt Header].[Ship-to Post Code] ,[Post Code].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code] ON [Return Receipt 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 [Return Receipt Header].[Exit Point] ,[Entry/Exit Point].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Entry_Exit Point$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Entry/Exit Point] ON [Return Receipt 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 [Return Receipt Header].[Area] ,[Area].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Area$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Area] ON [Return Receipt 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 [Return Receipt Header].[Transaction Specification] ,[Transaction Specification].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Transaction Specification$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Transaction Specification] ON [Return Receipt 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 [Return Receipt Header].[Payment Method Code] ,[Payment Method].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Payment Method$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Payment Method] ON [Return Receipt 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 [Return Receipt Header].[Shipping Agent Code] ,[Shipping Agent].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Shipping Agent$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Shipping Agent] ON [Return Receipt Header].[Shipping Agent Code] = [Shipping Agent].[Code] | |||||||
106 | Package Tracking No. | Package Tracking No. | Normal | Text | 30 | Package Tracking No_ | nvarchar(60) |
109 | No. Series | No. Series | Normal | Code | 20 | No_ Series | nvarchar(40) |
Key to join to the No. Series table.Show/hide example querySELECT [Return Receipt Header].[No_ Series] ,[No. Series].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series] ON [Return Receipt Header].[No_ Series] = [No. Series].[Code] | |||||||
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 [Return Receipt Header].[Source Code] ,[Source Code].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Source Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Source Code] ON [Return Receipt 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 [Return Receipt Header].[Tax Area Code] ,[Tax Area].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Tax Area$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tax Area] ON [Return Receipt 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 [Return Receipt Header].[VAT Bus_ Posting Group] ,[VAT Business Posting Group].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$VAT Business Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Business Posting Group] ON [Return Receipt 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) |
180 | Rcvd-from Country/Region Code | Received-from Country/Region Code | Normal | Code | 10 | Rcvd-from Country_Region Code | nvarchar(20) |
181 | Rcvd.-from Count./Region Code | Received-from Country/Region Code | Normal | Code | 10 | Rcvd_-from Count__Region Code | nvarchar(20) |
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 [Return Receipt Header].[Dimension Set ID] ,[Dimension Set Entry].[Dimension Set ID] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry] ON [Return Receipt Header].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID] | |||||||
5050 | Campaign No. | Campaign No. | Normal | Code | 20 | Campaign No_ | nvarchar(40) |
Key to join to the Campaign table.Show/hide example querySELECT [Return Receipt Header].[Campaign No_] ,[Campaign].[No_] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Campaign$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Campaign] ON [Return Receipt 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 [Return Receipt Header].[Sell-to Contact No_] ,[Contact].[No_] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Contact$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Contact] ON [Return Receipt 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 [Return Receipt Header].[Bill-to Contact No_] ,[Contact].[No_] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Contact$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Contact] ON [Return Receipt 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 [Return Receipt Header].[Opportunity No_] ,[Opportunity].[No_] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Opportunity$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Opportunity] ON [Return Receipt 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 [Return Receipt Header].[Responsibility Center] ,[Responsibility Center].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Responsibility Center$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Responsibility Center] ON [Return Receipt Header].[Responsibility Center] = [Responsibility Center].[Code] | |||||||
5790 | Requested Delivery Date | Requested Delivery Date | Normal | Date | 4 | Requested Delivery Date | datetime |
5791 | Promised Delivery Date | Promised Delivery Date | Normal | Date | 4 | Promised Delivery Date | datetime |
5792 | Shipping Time | Shipping Time | Normal | DateFormula | 32 | Shipping Time | varchar(32) |
5793 | Warehouse Handling Time | Warehouse Handling Time | Normal | DateFormula | 32 | Warehouse Handling Time | varchar(32) |
5797 | Late Order Shipping | Late Order Shipping | Normal | Boolean | 4 | Late Order Shipping | tinyint |
6601 | Return Order No. | Return Order No. | Normal | Code | 20 | Return Order No_ | nvarchar(40) |
6602 | Return Order No. Series | Return Order No. Series | Normal | Code | 20 | Return Order No_ Series | nvarchar(40) |
Key to join to the No. Series table.Show/hide example querySELECT [Return Receipt Header].[Return Order No_ Series] ,[No. Series].[Code] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series] ON [Return Receipt Header].[Return Order No_ Series] = [No. Series].[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 |
30103 | Shpfy Refund Id | Shpfy Refund Id | Normal | BigInteger | 8 | ||
Key to join to the Shpfy Refund Header table.Show/hide example querySELECT [Return Receipt Header].[] ,[Shpfy Refund Header].[Refund Id] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Shpfy Refund Header$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Refund Header] ON [Return Receipt Header].[] = [Shpfy Refund Header].[Refund Id] | |||||||
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 [Return Receipt Header].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Return Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Return Receipt Header] LEFT JOIN [User] AS [User] ON [Return Receipt Header].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |