Dynamics AX etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
Dynamics AX etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
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.
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
25 Mart 2013 Pazartesi
How to delete specified layer on AX 2012
Hi All,
In AX 2012 we can delete layer by using command prompt.
First open command prompt then navigate to AOS folder which has the layer you want to delete.
User axUtil command and specify layer and db parameters.
For example below command deletes usr layer on MicrosoftDynamicsAX database.
C:\Program Files\Microsoft Dynamics AX\60\ManagementUtilities>axutil delete /layer:usr /db:MicrosoftDynamicsAX
Have a nice day.
In AX 2012 we can delete layer by using command prompt.
First open command prompt then navigate to AOS folder which has the layer you want to delete.
User axUtil command and specify layer and db parameters.
For example below command deletes usr layer on MicrosoftDynamicsAX database.
C:\Program Files\Microsoft Dynamics AX\60\ManagementUtilities>axutil delete /layer:usr /db:MicrosoftDynamicsAX
Have a nice day.
28 Mayıs 2012 Pazartesi
Write methodu ile insert ve update
Merhabalar,
AX geliştirmelerinde kimi zaman eldeki verinin ilgili tabloda olup olmadığı bilgisini bilemediğimiz durumlar oluşabilir, bu tip durumlarda tablonun write() methodu kullanılabilir.
Write() methodu gelen kayıt tabloda var ise kayıdı verilen değerler ile günceller eğer yok ise tabloya kayıdı ekler.
TabloAdi tabloDegiskeni;
;
ttsbegin;
select forupdate tabloDegiskeni where tabloDegiskeni.primaryKeyfield1 == 123;
tabloDegiskeni.primaryKeyfield1 = 123;
tabloDegiskeni.field2 = "abc";
tabloDegiskeni.write();
ttscommit;
Böylelikle kayıt var mı yok mu diye koşullar yazmaya kodu uzatmaya gerek kalmadı.
Bol AX'lı günler,
Alper.
AX geliştirmelerinde kimi zaman eldeki verinin ilgili tabloda olup olmadığı bilgisini bilemediğimiz durumlar oluşabilir, bu tip durumlarda tablonun write() methodu kullanılabilir.
Write() methodu gelen kayıt tabloda var ise kayıdı verilen değerler ile günceller eğer yok ise tabloya kayıdı ekler.
TabloAdi tabloDegiskeni;
;
ttsbegin;
select forupdate tabloDegiskeni where tabloDegiskeni.primaryKeyfield1 == 123;
tabloDegiskeni.primaryKeyfield1 = 123;
tabloDegiskeni.field2 = "abc";
tabloDegiskeni.write();
ttscommit;
Böylelikle kayıt var mı yok mu diye koşullar yazmaya kodu uzatmaya gerek kalmadı.
Bol AX'lı günler,
Alper.
Etiketler:
AX,
Ax 2009,
Dynamics AX,
Dynamics AX 2009,
write
Kaydol:
Kayıtlar (Atom)


