nerdexam
Microsoft

MB6-704 · Question #91

You have a Dynamics AX deployment that contains three legal entities. You need to search for records across all three legal entities. What should you create?

The correct answer is D. A select statement that uses the cross Company keyword. A cross-company query returns data for several companies in a single run. A query does not have to be limited to returning data for the current session company. A cross-company query operates over all companies that you have read permissions for, or over a subset of companies…

Develop X++ code

Question

You have a Dynamics AX deployment that contains three legal entities. You need to search for records across all three legal entities. What should you create?

Options

  • AA select statement that uses the data Area Id field in a where clause
  • BA select statement that joins the Company Info table
  • CA select statement that uses the data Area Id field in a field list
  • DA select statement that uses the cross Company keyword

How the community answered

(32 responses)
  • A
    3% (1)
  • B
    16% (5)
  • C
    9% (3)
  • D
    72% (23)

Explanation

A cross-company query returns data for several companies in a single run. A query does not have to be limited to returning data for the current session company. A cross-company query operates over all companies that you have read permissions for, or over a subset of companies that you specify. Note: A company is a unique identifier for the data that is associated with the legal entity. A company can be associated with only one legal entity, and a legal entity can be associated with only one company.

Topics

#crossCompany keyword#select statement#legal entities#multi-company queries

Community Discussion

No community discussion yet for this question.

Full MB6-704 Practice