I'm trying to set all, or even some, price levels on inventory items.
If I just set base price (internalId = 1) it works fine, but two or more price levels cause an UNEXPECTED ERROR. This error message is making it hard for me to find the problem!
Here's the XML being sent:
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap ="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/ XMLSchema"> <soap:Header/> <soap:Body xmlns:msgs="urn:messages_2_6.platform.webservices.netsuite.com"> <msgs:updateList xmlns:listAcct="urn:accounting_2_6.lists.webservices.netsu ite.com" xmlns:core="urn:core_2_6.platform.webservices.netsuite.com"> <msgs:record xsi:type="listAcct:InventoryItem" internalId="8686"> <listAcct:onSpecial>true</listAcct:onSpecial> <listAcct:pricingMatrix replaceAll="false"> <listAcct:pricing> <listAcct:priceLevel internalId="1"/> <listAcct:priceList> <listAcct:price> <listAcct:value>53.68</listAcct:value> </listAcct:price> </listAcct:priceList> </listAcct:pricing> <listAcct:pricing> <listAcct:priceLevel internalId="5"/> <listAcct:priceList> <listAcct:price> <listAcct:value>53.68</listAcct:value> </listAcct:price> </listAcct:priceList> </listAcct:pricing> </listAcct:pricingMatrix> </msgs:record> </msgs:updateList> </soap:Body> </soap:Envelope>
Is there some trick I'm missing for setting multiple prices?Also, if I set just the base price it deletes all the other prices on the item regardless of the replaceAll flag. I Appreciate any help here