Hello,
I'm looking for the most effective / efficient way to update the Cost field on products. So we can take advantage of the "markup from cost" Price Group. The value is coming in via our inventory/order management system. This is what I have right now in my testing environment:
This does work and is appropriately updating the Cost field. But, I'm mostly concerned that it's technically updating all the basic product fields (description, price, etc.). I feel there might be a risk here that product information might get wiped if something goes wrong between the two systems communicating with each other.
Is this the most correct method or is there a better way to handle this?
Thank you!
I'm looking for the most effective / efficient way to update the Cost field on products. So we can take advantage of the "markup from cost" Price Group. The value is coming in via our inventory/order management system. This is what I have right now in my testing environment:
Code:
<MvDO FILE="{g.Module_Library_DB}" NAME="l.ok" VALUE="{Runtime_Product_Load_Code(l.productCode, l.product)}"> <MvASSIGN NAME = "l.product:cost" VALUE = "{ l.costs:standard }"> <MvDO FILE="{g.Module_Library_DB}" NAME="l.ok" VALUE="{Product_Update( l.product )}">
Is this the most correct method or is there a better way to handle this?
Thank you!
Comment