IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Date formate in EDIValues output from ConvertToValues

    Posted Mon October 29, 2007 09:48 PM

    Hi,

    I am testing a service for Inbound 850. After convertToValues flow step, I find the format of BEG05 is MM/DD/YYYY instead of YYYYMMDD in EDIValues. What input should I change to make convertToValues keeps YYYYMMDD format.


    #edi
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Date formate in EDIValues output from ConvertToValues

    Posted Mon October 29, 2007 10:33 PM

    Look in the 850 FFSchema for BEG05 format,yes it should be in YYYYMMDD format…how is the source file data coming in BEG05??

    HTH,
    RMG


    #Integration-Server-and-ESB
    #edi
    #webMethods


  • 3.  RE: Date formate in EDIValues output from ConvertToValues

    Posted Tue October 30, 2007 03:57 PM

    Thank you, I checked the schema. I found it using wm.b2b.edi.util.formatServices:formatDate8 as format service. I bet that formats the date from YYYYMMDD to MM/DD/YYYY.


    #webMethods
    #edi
    #Integration-Server-and-ESB


  • 4.  RE: Date formate in EDIValues output from ConvertToValues

    Posted Tue October 30, 2007 04:37 PM

    As seems to be the case more often than not, the answer you seek is in the documentation. Review the EDI Module User’s Guide, section “Configuring How the Format Services Convert Field Values.”


    #webMethods
    #Integration-Server-and-ESB
    #edi


  • 5.  RE: Date formate in EDIValues output from ConvertToValues

    Posted Tue October 30, 2007 04:52 PM

    Yes! it works. Thank you very much, Reamon.


    #edi
    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: Date formate in EDIValues output from ConvertToValues

    Posted Tue October 30, 2007 05:09 PM

    Keep in mind that the format settings within the format.xml file are global–they apply to every call to convertToValues and convertToString for EDI.


    #Integration-Server-and-ESB
    #edi
    #webMethods