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:

Secure API Integration in D365FO Using OAuth2 and Azure Key Vault (X++)

  Secure API Integration in D365FO Using OAuth2 and Azure Key Vault (X++) Integrating with external APIs securely is a common requirement in...