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 Boga
Hi @Marco Villasenor Please find the 21 R2 customization code for your reference.
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.
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@Naveen Boga I am working on this screen and need to add some DB fields but not able to find the right table where i can add those columns any idea regarding that ?
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.