none
Resetting ST segment within a file. RRS feed

  • Question

  • Batching using the batch orchestration withiin the EDI application .

    Is there a setting so ST segments (ST02_TransactionSetControlNumber) gets reset each time to start from 001 and increment by one within a file.

    Current output from EDISend Pipeline:

    ISA*********
    GS**********
    ST*837*0052*005010~

    Claim1
    SE*56*0052~
    ST*837*0052*005010~

    Claim2

    SE*56*0052~
    ST*837*0052*005010~

    Claim3

    SE*56*0052~

    Required output from EDISend Pipeline:

    ISA*********
    GS**********
    ST*837*0001*005010~

    Claim1
    SE*56*0001~
    ST*837*0002*005010~

    Claim2

    SE*56*0002~
    ST*837*0003*005010~

    Claim3

    SE*56*0003~


    Raja

    Friday, October 11, 2013 4:43 AM

Answers

  • No, in the actual transaction Xml.  If there is a value in ST02, the EDI Assembler will preserver. If the element is blank, it will auto increment.

    <ST02>123</ST02> - Preserved

    <ST02></ST02> - Auto Increment.  I think 0000 will work also.  Sorry, I don't have a Map handy right now.

    • Marked as answer by Sax001 Friday, October 11, 2013 10:06 PM
    Friday, October 11, 2013 3:42 PM
  • Thanks boatseller.

    I had unchecked the option 'apply new id' in the party config, when I was testing few scneario.

    Turned that on and That check box did the magic.

    • Marked as answer by Sax001 Friday, October 11, 2013 10:07 PM
    • Edited by Sax001 Friday, October 11, 2013 10:08 PM details
    Friday, October 11, 2013 10:06 PM

All replies

  • What you're asking for is the default behavior of the EDI Assembler when there is no value in ST02. So, what you're seeing is probably the ST02 from the incoming batch.

    At some point prior to the EDI Assembler, you need to get remove any value there.

    Friday, October 11, 2013 11:43 AM
  • Do you mean in the party configurtaion or edisend pipeline properties.

    Raja

    Friday, October 11, 2013 3:18 PM
  • No, in the actual transaction Xml.  If there is a value in ST02, the EDI Assembler will preserver. If the element is blank, it will auto increment.

    <ST02>123</ST02> - Preserved

    <ST02></ST02> - Auto Increment.  I think 0000 will work also.  Sorry, I don't have a Map handy right now.

    • Marked as answer by Sax001 Friday, October 11, 2013 10:06 PM
    Friday, October 11, 2013 3:42 PM
  • Thanks boatseller.

    I had unchecked the option 'apply new id' in the party config, when I was testing few scneario.

    Turned that on and That check box did the magic.

    • Marked as answer by Sax001 Friday, October 11, 2013 10:07 PM
    • Edited by Sax001 Friday, October 11, 2013 10:08 PM details
    Friday, October 11, 2013 10:06 PM