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

Form Ledger used a Button control... was a menu-item better in this case?

$
0
0

Hi all,

We encountered a minor security issue today. It is possible to run the Periodic GL option "Recalculate ledger periods". This option is also available from the form Ledger. We restricted access on the menu-item so it was not available within a certain role. Then we saw this option was still visible on the form Ledger.

A deeper look learned that a Button control is used. This has only one mehtod:

void clicked()

{

   new MenuFunction(menuitemActionStr(LedgerPeriodRecalculation), MenuItemType::Action).run();

}

Does anyone has a clue why a Button control was used instead of a Menu-item button control?


Viewing all articles
Browse latest Browse all 72043

Trending Articles



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