Where Used Base Calendar

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

Table Type: Company

Table Name: Where Used Base Calendar
Database Table Name: CRONUS UK Ltd_$Where Used Base Calendar$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 7604

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 Where Used Base Calendar can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Where Used Base Calendar$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Source Type]
   ,[Source Code]
   ,[Additional Source Code]
   ,[Base Calendar Code]
   ,[Source Name]
   ,[Customized Changes Exist]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Where Used Base Calendar$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Where Used Base Calendar$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Where Used Base Calendar]
LEFT JOIN
   [CRONUS UK Ltd_$Source Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Source Code]
      ON
         [Where Used Base Calendar].[Source Code] = [Source Code].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Base Calendar$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Base Calendar]
      ON
         [Where Used Base Calendar].[Base Calendar Code] = [Base Calendar].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Where Used Base Calendar].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Where Used Base Calendar].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Where Used Base Calendar table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Source Type Primary Key SearchSource TypeNormalOption4Source Typeint
Available options are:
  • “Company”
  • “Customer”
  • “Vendor”
  • “Location”
  • “Shipping Agent”
  • “Service”
2Source Code Primary Key SearchSource CodeNormalCode20Source Codenvarchar(40)
Key to join to the Source Code table.

Show/hide example query

SELECT
       [Where Used Base Calendar].[Source Code]
       ,[Source Code].[Code]
FROM
       [CRONUS UK Ltd_$Where Used Base Calendar$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Where Used Base Calendar]
LEFT JOIN
       [CRONUS UK Ltd_$Source Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Source Code]
              ON
                     [Where Used Base Calendar].[Source Code] = [Source Code].[Code]
3Additional Source Code SearchAdditional Source CodeNormalCode20Additional Source Codenvarchar(40)
4Base Calendar Code Primary Key SearchBase Calendar CodeNormalCode10Base Calendar Codenvarchar(20)
Key to join to the Base Calendar table.

Show/hide example query

SELECT
       [Where Used Base Calendar].[Base Calendar Code]
       ,[Base Calendar].[Code]
FROM
       [CRONUS UK Ltd_$Where Used Base Calendar$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Where Used Base Calendar]
LEFT JOIN
       [CRONUS UK Ltd_$Base Calendar$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Base Calendar]
              ON
                     [Where Used Base Calendar].[Base Calendar Code] = [Base Calendar].[Code]
5Source Name Primary Key SearchSource NameNormalText50Source Namenvarchar(100)
6Customized Changes Exist SearchCustomized Changes ExistNormalBoolean4Customized Changes Existtinyint
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
       [Where Used Base Calendar].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Where Used Base Calendar$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Where Used Base Calendar]
LEFT JOIN
       [User] AS [User]
              ON
                     [Where Used Base Calendar].[$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
       [Where Used Base Calendar].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Where Used Base Calendar$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Where Used Base Calendar]
LEFT JOIN
       [User] AS [User]
              ON
                     [Where Used Base Calendar].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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