When I create a new return purch order I get a number seq. for ReturnItemNum, for instance, D6001 but if I cancel the process and then try to create a new return purch order I get the next number seq. D6002. I would like to reuse the same sequence. I am using NumberSeqFormHandler class and the number seq is set to continuous.
How can I do it?
Thanks
*This post is locked for comments
hai jesus r.abascal,
Same issue is occured in my case, when i am posting the product receipt the product receipt nu is the continuous number sequence, i am not giving any line details in the posting product receipt from and i am not saving the posting product receipt form it is taking the countinuous number sequence ,
can i restrict this number sequence ?
if it is possible how can i solve this number sequence problem
Thanks Rik and André.
I will create a job batch to release number sequences.
The link provided by Rik explains the behavior of the continuous number sequences very well. It is indeed not designed for all sequences in the system.
First off. When you clear a record in a continuous number sequence it does not get released to the system right away. Please check out your number sequence (under basic-> number sequences) and check under "status-list" these numbers will be freed during the next "number cleanup" (usually every 24h) You can specify a shorter interval under "automatic cleanup" or clean the list manually.
The continuous number sequence framework is not implemented as well for every part of AX. Please read this excellent topic on the subject by Dominic lee.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,219 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156