Use Product Configurator to Obtain Total Price Without User Input

The Product Configurator configures products. The configuration’s setup drives the configured product’s price and delivery date. After this setup is complete, a user can open an order and add a default product to it. The user then configures the product using the PCRuntimeConfigurator form. When the user completes the configuration, Dynamics 365 places the final price and delivery date on the order line. Have you ever needed to calculate a configured product’s total price without user input? This blog post will help you.

When a user is configuring the product, the Product Configurator is modifying an XML document that stores all of the user’s selections. Unfortunately, getting the XML document is the easy part. We need to parse through the XML document to obtain any useful information. Wouldn’t it be nice if some tool already existed to do this for us? Fortunately, there is.

The tool is a library that Microsoft ships with Dynamics 365 and its full reference is Microsoft.Dynamics.AX.Frameworks.ProductConfiguration. We can use the Object Browser in Visual Studio to see the namespaces, classes and methods packed into this assembly.

Suppose we can obtain the XML document that has the configured product information. We want to find the configured product’s total price from the XML document without any user input. The key is to use the Product Configurator interface. We’ll write an X++ class that calls the Product Configurator interface and sends parameters to initialize it. Once initialized, we can add an event handler to the CalculationSummary event to find the configured product’s total price.

First, we create the interface with the XML document, which is passed into the below method as _xmlModel, and add the event handler. We then set the solver strategy and some parameters for the configurator, load some attribute values and start the configurator session:


Once the Product Configurator completes the parsing process, it will raise the CalculationSummary event. We loop through the calculation results and sum up the total price in the totalPrice variable.

Once you have these key ingredients, you can create a method to return the totalPrice variable to show the configured product’s total price without any user input. The class variables and other helper methods are shown below for completion:

For more information on importing data, contact BKD’s Microsoft Dynamics GP support center.

The post Use Product Configurator to Obtain Total Price Without User Input appeared first on Dynamics GP Insights.


BKD presented tips, tricks and insights for getting the most out of Dynamics GP

Posted on November 17, 2017 at 18:30 by admin · Permalink · Leave a comment
In: Dynamics · Tagged with: , , , , , , ,

How to Fix the Error: ‘A Reference Is Required to Compile This Module’

One of the most common errors encountered while building a project is the reference required error. It’s something like:

Error:		A reference to 'Dynamics.AX.ApplicationFoundation, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' is required to compile this module.	PINDashboard (VAR) [PIN]

This error indicates we’re trying to modify/reference code from a model (Application Foundation) other than the current model (PIN) and a reference isn’t set up between the two. To fix this error, navigate to Dynamics 365 > Model Management > Update model parameters.

Select the current model. The model name is “PIN” in this case. The details related to the model will get populated on the “Update model parameters” form.

Now click Next and select the model that needs to be referenced.

Once all the related models are selected, click Next.

The post How to Fix the Error: ‘A Reference Is Required to Compile This Module’ appeared first on Dynamics GP Insights.


BKD presented tips, tricks and insights for getting the most out of Dynamics GP

Posted on November 10, 2017 at 06:47 by admin · Permalink · Leave a comment
In: Dynamics · Tagged with: , , , , , ,

BKD Recognized by Accounting Today as a Top VAR in 2017

BKD Technologies has been recognized as a top value-added reseller (VAR) of enterprise resource planning (ERP) software among top-tier accounting firms and practices across the U.S., ranking 27th. The annual recognition report ranks top resellers in the accounting space and analyzes key issues these organizations face as well as their strategies for addressing them. Several factors were used to determine the organizations and rankings for this year’s list.

The top VARs ranked in this year’s VAR 100 are focused on hiring top talent to keep up with promising growth. They’re also committed to educating clients who are ready and willing to move their financials and business processes to the cloud.

As a VAR for several ERP software solutions, BKD Technologies also specializes in cloud-based offerings. BKD Technologies recently became a certified direct Microsoft Cloud Solution Provider, allowing BKD Technologies to be a one-stop, full-service Microsoft cloud provider. BKD Technologies also offers Sage Intacct as a cloud-based ERP software solution.

Download the report for more information on this year’s VAR 100 list.

The post BKD Recognized by Accounting Today as a Top VAR in 2017 appeared first on Dynamics GP Insights.


BKD presented tips, tricks and insights for getting the most out of Dynamics GP

Posted on October 26, 2017 at 11:59 by admin · Permalink · Leave a comment
In: Dynamics · Tagged with: , , ,

On the Buy Side – Requisitions & Purchase Orders in Dynamics GP

Dynamics GP provides requisition management and purchase order processing for companies that need to track purchases. In addition, companies may have employees in multiple locations who need to enter and approve transactions remotely. This complimentary webinar will dive into these two areas of Dynamics GP to show you how your company can be “on the buy side.”

The post On the Buy Side – Requisitions & Purchase Orders in Dynamics GP appeared first on Dynamics GP Insights.


BKD presented tips, tricks and insights for getting the most out of Dynamics GP

Posted on October 16, 2017 at 11:44 by admin · Permalink · Comments Closed
In: Dynamics · Tagged with: , , , ,

Technology Solutions for Family Offices: Bridging the Gap

The post Technology Solutions for Family Offices: Bridging the Gap appeared first on Dynamics GP Insights.


BKD presented tips, tricks and insights for getting the most out of Dynamics GP

Posted on October 3, 2017 at 05:49 by admin · Permalink · Comments Closed
In: Dynamics · Tagged with: , , , ,

How to Create a Model in Dynamics 365 for Operations

A model, which is a collection of elements that represent a distributable software solution, can be created using a wizard.

To create a model, navigate to Dynamics 365 > Model Management > Create Model.

It’ll open a wizard for creating a model. In this window, we can specify the model name. For this example, the model is called “AirlineReservation.”

For the “publisher,” we type in our name or the publisher’s name.

Give a short description in the model description.

Give the “model display name.” This is the name that’ll be seen in the Application Explorer in the Application Object Tree (AOT).

Click “Next.”

Here, a page will open with two options.

If “Select existing package” is chosen, that means we’ll be using our over-layering or customization development approach. In this, we must select a model that contains the elements we wish to customize as a referenced model in the wizard. In this way, our new model has access to those elements.

If “Create new package” is chosen, this implies we’re going to use the extension model approach. Developing this way allows us to access the elements from any models we selected as referenced models. We can create new elements and add functionality to the existing code.

In the “AirlineReservation” model, we’re going to create a new package (we’re using the extension development approach). Select the “Create new package” option and click “Next.”

Now we’re going to select our referenced models. This means we’re choosing the other models our “AirlineReservation” model can see, or which elements it’ll have access to.

Here, we’ll only select “Application Platform” and then choose “Next.”

This will open a summary window of our model name, display name, publisher and the referenced packages.

Select the options “Create new project” and “Make this my default model for new projects.”

Click “Finish.”

This will open a screen to create a project. Here, give the project name—in this case, “AirlineProject”—and click “OK.”

This finalizes the model and project creation. It’ll open the project in the solution explorer, displaying the project and model names.

We can now add new elements to this project.

The post How to Create a Model in Dynamics 365 for Operations appeared first on Dynamics GP Insights.


BKD presented tips, tricks and insights for getting the most out of Dynamics GP

Posted on September 14, 2017 at 11:51 by admin · Permalink · Comments Closed
In: Dynamics · Tagged with: , , ,

It’s Raining Data! Business Intelligence in the Cloud with BI360

Cloud-based computing is trending up for consumers and businesses alike. Cloud computing has been with us since the 1960s and continues to grow.

The post It’s Raining Data! Business Intelligence in the Cloud with BI360 appeared first on Dynamics GP Insights.


BKD presented tips, tricks and insights for getting the most out of Dynamics GP

Posted on August 23, 2017 at 11:53 by admin · Permalink · Comments Closed
In: Dynamics · Tagged with: , , , , , ,

It’s Raining Data! Business Intelligence in the Cloud with BI360

Cloud-based computing is trending up for consumers and businesses alike. Cloud computing has been with us since the 1960s and continues to grow.

The post It’s Raining Data! Business Intelligence in the Cloud with BI360 appeared first on Dynamics GP Insights.


BKD presented tips, tricks and insights for getting the most out of Dynamics GP

Posted on August 23, 2017 at 05:31 by admin · Permalink · Comments Closed
In: Dynamics · Tagged with: , , , , , ,

When ‘Export to Excel’ Doesn’t Work

The “Export to Excel” feature that’s been in many Microsoft Dynamics 365 versions is a useful tool that allows users to export the contents of a form grid to an Excel workbook. This feature allows users to get specific AX data into a spreadsheet format where Excel functions can be used. Some users also may be more comfortable and familiar with using Excel for data analysis.

When Dynamics 365 for Operations is installed, there may be some unseen difficulty when first trying to use Export to Excel. For some users, the dropdown from the Office icon in the D365 toolbar may only show “No options” when clicked:

If you encounter this, navigate to System Administration > Setup > Office app parameters:

Once the form loads, on the “App parameters” tab, click the “Initialize app parameters” button and accept the pop-up message. After the process completes, there’ll be a new record in the grid with an App ID:

Close your browser and reload the Dynamics 365 for Operations environment. The Export to Excel functionality now will appear when clicking the Office icon on the D365 toolbar in the internet browser:

Note:  In some instances, the browser may need to be closed and reopened twice after initializing the app parameters for the Export to Excel feature to properly function.

The post When ‘Export to Excel’ Doesn’t Work appeared first on Dynamics GP Insights.


BKD presented tips, tricks and insights for getting the most out of Dynamics GP

Posted on August 22, 2017 at 12:32 by admin · Permalink · Comments Closed
In: Dynamics · Tagged with: , , ,

When ‘Export to Excel’ Doesn’t Work

The “Export to Excel” feature that’s been in many Microsoft Dynamics 365 versions is a useful tool that allows users to export the contents of a form grid to an Excel workbook. This feature allows users to get specific AX data into a spreadsheet format where Excel functions can be used. Some users also may be more comfortable and familiar with using Excel for data analysis.

When Dynamics 365 for Operations is installed, there may be some unseen difficulty when first trying to use Export to Excel. For some users, the dropdown from the Office icon in the D365 toolbar may only show “No options” when clicked:

The post When ‘Export to Excel’ Doesn’t Work appeared first on Dynamics GP Insights.


BKD presented tips, tricks and insights for getting the most out of Dynamics GP

Posted on August 18, 2017 at 12:51 by admin · Permalink · Comments Closed
In: Dynamics · Tagged with: , , ,