Table "Credit Transfer Register"

ID 1205
Namespace: Microsoft.Bank.Payment

Table 1205 "Credit Transfer Register" manages collections of credit transfer entries. Each register represents a batch of payments exported to a bank file, containing metadata about the export process including status, creation details, and the exported file content.

Remarks

Integrates with Credit Transfer Entry table for individual payment records and supports file re-export functionality. Provides extensibility through OnBeforeExportFile event.

Properties

Name Value
Caption Credit Transfer Register
DataCaptionFields 2,3
DrillDownPageID Page Microsoft.Bank.Payment."Credit Transfer Registers"
LookupPageID Page Microsoft.Bank.Payment."Credit Transfer Registers"
DataClassification CustomerContent

Fields

Name Type Description
"No." Integer

Unique sequential number for the credit transfer register.

Identifier Code[20]

Identifier code for the credit transfer register, used in file naming.

"Created Date-Time" DateTime

Date and time when the credit transfer register was created.

"Created by User" Code[50]

User who created the credit transfer register.

Status Option

Current status of the credit transfer register (Canceled, File Created, File Re-exported).

"No. of Transfers" Integer

Number of individual credit transfer entries in this register.

"From Bank Account No." Code[20]

Bank account from which the credit transfers originate.

"From Bank Account Name" Text[100]

Name of the originating bank account.

"Exported File" Blob

BLOB field containing the exported payment file content.

SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

CreateNew

Creates a new credit transfer register with the specified identifier and bank account.

procedure CreateNew(NewIdentifier: Code[20], NewBankAccountNo: Code[20])

Parameters

Name Type Description
NewIdentifier Code[20]

Identifier for the new register

NewBankAccountNo Code[20]

Bank account number for the register

SetStatus

Sets the status of the credit transfer register.

procedure SetStatus(NewStatus: Option)

Parameters

Name Type Description
NewStatus Option

New status option value

Reexport

Re-exports the payment file from the stored exported file content. Updates the status to "File Re-exported" and creates a re-export history entry.

procedure Reexport()

SetFileContent

Sets the exported file content from a data exchange record.

procedure SetFileContent(var DataExch: Record "Data Exch.")

Parameters

Name Type Description
DataExch Table System.IO."Data Exch."

Data exchange record containing the file content

EnableExportToServerFile

Enables export to server file mode instead of client download.

procedure EnableExportToServerFile()

Events

OnBeforeExportFile

Integration event raised before exporting the payment file during re-export. Enables custom file export logic and allows bypassing standard export.

[IntegrationEvent(False,False)]
local procedure OnBeforeExportFile(var TempBlob: Codeunit "Temp Blob", var CreditTransferRegister: Record "Credit Transfer Register", var Result: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
TempBlob Codeunit System.Utilities."Temp Blob"

Temp BLOB containing file content to export

CreditTransferRegister Table Microsoft.Bank.Payment."Credit Transfer Register"

Credit transfer register being re-exported

Result Boolean

Result of the export operation

IsHandled Boolean

Set to true to skip standard export processing

See also