Date Compr. Register

Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/87

Table Type: Company

Table Name: Date Compr. Register
Database Table Name: CRONUS UK Ltd_$Date Compr_ Register$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 87

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 Date Compr. Register can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Date Compr_ Register$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [No_]
   ,[Creation Date]
   ,[Period Length]
   ,[Ending Date]
   ,[No_ of New Records]
   ,[No_ Records Deleted]
   ,[User ID]
   ,[Filter]
   ,[Starting Date]
   ,[Table ID]
   ,[Register No_]
   ,[Source Code]
   ,[Retain Field Contents]
   ,[Retain Totals]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Date Compr_ Register$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns including those from all joined tables

SELECT
   *
FROM
   [CRONUS UK Ltd_$Date Compr_ Register$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Date Compr. Register]
LEFT JOIN
   [CRONUS UK Ltd_$Inventory Period$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Period]
      ON
         [Date Compr. Register].[Ending Date] = [Inventory Period].[Ending Date]
LEFT JOIN
   [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
      ON
         [Date Compr. Register].[Table ID] = [Data Exch. Mapping].[Table ID]
LEFT JOIN
   [CRONUS UK Ltd_$Source Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Source Code]
      ON
         [Date Compr. Register].[Source Code] = [Source Code].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Date Compr. Register].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Date Compr. Register].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Date Compr. Register table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1No. Primary Key SearchNo.NormalInteger4No_int
2Creation Date SearchCreation DateNormalDate4Creation Datedatetime
3Table Caption SearchTable CaptionFlowFieldText250
4Period Length SearchPeriod LengthNormalOption4Period Lengthint
Available options are:
  • “Day”
  • “Week”
  • “Month”
  • “Quarter”
  • “Year”
  • “Period”
5Ending Date SearchEnding DateNormalDate4Ending Datedatetime
Key to join to the Inventory Period table.

Show/hide example query

SELECT
       [Date Compr. Register].[Ending Date]
       ,[Inventory Period].[Ending Date]
FROM
       [CRONUS UK Ltd_$Date Compr_ Register$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Date Compr. Register]
LEFT JOIN
       [CRONUS UK Ltd_$Inventory Period$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Period]
              ON
                     [Date Compr. Register].[Ending Date] = [Inventory Period].[Ending Date]
6No. of New Records SearchNo. of New RecordsNormalInteger4No_ of New Recordsint
7No. Records Deleted SearchNo. Records DeletedNormalInteger4No_ Records Deletedint
8User ID SearchUser IDNormalCode50User IDnvarchar(100)
9Filter SearchFilterNormalText250Filternvarchar(500)
10Starting Date SearchStarting DateNormalDate4Starting Datedatetime
11Table ID SearchTable IDNormalInteger4Table IDint
Key to join to the Data Exch. Mapping table.

Show/hide example query

SELECT
       [Date Compr. Register].[Table ID]
       ,[Data Exch. Mapping].[Table ID]
FROM
       [CRONUS UK Ltd_$Date Compr_ Register$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Date Compr. Register]
LEFT JOIN
       [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
              ON
                     [Date Compr. Register].[Table ID] = [Data Exch. Mapping].[Table ID]
12Register No. SearchRegister No.NormalInteger4Register No_int
Key to join to the Logged Segment table.

Show/hide example query

SELECT
       [Date Compr. Register].[Register No_]
       ,[Logged Segment].[Entry No_]
FROM
       [CRONUS UK Ltd_$Date Compr_ Register$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Date Compr. Register]
LEFT JOIN
       [CRONUS UK Ltd_$Logged Segment$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Logged Segment]
              ON
                     [Date Compr. Register].[Register No_] = [Logged Segment].[Entry No_]
13Source Code SearchSource CodeNormalCode10Source Codenvarchar(20)
Key to join to the Source Code table.

Show/hide example query

SELECT
       [Date Compr. Register].[Source Code]
       ,[Source Code].[Code]
FROM
       [CRONUS UK Ltd_$Date Compr_ Register$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Date Compr. Register]
LEFT JOIN
       [CRONUS UK Ltd_$Source Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Source Code]
              ON
                     [Date Compr. Register].[Source Code] = [Source Code].[Code]
14Retain Field Contents SearchRetain Field ContentsNormalText80Retain Field Contentsnvarchar(160)
15Retain Totals SearchRetain TotalsNormalText80Retain Totalsnvarchar(160)
2000000000$systemId SearchSystem IDNormalGUID16$systemIduniqueidentifier
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8$systemCreatedAtdatetime
2000000002SystemCreatedBy SearchCreated ByNormalGUID16$systemCreatedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
       [Date Compr. Register].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Date Compr_ Register$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Date Compr. Register]
LEFT JOIN
       [User] AS [User]
              ON
                     [Date Compr. Register].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
       [Date Compr. Register].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Date Compr_ Register$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Date Compr. Register]
LEFT JOIN
       [User] AS [User]
              ON
                     [Date Compr. Register].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

Your email address will not be published. Required fields are marked *