Automatically link production order to sales order when creating production order  MRP Display screen from Manufacturing button
Â
I try to override below delegate but not getting production order number. I want to display new created production order under references tab sales order details as shown below.
Â
 public delegate void GenerateProductionOrdersDelegate(List<AMOrderCrossRef> list);
    PXOverride]
    public void GenerateProductionOrders(List<AMOrderCrossRef> list, GenerateProductionOrdersDelegate baseMethod)
    {
      baseMethod(list);
}
If anyone has the knowledge or some guidance on how to do it I would appreciate it very much.
Thanks