Electronic Reporting Bank Statement Import parsing account number for BAI2.
When you import bank statements into D365 F&O using electronic reporting the system uses the account number field on the bank master to identify the bank account which should be used to create the statement.
The BAI2 format contains the account identifier on the line starting "03", often this number is a combination of both the account number and another identification number the bank uses like sort code in the UK or BSB in Australia.
In D365 F&O we have 2 separate fields to store this information and to get the standard import to work you have to include the full account identifier in the account number field, which may not be correct based on the locality.
If you need to parse this number its possible by making a change to the model mapping on the format, just do the follow:
1. First create a custom format based on the standard format, against your configuration provider.
2. Go into designer on your custom format.
3. Go into Map Format to Model.
4. Go into Designer.
5. Find in the data model Statement > Bank Account > Account Number
The standard formula is:MID(@.Value.AccountDetails.AccountIdOtherId,7,len(@.Value.AccountDetails.AccountIdOtherId)-6)
6. Enable the format, make sure it is set-up in the cash and bank module and linked to your bank.
7. Make sure the account number field on the bank is set to "78901234".
8. Then run the import and it should load.
Comments
Post a Comment