Table of Contents

Table "Bank Account"

ID 270
Namespace: Microsoft.Bank.BankAccount

Master data table for bank account information and configuration. Supports multi-currency accounts, payment processing, statement import, and reconciliation.

Remarks

Integrates with Bank Account Ledger Entry, Payment Processing, Bank Reconciliation, and Statement Import. Extensibility: OnValidateBankAccount, OnUnlinkStatementProviderEvent events for custom validation logic.

Properties

Name Value
Caption Bank Account
DataCaptionFields 1,2
DrillDownPageID Page Microsoft.Bank.BankAccount."Bank Account List"
LookupPageID Page Microsoft.Bank.BankAccount."Bank Account List"
Permissions TableData "Bank Account Ledger Entry" = r
DataClassification CustomerContent

Fields

Name Type Description
"No." Code[20]

Unique identifier for the bank account.

Name Text[100]

Primary name of the bank account for display and reporting purposes.

"Search Name" Code[100]

Search name used for quick lookup and filtering of bank accounts.

"Name 2" Text[50]

Secondary name line for extended bank account identification.

Address Text[100]

Primary address line of the bank account.

"Address 2" Text[50]

Secondary address line for extended address information.

City Text[30]

City name with postal code integration and country-specific validation.

Contact Text[100]

Primary contact person for the bank account.

"Phone No." Text[30]

Phone number for bank account inquiries.

"Telex No." Text[20]

Telex number for legacy communication methods.

"Bank Account No." Text[30]

Bank account number as provided by the financial institution.

"Transit No." Text[20]

Transit routing number for check processing and electronic transfers.

"Territory Code" Code[10]

Sales territory code for reporting and analysis purposes.

"Global Dimension 1 Code" Code[20]

Primary global dimension code for financial analysis and reporting.

"Global Dimension 2 Code" Code[20]

Secondary global dimension code for extended financial analysis.

"Chain Name" Code[10]

Chain name for bank branch identification.

"Min. Balance" Decimal

Minimum balance threshold for account monitoring and alerts.

"Bank Acc. Posting Group" Code[20]

Posting group that determines G/L account assignments for bank transactions.

"Currency Code" Code[10]

Currency code for multi-currency bank account support.

"Language Code" Code[10]

Language code for bank account communication and document formatting.

"Format Region" Text[80]

Regional format settings for number and date formatting in bank communications.

"Statistics Group" Integer

Statistical grouping code for bank account reporting and analysis.

"Our Contact Code" Code[20]

Internal contact person responsible for managing this bank account relationship.

"Country/Region Code" Code[10]

Specifies the country/region of the address.

Amount Decimal

Working amount field for temporary calculations and processing.

Comment Boolean

Indicates whether comment lines exist for this bank account record.

Blocked Boolean

Indicates whether the bank account is blocked from being used in transactions.

"Last Statement No." Code[20]

Statement number of the last processed bank statement for reconciliation.

"Last Payment Statement No." Code[20]

Statement number of the last processed payment reconciliation statement.

"Pmt. Rec. No. Series" Code[20]

Number series used for payment reconciliation document numbering.

"Last Date Modified" Date

Date when the bank account record was last modified.

"Date Filter" Date

Date filter used for calculating balance and transaction amounts in FlowFields.

"Global Dimension 1 Filter" Code[20]

Filter field for Global Dimension 1 used in balance and transaction calculations.

"Global Dimension 2 Filter" Code[20]

Filter field for Global Dimension 2 used in balance and transaction calculations.

Balance Decimal

Current balance of the bank account calculated from ledger entries.

"Balance (LCY)" Decimal

Current balance in local currency calculated from ledger entries.

"Net Change" Decimal
"Net Change (LCY)" Decimal

Net change amount in local currency for the filtered period.

"Total on Checks" Decimal

Total amount of checks posted but not yet cleared through bank reconciliation.

"Use as Default for Currency" Boolean

Indicates whether this bank account should be used as the default for its currency.

"Fax No." Text[30]

Fax number for bank account communications.

"Telex Answer Back" Text[20]

Telex answer back code for legacy communication systems.

"Post Code" Code[20]

Postal code with country-specific validation and city integration.

County Text[30]

County or state information with country-specific caption formatting.

"Last Check No." Code[20]

Number of the last check issued from this bank account.

"Balance Last Statement" Decimal

Ending balance from the last bank statement used for reconciliation.

"Balance at Date" Decimal

Balance as of the date specified in the Date Filter field.

"Balance at Date (LCY)" Decimal

Balance in local currency as of the date specified in the Date Filter field.

"Debit Amount" Decimal

Total debit amounts for the filtered period in account currency.

"Credit Amount" Decimal

Total credit amounts for the filtered period in account currency.

"Debit Amount (LCY)" Decimal

Total debit amounts for the filtered period in local currency.

"Credit Amount (LCY)" Decimal

Total credit amounts for the filtered period in local currency.

"Bank Branch No." Text[20]

Bank branch number or sort code for routing transactions.

"E-Mail" Text[80]

Email address for electronic communications and notifications.

"Home Page" Text[255]

Website URL for the bank or financial institution.

"No. Series" Code[20]

Number series assigned to this bank account for automatic numbering.

"Check Report ID" Integer

Report ID for the check printing report associated with this bank account.

"Check Report Name" Text[250]

Name of the check printing report retrieved from the Check Report ID.

IBAN Code[50]

International Bank Account Number for electronic transactions and SEPA payments.

"SWIFT Code" Code[20]

SWIFT code (BIC) for international wire transfers and banking communications.

"Bank Statement Import Format" Code[20]

Data exchange format used for importing bank statements from external sources.

"Credit Transfer Msg. Nos." Code[20]

Number series for credit transfer message numbering in electronic payments.

"Direct Debit Msg. Nos." Code[20]

Number series for direct debit message numbering in automated debit processing.

"SEPA Direct Debit Exp. Format" Code[20]

Export format for SEPA direct debit file generation and transmission.

"Bank Stmt. Service Record ID" RecordId

Record ID linking to the online bank statement service provider configuration.

"Transaction Import Timespan" Integer

Number of days for automatic transaction import from online banking services.

"Automatic Stmt. Import Enabled" Boolean

Enables automatic import of bank statements from connected online banking services.

IntercompanyEnable Boolean

Enables the bank account for intercompany transactions and processing.

Image Media

Image or logo associated with the bank account for visual identification.

"Creditor No." Code[35]

Creditor identification number for SEPA direct debit transactions.

"Payment Export Format" Code[20]

Export format configuration for electronic payment file generation.

"Bank Clearing Code" Text[50]

Bank clearing code for routing and processing electronic transactions.

"Bank Clearing Standard" Text[50]

Standard format specification for bank clearing code interpretation.

"Match Tolerance Type" Option

Type of matching tolerance used for automatic payment matching (Percentage or Amount).

"Match Tolerance Value" Decimal

Tolerance value for automatic payment matching based on the specified tolerance type.

"Disable Automatic Pmt Matching" Boolean

Disables automatic payment matching for this bank account during reconciliation.

"Disable Bank Rec. Optimization" Boolean

Disables performance optimization for bank reconciliation to improve matching precision.

"Positive Pay Export Code" Code[20]

Export configuration code for positive pay file generation and fraud prevention.

"Check Transmitted" Boolean

Requires check transmission verification before posting payment journal entries.

"Mobile Phone No." Text[30]

Mobile phone number for SMS notifications and two-factor authentication.

SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemCreatedByUserName Text[50]
SystemCreatedByFullName Text[80]
SystemModifiedByUserName Text[50]
SystemModifiedByFullName Text[80]
SystemRowVersion BigInteger

Methods

AssistEdit

Provides interactive number series selection for bank account creation.

procedure AssistEdit(OldBankAcc: Record "Bank Account"): Boolean

Parameters

Name Type Description
OldBankAcc Table Microsoft.Bank.BankAccount."Bank Account"

Previous bank account record for comparison

Returns

Type Description
Boolean

True if number was successfully assigned

ValidateShortcutDimCode

Validates and updates shortcut dimension codes with proper dimension validation.

procedure ValidateShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])

Parameters

Name Type Description
FieldNumber Integer

Dimension field number (1 or 2)

ShortcutDimCode Code[20]

Dimension code to validate

ShowContact

Displays or creates contact information linked to this bank account. Creates new contact if none exists and user confirms creation.

procedure ShowContact()

SetInsertFromContact

Sets flag indicating if bank account was created from contact information.

procedure SetInsertFromContact(FromContact: Boolean)

Parameters

Name Type Description
FromContact Boolean

True if created from contact

CopyBankFieldsFromCompanyInfo

Copies bank-related fields from company information to bank account.

procedure CopyBankFieldsFromCompanyInfo(CompanyInformation: Record "Company Information")

Parameters

Name Type Description
CompanyInformation Table Microsoft.Foundation.Company."Company Information"

Source company information record

GetPaymentExportCodeunitID

Retrieves the codeunit ID for payment export processing.

procedure GetPaymentExportCodeunitID(): Integer

Returns

Type Description
Integer

Codeunit ID for payment export

GetPaymentExportXMLPortID

Retrieves the XMLPort ID for payment export file generation.

procedure GetPaymentExportXMLPortID(): Integer

Returns

Type Description
Integer

XMLPort ID for payment export

GetDDExportCodeunitID

Retrieves the codeunit ID for direct debit export processing.

procedure GetDDExportCodeunitID(): Integer

Returns

Type Description
Integer

Codeunit ID for direct debit export

GetDDExportXMLPortID

Retrieves the XMLPort ID for direct debit export file generation.

procedure GetDDExportXMLPortID(): Integer

Returns

Type Description
Integer

XMLPort ID for direct debit export

GetBankExportImportSetup

Retrieves bank export/import setup configuration for payment processing.

procedure GetBankExportImportSetup(var BankExportImportSetup: Record "Bank Export/Import Setup")

Parameters

Name Type Description
BankExportImportSetup Table Microsoft.Bank.Setup."Bank Export/Import Setup"

Returns the setup record for the payment export format

GetDDExportImportSetup

Retrieves bank export/import setup configuration for direct debit processing.

procedure GetDDExportImportSetup(var BankExportImportSetup: Record "Bank Export/Import Setup")

Parameters

Name Type Description
BankExportImportSetup Table Microsoft.Bank.Setup."Bank Export/Import Setup"

Returns the setup record for the direct debit export format

GetCreditTransferMessageNo

Generates and returns the next credit transfer message number from the number series.

procedure GetCreditTransferMessageNo(): Code[20]

Returns

Type Description
Code[20]

Next credit transfer message number

GetDirectDebitMessageNo

Generates and returns the next direct debit message number from the number series.

procedure GetDirectDebitMessageNo(): Code[20]

Returns

Type Description
Code[20]

Next direct debit message number

GetDefaultBankAccountNoForCurrency

Finds the default bank account for a specific currency.

procedure GetDefaultBankAccountNoForCurrency(CurrencyCode: Code[20]): Code[20]

Parameters

Name Type Description
CurrencyCode Code[20]

Currency code to find default bank account for

Returns

Type Description
Code[20]

Bank account number designated as default for the currency

DisplayMap

Opens external map service to display bank account location.

procedure DisplayMap()

GetDataExchDef

Retrieves data exchange definition for bank statement import processing.

procedure GetDataExchDef(var DataExchDef: Record "Data Exch. Def")

Parameters

Name Type Description
DataExchDef Table System.IO."Data Exch. Def"

Returns the data exchange definition record

GetDataExchDefPaymentExport

Retrieves data exchange definition for payment export processing.

procedure GetDataExchDefPaymentExport(var DataExchDef: Record "Data Exch. Def")

Parameters

Name Type Description
DataExchDef Table System.IO."Data Exch. Def"

Returns the data exchange definition record for payment export

GetBankAccountNoWithCheck

Retrieves bank account number with validation, raising error if empty.

procedure GetBankAccountNoWithCheck(): Text

Returns

Type Description
Text

Bank account number or IBAN

GetBankAccountNo

Retrieves the primary bank account identifier (IBAN if available, otherwise bank account number).

procedure GetBankAccountNo(): Text

Returns

Type Description
Text

Bank account number or IBAN

IsInLocalCurrency

Determines if the bank account uses the local currency.

procedure IsInLocalCurrency(): Boolean

Returns

Type Description
Boolean

True if bank account currency matches local currency or is empty

GetPosPayExportCodeunitID

Retrieves the codeunit ID for positive pay export processing.

procedure GetPosPayExportCodeunitID(): Integer

Returns

Type Description
Integer

Codeunit ID for positive pay export

IsLinkedToBankStatementServiceProvider

Checks if bank account is linked to an external bank statement service provider.

procedure IsLinkedToBankStatementServiceProvider(): Boolean

Returns

Type Description
Boolean

True if linked to statement provider

StatementProvidersExist

Checks if any bank statement service providers are available in the system.

procedure StatementProvidersExist(): Boolean

Returns

Type Description
Boolean

True if statement providers exist

LinkStatementProvider

Links bank account to an external bank statement service provider.

procedure LinkStatementProvider(var BankAccount: Record "Bank Account")

Parameters

Name Type Description
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Bank account to link to service provider

SimpleLinkStatementProvider

Links online bank account to statement service provider with minimal setup.

procedure SimpleLinkStatementProvider(var OnlineBankAccLink: Record "Online Bank Acc. Link")

Parameters

Name Type Description
OnlineBankAccLink Table Microsoft.Bank.BankAccount."Online Bank Acc. Link"

Online bank account link record to configure

UnlinkStatementProvider

Removes the link between bank account and external statement service provider.

procedure UnlinkStatementProvider()

RefreshStatementProvider

Refreshes the connection to external bank statement service provider.

procedure RefreshStatementProvider(var BankAccount: Record "Bank Account")

Parameters

Name Type Description
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Bank account to refresh connection for

RenewAccessConsentStatementProvider

Renews access consent for external bank statement service provider.

procedure RenewAccessConsentStatementProvider(var BankAccount: Record "Bank Account")

Parameters

Name Type Description
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Bank account to renew consent for

EditAccountStatementProvider

Opens edit interface for external bank statement service provider account settings.

procedure EditAccountStatementProvider(var BankAccount: Record "Bank Account")

Parameters

Name Type Description
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Bank account to edit provider settings for

UpdateBankAccountLinking

Updates bank account linking configuration with statement service provider.

procedure UpdateBankAccountLinking()

GetUnlinkedBankAccounts

Retrieves all bank accounts that are not linked to external statement service providers.

procedure GetUnlinkedBankAccounts(var TempUnlinkedBankAccount: Record "Bank Account" temporary)

Parameters

Name Type Description
TempUnlinkedBankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Temporary record to populate with unlinked bank accounts

GetLinkedBankAccounts

Retrieves all bank accounts that are linked to external statement service providers.

procedure GetLinkedBankAccounts(var TempUnlinkedBankAccount: Record "Bank Account" temporary)

Parameters

Name Type Description
TempUnlinkedBankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Temporary record to populate with linked bank accounts

IsAutoLogonPossible

Checks if automatic logon is possible for external bank statement service provider.

procedure IsAutoLogonPossible(): Boolean

Returns

Type Description
Boolean

True if automatic logon is supported and configured

CreateNewAccount

Creates new bank account from online bank account link information.

procedure CreateNewAccount(OnlineBankAccLink: Record "Online Bank Acc. Link")

Parameters

Name Type Description
OnlineBankAccLink Table Microsoft.Bank.BankAccount."Online Bank Acc. Link"

Online bank account link containing account details

GetOnlineFeedStatementStatus

Retrieves online feed statement status and linking information for bank account.

procedure GetOnlineFeedStatementStatus(var OnlineFeedStatus: Option; var Linked: Boolean)

Parameters

Name Type Description
OnlineFeedStatus Option

Returns the current online feed status

Linked Boolean

Returns true if bank account is linked to statement provider

DisableStatementProviders

Disables all available bank statement service providers.

procedure DisableStatementProviders()

Events

OnAfterIsUpdateNeeded

Integration event raised after determining if bank account update is needed. Enables custom logic for evaluating when bank account updates are required.

[IntegrationEvent(False,False)]
local procedure OnAfterIsUpdateNeeded(BankAccount: Record "Bank Account"; xBankAccount: Record "Bank Account"; var UpdateNeeded: Boolean)

Parameters

Name Type Description
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Current bank account record

xBankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Previous bank account record state

UpdateNeeded Boolean

Whether update is needed (can be modified by subscribers)

Remarks

Raised after standard update evaluation logic in bank account validation.

OnAfterCopyBankFieldsFromCompanyInfo

Integration event raised after copying bank-related fields from company information. Enables custom field mapping or additional processing during bank account initialization.

[IntegrationEvent(False,False)]
local procedure OnAfterCopyBankFieldsFromCompanyInfo(var BankAccount: Record "Bank Account"; CompanyInformation: Record "Company Information")

Parameters

Name Type Description
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Bank account record being updated

CompanyInformation Table Microsoft.Foundation.Company."Company Information"

Source company information record

Remarks

Raised from CopyBankFieldsFromCompanyInfo procedure after standard field copying.

OnAfterValidateShortcutDimCode

Integration event raised after validating a shortcut dimension code for bank account. Enables custom processing or additional validation after dimension code validation.

[IntegrationEvent(False,False)]
local procedure OnAfterValidateShortcutDimCode(var BankAccount: Record "Bank Account"; var xBankAccount: Record "Bank Account"; FieldNumber: Integer; var ShortcutDimCode: Code[20])

Parameters

Name Type Description
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Bank account record being validated

xBankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Previous bank account record state

FieldNumber Integer

Field number of the dimension being validated

ShortcutDimCode Code[20]

Dimension code that was validated

Remarks

Raised from ValidateShortcutDimCode procedure after standard dimension validation.

OnBeforeValidateIBAN

Integration event raised before validating IBAN format and check digits. Enables custom IBAN validation logic or handling of special IBAN formats.

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateIBAN(var BankAccount: Record "Bank Account"; var xBankAccount: Record "Bank Account"; var IsHandled: Boolean)

Parameters

Name Type Description
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Bank account record being validated

xBankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Previous bank account record state

IsHandled Boolean

Set to true to skip standard IBAN validation

Remarks

Raised from IBAN validation trigger before standard format checking.

OnBeforeValidateShortcutDimCode

Integration event raised before validating a shortcut dimension code for bank account. Enables custom dimension validation logic or preprocessing before standard validation.

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateShortcutDimCode(var BankAccount: Record "Bank Account"; var xBankAccount: Record "Bank Account"; FieldNumber: Integer; var ShortcutDimCode: Code[20])

Parameters

Name Type Description
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Bank account record being validated

xBankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Previous bank account record state

FieldNumber Integer

Field number of the dimension being validated

ShortcutDimCode Code[20]

Dimension code being validated

Remarks

Raised from ValidateShortcutDimCode procedure before standard dimension validation.

OnCheckLinkedToStatementProviderEvent

Integration event for checking if bank account is linked to a statement provider service. Enables bank statement provider integrations to indicate connection status.

[IntegrationEvent(False,False)]
local procedure OnCheckLinkedToStatementProviderEvent(var BankAccount: Record "Bank Account"; var IsLinked: Boolean)

Parameters

Name Type Description
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Bank account being checked for provider linkage

IsLinked Boolean

Whether the account is linked to a statement provider (set by subscribers)

Remarks

Raised when determining bank account integration status with external statement providers.

OnCheckAutoLogonPossibleEvent

Integration event for checking if automatic logon is possible for the bank account. Enables bank statement provider integrations to indicate authentication capabilities.

[IntegrationEvent(False,False)]
local procedure OnCheckAutoLogonPossibleEvent(var BankAccount: Record "Bank Account"; var AutoLogonPossible: Boolean)

Parameters

Name Type Description
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Bank account being checked for auto-logon capability

AutoLogonPossible Boolean

Whether auto-logon is possible (set by subscribers)

Remarks

Raised when determining if bank account can authenticate without multi-factor authentication.

OnUnlinkStatementProviderEvent

Integration event for unlinking bank account from statement provider service. Enables bank statement provider integrations to handle connection removal.

[IntegrationEvent(False,False)]
local procedure OnUnlinkStatementProviderEvent(var BankAccount: Record "Bank Account"; var Handled: Boolean)

Parameters

Name Type Description
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Bank account being unlinked from statement provider

Handled Boolean

Set to true if the unlinking was handled by subscriber

Remarks

Raised when disconnecting bank account from external statement provider services.

OnMarkAccountLinkedEvent

Integration event for marking bank account as linked to statement provider service. Enables bank statement provider integrations to update linkage status.

[IntegrationEvent(False,False)]
procedure OnMarkAccountLinkedEvent(var OnlineBankAccLink: Record "Online Bank Acc. Link"; var BankAccount: Record "Bank Account")

Parameters

Name Type Description
OnlineBankAccLink Table Microsoft.Bank.BankAccount."Online Bank Acc. Link"

Online bank account link record being processed

BankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Bank account being marked as linked

Remarks

Raised when establishing connection between bank account and external statement provider.

OnSimpleLinkStatementProviderEvent

Integration event for simple linking of bank account to statement provider. Enables streamlined connection setup with basic provider information.

[IntegrationEvent(False,False)]
local procedure OnSimpleLinkStatementProviderEvent(var OnlineBankAccLink: Record "Online Bank Acc. Link"; var StatementProvider: Text)

Parameters

Name Type Description
OnlineBankAccLink Table Microsoft.Bank.BankAccount."Online Bank Acc. Link"

Online bank account link record for the connection

StatementProvider Text

Name/identifier of the statement provider service

Remarks

Raised during simplified bank account linking workflow for statement providers.

OnLinkStatementProviderEvent

Integration event for linking bank account to statement provider service. Enables bank statement provider integrations to establish account connections.

[IntegrationEvent(False,False)]
local procedure OnLinkStatementProviderEvent(var BankAccount: Record "Bank Account"; var StatementProvider: Text)

Parameters

Name Type Description
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Bank account being linked to statement provider

StatementProvider Text

Name/identifier of the statement provider service

Remarks

Raised when connecting bank account to external statement provider services.

OnRefreshStatementProviderEvent

Integration event for refreshing bank account connection to statement provider. Enables renewal of authentication or data synchronization with provider services.

[IntegrationEvent(False,False)]
local procedure OnRefreshStatementProviderEvent(var BankAccount: Record "Bank Account"; var StatementProvider: Text)

Parameters

Name Type Description
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Bank account connection to be refreshed

StatementProvider Text

Name/identifier of the statement provider service

Remarks

Raised when updating or renewing connection between bank account and statement provider.

OnGetDataExchangeDefinitionEvent

Integration event for retrieving data exchange definition for online bank feeds. Enables dynamic configuration of data format for processing bank statement imports.

[IntegrationEvent(True,False)]
local procedure OnGetDataExchangeDefinitionEvent(var DataExchDefCodeResponse: Code[20]; var Handled: Boolean)

Parameters

Name Type Description
DataExchDefCodeResponse Code[20]

Data exchange definition code (set by subscriber)

Handled Boolean

Set to true if definition was provided by subscriber

Remarks

Raised when determining data format configuration for online bank statement processing.

OnUpdateBankAccountLinkingEvent

Integration event for updating bank account linking information. Enables maintenance of connection details between bank accounts and statement providers.

[IntegrationEvent(False,False)]
local procedure OnUpdateBankAccountLinkingEvent(var BankAccount: Record "Bank Account"; var StatementProvider: Text)

Parameters

Name Type Description
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Bank account with linking information to update

StatementProvider Text

Name/identifier of the statement provider service

Remarks

Raised when updating connection metadata for single or multiple bank account links.

OnGetStatementProvidersEvent

Integration event for retrieving available statement provider services. Enables discovery of available bank statement provider integrations.

[IntegrationEvent(False,False)]
local procedure OnGetStatementProvidersEvent(var TempNameValueBuffer: Record "Name/Value Buffer" temporary)

Parameters

Name Type Description
TempNameValueBuffer Table Microsoft.Utilities."Name/Value Buffer"

Buffer for provider identifiers and display names (populated by subscribers)

Remarks

Raised when building list of available statement provider services for user selection.

OnDisableStatementProviderEvent

Integration event for disabling a statement provider service. Enables deactivation or removal of statement provider integrations.

[IntegrationEvent(False,False)]
local procedure OnDisableStatementProviderEvent(ProviderName: Text)

Parameters

Name Type Description
ProviderName Text

Name/identifier of the statement provider to disable

Remarks

Raised when deactivating statement provider services system-wide.

OnRenewAccessConsentStatementProviderEvent

Integration event for renewing access consent for statement provider. Enables re-authorization workflow for open banking and similar integrations.

[IntegrationEvent(False,False)]
local procedure OnRenewAccessConsentStatementProviderEvent(var BankAccount: Record "Bank Account"; var StatementProvider: Text)

Parameters

Name Type Description
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Bank account requiring consent renewal

StatementProvider Text

Name/identifier of the statement provider service

Remarks

Raised when bank account access permissions need to be renewed with external provider.

OnEditAccountStatementProviderEvent

Integration event for editing online bank account information. Enables customization of bank account details editing interface.

[IntegrationEvent(False,False)]
local procedure OnEditAccountStatementProviderEvent(var BankAccount: Record "Bank Account"; var StatementProvider: Text)

Parameters

Name Type Description
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Bank account information to be edited

StatementProvider Text

Name/identifier of the statement provider service

Remarks

Raised when providing user interface for editing online bank account connection details.

OnBeforeRunContactListPage

Integration event raised before opening the contact list page. Enables custom contact list handling or alternative contact selection interface.

[IntegrationEvent(False,False)]
local procedure OnBeforeRunContactListPage(var Contact: Record Contact; var IsHandled: Boolean)

Parameters

Name Type Description
Contact Table Microsoft.CRM.Contact.Contact

Contact record for the contact list display

IsHandled Boolean

Set to true to skip standard contact list page opening

Remarks

Raised before displaying contact list page for bank account contact selection.

OnValidateBankAccount

Integration event for validating bank account information. Enables custom validation logic for specific bank account fields or data.

[IntegrationEvent(False,False)]
local procedure OnValidateBankAccount(var BankAccount: Record "Bank Account"; FieldToValidate: Text)

Parameters

Name Type Description
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Bank account record being validated

FieldToValidate Text

Name/identifier of the field being validated

Remarks

Raised during bank account validation workflows for extensible field validation.

OnGetBankAccount

Integration event for retrieving bank account information. Enables custom bank account lookup or data retrieval logic.

[IntegrationEvent(False,False)]
local procedure OnGetBankAccount(var Handled: Boolean; BankAccount: Record "Bank Account"; var ResultBankAccountNo: Text)

Parameters

Name Type Description
Handled Boolean

Set to true if bank account retrieval was handled by subscriber

BankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Input bank account record for lookup context

ResultBankAccountNo Text

Bank account number result (set by subscriber)

Remarks

Raised when performing bank account data lookup or retrieval operations.

OnBeforeValidateCity

Integration event raised before validating city field on bank account. Enables custom city validation logic with postal code integration.

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateCity(var BankAccount: Record "Bank Account"; var PostCode: Record "Post Code"; CurrentFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Bank account record being validated

PostCode Table Microsoft.Foundation.Address."Post Code"

Post code record for city validation context

CurrentFieldNo Integer

Field number triggering the validation

IsHandled Boolean

Set to true to skip standard city validation

Remarks

Raised from city field validation trigger before standard postal code validation.

OnBeforeValidatePostCode

Integration event raised before validating postal code field on bank account. Enables custom postal code validation logic with city integration.

[IntegrationEvent(False,False)]
local procedure OnBeforeValidatePostCode(var BankAccount: Record "Bank Account"; var PostCode: Record "Post Code"; CurrentFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Bank account record being validated

PostCode Table Microsoft.Foundation.Address."Post Code"

Post code record for postal code validation context

CurrentFieldNo Integer

Field number triggering the validation

IsHandled Boolean

Set to true to skip standard postal code validation

Remarks

Raised from postal code field validation trigger before standard city validation.

OnBeforeGetCreditTransferMessageNo

Integration event raised before retrieving credit transfer message number. Enables custom logic for generating or determining credit transfer message identifiers.

[IntegrationEvent(False,False)]
local procedure OnBeforeGetCreditTransferMessageNo(var CreditTransferMsgNo: Code[20]; var IsHandled: Boolean)

Parameters

Name Type Description
CreditTransferMsgNo Code[20]

Credit transfer message number (can be set by subscriber)

IsHandled Boolean

Set to true if message number was provided by subscriber

Remarks

Raised when generating unique message identifiers for credit transfer operations.

OnBeforeGetDirectDebitMessageNo

Integration event raised before retrieving direct debit message number. Enables custom logic for generating or determining direct debit message identifiers.

[IntegrationEvent(False,False)]
local procedure OnBeforeGetDirectDebitMessageNo(var DirectDebitMsgNo: Code[20]; var IsHandled: Boolean)

Parameters

Name Type Description
DirectDebitMsgNo Code[20]

Direct debit message number (can be set by subscriber)

IsHandled Boolean

Set to true if message number was provided by subscriber

Remarks

Raised when generating unique message identifiers for direct debit operations.

OnValidateCurrencyCodeOnBeforeTestBalanceFields

Integration event raised during currency code validation before testing balance fields. Enables custom validation logic before standard balance field testing.

[IntegrationEvent(False,False)]
local procedure OnValidateCurrencyCodeOnBeforeTestBalanceFields(var BankAccount: Record "Bank Account")

Parameters

Name Type Description
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"

Bank account record being validated for currency change

Remarks

Raised from currency code validation trigger before checking balance-related field consistency.

OnBeforeGetBankExportImportSetup

Integration event raised before retrieving bank export/import setup configuration. Enables custom logic to override or supplement standard setup retrieval.

[IntegrationEvent(False,False)]
procedure OnBeforeGetBankExportImportSetup(var BankExportImportSetup: Record "Bank Export/Import Setup"; var IsHandled: Boolean)

Parameters

Name Type Description
BankExportImportSetup Table Microsoft.Bank.Setup."Bank Export/Import Setup"

Returns the bank export/import setup record

IsHandled Boolean

Set to true to bypass standard setup retrieval logic

Remarks

Raised from GetBankExportImportSetup procedure before standard configuration lookup.

OnBeforeIsInLocalCurrency

Integration event raised before determining if bank account is in local currency. Enables custom logic for determining local currency status.

[IntegrationEvent(False,False)]
local procedure OnBeforeIsInLocalCurrency(var Rec: Record "Bank Account"; var Result: Boolean; var IsHandled: Boolean)

Parameters

Name Type Description
Rec Table Microsoft.Bank.BankAccount."Bank Account"

Bank account record being checked

Result Boolean

Result value to return (if handled)

IsHandled Boolean

Set to true if event is handled by subscriber

See also