834- DTP01_DateTimeQualifier RRS feed

  • Question

  • How can I apply complex mapping rules, e.g.:
    Example 1:  Use 2300-level DTP 303 value if present, otherwise use 2000-level DTP 303 value, otherwise use the ISA09 or GS04 date. 

    I can simple use Logical funtoid or Scripting bu problem is that the DTP01_DateTimeQualifier come on loop and in my target side i have flat file

    If i am simply mapping the it's taking only 1st value (not looping thru all data) and If i am using Looping funtoid then format of flatfile is getting disturb


    Thursday, October 25, 2012 10:15 PM

All replies

  • HI Himashu,

    Use XSLT for this scenrio in custom scripting functoid.

    Friday, October 26, 2012 3:28 AM
  • Hi Anand,

    I am able to solve this using global variables and Value mapping (flt) funtoid. But I would like to explore XSLT way too.

    Can you please give me some sample of XSLT specially for EDI schema. The problem here is EDI schema is so much complex then regular schema. and it has several level of nesting and sub loop.

    thanks in Advance 


    Monday, October 29, 2012 8:34 PM