Friday 25 January 2019

Create/Add dimension entry control by using dimension entry control sub pattern

Today, I will be discussing about how to create or add dimension entry control by using dimension entry control sub pattern.  As we all know that this subpattern is used when you have a group or tab page that uses DEC (Dimension Entry Control).

Let's begin with one example for demo purpose.

Step 1) Create a new project.

Step 2) Create a new custom table and add a field in it whose extended data type is LedgerDefaultDimensonValueSet.

Also, don't forget to add relationship between your custom table and DimensionAttributeValueSet table.











Step 3) Create a new form. Add newly custom table as its datasource. Then add a new tab control and tab page. Apply dimension entry control pattern on tab page. Set datasource property of tab page to DimensionControlDemo.











Step  4) Add Dimension Entry control and set below mentioned property on it . Bind dimension control field with it.










Step 5) Add a new display menu item and bind newly created form with it.








Step 6) Extend General Ledger menu and add dimension control menu item as a reference on it.










Final output.

1 comment:

Note: only a member of this blog may post a comment.

Custom Business events Part 3 - (Activate custom business event) in D365 F&O

 In this blog we will discuss about the steps to activate a custom business in D365 F&O. As we know that business event catalog does not...