From: ExsonQu <hex...@gm...> - 2013-12-11 05:54:52
|
*Dear all:* Thumb has spot some errors in webERP. It maybe just misunderstanding, so I bring it here for your confirmation: 1. The standard cost calculation: Credit_invoice.php at line 728. It's as following: $StandardCost += $AssParts['standard']; and the standard is defined as: $sql = "SELECT bom.component, bom.quantity, stockmaster.materialcost + stockmaster.labourcost + stockmaster.overheadcost AS standard FROM bom, stockmaster WHERE bom.component=stockmaster.stockid AND bom.parent='" . $CreditLine->StockID . "' AND bom.effectiveto > '" . Date('Y-m-d') . "' AND bom.effectiveafter < '" . Date('Y-m-d') . "'"; so it seems that the quantity is missing in the standardCost definition for assembly items. 2. And also same problem appeared in SelectCreditItems.php at line 1447. $StandardCost += $AssParts['standard']; Are they bugs? Thank you for your attention. Best regards! Exson -- View this message in context: http://weberp-accounting.1478800.n4.nabble.com/Bugs-list-tp4657074.html Sent from the web-ERP-developers mailing list archive at Nabble.com. |