Record Link

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

Table Type: System

Table Name: Record Link
Database Table Name: Record Link

Table Number: 2000000068

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 Record Link can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [Record Link]

Show/hide an example select of all columns by name

SELECT
   [Link ID]
   ,[Record ID]
   ,[URL1]
   ,[URL2]
   ,[URL3]
   ,[URL4]
   ,[Description]
   ,[Type]
   ,[Note]
   ,[Created]
   ,[User ID]
   ,[Company]
   ,[Notify]
   ,[To User ID]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [Record Link]

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

SELECT
   *
FROM
   [Record Link] AS [Record Link]
LEFT JOIN
   [Company] AS [Company]
      ON
         [Record Link].[Company] = [Company].[Name]
LEFT JOIN
   [User] AS [User]
      ON
         [Record Link].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Record Link].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Record Link table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Link ID Primary Key SearchLink IDNormalInteger4Link IDint
2Record ID SearchRecord IDNormalRecordID448Record IDvarbinary(448)
3URL1 SearchURL1NormalText2048URL1nvarchar(4096)
4URL2 SearchURL2NormalText250URL2nvarchar(500)
5URL3 SearchURL3NormalText250URL3nvarchar(500)
6URL4 SearchURL4NormalText250URL4nvarchar(500)
7Description SearchDescriptionNormalText250Descriptionnvarchar(500)
8Type SearchTypeNormalOption4Typeint
Available options are:
  • “Link”
  • “Note”
9Note SearchNoteNormalBLOB8Noteimage
10Created SearchCreatedNormalDateTime8Createddatetime
11User ID SearchUser IDNormalText132User IDnvarchar(264)
12Company SearchCompanyNormalText30Companynvarchar(60)
Key to join to the Company table.

Show/hide example query

SELECT
       [Record Link].[Company]
       ,[Company].[Name]
FROM
       [Record Link] AS [Record Link]
LEFT JOIN
       [Company] AS [Company]
              ON
                     [Record Link].[Company] = [Company].[Name]
13Notify SearchNotifyNormalBoolean4Notifytinyint
14To User ID SearchTo User IDNormalText132To User IDnvarchar(264)
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
       [Record Link].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [Record Link] AS [Record Link]
LEFT JOIN
       [User] AS [User]
              ON
                     [Record Link].[$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
       [Record Link].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [Record Link] AS [Record Link]
LEFT JOIN
       [User] AS [User]
              ON
                     [Record Link].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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