Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Order Item Price
I just ran my first test import and had one small problem. NetSuite used the item price listed in NetSuite instead of the price I have it through web services. Is there a way to make it accept the price I give it?
[PHP]
$orderItem['item'] = new nsRecordRef(array('internalId' => $item_id));
$orderItem['price'] = $item->price;
$orderItem['quantity'] = $item->amount;
$orderItem['description'] = $item->product. ' '.$item->product_options;
$orderFields['itemList']['item'][] = $orderItem;
[/PHP]
Thanks!
[PHP]
$orderItem['item'] = new nsRecordRef(array('internalId' => $item_id));
$orderItem['price'] = $item->price;
$orderItem['quantity'] = $item->amount;
$orderItem['description'] = $item->product. ' '.$item->product_options;
$orderFields['itemList']['item'][] = $orderItem;
[/PHP]
Thanks!
0