# wm.b2b.edi.util:controlNumber question --

**URL:** <https://techcommunity.softwareag.com/t/wm-b2b-edi-util-controlnumber-question/110364>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [January 4, 2012, 3:30am UTC](https://techcommunity.softwareag.com/t/wm-b2b-edi-util-controlnumber-question/110364 "2012-01-04T03:30:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sksapcv06](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@sksapcv06](https://techcommunity.softwareag.com/u/sksapcv06)\
**Post date:** [January 4, 2012, 3:30am UTC](https://techcommunity.softwareag.com/t/wm-b2b-edi-util-controlnumber-question/110364/1 "2012-01-04T03:30:44Z")

</div>

does anyone know where the control number value stored generated from wm.b2b.edi.util:controlNumber ?

Example: lets say first time run, if the control number is 136340315, Next time run in the same minute, it will be 137340315.

does anyone know how does it remembers the last generated control number to generate new one?

Please share your thoughts 🙂

Thanks

---

<div class="post-metadata">

**Author:** ![reamon](https://avatars.discourse-cdn.com/v4/letter/r/b77776/32.png) [@reamon](https://techcommunity.softwareag.com/u/reamon)\
**Post date:** [January 4, 2012, 10:38pm UTC](https://techcommunity.softwareag.com/t/wm-b2b-edi-util-controlnumber-question/110364/2 "2012-01-04T22:38:22Z")

</div>

It doesn’t store and it doesn’t remember. Review the service description in the reference guide.

---

<div class="post-metadata">

**Author:** ![sksapcv06](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@sksapcv06](https://techcommunity.softwareag.com/u/sksapcv06)\
**Post date:** [January 4, 2012, 11:06pm UTC](https://techcommunity.softwareag.com/t/wm-b2b-edi-util-controlnumber-question/110364/3 "2012-01-04T23:06:37Z")

</div>

Thanks!

---

<div class="post-metadata">

**Author:** ![Abir\_Banerjee1](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@Abir\_Banerjee1](https://techcommunity.softwareag.com/u/Abir_Banerjee1)\
**Post date:** [April 17, 2014, 1:38pm UTC](https://techcommunity.softwareag.com/t/wm-b2b-edi-util-controlnumber-question/110364/4 "2014-04-17T13:38:51Z")

</div>

Go to the WmEDI home page and configure the control number for a sender receiver pair. There you can mention the  
increment factor. Now it gets stored in the EDICONTROLNUMBER table in the WMTN database. Once a control number is taken using getControlNumber service, based on the input factor defined in WmEDI home page, EDI module itself increments the control number and makes it available for next pickup.  
Please let me know if you need any further information.

---

<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:06pm UTC](https://techcommunity.softwareag.com/t/wm-b2b-edi-util-controlnumber-question/110364/5 "2021-04-02T15:06:08Z")

</div>


