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.  formatDecimal formatting service

    Posted Fri August 04, 2006 03:15 PM

    Hi,

    I have one question.
    the case:

    If input to a particular filed is 1000.00, after processing I can see “1E3”

    I looked into the EDI module home page and changed the formatting setting for “formatDecimal”. Now its working fine.
    But…

    the problem:

    It became a global change. So, other documents might e affected by this change.

    is there any other opting, to chnage the formatting setting, so that i will get 1000.00 when i give 1000.00

    Thanks
    Kris


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


  • 2.  RE: formatDecimal formatting service

    Posted Fri August 04, 2006 04:20 PM

    If you dont want to be a global change then just remove formatService in the particular EDI FFDictionary/Field you will see formatService option(Generally formats functions apply for qty or amount related fields).So dont change the code in the formatService itself.

    Note:You have to migrate the existing dictionary/schema changes to different environments QA,prod to sync.

    Also you will find all the format related functions located in the packages/WmEDI/pub folder format.xml…

    HTH,
    RMG


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


  • 3.  RE: formatDecimal formatting service

    Posted Fri August 04, 2006 07:57 PM

    RMG,

    Also you will find all the format related functions located in the packages/WmEDI/pub folder format.xml

    If I did this, it will also be a global change right, change in the WmEDI pckage.?

    Thanks
    Kris


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


  • 4.  RE: formatDecimal formatting service

    Posted Fri August 04, 2006 08:04 PM

    “If I did this, it will also be a global change right, change in the WmEDI pckage.?” --Yes sort of.

    So you try change in that particular dictionary/schema only and take out the formatService,and make sure it is working as expected.

    HTH,
    RMG


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


  • 5.  RE: formatDecimal formatting service

    Posted Fri August 04, 2006 11:34 PM

    Having this be a global change probably isn’t an issue. I’ve yet to come across any partner that actually accepts this type of numeric notation even though it is supposedly the standard.


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


  • 6.  RE: formatDecimal formatting service

    Posted Sun August 06, 2006 02:17 PM

    Thanks RM G and Rob.


    I’ve yet to come across any partner that actually accepts this type of numeric notation even though it is supposedly the standard.**

    Yes rob, It is a default setting I think. I installed webM on my local machine and observed the settings.

    Thnanks
    Kris


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


  • 7.  RE: formatDecimal formatting service

    Posted Sun August 06, 2006 04:13 PM

    Yarkar,

    You probably find with your partner if the format is acceptable as per standard notation,or else change in the dictionary/schema and solve the problem.I prefer to change in the FF side and its the way to go for move on to next.

    HTH,
    RMG


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


  • 8.  RE: formatDecimal formatting service

    Posted Mon August 07, 2006 12:00 AM

    Yes, it is indeed the default. And in every implementation I’ve been involved with we’ve had to change that format setting because one or more partners could not handle it.


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