I tried to write code to get sales order number from Planned order when we do downstream pegging, but hard luck as not getting any relation
can someone help me with code
What I need is SO from
Master planning >> Planed order >> click View button >>Multilevel pegging >> Pegging View downstream >> how to get first SO from this tree