I have two tables the first I need to get the productid, and the unitprice. I need to insert into a second table the productid , the unit price * 1.25 into a second table. I also, need to insert into the second table (same record) a pricebookid number that I will enter manually.
this is what I have tried:
insert pricebookproductrel a, products b set a.pricebookid = 1721 and b.productid = a.pricebookid and a.listprice = b.unitpricebookproductrel_price * 1.25
It fails and I am not sure why.
Can someone give me a hand?
Thanks!
this is what I have tried:
insert pricebookproductrel a, products b set a.pricebookid = 1721 and b.productid = a.pricebookid and a.listprice = b.unitpricebookproductrel_price * 1.25
It fails and I am not sure why.
Can someone give me a hand?
Thanks!