I created a graph from another graph like the one below
SOOrderEntry docgraph = PXGraph.CreateInstance<SOOrderEntry>();
but I couldn't insert the data below for the 2022 R2 version
var relation = docgraph.Relations.Insert();
So how can I insert data to the Relations tab in the sales order screen in the 2022 R2 version? It's working in 21 R1 but it's missing in 2022 R2.
Do you happen to know anything about this?