Hi team,
I have created a batch job with Sys Operation Framework. Once user click on Ok, then wants to popup info message like
Are you sue to delete the transaction? Yes or No
If user clicked on Yes then only it will allow to procced. else nothing happen
Controller class
internal final class DeleteBankTenderController extends SysOperationServiceController { public static void main(Args args) { DeleteBankTenderController sysOperationController = new DeleteBankTenderController(); sysOperationController.parmClassName(classStr(DeleteBankTenderService)); sysOperationController.parmMethodName(methodStr(DeleteBankTenderService, operation)); sysOperationController.parmExecutionMode(SysOperationExecutionMode::Synchronous); sysOperationController.startOperation(); } public ClassDescription defaultCaption() { return "DeleteBankTenderTrans"; } }
Pls give me more shed on this.
thanks!
To know what the method do, look into them.
To know where they're used, use "Find references". This will show you that input is validated even if no dialog is shown, therefore putting your code there doesn't meet you requirements.
As you see, you can find many answers by yourself, if you try a bit.
Hi Mohit,
In controller class - Override methods
I saw 2 methods -
Validate()
ValidateParameter()
I never used those before. Do you know which is useful to validate the value in text box.
any code sample do you have?
pls give me more shed on this,
thanks!
dialogPostShow() method may be a good place for this dialog box.
Thanks Mohit,
My question is , is't possible to bring in sys operation framework?
pls give me more shed on this.
thansk!
Hi, Please check this thread
community.dynamics.com/.../on-ok-click-button-need-info-yes-no-box-using-x
André Arnaud de Cal...
292,074
Super User 2025 Season 1
Martin Dráb
230,900
Most Valuable Professional
nmaenpaa
101,156