Announcements
[ExtensionOf(ClassStr(CustInterestPost))] final class CustInterestPost_Extension { public void run() { next run(); ttsbegin; CustInterestJour custInterestJour = CustInterestJour::find(this.parmCustInterestJour.RecId, true); custInterestJour.due = this.postingDate(); custInterestJour.update(); ttscommit; } }
[ExtensionOf(classStr(CustInterestPost))] final class CustInterestPost_Extension { public TransDate dueDate; public DialogField dialogDueDate; public Object dialog() { DialogRunbase dialog; dialog = next dialog(); dialogDueDate = dialog.addFieldValue(extendedTypeStr(TransDate), DateTimeUtil::addMonths(this.postingDate(), 1), "DueDate"); dialog.allowUpdateOnSelectCtrl(true); return dialog; } public void dialogSelectCtrl() { next dialogSelectCtrl(); dialogDueDate.value(DateTimeUtil::addMonths(dialogPostingDate.value(), 1)); } public boolean getFromDialog() { boolean ret; ret = next getFromDialog(); if(ret) { dueDate = dialogDueDate.value(); } return ret; } protected TransDate dueDate(TransDate _dueDate = dueDate) { dueDate = _dueDate; return dueDate; } public void run(){ next run(); ttsbegin; CustInterestJour custInterestJour; select forupdate custInterestJour where custInterestJour.RecId == parmCustInterestJour.RecId; if(custInterestJour) { custInterestJour.DueDate = this.dueDate(); custInterestJour.update(); } ttscommit;} }
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 263 Most Valuable Professional
André Arnaud de Cal... 257 Super User 2026 Season 2
Subra 235 Super User 2026 Season 2