Fixed
Details
Assignee
RedhuanORedhuanOReporter
RedhuanORedhuanOPriority
Major
Details
Details
Assignee
RedhuanO
RedhuanOReporter
RedhuanO
RedhuanOPriority
Created May 17, 2015 at 8:50 PM
Updated July 1, 2015 at 1:04 PM
Resolved May 20, 2015 at 6:01 PM
The BOMPriceStd function in the Database is incorrect. Though it goes through the BOM Children of a product when the parent price is zero, it only takes children who are themselves parents or having further children. Thus this will only work partially in a 3 tier BOM but taking only the first two and in a 2 tier BOM, nothing.
By removing the isBOM and isVerified check solves it.
The attached patched function only applies for BOMPriceStd testing and if maintainer says OK can do so also for BOMPriceList and BOMPriceLimit.
It only removes these two lines:
AND p.IsBOM='Y'
AND p.IsVerified='Y'