From: Phil D. <ph...@lo...> - 2014-05-03 00:00:17
|
Whoops no - it looks like for manufactured items the StockCostUpdate.php script the material cost is always hidden I've made a small modification around line 170: if ($myrow['mbflag']=='M'){ echo '<tr> <td>' . _('Standard Material Cost Per Unit') .':</td> <td class="number"><input type="text" name="MaterialCost" class="number" value="' . locale_number_format($myrow['materialcost'],$_SESSION['StandardCostDecimalPlaces']) . '" /></td> </tr> I can't see a good reason why this is not allowed? Of course each time you make some the cost will be over-ridden based on the BOM as described and then updated based on the variance on manufacture once the WO is closed. Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 03/05/14 11:40, Phil Daintree wrote: > I am not sure about Z_BottomUpCosts.php I didn't write this... looks too > clever for me as it uses recursive calls to UpdateCosts - so probably > nobbled by suhosin/PHP security. > > However, with > > weberp/StockCostUpdate.php?StockID=AACM-PA-2G-20110214 > > could it be that the user does not have access to page Security token > 10? To allow stock cost updates? > > Phil > > Phil Daintree > Logic Works Ltd - +64 (0)275 567890 > http://www.logicworks.co.nz > > On 03/05/14 01:34, rfthomas wrote: >> Phil, >> >> weberp/Z_BottomUpCosts.php is not updating the standard cost. >> >> For item AACM-PA-2G-20110214 it shows a standard cost of $27.94 >> >> When we look at the costed BOM it shows a cost of $94.58 >> >> When we run weberp/StockCostUpdate.php?StockID=AACM-PA-2G-20110214 we are >> not able to edit/change the Standard Material Cost Per Unit, it is a display >> only field. >> >> Is there someplace else that we need to look to change the Standard Material >> Cost? >> >> We do not build this part on a daily basis, rather due to economies of scale >> we have to build a 6 month supply of this WIP part, i.e. our sub-tiers need >> to have minimum economic run quantities in the 1,000's. We will not be >> making more of this part for a few months. We would like to have our costs >> correct for items being built using these parts. >> >> This is just one example of a part with the wrong standard cost. >> >> We have not modified any of the code involved. I have sent Exson all of the >> code that we have modified: Scripts with customized quote/invoice formats >> and packing slips based on actual invoice, change to invoice data entry to >> allow defaulting to quantity 0 rather PO quantity, and a Flatten BOM script. >> >> Bob Thomas >> >> >> >> -- >> View this message in context: http://weberp-accounting.1478800.n4.nabble.com/Standard-costs-not-updated-editable-tp4657399p4657403.html >> Sent from the web-ERP-developers mailing list archive at Nabble.com. >> >> ------------------------------------------------------------------------------ >> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE >> Instantly run your Selenium tests across 300+ browser/OS combos. Get >> unparalleled scalability from the best Selenium testing platform available. >> Simple to use. Nothing to install. Get started now for free." >> http://p.sf.net/sfu/SauceLabs >> _______________________________________________ >> Web-erp-developers mailing list >> Web...@li... >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. Get > unparalleled scalability from the best Selenium testing platform available. > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > |