Alfasith AX

Alfasith AX
اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي، وَعَلِّمْنِي مَا يَنْفَعُنِي، وَزِدْنِي عِلْمًا

Monday, October 13, 2014

How to call datasource methods by code in AX.

Hi,

TableName_ds.object(fieldnum(TableName,FeildName)).method();
RESRentAgreementCreationTmp_ds.object(fieldnum(RESRentAgreementCreationTmp,StartDate)).modified();

Regards,
Alfasith Ismail

No comments:

Post a Comment

How find size of recordsortedlist in D365/AX 2012

Hi, This is the continuity of the previous article where we are now getting the size of recordsortedlist . if(recordsortedlist.len() >1) ...