I need to customize the Pick, pack and ship screen with a custom action that uses a different criteria to select the next list. This also requires me to add custom fields to the header form in the screen.
I have looked at the source but find it is very different from other graphs, with a lot of inherited classes, generic graphs, references to implementations and common methods.
I have tried to extend the header DAC but end up with compilation errors that reference different classes than the ones listed while examining the screen. Which is the correct DAC to extend for the header?
Are the Graph and DACs customizable? Is there a sample reference or recommended overloadable methods to create custom actions?
Best answer by Naveen BogaView original
What version of Acumatica are you customizing? The WMS module was actually rewritten for 22R1, so that’s why it may be less straightforward to extend. It appears that most of the code for this is within the PX.Objects.SO.PickPackShip class, and contains mostly protected methods. The DAC header view seems to be HeaderView. What are you trying to extend in the DAC? There are delegate methods for the Picked, Packed, etc. views that you could override if you want to change the content or order of those lists.
@tlanzer25 this is for 21R2 (21.204.0055)
I’m trying to add a condition to pick lists for shipments with a specific flag, so it can be either a checkbox that turns that option on (only select lists from shipments with flag) or off (any lists) or a custom action that does this, something like “Next Special List”.
I’m not extremely familiar with the functionality behind this screen, but as I mentioned, you can likely override the Picked view delegate method which queries the ship lines, and add a condition to the query to only look for your new flag.
@Marco Villasenor I have customized Pick, Pack and Ship screen with custom fields and Custom Action.
I’m not sure whether this helps you but here is what I have done.
@Naveen Boga of you could that would be great.
You can share it as a link to a gust here ori can send you a message with my contact information.
@Marco Villasenor Please find the 21 R2 customization code for your reference.
Hope this helps!