Wednesday, 22 May 2013

EP : C# code to call X++ Table method from VS.

protected long GetEcoResCategoryHierarchyRoleByRole() // call Table method EcoResCategoryHierarchyRole getHierarchiesByRole



{

using (AppProxy.EcoResCategoryHierarchyRole lEcoResCategoryHierarchy = AppProxy.EcoResCategoryHierarchyRole.avaFindHierarchiesByRole(SalesCat))



{

ecoResCategoryHierarchyrecId = lEcoResCategoryHierarchy.CategoryHierarchy;

}

return ecoResCategoryHierarchyrecId;



}

No comments:

Filter the PurchTableListPage in D365FO on Dimensions: BusinessUnit and Division using DimensionProvider class.

 In D365FO, dimensions are a powerful tool for categorizing and analyzing transactional data. But what if you want to filter purchase orders...