Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/607
Table Type: Company
Table Name: Buffer IC Inbox Purch Header
Database Table Name: CRONUS UK Ltd_$Buffer IC Inbox Purch 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 Buffer IC Inbox Purch Header can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Buffer IC Inbox Purch Header$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Document Type]
,[Buy-from Vendor No_]
,[No_]
,[Pay-to Vendor No_]
,[Your Reference]
,[Ship-to Name]
,[Ship-to Address]
,[Ship-to Address 2]
,[Ship-to City]
,[Posting Date]
,[Expected Receipt Date]
,[Due Date]
,[Payment Discount _]
,[Pmt_ Discount Date]
,[Currency Code]
,[Prices Including VAT]
,[Vendor Order No_]
,[Vendor Invoice No_]
,[Vendor Cr_ Memo No_]
,[Sell-to Customer No_]
,[Ship-to Post Code]
,[Ship-to County]
,[Ship-to Country_Region Code]
,[Document Date]
,[IC Partner Code]
,[IC Transaction No_]
,[Transaction Source]
,[Requested Receipt Date]
,[Promised Receipt Date]
,[Operation ID]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Buffer IC Inbox Purch 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_$Buffer IC Inbox Purch Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Buffer IC Inbox Purch Header]
LEFT JOIN
[CRONUS UK Ltd_$Sales Header Archive$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header Archive]
ON
[Buffer IC Inbox Purch Header].[Document Type] = [Sales Header Archive].[Document Type]
AND
[Buffer IC Inbox Purch Header].[Document No_] = [Sales Header Archive].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header]
ON
[Buffer IC Inbox Purch Header].[Document Type] = [Sales Header].[Document Type]
AND
[Buffer IC Inbox Purch Header].[Document No_] = [Sales Header].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
ON
[Buffer IC Inbox Purch Header].[Ship-to City] = [Post Code].[City]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Buffer IC Inbox Purch Header].[Currency Code] = [Currency].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
ON
[Buffer IC Inbox Purch Header].[Ship-to Post Code] = [Post Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$IC Partner$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Partner]
ON
[Buffer IC Inbox Purch Header].[IC Partner Code] = [IC Partner].[Code]
LEFT JOIN
[User] AS [User]
ON
[Buffer IC Inbox Purch Header].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Buffer IC Inbox Purch Header].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Buffer IC Inbox Purch Header table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Document Type | Document Type | Normal | Option | 4 | Document Type | int |
Available options are:
| |||||||
2 | Buy-from Vendor No. | Buy-from Vendor No. | Normal | Code | 20 | Buy-from Vendor No_ | nvarchar(40) |
Key to join to the Vendor table.Show/hide example querySELECT [Buffer IC Inbox Purch Header].[Buy-from Vendor No_] ,[Vendor].[No_] FROM [CRONUS UK Ltd_$Buffer IC Inbox Purch Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Buffer IC Inbox Purch Header] LEFT JOIN [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor] ON [Buffer IC Inbox Purch Header].[Buy-from Vendor No_] = [Vendor].[No_] | |||||||
3 | No. | No. | Normal | Code | 20 | No_ | nvarchar(40) |
4 | Pay-to Vendor No. | Pay-to Vendor No. | Normal | Code | 20 | Pay-to Vendor No_ | nvarchar(40) |
Key to join to the Vendor table.Show/hide example querySELECT [Buffer IC Inbox Purch Header].[Pay-to Vendor No_] ,[Vendor].[No_] FROM [CRONUS UK Ltd_$Buffer IC Inbox Purch Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Buffer IC Inbox Purch Header] LEFT JOIN [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor] ON [Buffer IC Inbox Purch Header].[Pay-to Vendor No_] = [Vendor].[No_] | |||||||
11 | Your Reference | Your Reference | Normal | Text | 35 | Your Reference | nvarchar(70) |
13 | Ship-to Name | Ship-to Name | Normal | Text | 100 | Ship-to Name | nvarchar(200) |
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 [Buffer IC Inbox Purch Header].[Ship-to City] ,[Post Code].[City] FROM [CRONUS UK Ltd_$Buffer IC Inbox Purch Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Buffer IC Inbox Purch Header] LEFT JOIN [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code] ON [Buffer IC Inbox Purch Header].[Ship-to City] = [Post Code].[City] | |||||||
20 | Posting Date | Posting Date | Normal | Date | 4 | Posting Date | datetime |
21 | Expected Receipt Date | Expected Receipt Date | Normal | Date | 4 | Expected Receipt Date | datetime |
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 |
32 | Currency Code | Currency Code | Normal | Code | 10 | Currency Code | nvarchar(20) |
Key to join to the Currency table.Show/hide example querySELECT [Buffer IC Inbox Purch Header].[Currency Code] ,[Currency].[Code] FROM [CRONUS UK Ltd_$Buffer IC Inbox Purch Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Buffer IC Inbox Purch Header] LEFT JOIN [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency] ON [Buffer IC Inbox Purch Header].[Currency Code] = [Currency].[Code] | |||||||
35 | Prices Including VAT | Prices Including VAT | Normal | Boolean | 4 | Prices Including VAT | tinyint |
66 | Vendor Order No. | Vendor Order No. | Normal | Code | 35 | Vendor Order No_ | nvarchar(70) |
68 | Vendor Invoice No. | Vendor Invoice No. | Normal | Code | 35 | Vendor Invoice No_ | nvarchar(70) |
69 | Vendor Cr. Memo No. | Vendor Cr. Memo No. | Normal | Code | 35 | Vendor Cr_ Memo No_ | nvarchar(70) |
72 | 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 [Buffer IC Inbox Purch Header].[Sell-to Customer No_] ,[Customer].[No_] FROM [CRONUS UK Ltd_$Buffer IC Inbox Purch Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Buffer IC Inbox Purch Header] LEFT JOIN [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer] ON [Buffer IC Inbox Purch Header].[Sell-to Customer No_] = [Customer].[No_] | |||||||
91 | Ship-to Post Code | Ship-to Post Code | Normal | Code | 20 | Ship-to Post Code | nvarchar(40) |
Key to join to the Post Code table.Show/hide example querySELECT [Buffer IC Inbox Purch Header].[Ship-to Post Code] ,[Post Code].[Code] FROM [CRONUS UK Ltd_$Buffer IC Inbox Purch Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Buffer IC Inbox Purch Header] LEFT JOIN [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code] ON [Buffer IC Inbox Purch Header].[Ship-to Post Code] = [Post Code].[Code] | |||||||
92 | Ship-to County | Ship-to County | 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) |
99 | Document Date | Document Date | Normal | Date | 4 | Document Date | datetime |
125 | IC Partner Code | IC Partner Code | Normal | Code | 20 | IC Partner Code | nvarchar(40) |
Key to join to the IC Partner table.Show/hide example querySELECT [Buffer IC Inbox Purch Header].[IC Partner Code] ,[IC Partner].[Code] FROM [CRONUS UK Ltd_$Buffer IC Inbox Purch Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Buffer IC Inbox Purch Header] LEFT JOIN [CRONUS UK Ltd_$IC Partner$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Partner] ON [Buffer IC Inbox Purch Header].[IC Partner Code] = [IC Partner].[Code] | |||||||
201 | IC Transaction No. | IC Transaction No. | Normal | Integer | 4 | IC Transaction No_ | int |
202 | Transaction Source | Transaction Source | Normal | Option | 4 | Transaction Source | int |
Available options are:
| |||||||
5790 | Requested Receipt Date | Requested Receipt Date | Normal | Date | 4 | Requested Receipt Date | datetime |
5791 | Promised Receipt Date | Promised Receipt Date | Normal | Date | 4 | Promised Receipt Date | datetime |
8100 | Operation ID | Operation ID | Normal | GUID | 16 | Operation ID | uniqueidentifier |
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 [Buffer IC Inbox Purch Header].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Buffer IC Inbox Purch Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Buffer IC Inbox Purch Header] LEFT JOIN [User] AS [User] ON [Buffer IC Inbox Purch Header].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |