Loaner Entry

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

Table Type: Company

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

Table Number: 5914

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Entry No_]
   ,[Loaner No_]
   ,[Document No_]
   ,[Service Item Line No_]
   ,[Service Item No_]
   ,[Service Item Group Code]
   ,[Customer No_]
   ,[Date Lent]
   ,[Time Lent]
   ,[Date Received]
   ,[Time Received]
   ,[Lent]
   ,[Document Type]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Loaner Entry$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

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

Show/hide columns in Loaner Entry table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Entry No. SearchEntry No.NormalInteger4Entry No_int
2Loaner No. Primary Key SearchLoaner No.NormalCode20Loaner No_nvarchar(40)
Key to join to the Loaner table.

Show/hide example query

SELECT
	       [Loaner Entry].[Loaner No_]
	       ,[Loaner].[No_]
	FROM
	       [CRONUS UK Ltd_$Loaner Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Loaner Entry]
	LEFT JOIN
	       [CRONUS UK Ltd_$Loaner$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Loaner]
	              ON
	                     [Loaner Entry].[Loaner No_] = [Loaner].[No_]
3Document No. SearchDocument No.NormalCode20Document No_nvarchar(40)
4Service Item Line No. SearchService Item Line No.NormalInteger4Service Item Line No_int
5Service Item No. SearchService Item No.NormalCode20Service Item No_nvarchar(40)
Key to join to the Service Item table.

Show/hide example query

SELECT
	       [Loaner Entry].[Service Item No_]
	       ,[Service Item].[No_]
	FROM
	       [CRONUS UK Ltd_$Loaner Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Loaner Entry]
	LEFT JOIN
	       [CRONUS UK Ltd_$Service Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item]
	              ON
	                     [Loaner Entry].[Service Item No_] = [Service Item].[No_]
6Service Item Group Code SearchService Item Group CodeNormalCode10Service Item Group Codenvarchar(20)
Key to join to the Service Item Group table.

Show/hide example query

SELECT
	       [Loaner Entry].[Service Item Group Code]
	       ,[Service Item Group].[Code]
	FROM
	       [CRONUS UK Ltd_$Loaner Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Loaner Entry]
	LEFT JOIN
	       [CRONUS UK Ltd_$Service Item Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item Group]
	              ON
	                     [Loaner Entry].[Service Item Group Code] = [Service Item Group].[Code]
7Customer No. SearchCustomer No.NormalCode20Customer No_nvarchar(40)
Key to join to the Customer table.

Show/hide example query

SELECT
	       [Loaner Entry].[Customer No_]
	       ,[Customer].[No_]
	FROM
	       [CRONUS UK Ltd_$Loaner Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Loaner Entry]
	LEFT JOIN
	       [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
	              ON
	                     [Loaner Entry].[Customer No_] = [Customer].[No_]
8Date Lent SearchDate LentNormalDate4Date Lentdatetime
9Time Lent SearchTime LentNormalTime4Time Lentdatetime
10Date Received SearchDate ReceivedNormalDate4Date Receiveddatetime
11Time Received SearchTime ReceivedNormalTime4Time Receiveddatetime
12Lent SearchLentNormalBoolean4Lenttinyint
14Document Type SearchDocument TypeNormalOption4Document Typeint
Available options are:
  • ” “
  • “Quote”
  • “Order”
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 Entry].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Loaner Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Loaner Entry]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Loaner Entry].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Show/hide tables related from Loaner Entry table

Leave a Reply

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