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.
12 Haziran 2013 Çarşamba
AX 2012 de boyutlarının listelenmesi
Merhaba,
AX 2012 ile değişen boyut yapısı ile birlikte boyutlarını listelemek için kullandığımız eski yöntemlerde rafa kalktı.
Yeni boyut yapısı ile yaratılmış bir hareketin boyut bilgilerini listelemek istediğimizde aşağıdaki örnek kodu kullanabiliriz.
VendTrans vendTrans;
DimensionAttributeValueSetStorage dimStorage;
Counter i;
select firstOnly vendTrans;
dimStorage = DimensionAttributeValueSetStorage::find(vendTrans.DefaultDimension);
for (i=1 ; i<= dimStorage.elements() ; i++)
{
info(strFmt("%1 = %2", DimensionAttribute::find(dimStorage.getAttributeByIndex(i)).Name,dimStorage.getDisplayValueByIndex(i)));
}
Bol AX lı günler.
AX 2012 ile değişen boyut yapısı ile birlikte boyutlarını listelemek için kullandığımız eski yöntemlerde rafa kalktı.
Yeni boyut yapısı ile yaratılmış bir hareketin boyut bilgilerini listelemek istediğimizde aşağıdaki örnek kodu kullanabiliriz.
VendTrans vendTrans;
DimensionAttributeValueSetStorage dimStorage;
Counter i;
select firstOnly vendTrans;
dimStorage = DimensionAttributeValueSetStorage::find(vendTrans.DefaultDimension);
for (i=1 ; i<= dimStorage.elements() ; i++)
{
info(strFmt("%1 = %2", DimensionAttribute::find(dimStorage.getAttributeByIndex(i)).Name,dimStorage.getDisplayValueByIndex(i)));
}
Bol AX lı günler.
Etiketler:
AX,
AX 2012,
Default dimension,
DefaultDimenion,
Dimension,
Dimension storage,
DimensionAttribute,
DimensionStorage,
Dynamics AX,
Dynamics AX 2012,
Microsoft Dynamics AX 2012
Kaydol:
Kayıtlar (Atom)