Announcements
No record found.
Hello
I want to add the Reason Code field present under the On hold drop dialog box in the vendtable form, as a field (probably using a display method, if possible) in the vendtable form.
Please help me on how this cane be done.
Thanks and Regards.
Hi txtxt,
Do you want to add a field in this position? This is a standard feature.
On hold form belongs to VendOnHoldUpdate form name - In that form there is no DataSource available. On the closeOk method they will call the VendTable table level method "updateOnHold" - So if you create a display method where will you get the reason code value?
Also, if you add the reason code value where will you save the reason code for the vendor id?
Thanks,
Girish S.
I got your question now. You need to show the reason code on the "On hold form" to be displayed in VendTable form?
is that you are asking?
If yes, then the better approach will be adding display method. You can add a select statement on the "VendOnHoldHistory" table to get the reason code against the vendor id. Relation will be VendOnHoldHistory.VendAccount == VendTable.AccountNum.
Hi, You can try creating below display method in VendTable table.
display ReasonCode vendOnHoldReasonCode() { return VendOnHoldHistory::findLast(this.AccountNum).ReasonCode; }
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 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 514 Super User 2026 Season 1
Giorgio Bonacorsi 390
Adis 266 Super User 2026 Season 1