Codeunit 9080 "Journal Errors Mgt."
Base Application · Microsoft.Finance.GeneralLedger.Journal
Across versions
- BC23-26present
- BC273 procedures added
- BC28-30unchanged
Neighbourhood 26 connected objects and pages
Base Application · Microsoft.Finance.GeneralLedger.Journal · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| SingleInstance | true |
Event subscriptions
- OnDeleteRecordEventGeneralJournal subscribes to Page “General Journal” OnDeleteRecordEvent
- OnModifyRecordEventGeneralJournal subscribes to Page “General Journal” OnModifyRecordEvent
- OnInsertRecordEventGeneralJournal subscribes to Page “General Journal” OnInsertRecordEvent
- OnDeleteRecordEventSalesJournal subscribes to Page “Sales Journal” OnDeleteRecordEvent
- OnModifyRecordEventSalesJournal subscribes to Page “Sales Journal” OnModifyRecordEvent
- OnInsertRecordEventSalesJournal subscribes to Page “Sales Journal” OnInsertRecordEvent
- OnDeleteRecordEventPurchaseJournal subscribes to Page “Purchase Journal” OnDeleteRecordEvent
- OnModifyRecordEventPurchaseJournal subscribes to Page “Purchase Journal” OnModifyRecordEvent
- OnInsertRecordEventPurchaseJournal subscribes to Page “Purchase Journal” OnInsertRecordEvent
- OnDeleteRecordEventCashReceiptJournal subscribes to Page “Cash Receipt Journal” OnDeleteRecordEvent
- OnModifyRecordEventCashReceiptJournal subscribes to Page “Cash Receipt Journal” OnModifyRecordEvent
- OnInsertRecordEventCashReceiptJournal subscribes to Page “Cash Receipt Journal” OnInsertRecordEvent
- OnDeleteRecordEventPaymentJournal subscribes to Page “Payment Journal” OnDeleteRecordEvent
- OnModifyRecordEventPaymentJournal subscribes to Page “Payment Journal” OnModifyRecordEvent
- OnInsertRecordEventPaymentJournal subscribes to Page “Payment Journal” OnInsertRecordEvent
- OnDeleteRecordEventICGeneralJournal subscribes to Page “IC General Journal” OnDeleteRecordEvent
- OnModifyRecordEventICGeneralJournal subscribes to Page “IC General Journal” OnModifyRecordEvent
- OnInsertRecordEventICGeneralJournal subscribes to Page “IC General Journal” OnInsertRecordEvent
- OnDeleteRecordEventJobGLJournal subscribes to Page “Job G/L Journal” OnDeleteRecordEvent
- OnModifyRecordEventJobGLJournal subscribes to Page “Job G/L Journal” OnModifyRecordEvent
- OnInsertRecordEventJobJournal subscribes to Page “Job G/L Journal” OnInsertRecordEvent
- OnDeleteRecordEventFixedAssetGLJournal subscribes to Page “Fixed Asset G/L Journal” OnDeleteRecordEvent
- OnModifyRecordEventFixedAssetGLJournal subscribes to Page “Fixed Asset G/L Journal” OnModifyRecordEvent
- OnInsertRecordEventFixedAssetGLJournal subscribes to Page “Fixed Asset G/L Journal” OnInsertRecordEvent
- OnDeleteRecordEventRecurringGenJournal subscribes to Page “Recurring General Journal” OnDeleteRecordEvent
- OnModifyRecordEventRecurringGenJournal subscribes to Page “Recurring General Journal” OnModifyRecordEvent
- OnInsertRecordEventRecurringGenJournal subscribes to Page “Recurring General Journal” OnInsertRecordEvent
Procedures
GetNothingToPostErrorMsg(): Text: Retrieves the standardized error message for situations where there are no journal lines to post. Provides consistent error messaging across journal posting operations.SetErrorMessages(var SourceTempErrorMessage: Record "Error Message" temporary): Sets error messages collection from source error message records for journal validation processing. Transfers error messages from external validation processes into the journal error management context.GetErrorMessages(var NewTempErrorMessage: Record "Error Message" temporary): Retrieves error messages collection for journal validation and processing. Returns accumulated error messages from journal validation operations for display or further processing.SetRecXRecOnModify(xRec: Record "Gen. Journal Line"; Rec: Record "Gen. Journal Line"): Sets record context for journal line modification validation tracking. Stores previous and current journal line records for change detection and validation during modification operations.GetRecXRecOnModify(var xRec: Record "Gen. Journal Line"; var Rec: Record "Gen. Journal Line"): Boolean: Retrieves record context for journal line modification validation tracking. Returns stored previous and current journal line records used for change detection during validation.SetFullBatchCheck(NewFullBatchCheck: Boolean): Sets the full batch check mode for journal validation processing. Controls whether validation should process entire journal batches or individual lines.GetFullBatchCheck(): Boolean: Retrieves the current full batch check mode setting for journal validation. Indicates whether validation is configured for full batch or individual line processing.GetDeletedGenJnlLine(var TempGenJnlLine: Record "Gen. Journal Line" temporary; ClearBuffer: Boolean): Boolean: Retrieves deleted journal lines from the tracking buffer for error management and recovery operations. Returns journal lines that have been marked as deleted during validation or processing operations.GetModifiedGenJnlLine(var TempGenJnlLine: Record "Gen. Journal Line" temporary): Boolean: Retrieves modified journal lines from the tracking buffer for change detection and validation. Returns journal lines that have been tracked as modified during validation operations.InsertDeletedLine(GenJnlLine: Record "Gen. Journal Line"): Inserts a deleted journal line into the tracking buffer for audit and recovery purposes. Stores journal lines that have been deleted during validation or posting operations.
Plus 1 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.” (2 calls:
InsertDeletedLine → BackgroundValidationFeatureEnabled,SetRecXRecOnModify → BackgroundValidationFeatureEnabled)
Called by
- Codeunit 9079 “Background Error Handling Mgt.” (6 calls:
CheckCleanDeletedGenJnlLinesErrors → GetDeletedGenJnlLine,CollectGenJnlCheckParameters → GetFullBatchCheck,CollectGenJnlCheckParameters → GetRecXRecOnModify, …) - Codeunit 1021 “Job Jnl.-Post” (1 call:
Code → GetNothingToPostErrorMsg) - Codeunit 1022 “Job Jnl.-Post+Print” (1 call:
Code → GetNothingToPostErrorMsg) - Codeunit 1108 “CA Jnl.-Post” (1 call:
Code → GetNothingToPostErrorMsg) - Codeunit 1113 “CA Jnl.-Post+Print” (1 call:
Code → GetNothingToPostErrorMsg) - Codeunit 19 “Gen. Jnl.-Post Preview” (1 call:
ShowAllEntries → GetNothingToPostErrorMsg) - Codeunit 231 “Gen. Jnl.-Post” (1 call:
ShowPostResultMessage → GetNothingToPostErrorMsg) - Codeunit 232 “Gen. Jnl.-Post+Print” (1 call:
Code → GetNothingToPostErrorMsg) - Codeunit 241 “Item Jnl.-Post” (1 call:
Code → GetNothingToPostErrorMsg) - Codeunit 242 “Item Jnl.-Post+Print” (1 call:
Code → GetNothingToPostErrorMsg) - Codeunit 271 “Res. Jnl.-Post” (1 call:
Code → GetNothingToPostErrorMsg) - Codeunit 272 “Res. Jnl.-Post+Print” (1 call:
Code → GetNothingToPostErrorMsg) - Codeunit 5636 “FA. Jnl.-Post” (1 call:
Code → GetNothingToPostErrorMsg) - Codeunit 5654 “Insurance Jnl.-Post” (1 call:
Code → GetNothingToPostErrorMsg) - Codeunit 5670 “FA. Jnl.-Post+Print” (1 call:
Code → GetNothingToPostErrorMsg) - Codeunit 5672 “Insurance Jnl.-Post+Print” (1 call:
Code → GetNothingToPostErrorMsg) - Page 1020 “Job G/L Journal” (1 call:
SetControlAppearanceFromBatch → SetFullBatchCheck) - Page 253 “Sales Journal” (1 call:
SetControlAppearanceFromBatch → SetFullBatchCheck) - Page 254 “Purchase Journal” (1 call:
SetControlAppearanceFromBatch → SetFullBatchCheck) - Page 255 “Cash Receipt Journal” (1 call:
SetControlAppearanceFromBatch → SetFullBatchCheck) - Page 256 “Payment Journal” (1 call:
SetControlAppearanceFromBatch → SetFullBatchCheck) - Page 283 “Recurring General Journal” (1 call:
SetControlAppearanceFromBatch → SetFullBatchCheck) - Page 39 “General Journal” (1 call:
SetControlAppearanceFromBatch → SetFullBatchCheck) - Page 5628 “Fixed Asset G/L Journal” (1 call:
SetControlAppearanceFromBatch → SetFullBatchCheck) - Page 610 “IC General Journal” (1 call:
SetControlAppearanceFromBatch → SetFullBatchCheck) - Table 81 “Gen. Journal Line” (1 call:
SwitchLinesWithErrorsFilter → GetErrorMessages)
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: "Journal Errors Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.