Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / How to enable Power Pl...
Finance forum
Answered

How to enable Power Platform integration?

Posted on by 672
Hello,
I have a requirement to run Planning Optimization on a development LCS environment. 
Unfortunately, in the /Power Platform integration/ section, I do not have the option to install any add-ins. 
Could someone please help me?
 
//
 
  • Shooowtek Profile Picture
    Shooowtek 672 on at
    How to enable Power Platform integration?
    Hello,
     
    The solution is to extend the MpsMasterPlanningEvents class.
     
    Thank you.
  • Verified answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 290,246 Super User 2024 Season 2 on at
    How to enable Power Platform integration?
    Hi Shooowtek,
     
    Apologies. I intended to mention that you can only run a task pre-service run and post-service run. Table events are ignored as the data will be inserted in bulk by the Master Planning Service.
    I can't find the notes I took during a discussion on this topic. Maybe you can set some breakpoints on several methods from classes belonging to the model "MasterPlanningService". E.g. the class MpsPlanningServiceClient contains some public post events.
  • Shooowtek Profile Picture
    Shooowtek 672 on at
    How to enable Power Platform integration?
    Hello Andre,
    I have implemented the solution you suggested unfortunately without result....
     
    Example:
    [PostHandlerFor(tableStr(ReqPO), tableMethodStr(ReqPO, initFromIssue))]
    public static void ReqPO_Post_initFromIssue(XppPrePostArgs args)
    {
    ReqPO reqPO = args.getThis() as ReqPO;
    ReqTrans issueReqTrans = args.getArg('_issueReqTrans');

    /..../
    }

     
  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 290,246 Super User 2024 Season 2 on at
    How to enable Power Platform integration?
    Hi Shooowtek,
     
    Next time, please create a new question as you are now changing the topic of your original question.
     
    The planning service is running outside of Dynamics 365, not using any X++ coding. You can't customize the service part. There is a pre- and post-handler that you can hook into for custom X++ coding.
  • Shooowtek Profile Picture
    Shooowtek 672 on at
    How to enable Power Platform integration?
    Could someone please help me?
  • Shooowtek Profile Picture
    Shooowtek 672 on at
    How to enable Power Platform integration?
    Thank you for all your responses. I will try to work on this topic.

    Does anyone know what classes and what principle Planning Optimization works with? I ask because the custom code that was implemented works with the old planning, but when the planning optimization add-on was installed, suddenly everything stopped working.
    Example. The custom code was deployed in extension:
     
    ReqPo.initFromIssue()
    ReqPo.update()
    ReqPo.Insert()
     
    and unfortunately it doesn't work with Planning Optimization and I am not able to do debugging now..

    Thank you
  • Suggested answer
    Hana Xue Profile Picture
    Hana Xue Microsoft Employee on at
    How to enable Power Platform integration?
    Hi,
    You can also refer to the link provided by the old thread:
    Power Platform Integration with Cloud Hosted Environment (dynamics.com)
    Best Regards,
    Hana

     
  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 290,246 Super User 2024 Season 2 on at
    How to enable Power Platform integration?
    Hi Shoowtek,
     
    A small addition to the below-mentioned suggestions.
    Note that you would need to have about 3-4 GB of Dataverse capacity available for enabling the Power Platform integration when creating a new development or demo environment. If you don't have that capacity the integration will not work as the environment will then be disabled automatically.
  • Suggested answer
    Layan Jwei Profile Picture
    Layan Jwei 6,874 Super User 2024 Season 2 on at
    How to enable Power Platform integration?
    Hi Shooowtek,
     
    You can create a new dev environment and enable it. You can check this link:
     
    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
  • Suggested answer
    Mohit Rampal Profile Picture
    Mohit Rampal 12,540 Moderator on at
    How to enable Power Platform integration?
    Hi, Please check the highlighted text. 
     
     

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,246 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,041 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans