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 OnBeforeOnAfterGetCurrRecordSalesDocCheckFactbox in Codeunit 9070 "Document Errors Mgt." - Event Subscriber : OnAfterGetCurrRecordEvent in Procedure OnAfterGetCurrRecordSalesDocCheckFactbox
[EventSubscriber(ObjectType::Page, Page::"Sales Doc. Check Factbox", 'OnAfterGetCurrRecordEvent', '', false, false)]
local procedure OnAfterGetCurrRecordSalesDocCheckFactbox(var Rec: Record "Sales Header")
var
IsHandled: Boolean;
begin
OnBeforeOnAfterGetCurrRecordSalesDocCheckFactbox(Rec, IsHandled); //<------- New Event
if IsHandled then
exit;
if BackgroundValidationEnabled() then begin
SetFullDocumentCheck(true);
case Rec."Document Type" of
"Sales Document Type"::Invoice:
GlobalSalesInvoicePage.RunBackgroundCheck();
"Sales Document Type"::Order:
GlobalSalesOrderPage.RunBackgroundCheck();
"Sales Document Type"::"Credit Memo":
GlobalSalesCreditMemoPage.RunBackgroundCheck();
"Sales Document Type"::"Return Order":
GlobalSalesReturnOrderPage.RunBackgroundCheck();
end;
end;
end;
[IntegrationEvent(true, false)]
local procedure OnBeforeOnAfterGetCurrRecordSalesDocCheckFactbox(var SalesHeader: Record "Sales 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 OnBeforeOnAfterGetCurrRecordSalesDocCheckFactbox in Codeunit 9070 "Document Errors Mgt." - Event Subscriber : OnAfterGetCurrRecordEvent in Procedure OnAfterGetCurrRecordSalesDocCheckFactbox
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: