Codeunit "SEPA CT-Prepare Source"
Prepares general journal line data for SEPA credit transfer XML export by copying and organizing eligible journal entries into a temporary structure for XMLPort processing.
Properties
| Name | Value |
|---|---|
| TableNo | Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" |
Events
OnAfterCreateTempJnlLines
Integration event raised after creating temporary journal lines. Allows subscribers to modify or enhance the temporary lines after standard processing.
[IntegrationEvent(False,False)]
local procedure OnAfterCreateTempJnlLines(var FromGenJnlLine: Record "Gen. Journal Line", var TempGenJnlLine: Record "Gen. Journal Line" temporary)
Parameters
| Name | Type | Description |
|---|---|---|
| FromGenJnlLine | Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" |
Source journal line record used as template. |
| TempGenJnlLine | Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" |
Target temporary journal line that was created or modified. |
OnBeforeCreateTempJnlLines
Integration event raised before creating temporary journal lines. Allows subscribers to provide custom logic for temporary line creation.
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateTempJnlLines(var FromGenJnlLine: Record "Gen. Journal Line", var TempGenJnlLine: Record "Gen. Journal Line" temporary, var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| FromGenJnlLine | Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" |
Source journal line record used as template. |
| TempGenJnlLine | Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" |
Target temporary journal line to be created. |
| IsHandled | Boolean |
Set to true if the subscriber handles the line creation completely. |
OnCopyJnlLinesOnBeforeTempGenJnlLineInsert
Integration event raised before inserting temporary journal lines during the copy process. Allows subscribers to modify journal line data or apply custom transformations.
[IntegrationEvent(False,False)]
local procedure OnCopyJnlLinesOnBeforeTempGenJnlLineInsert(var FromGenJournalLine: Record "Gen. Journal Line", var TempGenJournalLine: Record "Gen. Journal Line" temporary, GenJournalBatch: Record "Gen. Journal Batch")
Parameters
| Name | Type | Description |
|---|---|---|
| FromGenJournalLine | Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" |
Source journal line being processed. |
| TempGenJournalLine | Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" |
Target temporary journal line to be inserted. |
| GenJournalBatch | Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Batch" |
Journal batch context for the operation. |