Hi All, I am trying to publish an organizational Hierarchy which is in draft state. I have to accomplish this using X++.
Why i need to do it using X++? Well, we are trying out an automation possibility for creating an setting up multiple LE's as required. We are not looking for copy LE feature as of now.
I could see "OMORGANIZATIONHIERARCHYPUBLISHEDANDDRAFTENTITY" have the org data in draft state. But when i try to update it to "IsDraft = NoYes::No", its not really updating anything.
Also no record is getting inserted into "OMORGANIZATIONHIERARCHYPUBLISHEDENTITY"
Hi Anish,
On the form HierarchyDesigner, you can find a method called publishRevision which has the coding which can help you.
Sohaib Cheema
764
User Group Leader
Martin Dráb
619
Most Valuable Professional
André Arnaud de Cal...
603
Super User 2025 Season 2