|
Rank: Newbie
Joined: 2/19/2020 Posts: 5 Location: Norway
|
Hello Guys,
First time writing i forums, so hopefully ill try to explain as best as I can:
I have a challenge where the client is sending me IFTMIN and IFTMBF files in to a single folder and has no capability to split the files into separate folders or name the files differently. I am mapping the IFTMIN and IFTMBF to an XML. Build the mappings and everything works perfectly and the last step which left to fully automatize the process is somehow do the check firstly whether the file is IFTMIN or IFTMBF.
Once the job checks the file format then it either moves the file to a separate folder if its IFTMIN and if its IFTMBF then leave it as it is. The details of the file format is stated in the UNH segment.
UNH+000000000+IFTMBF:S:93A:**:******+******'
Thank you in advance!
|
|
Rank: Advanced Member
Joined: 6/16/2006 Posts: 487 Location: AT
|
Mindaugas wrote:I have a challenge where the client is sending me IFTMIN and IFTMBF files in to a single folder and has no capability to split the files into separate folders or name the files differently.
You can choose more than one message type in an EDI component (as long as both are from the same EDI standard collection). Then you can either combine both of your mappings to XML into one, or you can use this mapping to just detect the message type and output some info into an output file for a following step to run the intended mapping.
|
|
Rank: Newbie
Joined: 2/19/2020 Posts: 5 Location: Norway
|
Morning,
Could you please brief me how do I do it? Would be a great solution where the mapping would detect the message type.
|
|
guest |