Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5852
Table Type: Company
Table Name: Invt. Receipt Header
Database Table Name: CRONUS UK Ltd_$Invt_ 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 Invt. Receipt Header can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Invt_ Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[No_]
,[Posting Description]
,[Document Date]
,[Posting Date]
,[Location Code]
,[Shortcut Dimension 1 Code]
,[Shortcut Dimension 2 Code]
,[Language Code]
,[Purchaser Code]
,[No_ Series]
,[Posting No_ Series]
,[External Document No_]
,[Posting No_]
,[Gen_ Bus_ Posting Group]
,[Receipt No_]
,[No_ Printed]
,[Correction]
,[Format Region]
,[Dimension Set ID]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Invt_ 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_$Invt_ Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Invt. Receipt Header]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Invt. Receipt Header].[Location Code] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Invt. Receipt Header].[Shortcut Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Invt. Receipt Header].[Shortcut Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Language$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Language]
ON
[Invt. Receipt Header].[Language Code] = [Language].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Salesperson_Purchaser$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salesperson/Purchaser]
ON
[Invt. Receipt Header].[Purchaser Code] = [Salesperson/Purchaser].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry]
ON
[Invt. Receipt Header].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID]
LEFT JOIN
[User] AS [User]
ON
[Invt. Receipt Header].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Invt. Receipt Header].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Invt. Receipt Header table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
2 | No. | No. | Normal | Code | 20 | No_ | nvarchar(40) |
3 | Posting Description | Posting Description | Normal | Text | 100 | Posting Description | nvarchar(200) |
5 | Document Date | Document Date | Normal | Date | 4 | Document Date | datetime |
6 | Posting Date | Posting Date | Normal | Date | 4 | Posting Date | datetime |
7 | Location Code | Location Code | Normal | Code | 10 | Location Code | nvarchar(20) |
Key to join to the Location table.Show/hide example querySELECT [Invt. Receipt Header].[Location Code] ,[Location].[Code] FROM [CRONUS UK Ltd_$Invt_ Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Invt. Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Invt. Receipt Header].[Location Code] = [Location].[Code] | |||||||
8 | 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 [Invt. Receipt Header].[Shortcut Dimension 1 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Invt_ Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Invt. Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Invt. Receipt Header].[Shortcut Dimension 1 Code] = [Dimension].[Code] | |||||||
9 | 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 [Invt. Receipt Header].[Shortcut Dimension 2 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Invt_ Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Invt. Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Invt. Receipt Header].[Shortcut Dimension 2 Code] = [Dimension].[Code] | |||||||
10 | Language Code | Language Code | Normal | Code | 10 | Language Code | nvarchar(20) |
Key to join to the Language table.Show/hide example querySELECT [Invt. Receipt Header].[Language Code] ,[Language].[Code] FROM [CRONUS UK Ltd_$Invt_ Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Invt. Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Language$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Language] ON [Invt. Receipt Header].[Language Code] = [Language].[Code] | |||||||
11 | Purchaser Code | Purchaser Code | Normal | Code | 20 | Purchaser Code | nvarchar(40) |
Key to join to the Salesperson/Purchaser table.Show/hide example querySELECT [Invt. Receipt Header].[Purchaser Code] ,[Salesperson/Purchaser].[Code] FROM [CRONUS UK Ltd_$Invt_ Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Invt. Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Salesperson_Purchaser$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salesperson/Purchaser] ON [Invt. Receipt Header].[Purchaser Code] = [Salesperson/Purchaser].[Code] | |||||||
12 | Comment | Comment | FlowField | Boolean | 4 | ||
14 | No. Series | No. Series | Normal | Code | 20 | No_ Series | nvarchar(40) |
Key to join to the No. Series table.Show/hide example querySELECT [Invt. Receipt Header].[No_ Series] ,[No. Series].[Code] FROM [CRONUS UK Ltd_$Invt_ Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Invt. Receipt Header] LEFT JOIN [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series] ON [Invt. Receipt Header].[No_ Series] = [No. Series].[Code] | |||||||
15 | Posting No. Series | Posting No. Series | Normal | Code | 20 | Posting No_ Series | nvarchar(40) |
Key to join to the No. Series table.Show/hide example querySELECT [Invt. Receipt Header].[Posting No_ Series] ,[No. Series].[Code] FROM [CRONUS UK Ltd_$Invt_ Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Invt. Receipt Header] LEFT JOIN [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series] ON [Invt. Receipt Header].[Posting No_ Series] = [No. Series].[Code] | |||||||
16 | External Document No. | External Document No. | Normal | Code | 35 | External Document No_ | nvarchar(70) |
20 | Posting No. | Posting No. | Normal | Code | 10 | Posting No_ | nvarchar(20) |
23 | 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 [Invt. Receipt Header].[Gen_ Bus_ Posting Group] ,[Gen. Business Posting Group].[Code] FROM [CRONUS UK Ltd_$Invt_ Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Invt. Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Gen_ Business Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Gen. Business Posting Group] ON [Invt. Receipt Header].[Gen_ Bus_ Posting Group] = [Gen. Business Posting Group].[Code] | |||||||
24 | Receipt No. | Receipt No. | Normal | Code | 20 | Receipt No_ | nvarchar(40) |
27 | No. Printed | No. Printed | Normal | Integer | 4 | No_ Printed | int |
30 | Correction | Correction | Normal | Boolean | 4 | Correction | tinyint |
31 | Format Region | Format Region | Normal | Text | 80 | Format Region | nvarchar(160) |
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 [Invt. Receipt Header].[Dimension Set ID] ,[Dimension Set Entry].[Dimension Set ID] FROM [CRONUS UK Ltd_$Invt_ Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Invt. Receipt Header] LEFT JOIN [CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry] ON [Invt. Receipt Header].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set 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 [Invt. Receipt Header].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Invt_ Receipt Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Invt. Receipt Header] LEFT JOIN [User] AS [User] ON [Invt. 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 |