Reset "Qty. to Handle" to 0 after registering a pick

Hello,

On the Warehouse Pick page, I am trying to reset the “Qty. to Handle” field to 0 after registering part of the pick. Right now, if there is a pick for a quantity of 100 and the user registers a pick for only 40, the “Qty. to Handle” field will populate to the remainder of 60. How can this be reset to 0 after registering?

Hi Jordan,

To solve your issue.

  1. Create a new field in Warehouse Setup table called “Autofill Qty to Handle on Reg. pick”

  2. Open Codeunit 7307 Whse.-Activity Register

  3. Search for " WhseActivLine.VALIDATE(“Qty. to Handle”,QtyDiff);" And replace it with

WhseSetup.Get;

if WhseSetup.“Autofill Qty to Handle on Reg. pick” then

WhseActivLine.VALIDATE(“Qty. to Handle”,QtyDiff)

else

WhseActivLine.VALIDATE(“Qty. to Handle”,0);

Hello,

I added that field to the Warehouse Setup table and also the page. I checked the box. Then I added that code where you said to:

IF WhseActivLine.“Qty. Outstanding (Base)” > QtyBaseDiff THEN // round off error- qty same, not base qty
WhseActivLine.“Qty. Outstanding (Base)” := QtyBaseDiff;

WhseSetup.GET;
IF WhseSetup.“Autofill Qty. to Handle” THEN
WhseActivLine.VALIDATE(“Qty. to Handle”,QtyDiff)
ELSE
WhseActivLine.VALIDATE(“Qty. to Handle”,0);

IF WhseActivLine.“Qty. to Handle (Base)” > QtyBaseDiff THEN // round off error- qty same, not base qty
WhseActivLine.“Qty. to Handle (Base)” := QtyBaseDiff;

Unfortunately, the “Qty. to Handle” field still does not reset to 0.