Table "User Task"

ID 1170
Namespace: Microsoft.Foundation.Task

Properties

Name Value
Caption User Task
DataCaptionFields 2
DataClassification CustomerContent

Fields

Name Type Description
ID Integer
Title Text[250]
"Created By" Guid
"Created DateTime" DateTime
"Assigned To" Guid
"Completed By" Guid
"Completed DateTime" DateTime
"Due DateTime" DateTime
"Percent Complete" Integer
"Start DateTime" DateTime
Priority Option
Description Blob
"Created By User Name" Code[50]
"Assigned To User Name" Code[50]
"Completed By User Name" Code[50]
"Object Type" Option
"Object ID" Integer
"Parent ID" Integer
"User Task Group Assigned To" Code[20]
ShouldShowPendingTasks Boolean
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

CreateRecurrence

procedure CreateRecurrence(RecurringStartDate: Date, Recurrence: DateFormula, Occurrences: Integer)

Parameters

Name Type Description
RecurringStartDate Date
Recurrence DateFormula
Occurrences Integer

SetCompleted

procedure SetCompleted()

SetStyle

procedure SetStyle(): Text

Returns

Type Description
Text

GetDescription

procedure GetDescription(): Text

Returns

Type Description
Text

SetDescription

procedure SetDescription(StreamText: Text)

Parameters

Name Type Description
StreamText Text

IsCompleted

procedure IsCompleted(): Boolean

Returns

Type Description
Boolean
procedure RunReportOrPageLink()

Events

OnBeforeRunReportOrPageLink

[IntegrationEvent(False,False)]
local procedure OnBeforeRunReportOrPageLink(var UserTask: Record "User Task", var IsHandled: Boolean)

Parameters

Name Type Description
UserTask Table Microsoft.Foundation.Task."User Task"
IsHandled Boolean

OnCreateRecurrenceOnBeforeInsert

[IntegrationEvent(False,False)]
local procedure OnCreateRecurrenceOnBeforeInsert(var UserTask: Record "User Task", fromUserTask: Record "User Task", Counter: Integer, RecurringStartDate: Date, Recurrence: DateFormula)

Parameters

Name Type Description
UserTask Table Microsoft.Foundation.Task."User Task"
fromUserTask Table Microsoft.Foundation.Task."User Task"
Counter Integer
RecurringStartDate Date
Recurrence DateFormula

OnBeforeSetCompleted

[IntegrationEvent(False,False)]
local procedure OnBeforeSetCompleted(var UserTask: Record "User Task")

Parameters

Name Type Description
UserTask Table Microsoft.Foundation.Task."User Task"

OnAfterSetCompleted

[IntegrationEvent(False,False)]
local procedure OnAfterSetCompleted(var UserTask: Record "User Task")

Parameters

Name Type Description
UserTask Table Microsoft.Foundation.Task."User Task"

See also