webMethods

webMethods

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
Expand all | Collapse all

How to set UNB-04_01 and UNB-04_02 values

  • 1.  How to set UNB-04_01 and UNB-04_02 values

    Posted Fri March 01, 2013 08:08 PM

    Hi experts,

    I need to map current date in UNB-04_01 and current time in UNB-04_2 segments.
    I am using “addICEnvelopeEDIFACT” service to generate UNB segment but was not able to find where to set these UNB-04 values.

    Could you please help me out.

    Thanks,
    Amit


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


  • 2.  RE: How to set UNB-04_01 and UNB-04_02 values

    Posted Fri March 01, 2013 08:49 PM

    UNB4.1 is in the format YYMMDD
    UNB4.2 is 4 digits in the 24-hour clock format: 4:35 PM is 1635

    BTW, the wm.b2b.edi.util:addICEnvelopeEDIFACT service generates both value using the current date of the system. it’s under the /addGroups branch.


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


  • 3.  RE: How to set UNB-04_01 and UNB-04_02 values

    Posted Sat March 02, 2013 08:39 AM

    Got it now.
    Thanks for your reply. :slight_smile:


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