AX – D365 – Import and Export project with multiple objects using Visual studio

Overview In Visual Studio we have solution that contains multiple projects. These projects helps us to organize and manage the elements. Each project contain elements from only one model. In order to move elements from one environment to another in D365, It can be easily done by using project package file which contains list of … Continua a leggere AX – D365 – Import and Export project with multiple objects using Visual studio

AX – D365FFO – Get all projects childs from a root Project

If you want to get all projct childs from a root project jus use ProjTable::getChildProjectsFromRootProject. The method returns a List of ProjTable. Here you can find an example on how to use it ProjId rootProj = projTable::getRootProjId(projId); List _projList = new List(Types::Record); List list = projTable::getChildProjectsFromRootProject(rootProj, _projList); Enumerator en; en = list.getEnumerator(); boolean found = … Continua a leggere AX – D365FFO – Get all projects childs from a root Project

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

AX – D365FO – Create projects or sub projects using X++

Friends, below code will help you to create projects and sub projects using code. If there is already a parent project and we need to create sub projects based on the format which is already defined, the sample job below is an example. [Please note: Try, test and modify as per your requirements] static void … Continua a leggere AX – D365FO – Create projects or sub projects using X++