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

Lagerwert (Excel): convert cost price into the UOM displayed in the report line #10507

Closed
metas-rc opened this issue Jan 11, 2021 · 0 comments
Closed
Labels

Comments

@metas-rc
Copy link
Member

metas-rc commented Jan 11, 2021

Is this a bug or feature request?

  • Bug

What is the current behavior?

  • Problem in the report Lagerwert (Excel)
    • A product has the UOM = kg
    • There is also a conversion from kg to ml
    • The qty from the handling units is in ml
    • But the amount is calculated by multiplying the qty in ml with the cost in kg => the number is not correct in the report

Which are the steps to reproduce?

  • Have a product as described above, run the Lagerwert (Excel) report for it

What is the expected or desired behavior?

  • Convert the current cost into the line's UOM

  • Brief tech concept:
    • Modify the function getCurrentCost by adding a new parameter: p_uom_ID.
    • The function will then convert the cost price from the product's uom into this parameter uom using the function priceuomconvert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants