# Resubmitting multiple documents in Trading Networks

**URL:** <https://techcommunity.softwareag.com/t/resubmitting-multiple-documents-in-trading-networks/108251>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [December 2, 2003, 4:47am UTC](https://techcommunity.softwareag.com/t/resubmitting-multiple-documents-in-trading-networks/108251 "2003-12-02T04:47:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [December 2, 2003, 4:47am UTC](https://techcommunity.softwareag.com/t/resubmitting-multiple-documents-in-trading-networks/108251/1 "2003-12-02T04:47:38Z")

</div>

I’m using Trading Networks(Version 4.6). I want to RESUBMIT a set of  
multiple documents at a time, instead of Resubmitting one at a time.

Any help on this will be appreciable.

---

<div class="post-metadata">

**Author:** ![raymoser](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/raymoser/32/694_2.png) [@raymoser](https://techcommunity.softwareag.com/u/raymoser)\
**Post date:** [December 2, 2003, 5:55am UTC](https://techcommunity.softwareag.com/t/resubmitting-multiple-documents-in-trading-networks/108251/2 "2003-12-02T05:55:29Z")

</div>

You can query TN through the API and extract the Internal ID. The Internal ID is used to uniquely identify each document in TN. Once you have the Unique IDs you want, then you call wm.tn.doc:resubmits and pass in a string array of the Internal IDs.

I’m not sure what the query will focus on, but either processing status or user status should suffice.

HTH

Ray

---

<div class="post-metadata">

**Author:** ![Kalyan3](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/kalyan3/32/247_2.png) [@Kalyan3](https://techcommunity.softwareag.com/u/Kalyan3)\
**Post date:** [December 2, 2003, 1:06pm UTC](https://techcommunity.softwareag.com/t/resubmitting-multiple-documents-in-trading-networks/108251/3 "2003-12-02T13:06:01Z")

</div>

wm.tn.doctype:list lists all the document Types that got persisted in TN. wm.tn.doc:resubmit can be called by looping through the list and passing the types[i]/TypeID to the input internalId .

---

<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/resubmitting-multiple-documents-in-trading-networks/108251/4 "2021-04-02T15:05:08Z")

</div>


