Posts

Showing posts from December, 2014

RunBase class

Today I will provide you document in which I have mentioned how to define RunBase class in AX. RunBase Class

XDS Policy

Today I will provide you document in which I have mentioned how to restrict data according to user role by using XDS policy. XDS Policy Document XDS Policy XPO

CrossCompany and ChangeCompany in AX

Today I will demonstrate you that how to retrieve data from multiple companies or all companies by using CrossCompany and ChangeCompany in AX. CrossCompany:-  By using this keyword we can retrieve data from multiple companies or from all companies.                              Example:-                     CustTable cust;                     Container con;                     con=["ceu","Dat","cee"];                     Select crosscompany:con cust;                     print cust.accountnum;                     pause;                   Example:-                      CustTable cust;                     Select crosscompany cust;                     print cust.accountnum;                     pause; ChangeCompany:-  By using this keyword we can change company any time and retrieve data from specific companies.                 Example:-                      CustTable cust;                     Select *from cust;