G/L Account Mapping Header

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

Table Type: Company

Table Name: G/L Account Mapping Header
Database Table Name: CRONUS UK Ltd_$G_L Account Mapping Header$a41b0c3e-bf1c-4c97-ad1b-b430a3933ada

Table Number: 5260

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 G/L Account Mapping Header can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$G_L Account Mapping Header$a41b0c3e-bf1c-4c97-ad1b-b430a3933ada]

Show/hide an example select of all columns by name

SELECT
   [Code]
   ,[Standard Account Type]
   ,[Audit File Export Format]
   ,[Starting Date]
   ,[Ending Date]
   ,[Period Type]
   ,[Accounting Period]
   ,[Include Incoming Balance]
   ,[Standard Account Category No_]
   ,[Standard Account No_]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$G_L Account Mapping Header$a41b0c3e-bf1c-4c97-ad1b-b430a3933ada]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$G_L Account Mapping Header$a41b0c3e-bf1c-4c97-ad1b-b430a3933ada] AS [G/L Account Mapping Header]
LEFT JOIN
   [CRONUS UK Ltd_$Inventory Period$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Period]
      ON
         [G/L Account Mapping Header].[Ending Date] = [Inventory Period].[Ending Date]
LEFT JOIN
   [User] AS [User]
      ON
         [G/L Account Mapping Header].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [G/L Account Mapping Header].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in G/L Account Mapping Header table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Code Primary Key SearchCodeNormalCode20Codenvarchar(40)
2Standard Account Type SearchStandard Account TypeNormalOption4Standard Account Typeint
Available options are:
  • “None”
3Audit File Export Format SearchAudit File Export FormatNormalOption4Audit File Export Formatint
Available options are:
  • “None”
10Starting Date SearchStarting DateNormalDate4Starting Datedatetime
11Ending Date SearchEnding DateNormalDate4Ending Datedatetime
Key to join to the Inventory Period table.

Show/hide example query

SELECT
       [G/L Account Mapping Header].[Ending Date]
       ,[Inventory Period].[Ending Date]
FROM
       [CRONUS UK Ltd_$G_L Account Mapping Header$a41b0c3e-bf1c-4c97-ad1b-b430a3933ada] AS [G/L Account Mapping Header]
LEFT JOIN
       [CRONUS UK Ltd_$Inventory Period$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Period]
              ON
                     [G/L Account Mapping Header].[Ending Date] = [Inventory Period].[Ending Date]
12Period Type SearchPeriod TypeNormalOption4Period Typeint
Available options are:
  • “None”
  • “Accounting Period”
  • “Date Range”
13Accounting Period SearchAccounting PeriodNormalDate4Accounting Perioddatetime
14Include Incoming Balance SearchInclude Incoming BalanceNormalBoolean4Include Incoming Balancetinyint
15Standard Account Category No. SearchStandard Account Category No.NormalCode20Standard Account Category No_nvarchar(40)
16Standard Account No. SearchStandard Account No.NormalCode20Standard Account No_nvarchar(40)
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
       [G/L Account Mapping Header].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$G_L Account Mapping Header$a41b0c3e-bf1c-4c97-ad1b-b430a3933ada] AS [G/L Account Mapping Header]
LEFT JOIN
       [User] AS [User]
              ON
                     [G/L Account Mapping Header].[$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
       [G/L Account Mapping Header].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$G_L Account Mapping Header$a41b0c3e-bf1c-4c97-ad1b-b430a3933ada] AS [G/L Account Mapping Header]
LEFT JOIN
       [User] AS [User]
              ON
                     [G/L Account Mapping Header].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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