SEARCH THE COMMUNITY

Find an existing answer

1 results for “crossCompany”

CommunityD365FO: Safe pattern for fetching/updating records across companies in X++ without using wrong execution contextIn D365 Finance & Operations (X++), what is a reliable pattern to **fetch and update records across legal entities** using `crossCompany`/`crossCompany::find` vs `changecompany`, while preventing accidental reads/writes to the wrong company or recursion/side effects? Context: -