diff --git a/src/Layers/W1/BaseApp/Utilities/DocumentErrorsMgt.Codeunit.al b/src/Layers/W1/BaseApp/Utilities/DocumentErrorsMgt.Codeunit.al index dad7409757..1f8988330b 100644 --- a/src/Layers/W1/BaseApp/Utilities/DocumentErrorsMgt.Codeunit.al +++ b/src/Layers/W1/BaseApp/Utilities/DocumentErrorsMgt.Codeunit.al @@ -356,7 +356,7 @@ codeunit 9070 "Document Errors Mgt." begin if BackgroundValidationEnabled() then begin SetFullDocumentCheck(true); - GlobalPurchaseOrderPage.RunBackgroundCheck(); + GlobalPurchaseInvoicePage.RunBackgroundCheck(); end; end; @@ -365,7 +365,7 @@ codeunit 9070 "Document Errors Mgt." begin if BackgroundValidationEnabled() then begin SetFullDocumentCheck(true); - GlobalPurchaseOrderPage.RunBackgroundCheck(); + GlobalPurchaseCreditMemoPage.RunBackgroundCheck(); end; end; @@ -374,7 +374,7 @@ codeunit 9070 "Document Errors Mgt." begin if BackgroundValidationEnabled() then begin SetFullDocumentCheck(true); - GlobalPurchaseOrderPage.RunBackgroundCheck(); + GlobalPurchaseReturnOrderPage.RunBackgroundCheck(); end; end;