Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/7346
Table Type: Company
Table Name: Internal Movement Header
Database Table Name: CRONUS UK Ltd_$Internal Movement 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 Internal Movement Header can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Internal Movement Header$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[timestamp]
,[No_]
,[Location Code]
,[Assigned User ID]
,[Assignment Date]
,[Assignment Time]
,[No_ Series]
,[To Bin Code]
,[Due Date]
,[Sorting Method]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Internal Movement 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_$Internal Movement Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Internal Movement Header]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Internal Movement Header].[Location Code] = [Location].[Code]
Show/hide columns in Internal Movement Header table
Column ID | Column Name | Data Type | ||||
---|---|---|---|---|---|---|
1 | timestamp ![]() | timestamp | ||||
2 | No_ ![]() ![]() | nvarchar(40) | ||||
3 | Location Code ![]() | nvarchar(20) | ||||
Key to join to the Location table.Show/hide example querySELECT
[Internal Movement Header].[Location Code]
,[Location].[Code]
FROM
[CRONUS UK Ltd_$Internal Movement Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Internal Movement Header]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Internal Movement Header].[Location Code] = [Location].[Code] | ||||||
4 | Assigned User ID ![]() | nvarchar(100) | ||||
5 | Assignment Date ![]() | datetime | ||||
6 | Assignment Time ![]() | datetime | ||||
7 | No_ Series ![]() | nvarchar(40) | ||||
8 | To Bin Code ![]() | nvarchar(40) | ||||
9 | Due Date ![]() | datetime | ||||
10 | Sorting Method ![]() | int | ||||
11 | $systemId ![]() | uniqueidentifier | ||||
12 | $systemCreatedAt ![]() | datetime | ||||
13 | $systemCreatedBy ![]() | uniqueidentifier | ||||
14 | $systemModifiedAt ![]() | datetime | ||||
15 | $systemModifiedBy ![]() | uniqueidentifier |