Codeunit "Exp. Pre-Mapping Det Pos. Pay"
Prepares positive pay detail records from check ledger entries for export processing. This codeunit converts check ledger entry data into the standardized positive pay detail format.
Remarks
The Export Pre-Mapping Detail Positive Pay codeunit is responsible for creating positive pay detail records from check ledger entries during the export process. It handles both regular checks and voided checks, applying appropriate record type codes and indicators. The codeunit processes check ledger entries in batches and provides progress feedback to users during large exports. It also provides extensibility through integration events for custom field mapping and validation requirements.
Properties
| Name | Value |
|---|---|
| Permissions | TableData "Positive Pay Detail" = rimd |
| TableNo | Table System.IO."Data Exch." |
Events
OnGetFiltersBeforePreparingPosPayDetails
Integration event that allows retrieval of custom filters before preparing positive pay details.
[IntegrationEvent(False,False)]
local procedure OnGetFiltersBeforePreparingPosPayDetails(var CheckLedgerEntryView: Text)
Parameters
| Name | Type | Description |
|---|---|---|
| CheckLedgerEntryView | Text |
Returns the filter view to be applied to check ledger entries. |
Remarks
This integration event allows external code to specify custom filtering criteria for check ledger entries before they are processed into positive pay details. Subscribers can set specific date ranges, account filters, or other criteria to control which checks are included in the export.
OnPreparePosPayDetailOnBeforeInsert
Integration event that allows customization of positive pay detail records before insertion.
[IntegrationEvent(False,False)]
local procedure OnPreparePosPayDetailOnBeforeInsert(CheckLedgerEntry: Record "Check Ledger Entry", var PositivePayDetail: Record "Positive Pay Detail")
Parameters
| Name | Type | Description |
|---|---|---|
| CheckLedgerEntry | Table Microsoft.Bank.Check."Check Ledger Entry" |
The source check ledger entry being processed. |
| PositivePayDetail | Table Microsoft.Bank.PositivePay."Positive Pay Detail" |
The positive pay detail record being created, available for modification. |
Remarks
This integration event enables customization of positive pay detail records after standard field mapping but before the record is inserted. Subscribers can add custom field mappings, perform additional validation, or modify field values based on specific business requirements.