Codeunit "Exp. Writing Pos. Pay"

ID 1708
Namespace: Microsoft.Bank.PositivePay

Handles the final writing and export operations for positive pay files after data processing is complete. This codeunit orchestrates the file creation and output processes in the positive pay export workflow.

Remarks

The Export Writing Positive Pay codeunit is responsible for the final stages of positive pay file generation. It manages the assembly of header, detail, and footer records into the final export file format and handles the physical file creation process. The codeunit validates that data is available for export and coordinates with other export components to ensure proper file structure and formatting. Error handling ensures that users receive appropriate feedback when export conditions are not met.

Properties

Name Value
Permissions TableData "Data Exch." = rimd

Methods

CleanUpPositivePayWorkTables

Cleans up temporary positive pay work tables after the export process is complete.

procedure CleanUpPositivePayWorkTables(DataExchEntryCodeHeaderArray: array[100] of Integer, DataExchEntryCodeDetailArray: array[100] of Integer, DataExchEntryCodeFooterArray: array[100] of Integer)

Parameters

Name Type Description
DataExchEntryCodeHeaderArray array[100] of Integer

Array of header entry codes to clean up.

DataExchEntryCodeDetailArray array[100] of Integer

Array of detail entry codes to clean up.

DataExchEntryCodeFooterArray array[100] of Integer

Array of footer entry codes to clean up.

Remarks

This procedure removes temporary records from positive pay work tables that were created during the export process. It processes header, detail, and footer records to ensure no temporary data remains after export completion. This cleanup maintains system performance and prevents accumulation of temporary export data.

See also