3 Temmuz 2014 Perşembe
Add button and clicked method to list page form
Hi,
If you want to add standard button and write code to clicked method on list page form you have to change the "Display Target" property of the button to "Client" by this property this button will only visible on AX client not on EP. Yes list page forms are visible both on AX and EP.
Happy coding.
Alper.
If you want to add standard button and write code to clicked method on list page form you have to change the "Display Target" property of the button to "Client" by this property this button will only visible on AX client not on EP. Yes list page forms are visible both on AX and EP.
Happy coding.
Alper.
18 Şubat 2014 Salı
Get defaultDimension values from LedgerDimension
Hi AX coders,
When you need to get the default dimension values of ledger dimension you can simply use the code below.
DimensionDefaultingEngine class has a getLedgerDimensionSpecifiers method which returns dimensionAttribute recId and a container which holds : dimension display value, dimension attribute value recId and hash key of the dimension.
If you send true after ledgerDimension value return value skip the main account information.
container c;
Map map;
MapEnumerator me;
int i;
;
map = DimensionDefaultingEngine::getLedgerDimensionSpecifiers(5637147595);
me = Map.getEnumerator();
while (me.moveNext())
{
info(strFmt("%1",conPeek(me.currentValue(),1)));
}
Have a nice coding
Alper.
Etiketler:
AX,
AX 2012,
Ax2012,
Default dimension,
DefaultDimenion,
Dyanmics AX,
Dynamics AX 2012,
get defaultDimension from LedgerDimension,
Ledger Dimension,
LedgerDimension,
Microsoft Dynamics AX
Kaydol:
Kayıtlar (Atom)