# Getting the TxnIdversion and standard from the bizdoc variable

**URL:** <https://techcommunity.softwareag.com/t/getting-the-txnidversion-and-standard-from-the-bizdoc-variable/108517>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [June 17, 2005, 2:36am UTC](https://techcommunity.softwareag.com/t/getting-the-txnidversion-and-standard-from-the-bizdoc-variable/108517 "2005-06-17T02:36:39Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramesh\_Sambandan](https://avatars.discourse-cdn.com/v4/letter/r/9fc29f/32.png) [@Ramesh\_Sambandan](https://techcommunity.softwareag.com/u/Ramesh_Sambandan)\
**Post date:** [June 17, 2005, 2:36am UTC](https://techcommunity.softwareag.com/t/getting-the-txnidversion-and-standard-from-the-bizdoc-variable/108517/1 "2005-06-17T02:36:39Z")

</div>

Hi,

Can anyone tell me how to get the txnId,version and the standard from the bizdoc variable

Thanks,  
ramesh

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [June 17, 2005, 3:08am UTC](https://techcommunity.softwareag.com/t/getting-the-txnidversion-and-standard-from-the-bizdoc-variable/108517/2 "2005-06-17T03:08:09Z")

</div>

Ramesh,

If the EDI document is routed from TN to flow the version,standard will be in the pipeline and bizdoc/DocumentID(ST02) is the transactionID(if processingrule selected for X12 transactionset doctype).

Did you checked the pipeline in the firststep?

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![Ramesh\_Sambandan](https://avatars.discourse-cdn.com/v4/letter/r/9fc29f/32.png) [@Ramesh\_Sambandan](https://techcommunity.softwareag.com/u/Ramesh_Sambandan)\
**Post date:** [June 17, 2005, 5:31am UTC](https://techcommunity.softwareag.com/t/getting-the-txnidversion-and-standard-from-the-bizdoc-variable/108517/3 "2005-06-17T05:31:53Z")

</div>

RMG,

thx…i got the transaction id from the internalId of the bizdoc, but how to get the version and standard of the edi doc.and also i need to send the delimiters of the edi document into the internal format doc.can you tell me how to get this?

Thanks,  
ramesh

---

<div class="post-metadata">

**Author:** ![Ramesh\_Sambandan](https://avatars.discourse-cdn.com/v4/letter/r/9fc29f/32.png) [@Ramesh\_Sambandan](https://techcommunity.softwareag.com/u/Ramesh_Sambandan)\
**Post date:** [June 17, 2005, 7:27am UTC](https://techcommunity.softwareag.com/t/getting-the-txnidversion-and-standard-from-the-bizdoc-variable/108517/4 "2005-06-17T07:27:04Z")

</div>

RMG,

i got the standard,version and txnId.  
i want to pass the field,segment and sub-field delimiters to the internal format document.can u tell me how to get them?

Thanks  
ramesh

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [June 17, 2005, 6:52pm UTC](https://techcommunity.softwareag.com/t/getting-the-txnidversion-and-standard-from-the-bizdoc-variable/108517/5 "2005-06-17T18:52:41Z")

</div>

When you do the envelopeProcess you will see the delimiters record in the pipeline,so extract the delimiters from this.

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![Chris\_L](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@Chris\_L](https://techcommunity.softwareag.com/u/Chris_L)\
**Post date:** [June 18, 2005, 5:58am UTC](https://techcommunity.softwareag.com/t/getting-the-txnidversion-and-standard-from-the-bizdoc-variable/108517/6 "2005-06-18T05:58:33Z")

</div>

ramesh,

Not meaning to belittle you but it appears from all of your post that you are processing EDI documents incorrectly. In the other post you mention parsing the EDI document to get the delimiters.  
If you sent the document to TN as an edi document all this information you is returned in the TNparms idata object to your service.  
What version of IS/TN are you running?  
Have your looked at the wmEDIsamples package?

It appears that you are missing some key functionality that will simplify what you are trying to accomplish.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:05pm UTC](https://techcommunity.softwareag.com/t/getting-the-txnidversion-and-standard-from-the-bizdoc-variable/108517/7 "2021-04-02T15:05:15Z")

</div>


