Tuesday 28 November 2017

Add dimensions to an Excel template while exporting in Dynamics 365 for finance and operations

This topic provides information about dimensions, dimensions that have entities, and the dimension controls that are available.
The only value that is present on Microsoft Excel templates after installation is the MainAccount. This is the only dimension that all customers will have. To add the dimensions to Microsoft Excel templates you need to complete the following steps:
  1. Add dimensions to the DimensionCombinationEntity or the DimensionSet entity.
  2. Add the dimensions to each template where you want dimensions in separate columns. For more information, see Create open in Excel experiences.
  3. Add the capability to look up financial dimension values in Excel.
  4. Publish the template.
This topic shows how to modify DimensionCombinationEntity to enable the dimensions in columns for Excel. The same steps can be used to modify the DimensionSet entity.
Note: This information is subject to change for each release. Therefore, be sure to check back frequently for the most up-to-date information.

Add dimensions Dynamics 365 for Operations (version 1611, build 7.1.1541.3036+, November 2016)

Modifying the DimensionCombinationEntity has been greatly simplified with the release of the Add financial dimensions for OData Addin in Visual Studio.
  1. In Microsoft Visual Studio, click Dynamics 365 > Addins > Add financial dimensions for Odata.
  2. Type the name of the Financial dimension in the Dimension name column. This should be the exact name of the financial dimension. Select the Model that has your extensions. It should be above the AppSuite layer.** Click **Apply.
    DimWiki2
  3. Compile the project, and then synchronize it with the database.
    8
  4. Your customization is now completed. You can test it in SQL using the following statement.
    select * from DIMENSIONCOMBINATIONENTITY
  5. refer Example- LedgerJournalEntity

Refer: https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/financial/dimensions-overview