From: Phil D. <ph...@lo...> - 2011-12-13 07:51:16
|
I have applied your fix thanks Vitaly. Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 13/12/11 10:08, Vitaly Shevkunov wrote: > Hi guys, > > There are still a couple things that need to be fixed in > Z_ChangeStockCode.php. > > $result = DB_query("SELECT COUNT(*) FROM > mrpplannedorders",$db,'','',false,false); > if ($DB_error_no==0) { > > need to be > > $result = DB_query("SELECT COUNT(*) FROM > mrpplannedorders",$db,'','',false,false); > if (DB_error_no($db)==0) { > > > Looks like $sql = 'SET FOREIGN_KEY_CHECKS=0'; needs to move up to just > before updating BOM table. > > Thanks, > Vitaly > > > ------------------------------------------------------------------------------ > Learn Windows Azure Live! Tuesday, Dec 13, 2011 > Microsoft is holding a special Learn Windows Azure training event for > developers. It will provide a great way to learn Windows Azure and what it > provides. You can attend the event by watching it streamed LIVE online. > Learn more at http://p.sf.net/sfu/ms-windowsazure > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > |