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

Setting ST Control Number

  • 1.  Setting ST Control Number

    Posted Fri January 31, 2003 02:47 PM

    Is there a way to set the ST Control number in convertToString like you can for the Group Control Number in addGroup or the Interchange Control Number in addEnvelope.

    Thanks.


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


  • 2.  RE: Setting ST Control Number

    Posted Fri January 31, 2003 03:26 PM

    Additional question.
    Are ST control numbers unique? It doesn’t seem so to me.

    Thanks.


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


  • 3.  RE: Setting ST Control Number

    Posted Fri January 31, 2003 04:22 PM

    With respect to the latter question, ST numbers are meant to be unique, but it is up to the sender to make it so. For example, we use the record key in our database to not only assure uniqueness, but to make it easy to track down the origins in event of problems.


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


  • 4.  RE: Setting ST Control Number

    Posted Fri January 31, 2003 04:29 PM

    Howard,

    I’ve verified that the ST Control numbers are in fact unique.
    However is there a way to set the ST Contol Number on an outbound EDI document.

    Thanks.


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


  • 5.  RE: Setting ST Control Number

    Posted Fri January 31, 2003 04:40 PM

    Chris,

    I’m not trying to be flip, but you set it the same way you set anything else in an EDI document. You have a record structure in the pipeline based on the specific EDI template, say an 850.

    You then map your unique value into ST02 prior to converting it to the EDI format.


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


  • 6.  RE: Setting ST Control Number

    Posted Fri January 31, 2003 04:53 PM

    sometimes you just need to look at the trees and not the forest.

    Thanks.


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


  • 7.  RE: Setting ST Control Number

    Posted Sat October 25, 2003 05:25 PM

    How do you get the generateFA service to create unique control numbers within the ST segment. In the Envelope segment the control number of the inbound (850) envelope is used, but what about the transaction level. Right now it is only using “00001”.
    Thanks


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


  • 8.  RE: Setting ST Control Number

    Posted Thu April 29, 2004 07:29 PM

    so If I understand this thread correctly, there is NO way to set the ST control number outside of manually coming up with some unique number generator??? If so, that’s is really weak, WM should have provided the ability to set the control numbers at the partner and txn level just like you can the Interchange and Group… I should not have to build something custom to get my numbers…


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


  • 9.  RE: Setting ST Control Number

    Posted Thu April 29, 2004 07:57 PM

    Jim,

    you can set the control number on the TPA or you can set up the partnership on the wmEDIforTN home page select Control Number.

    HTH


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


  • 10.  RE: Setting ST Control Number

    Posted Thu April 29, 2004 09:09 PM

    Chris,
    Thats not working for some reason. When I use convertToString, I get the following string. Im using an outbound invoice as my example:

    ST810291523164~
    BIG2004042792201153*

    for the life of me I cannot foigure out where that 291523164 number is coming from. It is NOT set in the Control Number panel in the WmEDI page. You can set envelope and group numbers, NOT txn numbers from what I can tell. If you know a way, please share it… After adding the Int and Group env’s I get this string(i removed irrelevant data)

    ISA00 00 ZZ734862TL 08925485US00 0404291533U004030000000411P>~
    GSIN734862TL925485US0020040429153341X004030~
    ST810291532165~
    SE27291532165~GE141~IEA1000000041~

    the 41 i see defined and incremented OK… its the ST02 value that I cannot determine how its generated…


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


  • 11.  RE: Setting ST Control Number

    Posted Fri April 30, 2004 04:12 AM

    Jim,

    Pull the the control number before you pass Idata object to converToString. If the ST02 is empty convertToString will populate it.

    HTH


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


  • 12.  RE: Setting ST Control Number

    Posted Tue December 21, 2004 06:04 AM

    Hi,

    Can any one tell me how to make the ST control number a one up number inside the GS and when the GS changes, the number should start from “0001”. Also the length needs to be 4 digits.

    Thanks


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


  • 13.  RE: Setting ST Control Number

    Posted Wed December 22, 2004 08:58 PM

    Karthik,

    To make 4digits format you can use the numericFormat service listed in the WmPublic package under String folder.

    HTH,
    RMG.


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


  • 14.  RE: Setting ST Control Number

    Posted Mon December 27, 2004 04:56 PM

    Karthik:

    If you’re using 6.x, the batch EDI process will create the ST control numbers as you describe. If you’re not using 6.x or the batching process it provides, then you have to do the work yourself.

    HTH


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