metasfresh / metasfresh-webui-api-legacy

metasfresh webui API server
GNU General Public License v3.0
30 stars 32 forks source link

Picking Terminal: Detailed Picking Issues #820

Closed metas-mk closed 6 years ago

metas-mk commented 6 years ago

Is this a bug or feature request?

Feature Request

What is the current behavior?

There are a few issues in Picking terminal that can be optimized. Please check proposals below.

Which are the steps to reproduce?

Open, try and see.

What is the expected or desired behavior?

The following issues can be optimized in Detailed Picking in Picking Terminal:

metas-ts commented 6 years ago

Hi, @metas-rc @metas-mk i just integrated the two PRs:

afaiu still todo for that particular item

PS: i'm not setting the "master" label and not moving it to rollbout because afaiu not all is done yet, and we might loose track about what is and isn't supposed to be done now

teosarca commented 6 years ago

note to IT: the overdelivery is prevented only for some of the processes. We need to prevent it no matter how u do it.

teosarca commented 6 years ago

idea/loud thinking: I think we shall enforce the restriction in de.metas.handlingunits.picking.pickingCandidateCommands.ProcessPickingCandidateCommand.allocateHUToShipmentSchedule(I_M_HU). Mainly, have a flag for HU2PackingItemsAllocator.

Also please check/evaluate if we can enforce it on a lower level, like some M_ShipmentSchedule_QtyPicked interceptor...

metas-rc commented 6 years ago

de.metas.handlingunits.picking.pickingCandidateCommands.ProcessPickingCandidateCommand.allocateHUToShipmentSchedule(I_M_HU). Mainly, have a flag for HU2PackingItemsAllocator.

metas-rc commented 6 years ago

Also please check/evaluate if we can enforce it on a lower level, like some M_ShipmentSchedule_QtyPicked interceptor...

metas-rc commented 6 years ago

the overdelivery is prevented only for some of the processes.

  • I left this in the code, too. Because the prevention happens earlier and I think it's more efficient to not get to the end before throwing the error, at least for these 2 processes from the original requirements.
metas-rc commented 6 years ago

@teosarca Please, review when you have time and let me know if I shall change something.

metas-lc commented 6 years ago

IT

  1. login as sysadmin and go to Picking Configuration window (540382) => notice new flag: Allow Overdelivery OK => by default is set on N

  2. create/complete a new sales order, qty TU 5 (x10 cu)

  3. go to picking terminal and pick: pick 6 TUs: 4 LUs with 1 TU and 1 LU with 2 TUs => cannot pick. Err message: Eine Überlieferung ist nicht erlaubt. OK

  4. login as sysadmin and set Allow Overdelivery on Y (see step 1)

  5. login as admin, go back to picking and try to process that LU with 2 TUs => worked, no errors OK

  6. go to shipment candidates and create inout => inout created fine, qty TU 6, qty 60 OK

  7. set Allow Overdelivery back on N

  8. go to picking and try to use Pick to new HU, with a qty bigger than ordered => you can't: Eine Überlieferung ist nicht erlaubt. OK

Summary: you can pick as many HUs as you want, (also pick CUs). You cannot process picked HUs to overdeliver You cannot Pick to new HU/ pick to existing HU to overdeliver