Depreciation Table Line

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

Table Type: Company

Table Name: Depreciation Table Line
Database Table Name: CRONUS UK Ltd_$Depreciation Table Line$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 5643

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 Depreciation Table Line can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Depreciation Table Line$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Depreciation Table Code]
   ,[Period No_]
   ,[Period Depreciation _]
   ,[No_ of Units in Period]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Depreciation Table 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_$Depreciation Table Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Depreciation Table Line]
LEFT JOIN
   [CRONUS UK Ltd_$Depreciation Table Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Depreciation Table Header]
      ON
         [Depreciation Table Line].[Depreciation Table Code] = [Depreciation Table Header].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Depreciation Table Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Depreciation Table Line].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Depreciation Table Line table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Depreciation Table Code Primary Key SearchDepreciation Table CodeNormalCode10Depreciation Table Codenvarchar(20)
Key to join to the Depreciation Table Header table.

Show/hide example query

SELECT
       [Depreciation Table Line].[Depreciation Table Code]
       ,[Depreciation Table Header].[Code]
FROM
       [CRONUS UK Ltd_$Depreciation Table Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Depreciation Table Line]
LEFT JOIN
       [CRONUS UK Ltd_$Depreciation Table Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Depreciation Table Header]
              ON
                     [Depreciation Table Line].[Depreciation Table Code] = [Depreciation Table Header].[Code]
2Period No. Primary Key SearchPeriod No.NormalInteger4Period No_int
3Period Depreciation % SearchPeriod Depreciation %NormalDecimal12Period Depreciation _decimal(38,38)
4No. of Units in Period SearchNo. of Units in PeriodNormalDecimal12No_ of Units in Perioddecimal(38,38)
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
       [Depreciation Table Line].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Depreciation Table Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Depreciation Table Line]
LEFT JOIN
       [User] AS [User]
              ON
                     [Depreciation Table Line].[$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
       [Depreciation Table Line].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Depreciation Table Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Depreciation Table Line]
LEFT JOIN
       [User] AS [User]
              ON
                     [Depreciation Table Line].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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