Skip to main content
Question

Automatically link production order to sales order when creating production order MRP Display screen from Manufacturing button

  • May 29, 2024
  • 0 replies
  • 43 views

Forum|alt.badge.img+1

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