Loaner

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

Table Type: Company

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

Table Number: 5913

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [No_]
   ,[Description]
   ,[Description 2]
   ,[Unit of Measure Code]
   ,[Item No_]
   ,[Last Date Modified]
   ,[Blocked]
   ,[No_ Series]
   ,[Serial No_]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Loaner$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [] AS [Loaner]
LEFT JOIN
   [CRONUS UK Ltd_$Sales Header Archive$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header Archive]
      ON
         [Loaner].[Document Type] = [Sales Header Archive].[Document Type]
      AND
         [Loaner].[Document No_] = [Sales Header Archive].[No_]
LEFT JOIN
   [CRONUS UK Ltd_$Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header]
      ON
         [Loaner].[Document Type] = [Sales Header].[Document Type]
      AND
         [Loaner].[Document No_] = [Sales Header].[No_]
LEFT JOIN
   [User] AS [User]
      ON
         [Loaner].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Loaner].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Loaner table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1No. Primary Key SearchNo.NormalCode20No_nvarchar(40)
2Description SearchDescriptionNormalText100Descriptionnvarchar(200)
4Description 2 SearchDescription 2NormalText50Description 2nvarchar(100)
5Unit of Measure Code SearchUnit of Measure CodeNormalCode10Unit of Measure Codenvarchar(20)
6Item No. SearchItem No.NormalCode20Item No_nvarchar(40)
Key to join to the Item table.

Show/hide example query

SELECT
       [Loaner].[Item No_]
       ,[Item].[No_]
FROM
       [CRONUS UK Ltd_$Loaner$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Loaner]
LEFT JOIN
       [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item]
              ON
                     [Loaner].[Item No_] = [Item].[No_]
7Last Date Modified SearchLast Date ModifiedNormalDate4Last Date Modifieddatetime
8Comment SearchCommentFlowFieldBoolean4
9Blocked SearchBlockedNormalBoolean4Blockedtinyint
11No. Series SearchNo. SeriesNormalCode20No_ Seriesnvarchar(40)
Key to join to the No. Series table.

Show/hide example query

SELECT
       [Loaner].[No_ Series]
       ,[No. Series].[Code]
FROM
       [CRONUS UK Ltd_$Loaner$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Loaner]
LEFT JOIN
       [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series]
              ON
                     [Loaner].[No_ Series] = [No. Series].[Code]
12Document No. SearchDocument No.FlowFieldCode20
13Lent SearchLentFlowFieldBoolean4
14Serial No. SearchSerial No.NormalCode50Serial No_nvarchar(100)
15Document Type SearchDocument TypeFlowFieldOption4
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
       [Loaner].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Loaner$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Loaner]
LEFT JOIN
       [User] AS [User]
              ON
                     [Loaner].[$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
       [Loaner].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Loaner$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Loaner]
LEFT JOIN
       [User] AS [User]
              ON
                     [Loaner].[$systemModifiedBy] = [User].[User Security ID]

Show/hide tables related from Loaner table

Leave a Reply

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