Suppress publishing cost if it is 0

Description

If the cost is 0 it is almost certainly because there is no default cost configured. If this is the case the cost stat should not be published.

Conclusion

None

Activity

Show:

Shamser Ahmed July 2, 2021 at 11:22 AM
Edited

The costs should not be published as far as i can see if the calculated costs are zero.  All cost updates have a conditional check to avoid updates where the calculated costs is zero, like:

if (cost)
   wu->setStatistic(...)

 

You may see the cost showing up as zero because the cost is calculated and stored to 6 decimal places but displayed to 2 decimal places (or the number of decimal places appropriate for the locale).  When the cost is calculated & stored as a value less then 0.005,   it is will show in ECL Watch or by wutool as a cost value of 0.00.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Compatibility

Point

Fix versions

Roadmap

Not applicable

Created May 27, 2021 at 2:49 PM
Updated August 2, 2021 at 8:30 AM
Resolved August 2, 2021 at 8:30 AM