-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Hi there
I am trying to create a invoice with the following valueMap
{"subject":"Tax Invoice","customerno":"000102","invoicedate":"12-12-2013","account_id":"11x14","invoicestatus":"Created","assigned_user_id":"20x4","cf_701":9855,"bill_street":"Level 3, 606 St. Kilda Road","ship_street":"Level 3, 606 St. Kilda Road","bill_city":"Melbourne","ship_city":"Melbourne","bill_state":"Vic","ship_state":"Vic","bill_code":"3004","ship_code":"3004","bill_country":"AUS","ship_country":"AUS","description":"Billing Period: 032014\nDomain: ssdias\n ","terms_conditions":"Net 7","currency_id":"21x1","hdnTaxType":"group","LineItems":[{"productid":"25x133","quantity":40,"listprice":20,"tax4":10}],"productid":"25x133"}
but I get this error Unexpected token W at Object.parse(native) when I use
client.doCreate('Invoice', valueMap, response);
Any help will be appreciated.....
thanks
Rosie