Codeunit 1711 Positive Pay Export Mgt

Base Application, Microsoft.Bank.PositivePay

Source AL, 423 lines

src/Layers/W1/BaseApp/Bank/PositivePay/PositivePayExportMgt.Codeunit.allines 20 to 35 of 423, Copyright (c) Microsoft Corporation. MIT

codeunit 1711 "Positive Pay Export Mgt"{    Permissions = TableData "Data Exch." = rimd,                  TableData "Data Exch. Field" = rimd,                  TableData "Positive Pay Header" = rimd,                  TableData "Positive Pay Footer" = rimd;    trigger OnRun()    begin    end;    var        LineType: Option Detail,Header,Footer;        FormatNotDefinedErr: Label 'You must choose a valid export format for the bank account. Format %1 is not correctly defined.', Comment = '%1 = Data Exch. Def. Code';        DataExchLineDefNotFoundErr: Label 'The %1 export format does not support the Payment Method Code %2.', Comment = '%1=Data Exch. Def. Name;%2=Data Exch. Line Def. Code';        IncorrectLengthOfValuesErr: Label 'The payment that you are trying to export is different from the specified %1, %2.\\The value in the %3 field does not have the length that is required by the export format. \Expected: %4 \Actual: %5 \Field Value: %6.', Comment = '%1=Data Exch.Def Type;%2=Data Exch. Def Code;%3=Field;%4=Expected length;%5=Actual length;%6=Actual Value';

All 423 lines

Events 1 in 29

[IntegrationEvent] OnBeforeCastToDestinationType(var DestinationValue: Variant; SourceValue: Variant; DataExchColumnDef: Record "Data Exch. Column Def"; Multiplier: Decimal; var IsHandled: Boolean)new in 23

Public procedures 4 in 29

ExportDataExchToFlatFile(DataExchNo: Integer; Filename: Text; LineFileType: Integer; HeaderCount: Integer)17-29
InsertDataExchLineForFlatFile(var DataExch: Record "Data Exch."; LineNo: Integer; RecRef: RecordRef)17-29
PreparePosPayHeader(DataExch: Record "Data Exch."; BankAccountNo: Text[30])17-29
PreparePosPayFooter(DataExch: Record "Data Exch."; DataExchDetalEntryNo: Integer; BankAccountNo: Text[30])17-29

Changes 1 in 23

List17181920212223242526272829
Events1
[IntegrationEvent] OnBeforeCastToDestinationType(var DestinationValue: Variant; SourceValue: Variant; DataExchColumnDef: Record "Data Exch. Column Def"; Multiplier: Decimal; var IsHandled: Boolean)new in 23
added

All 1 changes in 17-29