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

How to enable Power Platform integration?

editSubscribe (1) ShareShare
ReportReport
Posted on by
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?
 
//
 
Attachments
  • Shooowtek Profile Picture
    Shooowtek on at
    How to enable Power Platform integration?
    Hello,
     
    The solution is to extend the MpsMasterPlanningEvents class.
     
    Thank you.
  • Verified answer
    Andre Arnaud de Calavon Profile Picture
    Andre Arnaud de Cal... Super User 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 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');

    /..../
    }

     
  • Andre Arnaud de Calavon Profile Picture
    Andre Arnaud de Cal... Super User 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 on at
    How to enable Power Platform integration?
    Could someone please help me?
  • Shooowtek Profile Picture
    Shooowtek 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

     
  • Andre Arnaud de Calavon Profile Picture
    Andre Arnaud de Cal... Super User 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 Super User 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 Super User on at
    How to enable Power Platform integration?
    Hi, Please check the highlighted text. 
     
     

Helpful resources

Quick Links

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Featured topics

Product updates

Dynamics 365 release plans