Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/309
Table Type: Company
Table Name: No. Series Line
Database Table Name: CRONUS UK Ltd_$No_ Series 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 No. Series Line can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$No_ Series Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Series Code]
,[Line No_]
,[Starting Date]
,[Starting No_]
,[Ending No_]
,[Warning No_]
,[Increment-by No_]
,[Last No_ Used]
,[Open]
,[Last Date Used]
,[Allow Gaps in Nos_]
,[Sequence Name]
,[Starting Sequence No_]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$No_ Series 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_$No_ Series Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series Line]
LEFT JOIN
[CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series]
ON
[No. Series Line].[Series Code] = [No. Series].[Code]
LEFT JOIN
[User] AS [User]
ON
[No. Series Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[No. Series Line].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in No. Series Line table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Series Code | Series Code | Normal | Code | 20 | Series Code | nvarchar(40) |
Key to join to the No. Series table.Show/hide example querySELECT [No. Series Line].[Series Code] ,[No. Series].[Code] FROM [CRONUS UK Ltd_$No_ Series Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series Line] LEFT JOIN [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series] ON [No. Series Line].[Series Code] = [No. Series].[Code] | |||||||
2 | Line No. | Line No. | Normal | Integer | 4 | Line No_ | int |
3 | Starting Date | Starting Date | Normal | Date | 4 | Starting Date | datetime |
4 | Starting No. | Starting No. | Normal | Code | 20 | Starting No_ | nvarchar(40) |
5 | Ending No. | Ending No. | Normal | Code | 20 | Ending No_ | nvarchar(40) |
6 | Warning No. | Warning No. | Normal | Code | 20 | Warning No_ | nvarchar(40) |
7 | Increment-by No. | Increment-by No. | Normal | Integer | 4 | Increment-by No_ | int |
8 | Last No. Used | Last No. Used | Normal | Code | 20 | Last No_ Used | nvarchar(40) |
9 | Open | Open | Normal | Boolean | 4 | Open | tinyint |
10 | Last Date Used | Last Date Used | Normal | Date | 4 | Last Date Used | datetime |
11 | Allow Gaps in Nos. | Allow Gaps in Nos. | Normal | Boolean | 4 | Allow Gaps in Nos_ | tinyint |
12 | Sequence Name | Sequence Name | Normal | Code | 40 | Sequence Name | nvarchar(80) |
13 | Starting Sequence No. | Starting Sequence No. | Normal | BigInteger | 8 | Starting Sequence No_ | bigint |
10000 | Series | Series | Normal | Code | 10 | ||
10001 | Authorization Code | Authorization Code | Normal | Integer | 4 | ||
10002 | Authorization Year | Authorization Year | Normal | Integer | 4 | ||
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 [No. Series Line].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$No_ Series Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series Line] LEFT JOIN [User] AS [User] ON [No. Series Line].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |