User Task

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

Table Type: Company

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

Table Number: 1170

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [ID]
   ,[Title]
   ,[Created By]
   ,[Created DateTime]
   ,[Assigned To]
   ,[Completed By]
   ,[Completed DateTime]
   ,[Due DateTime]
   ,[Percent Complete]
   ,[Start DateTime]
   ,[Priority]
   ,[Description]
   ,[Object Type]
   ,[Object ID]
   ,[Parent ID]
   ,[User Task Group Assigned To]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$User Task$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$User Task$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [User Task]
LEFT JOIN
   [User] AS [User]
      ON
         [User Task].[Created By] = [User].[User Name]
LEFT JOIN
   [User] AS [User]
      ON
         [User Task].[Assigned To] = [User].[User Security ID]
LEFT JOIN
   [CRONUS UK Ltd_$Salesperson_Purchaser$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salesperson/Purchaser]
      ON
         [User Task].[Completed By] = [Salesperson/Purchaser].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Shpfy Order Transaction$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Order Transaction]
      ON
         [User Task].[Parent Id] = [Shpfy Order Transaction].[Shopify Transaction Id]
LEFT JOIN
   [CRONUS UK Ltd_$User Task Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [User Task Group]
      ON
         [User Task].[User Task Group Assigned To] = [User Task Group].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [User Task].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [User Task].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in User Task table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1ID SearchIDNormalInteger4IDint
2Title Primary Key SearchSubjectNormalText250Titlenvarchar(500)
3Created By SearchCreated ByNormalGUID16Created Byuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
	       [User Task].[Created By]
	       ,[User].[User Name]
	FROM
	       [CRONUS UK Ltd_$User Task$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [User Task]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [User Task].[Created By] = [User].[User Name]
4Created DateTime SearchCreated DateNormalDateTime8Created DateTimedatetime
5Assigned To SearchAssigned ToNormalGUID16Assigned Touniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
	       [User Task].[Assigned To]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$User Task$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [User Task]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [User Task].[Assigned To] = [User].[User Security ID]
7Completed By SearchCompleted ByNormalGUID16Completed Byuniqueidentifier
Key to join to the Salesperson/Purchaser table.

Show/hide example query

SELECT
	       [User Task].[Completed By]
	       ,[Salesperson/Purchaser].[Code]
	FROM
	       [CRONUS UK Ltd_$User Task$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [User Task]
	LEFT JOIN
	       [CRONUS UK Ltd_$Salesperson_Purchaser$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salesperson/Purchaser]
	              ON
	                     [User Task].[Completed By] = [Salesperson/Purchaser].[Code]
8Completed DateTime SearchCompleted DateNormalDateTime8Completed DateTimedatetime
9Due DateTime SearchDue DateNormalDateTime8Due DateTimedatetime
10Percent Complete Search% CompleteNormalInteger4Percent Completeint
11Start DateTime SearchStart DateNormalDateTime8Start DateTimedatetime
12Priority SearchPriorityNormalOption4Priorityint
Available options are:
  • “”
  • “Low”
  • “Normal”
  • “High”
13Description SearchDescriptionNormalBLOB8Descriptionimage
14Created By User Name SearchUser Created ByFlowFieldCode50
15Assigned To User Name SearchUser Assigned ToFlowFieldCode50
16Completed By User Name SearchUser Completed ByFlowFieldCode50
17Object Type SearchLink Task ToNormalOption4Object Typeint
Available options are:
  • “”
  • “Report”
  • “Page”
18Object ID SearchObject IDNormalInteger4Object IDint
19Parent ID SearchParent IDNormalInteger4Parent IDint
Key to join to the Shpfy Order Transaction table.

Show/hide example query

SELECT
	       [User Task].[Parent ID]
	       ,[Shpfy Order Transaction].[Shopify Transaction Id]
	FROM
	       [CRONUS UK Ltd_$User Task$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [User Task]
	LEFT JOIN
	       [CRONUS UK Ltd_$Shpfy Order Transaction$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Order Transaction]
	              ON
	                     [User Task].[Parent ID] = [Shpfy Order Transaction].[Shopify Transaction Id]
20User Task Group Assigned To SearchUser Task Group Assigned ToNormalCode20User Task Group Assigned Tonvarchar(40)
Key to join to the User Task Group table.

Show/hide example query

SELECT
	       [User Task].[User Task Group Assigned To]
	       ,[User Task Group].[Code]
	FROM
	       [CRONUS UK Ltd_$User Task$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [User Task]
	LEFT JOIN
	       [CRONUS UK Ltd_$User Task Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [User Task Group]
	              ON
	                     [User Task].[User Task Group Assigned To] = [User Task Group].[Code]
21ShouldShowPendingTasks SearchShouldShowPendingTasksFlowFilterBoolean4
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
	       [User Task].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$User Task$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [User Task]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [User Task].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Leave a Reply

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