Wednesday, June 21, 2017

System requirements for D365 On premise version


Microsoft has published the system requirements for Dynamics 365 for operations on premise version. This can be downloaded from the below link:

System requirements for Dynamics 365 for Operations - On premise version




Monday, March 13, 2017

AX7 - Database Synchronization failed - From Visual Studio

Issue: While trying to synchronize the AX7 database from Visual Studio and following screen appears:



Resolution: The issue is that the database mapped to the user which is logged in to the Visual Studio is not correct. You can check the same in the Default

Monday, December 12, 2016

AX 2012: How to change the value of a default dimension of a record


This is for my notes and the job has been copied over from the below link:

http://www.schweda.net/blog_ax.php?bid=560&wdl=en

Thanks to author for writing this simplified code to change the financial dimension.


The following job will give you an example, of how to change the value of a dimension within the default dimensions of a record (the example-job changes the value of the dimension costcenterof a customer). In this way and manner individual dimension values can be removed also.

static void changeDimensionValue(Args _args)
{
    DimensionAttributeValueSetStorage dimensionAttributeValueSetStorage;
    DimensionAttribute dimensionAttribute;
    CustTable custTable = CustTable::find("US-014");
    DimensionValue oldDimensionValue;
    DimensionValue newDimensionValue = "011";
    DimensionDefault newDimensionDefault;

    #define.dimensionName("CostCenter")

    DimensionValue getDimensonValue(DimensionDefault _dimensionDefault)
    {
        DefaultDimensionView defaultDimensionView;
        select firstonly DisplayValue
        from defaultDimensionView
        where defaultDimensionView.Name == #dimensionName
            && defaultDimensionView.DefaultDimension == _dimensionDefault;

        return defaultDimensionView.DisplayValue;
    }

    // Get current value
    oldDimensionValue = getDimensonValue(custTable.DefaultDimension);

    // Build DimensionAttributeValueSetStorage
    dimensionAttributeValueSetStorage = DimensionAttributeValueSetStorage::find(custTable.DefaultDimension);

    // Remove old dimension value
    dimensionAttribute = DimensionAttribute::findByName(#dimensionName);
    dimensionAttributeValueSetStorage.removeDimensionAttributeValue(
        DimensionAttributeValue::findByDimensionAttributeAndValue(dimensionAttribute, oldDimensionValue).RecId);

    // Set new dimension value
    if(newDimensionValue != "")
    {
        dimensionAttribute = DimensionAttribute::findByName(#dimensionName);
        dimensionAttributeValueSetStorage.addItem(
            DimensionAttributeValue::findByDimensionAttributeAndValue(dimensionAttribute, newDimensionValue));
    }

    newDimensionDefault = dimensionAttributeValueSetStorage.save();

    ttsbegin;
    custTable.selectForUpdate(true);
    custTable.DefaultDimension = newDimensionDefault;
    custTable.update();
    ttscommit;

}

Tuesday, January 12, 2016

AX7 Certification Exam Available - Microsoft Dynamics AX Development Introduction



Skills Measured


Understand the architecture and development environment (20% - 25%)
Use the Application Explorer to develop new elements (25% - 30%)
Read, Write, and Understand Basic X++ (30% - 35%)
Manage the User Interface and Security for Developers (20% - 25%)
Self-paced training

Saturday, October 31, 2015

MB6-890 Dynamics AX7 Exam


The certification exam for Dynamics AX 7 will be launched in the market soon after the product is available publicly in early 2016. The exam will be called as MB6-890 Dynamics AX7 Exam.

More details to follow soon..

Reference: https://janeteblake.wordpress.com/2015/10/26/mb6-890-dynamics-ax7-development-exam/