From: Phil D. <ph...@lo...> - 2013-12-11 08:30:12
|
Yes this looks like a bug ... they need to be multiplied by the quantity on the bom. Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 11/12/13 18:54, ExsonQu wrote: > *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. > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > |