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
7 Kasım 2013 Perşembe
Ax2012 CU7 Çıktı
Ax 2012 CU7 çıktı. Aşağıdaki linkten duyurusuna ulaşabilirsiniz.
Ax2012 CU7 has been released. You can use this link for its announcement.
http://blogs.technet.com/b/dynamicsaxse/archive/2013/10/31/announcing-cumulative-update-7-for-microsoft-dynamics-ax-2012-r2.aspx
Ax2012 CU7 has been released. You can use this link for its announcement.
http://blogs.technet.com/b/dynamicsaxse/archive/2013/10/31/announcing-cumulative-update-7-for-microsoft-dynamics-ax-2012-r2.aspx
17 Haziran 2013 Pazartesi
AX 2012 How to import a model file
Hi All,
In AX 2012 you can add your own model files to the development layer. By doing this you can seperate your work like projects and then install them to another workspace.
We will see how we can install a model file to the workspace.
It is important that object names are unique in model files. If you have error from conflict you can use -conflict push option this will delete the obect which is already on the application.
Go to start menu -> All programs -> Administrative tools -> Microsoft Dynamics AX Management Shell right click and select Run as Administrator.
Navigate to the folder that holds model file.
Run this commond : Install-AXModel -File Filename.axmodel
Hope it helps.
In AX 2012 you can add your own model files to the development layer. By doing this you can seperate your work like projects and then install them to another workspace.
We will see how we can install a model file to the workspace.
It is important that object names are unique in model files. If you have error from conflict you can use -conflict push option this will delete the obect which is already on the application.
Go to start menu -> All programs -> Administrative tools -> Microsoft Dynamics AX Management Shell right click and select Run as Administrator.
Navigate to the folder that holds model file.
Run this commond : Install-AXModel -File Filename.axmodel
Hope it helps.
Kaydol:
Kayıtlar (Atom)


