Codeunit "Document Errors Mgt."

ID 9070
Namespace: Microsoft.Utilities

Properties

Name Value
SingleInstance True

Methods

GetNothingToPostErrorMsg

procedure GetNothingToPostErrorMsg(): Text

Returns

Type Description
Text

GetModifiedSalesLineNo

procedure GetModifiedSalesLineNo(): Integer

Returns

Type Description
Integer

GetModifiedPurchaseLineNo

procedure GetModifiedPurchaseLineNo(): Integer

Returns

Type Description
Integer

SetModifiedSalesLine

procedure SetModifiedSalesLine(var SalesLine: Record "Sales Line")

Parameters

Name Type Description
SalesLine Table Microsoft.Sales.Document."Sales Line"

SetModifiedPurchaseLine

procedure SetModifiedPurchaseLine(var PurchaseLine: Record "Purchase Line")

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"

SetFullDocumentCheck

procedure SetFullDocumentCheck(NewFullDocumentCheck: Boolean)

Parameters

Name Type Description
NewFullDocumentCheck Boolean

GetFullDocumentCheck

procedure GetFullDocumentCheck(): Boolean

Returns

Type Description
Boolean

SetErrorMessages

procedure SetErrorMessages(var SourceTempErrorMessage: Record "Error Message" temporary)

Parameters

Name Type Description
SourceTempErrorMessage Table System.Utilities."Error Message"

GetErrorMessages

procedure GetErrorMessages(var NewTempErrorMessage: Record "Error Message" temporary)

Parameters

Name Type Description
NewTempErrorMessage Table System.Utilities."Error Message"

BackgroundValidationEnabled

procedure BackgroundValidationEnabled(): Boolean

Returns

Type Description
Boolean

CheckShowEnableBackgrValidationNotification

procedure CheckShowEnableBackgrValidationNotification(): Boolean

Returns

Type Description
Boolean

EnableShowDocumentCheckFactbox

procedure EnableShowDocumentCheckFactbox(Notification: Notification)

Parameters

Name Type Description
Notification Notification

DontShowAgainEnableBackgroundValidationNotification

procedure DontShowAgainEnableBackgroundValidationNotification(Notification: Notification)

Parameters

Name Type Description
Notification Notification

DisableBackgroundValidationNotification

procedure DisableBackgroundValidationNotification()

EnableBackgroundValidationNotification

procedure EnableBackgroundValidationNotification()

EnableShowDocumentCheckFactboxNotification

procedure EnableShowDocumentCheckFactboxNotification()

DisableShowDocumentCheckFactboxNotification

procedure DisableShowDocumentCheckFactboxNotification()

IsBackgroundValidationNotificationEnabled

procedure IsBackgroundValidationNotificationEnabled(): Boolean

Returns

Type Description
Boolean

IsShowDocumentCheckFactboxNotificationEnabled

procedure IsShowDocumentCheckFactboxNotificationEnabled(): Boolean

Returns

Type Description
Boolean

GetEnableBackgroundValidationNotificationID

procedure GetEnableBackgroundValidationNotificationID(): Guid

Returns

Type Description
Guid

GetShowDocumentCheckFactboxNotificationID

procedure GetShowDocumentCheckFactboxNotificationID(): Guid

Returns

Type Description
Guid

Events

OnBeforeOnAfterGetCurrRecordPurchDocCheckFactbox

[IntegrationEvent(True,False)]
local procedure OnBeforeOnAfterGetCurrRecordPurchDocCheckFactbox(var PurchaseHeader: Record "Purchase Header", var IsHandled: Boolean)

Parameters

Name Type Description
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
IsHandled Boolean

OnBeforeOnAfterGetCurrRecordSalesDocCheckFactbox

[IntegrationEvent(True,False)]
local procedure OnBeforeOnAfterGetCurrRecordSalesDocCheckFactbox(var SalesHeader: Record "Sales Header", var IsHandled: Boolean)

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
IsHandled Boolean

See also