Hi All,
I have a requirement to build a tree with 4 tables related to each other via recid. I tried to find example for like this situation but didn’t find any. Here, I’m providing you the example of tree I need…
DataAreaId (Root)
S1
C1
m1
DataAreaId (root)
S2
C2
and so on…
All nodes(DataAreaId, S1, C1 and M1) belongs to 4 different tables.
So, I want to know is there any possibility to create tree structure with multiple tables in AX 2012??
Please help me.
Thanks in Advance!
Swati
// 1.fist select “S” table using while select and create a fist node
while select s table
{
itemIdx1 = SysFormTreeControl::addTreeItem()
//2.using the itemIdx1 select “C” table using while select and create s1->c1
while select c table
{
itemIdx2 = SysFormTreeControl::addTreeItem() //based on related condition
//3.using the itemIdx1 select “M” table using while select and create s1->c1->m1
itemIdx2 = SysFormTreeControl::addTreeItem() //based on related condition
}
hi all ,
I have the same Issue , please what is the relation betwen itemIdx1 and the second select in the Tabe C .
can give more explanation plz .
Thanks in Advance
Hi swathi,
We do have such functionality in AX 2012 in Sales & Marketing module.
Sales & Marketing module > Setup > Leads > Qualify process.
Please go through this form, and just check the standard way how its stores the tree data and design part.
Probably this would help you guys!!!
it doesn’t help :s I 'm looking for how , in the expanding, get the child of my selected node , knowning that this child come from anathor table depending on RecId of my selected node
thanks a lot