Skip to main content
Answer

How to Override the "Create Child Orders" Action in Blanket Order Screen (SO301000)

  • July 8, 2025
  • 5 replies
  • 98 views

Forum|alt.badge.img+1

Hi everyone,

There is a requirement to override the "Create Child Orders" action in the Blanket Order screen (SO301000), which is handled by the SOOrderEntry graph.

I tried to do this through the Customization Project Editor, but when I click "Override Method", the "Select Methods to Override" panel pops up, and CreateChildOrders is not listed among the available methods to override.

I also used the Inspect Element tool in the UI, and it confirms that the button is linked to the action named CreateChildOrders.

Any guidance or recommendations would be greatly appreciated!

 

Best answer by Django

I don’t see it available in the Customization Project Editor. You’ll likely have to write the header code yourself. I’d recommend having a look through Blanket.cs because you might find a better spot to inject your business logic requirements into.

5 replies

Forum|alt.badge.img+7
  • Captain II
  • July 8, 2025

CreateChildOrders is declared in Blanket.cs


Forum|alt.badge.img+1

Thank you so much ​@Django for the valuable answer! Could you please let me know whether the CreateChildOrders method declared in Blanket.cs is accessible for override via the Customization Project Editor?


Forum|alt.badge.img+7
  • Captain II
  • Answer
  • July 8, 2025

I don’t see it available in the Customization Project Editor. You’ll likely have to write the header code yourself. I’d recommend having a look through Blanket.cs because you might find a better spot to inject your business logic requirements into.


Patrick Chen
Varsity II
Forum|alt.badge.img+2
  • Varsity II
  • July 10, 2025

You need to use 

[PXProtectedAccess(typeof(PX.Objects.SO.GraphExtensions.SOOrderEntryExt.Blanket))]

to create an extension of the blanket extension and call the protected member


Forum|alt.badge.img+1
  • Semi-Pro III
  • November 1, 2025

@malinthawarnakulasooriya08 
were you able to override the CreateChildOrders method?
It would be great if you could share your approach or code snippet.