Product quantity in Report / calculation in formula

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Laimonas
    Senior Member
    • May 2021
    • 226

    #1

    Product quantity in Report / calculation in formula

    Hi everyone,

    I'm having trouble with the "quantity" field in the Product Entity.

    For example, if I want to know the total number of items in the warehouse, I can't seem to find a "quantity" (label "Available") or "quantityOnHand" (label "On hand") field in the Report of Product Entity.

    Another case is when I try to calculate the total value of a product in the warehouse (e.g., Available Quantity x Cost Price), the formula "cTotalValue = quantity * costPrice;" doesn't calculate anything, the result is "0".

    How would you go about solving this issue?

    Thanks in advance!​
    Attached Files
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9360

    #2
    Hi,

    This is a special field. It's currently not supported in reports. There're some difficulties to implement it.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    Working...