Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

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

(0) ShareShare
ReportReport
Posted on by

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!

  • Martin Dráb Profile Picture
    Martin Dráb 230,900 Most Valuable Professional on at
    RE: Info message Yes, No need to popup in sys operation framework

    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.

  • @rp@n Profile Picture
    @rp@n on at
    RE: Info message Yes, No need to popup in sys operation framework

    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
    Martin Dráb 230,900 Most Valuable Professional on at
    RE: Info message Yes, No need to popup in sys operation framework

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

  • @rp@n Profile Picture
    @rp@n on at
    RE: Info message Yes, No need to popup in sys operation framework

    Thanks Mohit,

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

    pls give me more shed on this.

    thansk!

  • Suggested answer
    Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 on at
    RE: Info message Yes, No need to popup in sys operation framework

    Hi, Please check this thread

    community.dynamics.com/.../on-ok-click-button-need-info-yes-no-box-using-x

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,074 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,900 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans