web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Info message Yes, No need to popup in sys operation framework

(0) ShareShare
ReportReport
Posted on by 56

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

pastedimage1684330810536v1.png

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!

  • Suggested answer
    Mohit Rampal Profile Picture
    12,573 Moderator on at
  • @rp@n Profile Picture
    56 on at

    Thanks Mohit,

    My question is , is't possible to bring in sys operation framework?

    pls give me more shed on this.

    thansk!

  • Martin Dráb Profile Picture
    241,353 Most Valuable Professional on at

    dialogPostShow() method may be a good place for this dialog box.

  • @rp@n Profile Picture
    56 on at

    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!

  • Martin Dráb Profile Picture
    241,353 Most Valuable Professional on at

    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.

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 539 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 431 Super User 2026 Season 2

#3
CU-1234529-002 Profile Picture

CU-1234529-002 184

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans