Inc. Doc. Attachment Overview

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

Table Type: Company

Table Name: Inc. Doc. Attachment Overview
Database Table Name: CRONUS UK Ltd_$Inc_ Doc_ Attachment Overview$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 137

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 Inc. Doc. Attachment Overview can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Inc_ Doc_ Attachment Overview$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Incoming Document Entry No_]
   ,[Line No_]
   ,[Created Date-Time]
   ,[Created By User Name]
   ,[Name]
   ,[Type]
   ,[File Extension]
   ,[Attachment Type]
   ,[Sorting Order]
   ,[Indentation]
   ,[Posting Date]
   ,[Document No_]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Inc_ Doc_ Attachment Overview$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Inc_ Doc_ Attachment Overview$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inc. Doc. Attachment Overview]
LEFT JOIN
   [User] AS [User]
      ON
         [Inc. Doc. Attachment Overview].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Inc. Doc. Attachment Overview].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Inc. Doc. Attachment Overview table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Incoming Document Entry No. Primary Key SearchIncoming Document Entry No.NormalInteger4Incoming Document Entry No_int
Key to join to the Incoming Document table.

Show/hide example query

SELECT
       [Inc. Doc. Attachment Overview].[Incoming Document Entry No_]
       ,[Incoming Document].[Entry No_]
FROM
       [CRONUS UK Ltd_$Inc_ Doc_ Attachment Overview$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inc. Doc. Attachment Overview]
LEFT JOIN
       [CRONUS UK Ltd_$Incoming Document$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Incoming Document]
              ON
                     [Inc. Doc. Attachment Overview].[Incoming Document Entry No_] = [Incoming Document].[Entry No_]
2Line No. SearchLine No.NormalInteger4Line No_int
3Created Date-Time SearchCreated Date-TimeNormalDateTime8Created Date-Timedatetime
4Created By User Name SearchCreated By User NameNormalCode50Created By User Namenvarchar(100)
5Name SearchNameNormalText250Namenvarchar(500)
6Type SearchTypeNormalOption4Typeint
Available options are:
  • ” “
  • “Image”
  • “PDF”
  • “Word”
  • “Excel”
  • “PowerPoint”
  • “Email”
  • “XML”
  • “Other”
7File Extension SearchFile ExtensionNormalText30File Extensionnvarchar(60)
100Attachment Type SearchAttachment TypeNormalOption4Attachment Typeint
Available options are:
  • “”
  • “Group”
  • “Main Attachment”
  • “OCR Result”
  • “Supporting Attachment”
  • “Link”
101Sorting Order Primary Key SearchSorting OrderNormalInteger4Sorting Orderint
102Indentation SearchIndentationNormalInteger4Indentationint
103Posting Date SearchPosting DateNormalDate4Posting Datedatetime
104Document No. SearchDocument No.NormalCode20Document 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
       [Inc. Doc. Attachment Overview].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Inc_ Doc_ Attachment Overview$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inc. Doc. Attachment Overview]
LEFT JOIN
       [User] AS [User]
              ON
                     [Inc. Doc. Attachment Overview].[$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
       [Inc. Doc. Attachment Overview].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Inc_ Doc_ Attachment Overview$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inc. Doc. Attachment Overview]
LEFT JOIN
       [User] AS [User]
              ON
                     [Inc. Doc. Attachment Overview].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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