You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please add an event OnBeforeOnAfterGetCurrRecordPurchDocCheckFactbox in Codeunit 9070 "Document Errors Mgt." - Event Subscriber : OnAfterGetCurrRecordEvent in procedure OnAfterGetCurrRecordPurchDocCheckFactbox
[EventSubscriber(ObjectType::Page, Page::"Purch. Doc. Check Factbox", 'OnAfterGetCurrRecordEvent', '', false, false)]
local procedure OnAfterGetCurrRecordPurchDocCheckFactbox(var Rec: Record "Purchase Header")
var
IsHandled: Boolean;
begin
OnBeforeOnAfterGetCurrRecordPurchDocCheckFactbox(Rec, IsHandled); // <------- New Event
if IsHandled then
exit;
if BackgroundValidationEnabled() then begin
SetFullDocumentCheck(true);
case Rec."Document Type" of
"Purchase Document Type"::Invoice:
GlobalPurchaseInvoicePage.RunBackgroundCheck();
"Purchase Document Type"::Order:
GlobalPurchaseOrderPage.RunBackgroundCheck();
"Purchase Document Type"::"Credit Memo":
GlobalPurchaseCreditMemoPage.RunBackgroundCheck();
"Purchase Document Type"::"Return Order":
GlobalPurchaseReturnOrderPage.RunBackgroundCheck();
end;
end;
end;
[IntegrationEvent(true, false)]
local procedure OnBeforeOnAfterGetCurrRecordPurchDocCheckFactbox(var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean)
begin
end;
Additional context
We need to add custom support for background validation of documents and journals.
The text was updated successfully, but these errors were encountered:
Describe the request
Please add an event OnBeforeOnAfterGetCurrRecordPurchDocCheckFactbox in Codeunit 9070 "Document Errors Mgt." - Event Subscriber : OnAfterGetCurrRecordEvent in procedure OnAfterGetCurrRecordPurchDocCheckFactbox
Additional context
We need to add custom support for background validation of documents and journals.
The text was updated successfully, but these errors were encountered: