Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Budget-specific Account Structure

$
0
0

setting the stage: AX 2012 CU4, custom X++ class extending RunBaseBatch

In a custom X++ class, a dialog is presented to the user asking to select an account structure from a drop down combo.

Problem: The list contains all the entries from the DimensionHierarchy table.  The list should only contain 2 entries for Budgeting.

Here's what I am using to populate the list:

classDeclaration:

DimensionHierarchyId accountStructure;

DialogField          dlgAccountStructure;

dialog:

dlgAccountStructure = dialog.addFieldValue(extendedTypeStr(DimensionHierarchyId), accountStructure, "@SYS310383");

If I enter a budget entry by hand (budgeting -> common -> budget register entries -> new budget register entry -> add line) then the account structure cell for the new line becomes a drop down combo with only 2 budget-specific entries to choose from.

How can I replicate the drop down combo for account structure from the budget register entry in a custom dialog?

Thanks!


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>