init
This commit is contained in:
7
modules/EcmPriceBooks/updaterecipientcode.php
Executable file
7
modules/EcmPriceBooks/updaterecipientcode.php
Executable file
@@ -0,0 +1,7 @@
|
||||
<?
|
||||
$w=$GLOBALS['db']->query("select recipientcode,pricebookid,productid from pricebookproductrel");
|
||||
print mysql_error();
|
||||
while($r=$GLOBALS['db']->fetchByAssoc($w)){
|
||||
$GLOBALS['db']->query("update ecmpricebooks_ecmproducts set recipient_code='".$r['recipientcode']."' where ecmproduct_id='".$r['productid']."' and ecmpricebook_id='".$r['pricebookid']."'");
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user