Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empties window without pre-selection possible #332

Closed
metas-mk opened this issue Apr 27, 2017 · 7 comments
Closed

Empties window without pre-selection possible #332

metas-mk opened this issue Apr 27, 2017 · 7 comments

Comments

@metas-mk
Copy link
Member

Is this a bug or feature request?

Feature Request

What is the current behavior?

Currently, you cannot do the Quick actions "Empties ..." w/o selecting a material receipt candidate line.

Which are the steps to reproduce?

Open The Material Receipt candidates window and try.

What is the expected or desired behavior?

Allow the Quick actions for empties also w/o preselecting a line.
image

@metas-mk metas-mk added this to the 2017-18 milestone Apr 27, 2017
teosarca added a commit to metasfresh/metasfresh that referenced this issue Apr 27, 2017
aim: being able to fill a material returns header

metasfresh/metasfresh-webui-api-legacy#332
@teosarca
Copy link
Member

Note to IT: besides task scope, full IT on empties functionality is required

metas-ts added a commit to metasfresh/metasfresh that referenced this issue Apr 28, 2017
[#332](metasfresh/metasfresh-webui-api-legacy#332) Empties window without pre-selection possible
[#695](metasfresh/metasfresh-webui-frontend-legacy#695) Lager photo preview screen/ modal overlay
[#328](metasfresh/metasfresh-webui-api-legacy#328) Manufacturing receipt mandatory Field not filled
[#1388](#1388) HU from Cost Collector is locked and cannot be selected anymore after the CC was reversed
[#683](metasfresh/metasfresh-webui-frontend-legacy#683) Tooltip on first level breadcrumb
[#682](metasfresh/metasfresh-webui-frontend-legacy#682) Sidelist opening shall automatically have the first line selected
[#322](metasfresh/metasfresh-webui-api-legacy#322) Manufacturing Issue/Receipt: Fix Qty and QtyPlan columns
[#676](metasfresh/metasfresh-webui-frontend-legacy#676) Process result: implement openDocument as modal
[#1358](#1358) Drop de.metas.order.callout.CheckDouble
[#411](metasfresh/metasfresh-webui-frontend-legacy#411) Make the parameter names visible in filters
@metas-lc
Copy link

metas-lc commented Apr 28, 2017

IT
tested empties on webui

=> empties receive (Leergut Rücknahme)

  • works fine without selecting a line
  • works fine selecting a line (bpartner is set)

=> empties return (Leergut Rückgabe)

  • works fine without selecting a line
  • works fine selecting a line (bpartner is set)

only thing i noticed is that on empties receive, if you create one manually, you have to set the document number. Created issue: metasfresh/metasfresh#1400

@metas-dh
Copy link
Member

regression testing for empties in Swing:

Creating empties returns in Wareneingang POS:

  • works fine when selecting a line (bpartner is set): only possible for Leergut Rückgabe, from vendor, like before
  • works fine without selecting a line: both Leergut Rücknahme & Leergut Rückgabe, like before
  • compared the jaspers with Gebindekontokorrent, Gebindesaldo & Gebindeübersicht: empties returns were included and overall Saldi were correct

@metas-lc
Copy link

NOK: go to any empties window and create a new one and add a line with add new
=> notice that you have a red line even if you didn't remove any mandatory fields NOK
=> you can't add any product. Nothing is found NOK
(if you add a product from batch entry it works)
see https://w101.metasfresh.com:8443/window/540322/1003737

@metas-lc
Copy link

metas-lc commented Jun 14, 2017

re-checking the issue:
empties windows : 540323 and 540322, 53098 and 53097
=> you can add products with add new OK
=> there is still a red line when you open add new in 540322 and 53098, NOK (save status false: Assumption failure: Product is null")

@teosarca
Copy link
Member

Fixed by making the M_Product_ID field (the field and NOT the column) mandatory for those 2 windows (540322 and 53098).
On table level, the M_InOutLine.M_Product_ID is not mandatory because we still have support for description lines (which does not have a product set).
Setting it as mandatory on window/field level would tell the webui that the product is mandatory in that window and the webui shall not try to save it if the product field is not filled.

@metas-rc metas-rc self-assigned this Jun 16, 2017
@metas-rc
Copy link
Member

Results of IT

  • Empties return and Empties receive are both available for material receipt candidates even if no line is created
  • Empties receive has some UI problems but there will be a followup for fixing it on webui :
    Adjustments for Empties Receive Window WebUI metasfresh#1836
  • Regression: Emptiese receive and Empties return both work correctly with a pre-selected line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants