Create Sales Orders from Blanket Orders

I created a Blanket orders with different shipments date like this Sales line :10000 Item : 1000 Shipment date : 29/04/22 ; Sales line :20000 Item :1000 shipment date :12/01/22 to customer 10000. Sales line: 10000 Item: 1000 Shipment Date: 29/04/22; Sales Line: 20000 Item: 1000 Shipment Date : 10/01/22 to customer 20000. Now I want to convert only lines with shipment date 29/04/22 in sales orders. I created a page with two fields StartDate and EndDate. And I tried to modify two events of CU 87: OnBeforeRun and OnRunOnAfterBlanketOrderSalesLineSetFilters. The following, the action MakeOrder in page 507 creates sales orders of lines with shipment date 29/04/22 I request , but the Action Make Order in page 9303 doesn't work. Can someone please help me? Thanks

Best Answer

  • Developer101Developer101 Member Posts: 565
    Answer ✓
    Strange one , Make Order on Blanket Sales Orde (page 507) and Blanket Sales Orders page (page 9303) are running same process, so should work from both
    United Kingdom

Answers

  • Developer101Developer101 Member Posts: 565
    Answer ✓
    Strange one , Make Order on Blanket Sales Orde (page 507) and Blanket Sales Orders page (page 9303) are running same process, so should work from both
    United Kingdom
  • @Developer101 you are right, but it doesn't work.
  • Developer101Developer101 Member Posts: 565
    could you share the code please and let us have a look?
    United Kingdom
Sign In or Register to comment.