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.  Duplicate ST control # Generated

    Posted Tue November 18, 2008 11:19 PM

    Hi,

    We are using wM6.5 and few days ago we had some issue with the EDI 810s that got generated in TN. We had duplicate ST control # generated for one partner. We have three different accounts for that partner and doing all outbound transaction with different Sender and receiver combinations. We have same ExternallD “XYZ” for all the three account ,so we are supposing that ST control Number got duplicated because of three different combination of sender and receiver.

    We know that ST control numbers are generating at run time on the basis of receiver and sender combination using service ’ wm.b2b.editn.batch:getControlNumber

    Does anyone have any idea why the ST control# got duplicated for the same account# and same sender/receiver combination. Please let me know.

    Thanks in Advance


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


  • 2.  RE: Duplicate ST control # Generated

    Posted Wed November 19, 2008 12:19 AM

    wm.b2b.editn.batch:getControlNumber is not normally used for generating ST control numbers. It is used for interchange (ISA) and group (GS) numbers. Typically (but not always) the ST numbers start at 1 within a new group and increment by 1.

    Are you using the batchProcess service? It will manage the ST control number per the inputs you provide.


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


  • 3.  RE: Duplicate ST control # Generated

    Posted Wed November 19, 2008 12:37 AM

    Yes, you’re right. No we are not using the batchProcess service.


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


  • 4.  RE: Duplicate ST control # Generated

    Posted Wed November 19, 2008 12:51 AM

    We are using the following services in our generic map.

    wm.b2b.editn.batch:getControlNumber (to get group and Interchange ctrl#)
    wm.b2b.edi.util:addGroupEnvelope (to add group envelope)
    wm.b2b.edi.util:addICEnvelope (to add interchange envelope)


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


  • 5.  RE: Duplicate ST control # Generated

    Posted Wed November 19, 2008 01:00 AM

    Is the ST control number that is duplicated? How are you setting that? Or is another control number being duplicated. Normally, duplicate ST control numbers are not a problem–unless the duplicate is within the same group.

    You don’t need to call getControlNumber separately. The add*Envelope will do that based on your inputs.


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


  • 6.  RE: Duplicate ST control # Generated

    Posted Wed November 19, 2008 03:59 AM

    The ST control numbers were duplicated for 3 sets of documents, total of 148 as below;Do not know how this ST numbers are generated. Please see.

    [B][FONT=Arial][SIZE=2][COLOR=#0000ff]

    Date[/b][/color][/size][/font]

    [B][FONT=Arial][SIZE=2][COLOR=#0000ff]

    Document ID
    (810)[/b][/color][/size][/font]

    [B][FONT=Arial][SIZE=2][COLOR=#0000ff]

    ST Control #[/b][/color][/size][/font]

    [B][FONT=Arial][SIZE=2][COLOR=#0000ff]

    Comments[/b][/color][/size][/font]

    [B][FONT=Arial][SIZE=2][COLOR=#0000ff]

    Total #
    of Invoices[/b][/color][/size][/font]

    [B][FONT=Arial][SIZE=2][COLOR=#0000ff]

    Duplicate #
    of Invoices[/b][/color][/size][/font]

    [B][FONT=Arial][SIZE=2][COLOR=#0000ff]

    From[/b][/color][/size][/font]

    [B][FONT=Arial][SIZE=2][COLOR=#0000ff]

    to[/b][/color][/size][/font]

    2008-10-23 10:23:40.513
    '0000627589
    [FONT=Arial][SIZE=2]'231023447[/size][/font]
    [FONT=Arial][SIZE=2]'231023546[/size][/font]
    [FONT=Arial][SIZE=2][COLOR=#ff0000]Original[/color][/size][/font]
    [B][FONT=Arial][SIZE=2]

    100[/b][/size][/font]

    2008-10-23 10:23:45.693
    '0000000915
    [FONT=Arial][SIZE=2]'231023357[/size][/font]
    [FONT=Arial][SIZE=2]'231023456[/size][/font]
    ST Control # 231023447 to 231023456 got [FONT=Arial][SIZE=2][COLOR=#ff0000]duplicated[/color][/size][/font] as present in DocID 0000627589 as well.

    [B][FONT=Arial][SIZE=2]

    100[/b][/size][/font]

    [B][FONT=Arial][SIZE=2]

    10[/b][/size][/font]

    2008-10-23 10:23:50.67
    '0000078243
    [FONT=Arial][SIZE=2]231023457[/size][/font]
    [FONT=Arial][SIZE=2]'231023556[/size][/font]
    ST Control # 231023457 to 231023546 got [FONT=Arial][SIZE=2][COLOR=#ff0000]duplicated[/color][/size][/font] as present in DocID 0000627589 as well.
    [B][FONT=Arial][SIZE=2]

    100[/b][/size][/font]

    [B][FONT=Arial][SIZE=2]

    90[/b][/size][/font]

    2008-10-30 08:37:24.067
    '0000178008
    [B][FONT=Arial][SIZE=2]

    300837764[/b][/size][/font]

    [FONT=Arial][SIZE=2]'300837863[/size][/font]
    [FONT=Arial][SIZE=2][COLOR=#ff0000]Original[/color][/size][/font]
    [B][FONT=Arial][SIZE=2]

    100[/b][/size][/font]

    2008-10-30 08:37:27.897
    '0000906920
    [FONT=Arial][SIZE=2]'300837864[/size][/font]
    [FONT=Arial][SIZE=2]'300837911[/size][/font]
    [FONT=Arial][SIZE=2][COLOR=#ff0000]Original[/color][/size][/font]
    [B][FONT=Arial][SIZE=2]

    48[/b][/size][/font]

    2008-10-30 08:37:42.863
    '0000016364
    [FONT=Arial][SIZE=2]'300837667[/size][/font]
    [FONT=Arial][SIZE=2]'300837766[/size][/font]
    ST Control # 300837764 to 300837766 got [FONT=Arial][SIZE=2][COLOR=#ff0000]duplicated[/color][/size][/font] as present in DocID 0000178008 as well.

    [B][FONT=Arial][SIZE=2]

    100[/b][/size][/font]

    [B][FONT=Arial][SIZE=2]

    3[/b][/size][/font]

    2008-10-30 08:38:00.245
    '0000807081
    [FONT=Arial][SIZE=2]'300837867[/size][/font]
    [FONT=Arial][SIZE=2]'300837966[/size][/font]
    ST Control # 300837867 to 300837911 got[FONT=Arial][SIZE=2][COLOR=#ff0000] duplicated[/color][/size][/font] as present in DocID 0000906920 as well.

    [B][FONT=Arial][SIZE=2]

    100[/b][/size][/font]

    [B][FONT=Arial][SIZE=2]

    45[/b][/size][/font]

    [FONT=Arial][SIZE=2]

    [/size][/font]


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


  • 7.  RE: Duplicate ST control # Generated

    Posted Wed November 19, 2008 04:15 PM

    Hi,

    Any Idea how the ST crtl#s got duplicated in 3 different set of document as above. Also how is this generated.


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


  • 8.  RE: Duplicate ST control # Generated

    Posted Wed November 19, 2008 04:58 PM

    I’d need to look at the services that are creating these documents to be able to determine what might have happened. Normally the ST control number field is set when the IS document is mapped–e.g. when creating the 810 as an IS document. ST02 if I’m remembering from memory correctly.

    You probably want to open a service request with wM tech support and they can help you track it down remotely.


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