Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/7308
Table Type: Company
Table Name: Put-away Template Line
Database Table Name: CRONUS UK Ltd_$Put-away Template Line$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 Put-away Template Line can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Put-away Template Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Put-away Template Code]
,[Line No_]
,[Description]
,[Find Fixed Bin]
,[Find Floating Bin]
,[Find Same Item]
,[Find Unit of Measure Match]
,[Find Bin w_ Less than Min_ Qty]
,[Find Empty Bin]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Put-away Template Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Put-away Template Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Put-away Template Line]
LEFT JOIN
[CRONUS UK Ltd_$Put-away Template Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Put-away Template Header]
ON
[Put-away Template Line].[Put-away Template Code] = [Put-away Template Header].[Code]
LEFT JOIN
[User] AS [User]
ON
[Put-away Template Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Put-away Template Line].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Put-away Template Line table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Put-away Template Code | Put-away Template Code | Normal | Code | 10 | Put-away Template Code | nvarchar(20) |
Key to join to the Put-away Template Header table.Show/hide example querySELECT [Put-away Template Line].[Put-away Template Code] ,[Put-away Template Header].[Code] FROM [CRONUS UK Ltd_$Put-away Template Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Put-away Template Line] LEFT JOIN [CRONUS UK Ltd_$Put-away Template Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Put-away Template Header] ON [Put-away Template Line].[Put-away Template Code] = [Put-away Template Header].[Code] | |||||||
2 | Line No. | Line No. | Normal | Integer | 4 | Line No_ | int |
3 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
4 | Find Fixed Bin | Find Fixed Bin | Normal | Boolean | 4 | Find Fixed Bin | tinyint |
5 | Find Floating Bin | Find Floating Bin | Normal | Boolean | 4 | Find Floating Bin | tinyint |
6 | Find Same Item | Find Same Item | Normal | Boolean | 4 | Find Same Item | tinyint |
7 | Find Unit of Measure Match | Find Unit of Measure Match | Normal | Boolean | 4 | Find Unit of Measure Match | tinyint |
8 | Find Bin w. Less than Min. Qty | Find Bin w. Less than Min. Qty | Normal | Boolean | 4 | Find Bin w_ Less than Min_ Qty | tinyint |
9 | Find Empty Bin | Find Empty Bin | Normal | Boolean | 4 | Find Empty Bin | tinyint |
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 [Put-away Template Line].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Put-away Template Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Put-away Template Line] LEFT JOIN [User] AS [User] ON [Put-away Template Line].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |