To run the AOT Query for specific companies,
Create new method getCompanyRange() in AOT Query and return the container with values of dataareaid and select marked true/false.
Container getCompanyRange()
{
return [["com1", true],["com2", true]];
}
AllowCrossCompany property will bring the all companies in AX but above method will restrict and shows only specified companies.
Happy DAXing,,,
Cheers....
Create new method getCompanyRange() in AOT Query and return the container with values of dataareaid and select marked true/false.
Container getCompanyRange()
{
return [["com1", true],["com2", true]];
}
AllowCrossCompany property will bring the all companies in AX but above method will restrict and shows only specified companies.
Happy DAXing,,,
Cheers....
No comments:
Post a Comment