I have using Netsuite Webservice Logic Code. I want to convert Sales order to Invoice .In the below code is working fine but I am seeing unexpected error
NS Invoice Creation Error: Please enter value(s) for Country
Here is my code
Invoice ns_invoice = new Invoice();
InvoiceItem ns_invoive_Item = new InvoiceItem();
InitializeRecord ir = new InitializeRecord();
ir.type = InitializeType.invoice;
InitializeRef iref = new InitializeRef();
iref.type = InitializeRefType.salesOrder;
iref.typeSpecified = true;
iref.internalId = cust_po.netsuite_sales_order_id__c;
ir.reference = iref;
ReadResponse getInitResp = _service.initialize(ir);
Anybody one helps me to resolve it.