Codeunit 9079 "Background Error Handling Mgt."
Base Application · Microsoft.Utilities
Across versions
- BC23-24present
- BC253 procedures removed, 2 procedures added
- BC26-27unchanged
- BC282 procedures removed
- BC29-30unchanged
Neighbourhood 33 connected objects and pages
Base Application · Microsoft.Utilities · BC23-30 · source at ea08af5e · facts from BC29
Event subscriptions
- AfterValidateGLSetupEnableDataCheck subscribes to Table “General Ledger Setup” OnAfterValidateEvent (Enable Data Check)
- AfterValidateMyNotificationsDataCheck subscribes to Table “My Notifications” OnAfterValidateEvent (Enabled)
Procedures
BackgroundValidationFeatureEnabled(): BooleanCleanTempErrorMessages(var TempErrorMessage: Record "Error Message" temporary; ErrorHandlingParameters: Record "Error Handling Parameters")CleanItemJnlTempErrorMessages(var TempErrorMessage: Record "Error Message" temporary; ErrorHandlingParameters: Record "Error Handling Parameters")CollectGenJnlCheckParameters(GenJnlLine: Record "Gen. Journal Line"; var ErrorHandlingParameters: Record "Error Handling Parameters")CollectItemJnlCheckParameters(ItemJnlLine: Record "Item Journal Line"; var ErrorHandlingParameters: Record "Error Handling Parameters")CollectSalesDocCheckParameters(SalesHeader: Record "Sales Header"; var ErrorHandlingParameters: Record "Error Handling Parameters")CollectPurchaseDocCheckParameters(PurchaseHeader: Record "Purchase Header"; var ErrorHandlingParameters: Record "Error Handling Parameters")GetErrorsFromItemJnlCheckResultValues(ResultValues: List of [Text]; var TempErrorMessage: Record "Error Message" temporary; ErrorHandlingParameters: Record "Error Handling Parameters")GetErrorsFromResJnlCheckResultValues(ResultValues: List of [Text]; var TempErrorMessage: Record "Error Message" temporary; ErrorHandlingParameters: Record "Error Handling Parameters")GetErrorsFromDocumentCheckResultValues(ResultValues: List of [Text]; var TempErrorMessage: Record "Error Message" temporary; ErrorHandlingParameters: Record "Error Handling Parameters")CleanSalesTempErrorMessages(var TempErrorMessage: Record "Error Message" temporary; ErrorHandlingParameters: Record "Error Handling Parameters")CleanResJnlTempErrorMessages(var TempErrorMessage: Record "Error Message" temporary; ErrorHandlingParameters: Record "Error Handling Parameters")GetErrorsFromGenJnlCheckResultValues(ResultValues: List of [Text]; var TempErrorMessage: Record "Error Message" temporary; ErrorHandlingParameters: Record "Error Handling Parameters")GetErrorsFromJobJnlCheckResultValues(ResultValues: List of [Text]; var TempErrorMessage: Record "Error Message" temporary; ErrorHandlingParameters: Record "Error Handling Parameters")CleanJobJnlTempErrorMessages(var TempErrorMessage: Record "Error Message" temporary; ErrorHandlingParameters: Record "Error Handling Parameters")PackDeletedDocumentsToArgs(var Args: Dictionary of [Text, Text])GetDeletedDocumentsFromArgs(Args: Dictionary of [Text, Text]; var TempGenJnlLine: Record "Gen. Journal Line" temporary)FeatureTelemetryLogUptakeUsed()FeatureTelemetryLogUsage(ErrorsFound: Boolean; TableName: Text)FeatureTelemetryLogUsageSales(ErrorsFound: Boolean; TableName: Text; DocumentType: Enum "Sales Document Type")FeatureTelemetryLogUsagePurchase(ErrorsFound: Boolean; TableName: Text; DocumentType: Enum "Purchase Document Type")
Plus 12 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 9070 “Document Errors Mgt.” (7 calls:
AfterValidateMyNotificationsDataCheck → GetShowDocumentCheckFactboxNotificationID,CollectPurchaseDocCheckParameters → GetFullDocumentCheck,CollectPurchaseDocCheckParameters → GetModifiedPurchaseLineNo, …) - Codeunit 53 “Translation Helper” (6 calls:
FeatureTelemetryLogUsage → RestoreGlobalLanguage,FeatureTelemetryLogUsage → SetGlobalLanguageToDefault,FeatureTelemetryLogUsagePurchase → RestoreGlobalLanguage, …) - Codeunit 9080 “Journal Errors Mgt.” (6 calls:
CheckCleanDeletedGenJnlLinesErrors → GetDeletedGenJnlLine,CollectGenJnlCheckParameters → GetFullBatchCheck,CollectGenJnlCheckParameters → GetRecXRecOnModify, …) - Codeunit 28 “Error Message Management” (5 calls:
GetErrorsFromDocumentCheckResultValues → GetErrorsFromResultValues,GetErrorsFromGenJnlCheckResultValues → GetErrorsFromResultValues,GetErrorsFromItemJnlCheckResultValues → GetErrorsFromResultValues, …) - Codeunit 8703 “Feature Telemetry” (5 calls:
AfterValidateGLSetupEnableDataCheck → LogUptake,AfterValidateMyNotificationsDataCheck → LogUptake,FeatureTelemetryLogUptakeUsed → LogUptake, …) - Codeunit 9077 “Item Journal Errors Mgt.” (5 calls:
CheckCleanDeletedItemJnlLinesErrors → GetDeletedItemJnlLine,CollectItemJnlCheckParameters → GetFullBatchCheck,CollectItemJnlCheckParameters → GetItemJnlLinePreviousLineNo, …) - Codeunit 9074 “Job Journal Errors Mgt.” (3 calls:
CheckCleanDeletedJobJnlLinesErrors → GetDeletedJobJnlLine,GetErrorsFromJobJnlCheckResultValues → SetErrorMessages,GetErrorsFromJobJnlCheckResultValues → SetFullBatchCheck) - Codeunit 9076 “Res. Journal Errors Mgt.” (3 calls:
CheckCleanDeletedResJnlLinesErrors → GetDeletedResJnlLine,GetErrorsFromResJnlCheckResultValues → SetErrorMessages,GetErrorsFromResJnlCheckResultValues → SetFullBatchCheck)
Called by
- Page 9121 “Journal Errors Factbox” (6 calls:
CalcErrors → FeatureTelemetryLogUsage,CheckErrorsInBackground → CollectGenJnlCheckParameters,CheckErrorsInBackground → FeatureTelemetryLogUptakeUsed, …) - Page 9122 “Item Journal Errors Factbox” (6 calls:
CalcErrors → FeatureTelemetryLogUsage,CheckErrorsInBackground → CollectItemJnlCheckParameters,CheckErrorsInBackground → FeatureTelemetryLogUptakeUsed, …) - Page 9118 “Purch. Doc. Check Factbox” (4 calls:
CalcErrors → FeatureTelemetryLogUsagePurchase,CheckErrorsInBackground → CollectPurchaseDocCheckParameters,CheckErrorsInBackground → FeatureTelemetryLogUptakeUsed, …) - Page 9119 “Sales Doc. Check Factbox” (4 calls:
CalcErrors → FeatureTelemetryLogUsageSales,CheckErrorsInBackground → CollectSalesDocCheckParameters,CheckErrorsInBackground → FeatureTelemetryLogUptakeUsed, …) - Page 9123 “Res. Journal Errors Factbox” (4 calls:
CalcErrors → FeatureTelemetryLogUsage,CheckErrorsInBackground → FeatureTelemetryLogUptakeUsed,OnAfterGetCurrRecord → BackgroundValidationFeatureEnabled, …) - Page 9127 “Job Journal Errors Factbox” (4 calls:
CalcErrors → FeatureTelemetryLogUsage,CheckErrorsInBackground → FeatureTelemetryLogUptakeUsed,OnAfterGetCurrRecord → BackgroundValidationFeatureEnabled, …) - Codeunit 9070 “Document Errors Mgt.” (3 calls:
BackgroundValidationEnabled → BackgroundValidationFeatureEnabled,CheckShowEnableBackgrValidationNotification → BackgroundValidationFeatureEnabled,OnInitializingNotificationWithDefaultState → BackgroundValidationFeatureEnabled) - Codeunit 9074 “Job Journal Errors Mgt.” (2 calls:
InsertDeletedJobJnlLine → BackgroundValidationFeatureEnabled,SetJobJnlLineOnModify → BackgroundValidationFeatureEnabled) - Codeunit 9076 “Res. Journal Errors Mgt.” (2 calls:
InsertDeletedResJnlLine → BackgroundValidationFeatureEnabled,SetResJnlLineOnModify → BackgroundValidationFeatureEnabled) - Codeunit 9077 “Item Journal Errors Mgt.” (2 calls:
InsertDeletedItemJnlLine → BackgroundValidationFeatureEnabled,SetItemJnlLineOnModify → BackgroundValidationFeatureEnabled) - Codeunit 9080 “Journal Errors Mgt.” (2 calls:
InsertDeletedLine → BackgroundValidationFeatureEnabled,SetRecXRecOnModify → BackgroundValidationFeatureEnabled) - Page 9117 “Service Doc. Check Factbox” (2 calls:
CheckErrorsInBackground → FeatureTelemetryLogUptakeUsed,OnPageBackgroundTaskCompleted → GetErrorsFromDocumentCheckResultValues) - Codeunit 9081 “Check Gen. Jnl. Line. Backgr.” (1 call:
RunCheck → GetDeletedDocumentsFromArgs) - Page 1020 “Job G/L Journal” (1 call:
SetControlAppearanceFromBatch → BackgroundValidationFeatureEnabled) - Page 201 “Job Journal” (1 call:
SetControlAppearanceFromBatch → BackgroundValidationFeatureEnabled) - Page 207 “Resource Journal” (1 call:
SetControlAppearanceFromBatch → BackgroundValidationFeatureEnabled) - Page 253 “Sales Journal” (1 call:
SetControlAppearanceFromBatch → BackgroundValidationFeatureEnabled) - Page 254 “Purchase Journal” (1 call:
SetControlAppearanceFromBatch → BackgroundValidationFeatureEnabled) - Page 255 “Cash Receipt Journal” (1 call:
SetControlAppearanceFromBatch → BackgroundValidationFeatureEnabled) - Page 256 “Payment Journal” (1 call:
SetControlAppearanceFromBatch → BackgroundValidationFeatureEnabled) - Page 283 “Recurring General Journal” (1 call:
SetControlAppearanceFromBatch → BackgroundValidationFeatureEnabled) - Page 39 “General Journal” (1 call:
SetControlAppearanceFromBatch → BackgroundValidationFeatureEnabled) - Page 392 “Phys. Inventory Journal” (1 call:
SetControlAppearanceFromBatch → BackgroundValidationFeatureEnabled) - Page 393 “Item Reclass. Journal” (1 call:
SetControlAppearanceFromBatch → BackgroundValidationFeatureEnabled) - Page 40 “Item Journal” (1 call:
SetControlAppearanceFromBatch → BackgroundValidationFeatureEnabled) - Page 5628 “Fixed Asset G/L Journal” (1 call:
SetControlAppearanceFromBatch → BackgroundValidationFeatureEnabled) - Page 610 “IC General Journal” (1 call:
SetControlAppearanceFromBatch → BackgroundValidationFeatureEnabled) - Page 99000773 “Capacity Journal” (1 call:
SetControlAppearanceFromBatch → BackgroundValidationFeatureEnabled) - Page 99000823 “Output Journal” (1 call:
SetControlAppearanceFromBatch → BackgroundValidationFeatureEnabled) - Page 99000846 “Consumption Journal” (1 call:
SetControlAppearanceFromBatch → BackgroundValidationFeatureEnabled)
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: "Background Error Handling Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.