Codeunit 9070 "Document Errors Mgt."
Base Application · Microsoft.Utilities
Across versions
- BC23-24present
- BC259 procedures removed, 2 events added
- BC26-30unchanged
Neighbourhood 50 connected objects and pages
Base Application · Microsoft.Utilities · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| SingleInstance | true |
Events published
OnBeforeOnAfterGetCurrRecordPurchDocCheckFactbox(var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean)+ BC25 (integration)OnBeforeOnAfterGetCurrRecordSalesDocCheckFactbox(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean)+ BC25 (integration)
Event subscriptions
- OnInitializingNotificationWithDefaultState subscribes to Page “My Notifications” OnInitializingNotificationWithDefaultState
- OnModifyRecordEventSalesOrderSubform subscribes to Page “Sales Order Subform” OnModifyRecordEvent
- OnModifyRecordEventSalesInvoiceSubform subscribes to Page “Sales Invoice Subform” OnModifyRecordEvent
- OnModifyRecordEventSalesCrMemoSubform subscribes to Page “Sales Cr. Memo Subform” OnModifyRecordEvent
- OnModifyRecordEventSalesReturnOrderSubform subscribes to Page “Sales Return Order Subform” OnModifyRecordEvent
- OnAfterOnAfterGetRecordSalesOrder subscribes to Page “Sales Order” OnAfterOnAfterGetRecord
- OnAfterOnAfterGetRecordSalesInvoice subscribes to Page “Sales Invoice” OnAfterOnAfterGetRecord
- OnAfterOnAfterGetRecordSalesCreditMemo subscribes to Page “Sales Credit Memo” OnAfterOnAfterGetRecord
- OnAfterOnAfterGetRecordSalesReturnOrder subscribes to Page “Sales Return Order” OnAfterOnAfterGetRecord
- OnModifyRecordEventSalesOrder subscribes to Page “Sales Order” OnModifyRecordEvent
- OnModifyRecordEventSalesInvoice subscribes to Page “Sales Invoice” OnModifyRecordEvent
- OnModifyRecordEventSalesCreditMemo subscribes to Page “Sales Credit Memo” OnModifyRecordEvent
- OnModifyRecordEventSalesReturnOrder subscribes to Page “Sales Return Order” OnModifyRecordEvent
- OnAfterGetCurrRecordSalesDocCheckFactbox subscribes to Page “Sales Doc. Check Factbox” OnAfterGetCurrRecordEvent
- OnModifyRecordEventPurchaseOrderSubform subscribes to Page “Purchase Order Subform” OnModifyRecordEvent
- OnModifyRecordEventPurchaseInvoiceSubform subscribes to Page “Purch. Invoice Subform” OnModifyRecordEvent
- OnModifyRecordEventPurchaseCrMemoSubform subscribes to Page “Purch. Cr. Memo Subform” OnModifyRecordEvent
- OnModifyRecordEventPurchaseReturnOrderSubform subscribes to Page “Purchase Return Order Subform” OnModifyRecordEvent
- OnAfterOnAfterGetRecordPurchaseOrder subscribes to Page “Purchase Order” OnAfterOnAfterGetRecord
- OnAfterOnAfterGetRecordPurchaseInvoice subscribes to Page “Purchase Invoice” OnAfterOnAfterGetRecord
- OnAfterOnAfterGetRecordPurchaseCreditMemo subscribes to Page “Purchase Credit Memo” OnAfterOnAfterGetRecord
- OnAfterOnAfterGetRecordPurchaseReturnOrder subscribes to Page “Purchase Return Order” OnAfterOnAfterGetRecord
- OnModifyRecordEventPurchaseOrder subscribes to Page “Purchase Order” OnModifyRecordEvent
- OnModifyRecordEventPurchaseInvoice subscribes to Page “Purchase Invoice” OnModifyRecordEvent
- OnModifyRecordEventPurchaseCreditMemo subscribes to Page “Purchase Credit Memo” OnModifyRecordEvent
- OnModifyRecordEventPurchaseReturnOrder subscribes to Page “Purchase Return Order” OnModifyRecordEvent
- OnAfterGetCurrRecordPurchDocCheckFactbox subscribes to Page “Purch. Doc. Check Factbox” OnAfterGetCurrRecordEvent
Procedures
GetNothingToPostErrorMsg(): TextGetModifiedSalesLineNo(): IntegerGetModifiedPurchaseLineNo(): IntegerSetModifiedSalesLine(var SalesLine: Record "Sales Line")SetModifiedPurchaseLine(var PurchaseLine: Record "Purchase Line")SetFullDocumentCheck(NewFullDocumentCheck: Boolean)GetFullDocumentCheck(): BooleanSetErrorMessages(var SourceTempErrorMessage: Record "Error Message" temporary)GetErrorMessages(var NewTempErrorMessage: Record "Error Message" temporary)BackgroundValidationEnabled(): BooleanCheckShowEnableBackgrValidationNotification(): BooleanEnableShowDocumentCheckFactbox(Notification: Notification)DontShowAgainEnableBackgroundValidationNotification(Notification: Notification)DisableBackgroundValidationNotification()EnableBackgroundValidationNotification()EnableShowDocumentCheckFactboxNotification()DisableShowDocumentCheckFactboxNotification()IsBackgroundValidationNotificationEnabled(): BooleanIsShowDocumentCheckFactboxNotificationEnabled(): BooleanGetEnableBackgroundValidationNotificationID(): GuidGetShowDocumentCheckFactboxNotificationID(): Guid
Plus 2 local procedures.
Triggers
OnRun
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 9079 “Background Error Handling Mgt.” (3 calls:
BackgroundValidationEnabled → BackgroundValidationFeatureEnabled,CheckShowEnableBackgrValidationNotification → BackgroundValidationFeatureEnabled,OnInitializingNotificationWithDefaultState → BackgroundValidationFeatureEnabled) - Codeunit 1330 “Instruction Mgt.” (2 calls:
IsBackgroundValidationNotificationEnabled → IsMyNotificationEnabled,IsShowDocumentCheckFactboxNotificationEnabled → IsMyNotificationEnabled)
Called by
- Codeunit 6478 “Serv. Document Errors Mgt.” (9 calls:
OnAfterGetCurrRecordServiceDocCheckFactbox → BackgroundValidationEnabled,OnAfterOnAfterGetRecordServiceCreditMemo → BackgroundValidationEnabled,OnAfterOnAfterGetRecordServiceInvoice → BackgroundValidationEnabled, …) - Codeunit 9079 “Background Error Handling Mgt.” (7 calls:
AfterValidateMyNotificationsDataCheck → GetShowDocumentCheckFactboxNotificationID,CollectPurchaseDocCheckParameters → GetFullDocumentCheck,CollectPurchaseDocCheckParameters → GetModifiedPurchaseLineNo, …) - Codeunit 373 “Bank. Acc. Recon. Post Preview” (5 calls:
IsSuccess → GetNothingToPostErrorMsg,PreviewStart → GetNothingToPostErrorMsg,ShowAllEntries → GetNothingToPostErrorMsg, …) - Codeunit 5988 “Serv-Documents Mgt.” (2 calls:
CheckSysCreatedEntry → GetNothingToPostErrorMsg,UpdateShptLinesOnInv → GetNothingToPostErrorMsg) - Page 42 “Sales Order” (2 calls:
CheckShowBackgrValidationNotification → CheckShowEnableBackgrValidationNotification,SetControlVisibility → BackgroundValidationEnabled) - Page 43 “Sales Invoice” (2 calls:
CheckShowBackgrValidationNotification → CheckShowEnableBackgrValidationNotification,SetControlAppearance → BackgroundValidationEnabled) - Page 44 “Sales Credit Memo” (2 calls:
CheckShowBackgrValidationNotification → CheckShowEnableBackgrValidationNotification,SetControlAppearance → BackgroundValidationEnabled) - Page 50 “Purchase Order” (2 calls:
CheckShowBackgrValidationNotification → CheckShowEnableBackgrValidationNotification,SetControlAppearance → BackgroundValidationEnabled) - Page 51 “Purchase Invoice” (2 calls:
CheckShowBackgrValidationNotification → CheckShowEnableBackgrValidationNotification,SetControlAppearance → BackgroundValidationEnabled) - Page 52 “Purchase Credit Memo” (2 calls:
CheckShowBackgrValidationNotification → CheckShowEnableBackgrValidationNotification,SetControlAppearance → BackgroundValidationEnabled) - Page 5900 “Service Order” (2 calls:
ActivateFields → BackgroundValidationEnabled,CheckShowBackgrValidationNotification → CheckShowEnableBackgrValidationNotification) - Page 5933 “Service Invoice” (2 calls:
ActivateFields → BackgroundValidationEnabled,CheckShowBackgrValidationNotification → CheckShowEnableBackgrValidationNotification) - Page 5935 “Service Credit Memo” (2 calls:
ActivateFields → BackgroundValidationEnabled,CheckShowBackgrValidationNotification → CheckShowEnableBackgrValidationNotification) - Page 6630 “Sales Return Order” (2 calls:
CheckShowBackgrValidationNotification → CheckShowEnableBackgrValidationNotification,SetControlAppearance → BackgroundValidationEnabled) - Page 6640 “Purchase Return Order” (2 calls:
CheckShowBackgrValidationNotification → CheckShowEnableBackgrValidationNotification,SetControlAppearance → BackgroundValidationEnabled) - Codeunit 442 “Sales-Post Prepayments” (1 call:
CheckPrepmtDoc → GetNothingToPostErrorMsg) - Codeunit 444 “Purchase-Post Prepayments” (1 call:
CheckPrepmtDoc → GetNothingToPostErrorMsg) - Codeunit 5704 “TransferOrder-Post Shipment” (1 call:
CheckLines → GetNothingToPostErrorMsg) - Codeunit 5705 “TransferOrder-Post Receipt” (1 call:
CheckLines → GetNothingToPostErrorMsg) - Codeunit 5760 “Whse.-Post Receipt” (1 call:
Code → GetNothingToPostErrorMsg) - Codeunit 5763 “Whse.-Post Shipment” (1 call:
Code → GetNothingToPostErrorMsg) - Codeunit 5850 “Invt. Doc.-Post Receipt” (1 call:
OnRun → GetNothingToPostErrorMsg) - Codeunit 5851 “Invt. Doc.-Post Shipment” (1 call:
OnRun → GetNothingToPostErrorMsg) - Codeunit 5856 “TransferOrder-Post Transfer” (1 call:
RunWithCheck → GetNothingToPostErrorMsg) - Codeunit 5884 “Phys. Invt. Order-Post” (1 call:
Code → GetNothingToPostErrorMsg) - Codeunit 5957 “Serv. Posting Selection Mgt.” (1 call:
ConfirmPostServiceDocument → GetNothingToPostErrorMsg) - Codeunit 5980 “Service-Post” (1 call:
CheckAndSetPostingConstants → GetNothingToPostErrorMsg) - Codeunit 5981 “Service-Post (Yes/No)” (1 call:
Code → GetNothingToPostErrorMsg) - Codeunit 7324 “Whse.-Activity-Post” (1 call:
Code → GetNothingToPostErrorMsg) - Codeunit 79 “Sales-Post and Send” (1 call:
OnRun → GetNothingToPostErrorMsg) - Codeunit 80 “Sales-Post” (1 call:
CheckHeaderPostingType → GetNothingToPostErrorMsg) - Codeunit 81 “Sales-Post (Yes/No)” (1 call:
OnRun → GetNothingToPostErrorMsg) - Codeunit 90 “Purch.-Post” (1 call:
CheckHeaderPostingType → GetNothingToPostErrorMsg) - Codeunit 900 “Assembly-Post” (1 call:
InitPost → GetNothingToPostErrorMsg) - Codeunit 91 “Purch.-Post (Yes/No)” (1 call:
OnRun → GetNothingToPostErrorMsg) - Codeunit 980 “Payment Registration Mgt.” (1 call:
CheckPaymentsToPost → GetNothingToPostErrorMsg) - Page 46 “Sales Order Subform” (1 call:
SetOpenPage → BackgroundValidationEnabled) - Page 47 “Sales Invoice Subform” (1 call:
SetOpenPage → BackgroundValidationEnabled) - Page 54 “Purchase Order Subform” (1 call:
SetOpenPage → BackgroundValidationEnabled) - Page 55 “Purch. Invoice Subform” (1 call:
SetOpenPage → BackgroundValidationEnabled) - Page 5934 “Service Invoice Subform” (1 call:
OnOpenPage → BackgroundValidationEnabled) - Page 5936 “Service Credit Memo Subform” (1 call:
OnOpenPage → BackgroundValidationEnabled) - Page 6631 “Sales Return Order Subform” (1 call:
OnOpenPage → BackgroundValidationEnabled) - Page 6641 “Purchase Return Order Subform” (1 call:
OnOpenPage → BackgroundValidationEnabled) - Page 96 “Sales Cr. Memo Subform” (1 call:
SetOpenPage → BackgroundValidationEnabled) - Page 98 “Purch. Cr. Memo Subform” (1 call:
SetOpenPage → BackgroundValidationEnabled) - Table 37 “Sales Line” (1 call:
SwitchLinesWithErrorsFilter → GetErrorMessages) - Table 39 “Purchase Line” (1 call:
SwitchLinesWithErrorsFilter → GetErrorMessages) - Table 5902 “Service Line” (1 call:
SwitchLinesWithErrorsFilter → GetErrorMessages)
Recent changes
- 2026-07-07 #9086 Bug 641085: Document Check factbox does not update live on Purchase Invoice/Cr.Memo/Return Order (main, BC30, fix)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Document Errors Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.