Announcements
[ExtensionOf(classStr(ProdJournalCheckPost))] final class ProdJournalCheckPost_Extension{ public static void main(Args _args) { next main(_args); ProdJournalTable prodJournalTable; FormDataSource prodJournalTable_ds; Object caller; MultiSelectionHelper helper; JournalForm journalForm; ProdJournalCheckPost journalCheckPost; #ISOCountryRegionCodes try { if (_args.dataset() == tableNum(prodJournalTable)) { prodJournalTable_ds = _args.callerFormControl().formRun().dataSource(); caller = _args.caller(); helper = MultiSelectionHelper::createFromCaller(caller); helper.createQueryRanges(prodJournalTable_ds.queryBuildDataSource(), fieldStr(ProdJournalTable, RecId)); prodJournalTable = helper.getFirst(); while (prodJournalTable) { _args.parmEnum(JournalCheckPostType::Check); _args.record(prodJournalTable); journalForm = JournalForm::fromArgs(_args); journalCheckPost = ProdJournalCheckPost::newFromForm(_args,journalForm); journalForm.runbaseMainStart(); //// <GEERU> if (SysCountryRegionCode::isLegalEntityInCountryRegion([#isoRU]) && journalCheckPost.mustCheckExistJournalRelease_RU()) { journalCheckPost.checkExistJournalRelease_RU(); } // </GEERU> prodJournalTable = helper.getNext(); journalCheckPost.preRun(); journalCheckPost.runOperation(); journalForm.runbaseMainEnd(journalCheckPost,false); } } } catch (Exception::Error) { journalForm.runbaseMainEnd(journalCheckPost,true); } }}
[ExtensionOf(classStr(ProdJournalCheckPost))] final class ProdJournalCheckPost_Extension { public static void main(Args _args) { next main(_args); JournalForm journalForm; ProdJournalCheckPost journalCheckPost; #ISOCountryRegionCodes try { if (_args.dataset() != tableNum(prodJournalTable)) { return; } FormDataSource prodJournalTable_ds = _args.callerFormControl().formRun().dataSource(); Object caller = _args.caller(); MultiSelectionHelper helper = MultiSelectionHelper::createFromCaller(caller); helper.createQueryRanges(prodJournalTable_ds.queryBuildDataSource(), fieldStr(ProdJournalTable, RecId)); ProdJournalTable prodJournalTable = helper.getFirst(); while (prodJournalTable) { _args.parmEnum(JournalCheckPostType::Check); _args.record(prodJournalTable); journalForm = JournalForm::fromArgs(_args); journalCheckPost = ProdJournalCheckPost::newFromForm(_args, journalForm); journalForm.runbaseMainStart(); //// <GEERU> if (SysCountryRegionCode::isLegalEntityInCountryRegion([#isoRU]) && journalCheckPost.mustCheckExistJournalRelease_RU()) { journalCheckPost.checkExistJournalRelease_RU(); } // </GEERU> prodJournalTable = helper.getNext(); journalCheckPost.preRun(); journalCheckPost.runOperation(); journalForm.runbaseMainEnd(journalCheckPost, false); } } catch (Exception::Error) { if (journalForm) { journalForm.runbaseMainEnd(journalCheckPost, true); } } } }
journalForm = JournalForm::fromArgs(_args);
journalCheckPost.runOperation();
JournalCheckPost.run()
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Abhilash Warrier 681 Super User 2026 Season 1
André Arnaud de Cal... 551 Super User 2026 Season 1
Giorgio Bonacorsi 471