Skip to main content

Import bank statement using BAI2 format in D365

Purpose:
This document has been created to show process flow to import bank statement using BAI2 format. This can be achieved according to the following steps.

Upload configuration files for BAI2 format

1.    Go to System administration à Data management.
2.    Click Import, enter job name description.





Set parameters for import document

Note: Change to Standard view if the below screen is not visible.

Select as follows:
1.    Set Name: BAI2.
2.    Set Source data format: XML-Element.
3.    Set Entity name: Bank statements.
4.    Click View map à then again click View map.


5.                   On following screen, go to Transformation tab

Now, the three files have to be uploading using following steps.
1.    Click new.
2.    Upload file (BAI2CSV-to-BAI2XML.xlst)
3.    Click new.
4.    Upload file (BAI2XML-to-Reconciliation.xslt)
5.    Click new.
6.    Upload file (BankReconciliation-to-Composite.xslt)
7.    Click Apply transforms.


Create bank statement format

Navigation: Cash and bank management à Setup à Advanced bank reconciliation à Bank statement format
 
1.    Set Statement format: BAI2
2.    Set Name: BAI2
3.    Set Processing group: BAI2
4.    Set File type: txt

Import bank statement

Note: This is the sample BAI2 File which will be imported in MS D365: F&O.
Navigation: Cash and bank management à Bank statement reconciliation à Bank statements.








On following form, click Import Statement

1.    Set Bank account: MOTLE914.
2.    Set Statement format: BAI2.
3.    Now upload the file and click OK then statement will be generated.


NoteIf the import is successful, you will receive a message that states that your statement was imported. If the import wasn't successful, in the “Data Management” workspace, in the “Job History” section, find the job. Click “Execution details” for the job to open the “Execution Summary” page, and then click “View Execution Log” to view the import errors.

Bank Statements




Comments

  1. where can I download a copy of these 3 files?
    BAI2CSV-to-BAI2XML.xslt
    BAI2XML-to-Reconciliation.xslt
    BankReconciliation-to-Composite.xslt

    ReplyDelete
  2. You can download them from AOT under Resources.
    BankStmtImport_BAI2CSV_to_BAI2XML_xslt
    BankStmtImport_BAI2XML_to_Reconciliation_xslt
    BankStmtImport_BankReconiliation_to_Composite_xslt

    ReplyDelete

Post a Comment

Popular posts from this blog

D365 Print Management Setup to print reports

In Microsoft Dynamics Ax D365, we have the out of the box feature of print management to print report either OOTB or custom reports of our clients so for that we need to configure the print management settings. We normally faces this warning message when we print the reports without the setting has been done. Firstly , select Form setup ( Accounts Receivable >> Forms >> Form setup  ) Secondly, In the General tab , select Print Management Thirdly, In the Document Tab right click and select New tab Moreover , we need to set the listed below details and need to select our required reports to load using print management Furthermore , we now nee to go to All Free Tax Invoices in AR Lastly you can use the FTI to generate the respective report using the print button. This time the Warning will be Gone!!! 

Upload and Download file to BLOB storage Account in D365 F&O using X++

Hello Devs! This blog will be a source of help for many Devs who are working on Azure Blog Storage account. We normally use azure blob storage account to hold thing that need to be further processed and stored on cloud. Scenario:  We have been asked to * Upload file to azure * Download file from azure "We will be using Share File Management technique" Case #1 : Uploading File to Azure  Note : Here we are using  PurchParameter  table to extract urls and other folder related details you can use your own folder name to access the azure blob folder Further, Credential details have already been extracted i.e vault key,authorization key and has been stored in our custom table and extracted from d365 through azure parameters  storageCredentials  = new Microsoft.WindowsAzure.Storage.Auth.StorageCredentials(SystemParameters::find().CMTStorageAccountName, purchParameters.CMTTankKeyVaultSecret); Or alternatively, CloudStorageAccount storageAccount =                 Clo

Error : 9002 The Transaction Log for database 'DB' is full due to 'LOG_BACKUP' Sql Server Error in Event View for AX dynamics D365

This is one of the most common error faced by developers often working with database. This error is very much common for SQL servers as when the LOG size runs out in other words reaches 100% then we encounter this error. Being an AX developer, when the log usage reaches to 100% AX stops working and throw reconnecting request error. For this there is a rapid solution and i have written query for it. Step #1: --this could be use to check you Database log file name and its location use AxDB--in my case AxDB is my Database Name select * from sys.database_files Step #2: --This could be used to see you log space usage for your particular log DBCC SQLPERF (LOGSPACE) Step #3: --In my case Database log file name is D365DB_log --use this query to shrink your log file size USE AxDB; GO -- Truncate the log by changing the database recovery model to SIMPLE. ALTER DATABASE AxDB SET RECOVERY SIMPLE; GO -- Shrink the truncated log file to 1 MB. DBCC SHRINKFILE (D365DB_log, 1); G