AX- D365FO – Get the root project or all the ancestors of a given project in ProjTable

AX- D365FO – Get the root project or all the ancestors of a given project in ProjTable follow these instructions.

To get the root project of a given project

ProjTable::getRootProjId(ProjId)

Returns the root project

To get all the ancestors of a given project

ProjTable::ancestors(projId);

ProjTable::ancestors(projId) returns a container of all ancestor of a project

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s