Codeunit "Instruction Mgt."

ID 1330
Namespace: Microsoft.Utilities

Properties

Name Value
Permissions TableData "My Notifications" = rimd

Methods

ShowConfirm

procedure ShowConfirm(ConfirmQst: Text, InstructionType: Code[50]): Boolean

Parameters

Name Type Description
ConfirmQst Text
InstructionType Code[50]

Returns

Type Description
Boolean

ShowConfirmUnreleased

procedure ShowConfirmUnreleased(): Boolean

Returns

Type Description
Boolean

DisableMessageForCurrentUser

procedure DisableMessageForCurrentUser(InstructionType: Code[50])

Parameters

Name Type Description
InstructionType Code[50]

EnableMessageForCurrentUser

procedure EnableMessageForCurrentUser(InstructionType: Code[50])

Parameters

Name Type Description
InstructionType Code[50]

IsEnabled

procedure IsEnabled(InstructionType: Code[50]): Boolean

Parameters

Name Type Description
InstructionType Code[50]

Returns

Type Description
Boolean

IsUnpostedEnabledForRecord

procedure IsUnpostedEnabledForRecord(RecVariant: Variant): Boolean

Parameters

Name Type Description
RecVariant Variant

Returns

Type Description
Boolean

IsMyNotificationEnabled

procedure IsMyNotificationEnabled(NotificationID: Guid): Boolean

Parameters

Name Type Description
NotificationID Guid

Returns

Type Description
Boolean

CreateMissingMyNotificationsWithDefaultState

procedure CreateMissingMyNotificationsWithDefaultState(NotificationID: Guid)

Parameters

Name Type Description
NotificationID Guid

ShowPostedConfirmationMessageCode

procedure ShowPostedConfirmationMessageCode(): Code[50]

Returns

Type Description
Code[50]

QueryPostOnCloseCode

procedure QueryPostOnCloseCode(): Code[50]

Returns

Type Description
Code[50]

OfficeUpdateNotificationCode

procedure OfficeUpdateNotificationCode(): Code[50]

Returns

Type Description
Code[50]

GetDefaultDimPrioritiesTxt

procedure GetDefaultDimPrioritiesTxt(): Text[128]

Returns

Type Description
Text[128]

GetDefaultDimPrioritiesDescriptionTxt

procedure GetDefaultDimPrioritiesDescriptionTxt(): Text

Returns

Type Description
Text

PostingAfterWorkingDateNotAllowedCode

procedure PostingAfterWorkingDateNotAllowedCode(): Code[50]

Returns

Type Description
Code[50]

ClosingUnreleasedOrdersCode

procedure ClosingUnreleasedOrdersCode(): Code[50]

Returns

Type Description
Code[50]

DefaultDimPrioritiesCode

procedure DefaultDimPrioritiesCode(): Code[50]

Returns

Type Description
Code[50]

MarkBookingAsInvoicedWarningCode

procedure MarkBookingAsInvoicedWarningCode(): Code[50]

Returns

Type Description
Code[50]

AutomaticLineItemsDialogCode

procedure AutomaticLineItemsDialogCode(): Code[50]

Returns

Type Description
Code[50]

GetClosingUnpostedDocumentNotificationId

procedure GetClosingUnpostedDocumentNotificationId(): Guid

Returns

Type Description
Guid

GetDocumentTypeInvoiceFilter

procedure GetDocumentTypeInvoiceFilter(): Text

Returns

Type Description
Text

GetOpeningPostedDocumentNotificationId

procedure GetOpeningPostedDocumentNotificationId(): Guid

Returns

Type Description
Guid

GetMarkBookingAsInvoicedWarningNotificationId

procedure GetMarkBookingAsInvoicedWarningNotificationId(): Guid

Returns

Type Description
Guid

GetOfficeUpdateNotificationId

procedure GetOfficeUpdateNotificationId(): Guid

Returns

Type Description
Guid

GetPostingAfterWorkingDateNotificationId

procedure GetPostingAfterWorkingDateNotificationId(): Guid

Returns

Type Description
Guid

GetClosingUnreleasedOrdersNotificationId

procedure GetClosingUnreleasedOrdersNotificationId(): Guid

Returns

Type Description
Guid

GetDefaultDimPrioritiesNotificationId

procedure GetDefaultDimPrioritiesNotificationId(): Guid

Returns

Type Description
Guid

GetAutomaticLineItemsDialogNotificationId

procedure GetAutomaticLineItemsDialogNotificationId(): Guid

Returns

Type Description
Guid

InsertDefaultUnpostedDoucumentNotification

procedure InsertDefaultUnpostedDoucumentNotification()

ShowPostedDocument

procedure ShowPostedDocument(RecVariant: Variant, CalledFromPageId: Integer)

Parameters

Name Type Description
RecVariant Variant
CalledFromPageId Integer

Events

OnBeforeIsUnpostedEnabledForRecord

[IntegrationEvent(False,False)]
procedure OnBeforeIsUnpostedEnabledForRecord(RecVariant: Variant, var Enabled: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
RecVariant Variant
Enabled Boolean
IsHandled Boolean

OnAfterIsEnabled

[IntegrationEvent(False,False)]
local procedure OnAfterIsEnabled(InstructionType: Code[50], var Result: Boolean)

Parameters

Name Type Description
InstructionType Code[50]
Result Boolean

OnBeforeInsertDefaultUnpostedDoucumentNotification

[IntegrationEvent(True,False)]
local procedure OnBeforeInsertDefaultUnpostedDoucumentNotification(var MyNotifications: Record "My Notifications")

Parameters

Name Type Description
MyNotifications Table System.Environment.Configuration."My Notifications"

OnShowPostedDocumentOnBeforePageRun

[IntegrationEvent(False,False)]
local procedure OnShowPostedDocumentOnBeforePageRun(RecVariant: Variant, CalledFromPageId: Integer, var PageId: Integer)

Parameters

Name Type Description
RecVariant Variant
CalledFromPageId Integer
PageId Integer

See also