metasfresh / metasfresh-webui-frontend-legacy

metasfresh Webui Frontend
GNU General Public License v2.0
57 stars 34 forks source link

CU attributes are not refreshed after "Add CUs with serial numbers" process #1608

Open metas-lc opened 6 years ago

metas-lc commented 6 years ago

Is this a bug or feature request?

bug

What is the current behavior?

when you use add CUs with serial numbers on a CU that already has serial No, the line does not refresh

Which are the steps to reproduce?

  1. go to material receipt candidates, select a line, Receive HU (1 LU, 1 TU, 10 CU) https://w101.metasfresh.com:8443/window/540196?viewId=540196-1a2c7e76305c4cd3b009699883d2d731&page=1
  2. use "Add CUs with serial numbers", write 1,2,3 image

=> 3 new CUs are created => also notice that the first line is selected (the LU)

  1. select one of those 3 CUs and run "Add CUs with serial numbers", write abc image

image

=> notice that your line is still selected and serialNo is "3" => if you move to another HU and back to this CU then you will see it's "abc"

What is the expected or desired behavior?

Don't know which is better: refresh the attributes on that CU or move the selection to LU

siemiatj commented 6 years ago

Both solutions are really tricky :

So this will have to wait, as my plan is to switch how we handle data anyway.

siemiatj commented 6 years ago

Duplicate of #1519