Announcements
Hi All,
I'm currently working on generating a custom number sequence for product receipt in purchase orders.
I've mapped the number sequence into the NUM field in PURCHPARMTABLE, but unfortunately, it's not functioning as expected. During debugging, I consistently receive a number sequence value, but it's not populating the NUM field.
If anyone has insights or suggestions on resolving this issue, I'd greatly appreciate your assistance.
Thank you.
public void create(boolean _append = false) { super(_append); yourtable.Num= NumberSeq::newGetNum(purchparameters::numRefproductReceipt()).num();; }
The user doesn't want to manually enter values in the Product Receipt, so they requested a custom number sequence for that purpose.
I created a custom number sequence and successfully tested it by assigning the number sequence value to a string variable.
However, the issue arises when tracking the Product Receipt field in the PURCHEDITLINES form, which is mapped to the NUM field in PURCHPARMTABLE.
Although I attempted to assign the number sequence value to the NUM field using methods such as initvalue(), create(), and insert(), the Product Receipt field continues to have a null value.
I'm unsure where the mistake lies in this process.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 265 Most Valuable Professional
André Arnaud de Cal... 261 Super User 2026 Season 2
Subra 229 Super User 2026 Season 2