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.
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.
public void create(boolean _append = false) { super(_append); yourtable.Num= NumberSeq::newGetNum(purchparameters::numRefproductReceipt()).num();; }
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Mansi Soni as our August 2025 Community…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Sohaib Cheema 665 User Group Leader
Martin Dráb 595 Most Valuable Professional
Yng Lih 558