Dynamics365fO Setting up Bank statement import using ... · Dynamics365fO – Setting up Bank...
Transcript of Dynamics365fO Setting up Bank statement import using ... · Dynamics365fO – Setting up Bank...
Dynamics365fO – Setting up Bank statement import using format MT940
Export Resource files needed later for the setup a. Open Application Explorer in Visual Studio:
b. Locate Resources and filter by BankStmtImport:
c. Copy following resources to desired destination (ref. example in next step):
SampleBankCompositeEntity.xml
MT940TXT-to-MT940XML.xslt
MT940XML-to-Reconciliation.xslt
BankReconiliation-to-Composite.xslt
Example:
• Right click SampleBankCompositeEntity.xml and choose Open designer
• Let the cursor rest on the name of the opened file to see the where the resource file is stored:
Dynamics365fO – Setting up Bank statement import using format MT940
• Go to the folder and search for sample
• Copy the file to desired folder:
Create data project Bank statement MT940 a. Open AX and go to Data management. Choose Import:
b. Name the data project (Bank statement MT940).
Source data format is XML-Element
Note: the imported file is ASCII (txt file) but it will be transformed to xml document and
imported as xml document
Entity name Bank statements (target entity BankStatementImportEntity)
Dynamics365fO – Setting up Bank statement import using format MT940
c. Upload import files
Click Upload and locate the resource file SampleBankCompositeEntity.xml:
Result after uploading the SampleBankCompositeEntity resource:
Dynamics365fO – Setting up Bank statement import using format MT940
• Choose View map:
• And on the following page, View map again
• On the Map source to staging page, choose TRANSFORMATIONS:
• Choose New and Upload file:
Dynamics365fO – Setting up Bank statement import using format MT940
• Select file by browsing to the folder chosen in step one. Choose MT940TXT-toMT940XML.xslt:
• Repeat step g. so you have all the three resources in following order:
Finally click Apply transforms
Setup Bank statement format MT940 Cash and bank management | Advanced bank reconciliation setup | Bank account statement format
• Choose New. Give Name and description and add the processing group you have been setup
in the previous steps
Test the statement format Cash and bank management | Bank accounts – Bank account:
• Verify Bank account setup and compare with line 25 in statement file
Dynamics365fO – Setting up Bank statement import using format MT940
• Choose Reconciliation – Advanced bank reconciliation = Yes
• You might want to setup MT940 as default statement format – this is not a mandatory step
• Import statement file:
• Choose Import Statement and fill in the bank account and statement format
• Browse to the bank statement file
• Upload the file
Mt940_WorkingTest
File.txt
Choose OK
Result: