Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Importing Credit Card ...
Finance forum
Unanswered

Importing Credit Card transactions using electronic reporting

Posted on by

Hello,

I'm currently working on creating an electronic reporting import format for processing credit card transactions from AMEX. Here's how it's structured:

  • Header record: identified by '0' at at the starting position. 
  • Market summary record: identified by '8' at at the starting position. 
  • Employee transaction records (multiple per employee): identified by '1' at at the starting position. 
  • Employee summary record (one per employee): identified by '2' at at the starting position. 
  • Trailer record: identified by '9' at at the starting position. 

Each employee's records are repeated multiple times within the file.

Here’s a sample sequence (txt):
Note there are no delimiters it's position based.

0 (Header)
8 (Market summary)
1 (Employee transaction - EMP001)
1 (Employee transaction - EMP001)
1 (Employee transaction - EMP001)
2 (Employee summary - EMP001)
1 (Employee transaction - EMP002)
1 (Employee transaction - EMP002)
2 (Employee summary - EMP002)
9 (Trailer)

I've successfully imported transactions for one employee. However, when attempting to import files with transactions for multiple employees (e.g., three employees), the process stops after the first employee's records. Maybe the issue is related to the employee summary records being in-between? (type 2).
 
Format:
 
When I try to import - file only partially imported. 
 
This is the output of the format map to model ( Attached file)
 

Could you please provide advice on how to handle multiple employees' transactions effectively within this structure, especially regarding the possible impact of the employee summary records?

Thank you in advance.

Best regards,

Amrita

Categories:
output (14).xml
  • Adis Profile Picture
    Adis 256 on at
    Importing Credit Card transactions using electronic reporting
    Hey,
     
    Do you have any formulars in the format or in the mapping? My first thought is you are using FIRSTORNULL somewhere, in that case the system would just pick the first record.
    Maybe you can share the mapping tag for one or two lines.
     
    Did you create the configuration from scratch or from an existing Microsoft configuration? In case there is one from Microsoft, I would check how it was implemented, maybe it will give you a clue.
     
    Kind regards, Adis

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans