Codeunit "Calendar Event Mangement"
Obsolete
This element will become obsolete from version 24.0. Invoicing
Properties
Name | Value |
---|---|
Permissions | TableData "Calendar Event" = rimd, TableData "Calendar Event User Config." = rimd |
ObsoleteReason | Invoicing |
ObsoleteState | Pending |
ObsoleteTag | 24.0 |
Methods
CreateCalendarEvent
Obsolete
This element will become obsolete from version 24.0. Invoicing
[Obsolete(Invoicing,24.0)]
procedure CreateCalendarEvent(ScheduledDate: Date, Description: Text[100], CodeunitNo: Integer, RecId: RecordId, QueueEvent: Boolean): Integer
Parameters
Name | Type | Description |
---|---|---|
ScheduledDate | Date | |
Description | Text[100] | |
CodeunitNo | Integer | |
RecId | RecordId | |
QueueEvent | Boolean |
Returns
Type | Description |
---|---|
Integer |
CreateCalendarEventForCodeunit
Obsolete
This element will become obsolete from version 24.0. Invoicing
[Obsolete(Invoicing,24.0)]
procedure CreateCalendarEventForCodeunit(ScheduledDate: Date, Description: Text[100], CodeunitNo: Integer): Integer
Parameters
Name | Type | Description |
---|---|---|
ScheduledDate | Date | |
Description | Text[100] | |
CodeunitNo | Integer |
Returns
Type | Description |
---|---|
Integer |
QueueBackgroundSystemEvent
Obsolete
This element will become obsolete from version 24.0. Invoicing
[Obsolete(Invoicing,24.0)]
procedure QueueBackgroundSystemEvent(Description: Text[100], CodeunitNo: Integer, RecId: RecordId): Integer
Parameters
Name | Type | Description |
---|---|---|
Description | Text[100] | |
CodeunitNo | Integer | |
RecId | RecordId |
Returns
Type | Description |
---|---|
Integer |
CreateOrUpdateJobQueueEntry
Obsolete
This element will become obsolete from version 24.0. Invoicing
[Obsolete(Invoicing,24.0)]
procedure CreateOrUpdateJobQueueEntry(CalendarEvent: Record "Calendar Event")
Parameters
Name | Type | Description |
---|---|---|
CalendarEvent | Table "Calendar Event" |
DescheduleCalendarEvent
Obsolete
This element will become obsolete from version 24.0. Invoicing
[Obsolete(Invoicing,24.0)]
procedure DescheduleCalendarEvent(var CalendarEvent: Record "Calendar Event")
Parameters
Name | Type | Description |
---|---|---|
CalendarEvent | Table "Calendar Event" |
DescheduleCalendarEventForCodeunit
Obsolete
This element will become obsolete from version 24.0. Invoicing
[Obsolete(Invoicing,24.0)]
procedure DescheduleCalendarEventForCodeunit(CodeunitID: Integer)
Parameters
Name | Type | Description |
---|---|---|
CodeunitID | Integer |
FindJobQueue
Obsolete
This element will become obsolete from version 24.0. Invoicing
[Obsolete(Invoicing,24.0)]
procedure FindJobQueue(var JobQueueEntry: Record "Job Queue Entry"): Boolean
Parameters
Name | Type | Description |
---|---|---|
JobQueueEntry | Table System.Threading."Job Queue Entry" |
Returns
Type | Description |
---|---|
Boolean |
SetJobQueueOnHold
Obsolete
This element will become obsolete from version 24.0. Invoicing
[Obsolete(Invoicing,24.0)]
procedure SetJobQueueOnHold(var JobQueueEntry: Record "Job Queue Entry")
Parameters
Name | Type | Description |
---|---|---|
JobQueueEntry | Table System.Threading."Job Queue Entry" |
UpdateJobQueue
Obsolete
This element will become obsolete from version 24.0. Invoicing
[Obsolete(Invoicing,24.0)]
procedure UpdateJobQueue(var JobQueueEntry: Record "Job Queue Entry")
Parameters
Name | Type | Description |
---|---|---|
JobQueueEntry | Table System.Threading."Job Queue Entry" |
Events
OnBeforeFindOrCreateJobQueue
Obsolete
This element will become obsolete from version 24.0. Invoicing
[IntegrationEvent(False,False)]
[Obsolete(Invoicing,24.0)]
local procedure OnBeforeFindOrCreateJobQueue(var JobQueueEntry: Record "Job Queue Entry", var IsHandled: Boolean)
Parameters
Name | Type | Description |
---|---|---|
JobQueueEntry | Table System.Threading."Job Queue Entry" | |
IsHandled | Boolean |
OnBeforeSetNextJobQueueRunDate
Obsolete
This element will become obsolete from version 24.0. Invoicing
[IntegrationEvent(False,False)]
[Obsolete(Invoicing,24.0)]
local procedure OnBeforeSetNextJobQueueRunDate(var JobQueueEntry: Record "Job Queue Entry", NewDate: Date, var IsHandled: Boolean)
Parameters
Name | Type | Description |
---|---|---|
JobQueueEntry | Table System.Threading."Job Queue Entry" | |
NewDate | Date | |
IsHandled | Boolean |
OnBeforeSetJobQueueOnHold
Obsolete
This element will become obsolete from version 24.0. Invoicing
[IntegrationEvent(False,False)]
[Obsolete(Invoicing,24.0)]
local procedure OnBeforeSetJobQueueOnHold(var JobQueueEntry: Record "Job Queue Entry", var IsHandled: Boolean)
Parameters
Name | Type | Description |
---|---|---|
JobQueueEntry | Table System.Threading."Job Queue Entry" | |
IsHandled | Boolean |
OnBeforeUpdateJobQueueWithSuggestedDate
Obsolete
This element will become obsolete from version 24.0. Invoicing
[IntegrationEvent(False,False)]
[Obsolete(Invoicing,24.0)]
local procedure OnBeforeUpdateJobQueueWithSuggestedDate(var JobQueueEntry: Record "Job Queue Entry", CalendarEvent: Record "Calendar Event", var IsHandled: Boolean)
Parameters
Name | Type | Description |
---|---|---|
JobQueueEntry | Table System.Threading."Job Queue Entry" | |
CalendarEvent | Table "Calendar Event" | |
IsHandled | Boolean |