<!here> I'm sorry if bother anyone. But I cannot s...
# suitetalkapi
n
<!here> I'm sorry if bother anyone. But I cannot setup multiple currencies for customer or vendor using the PHP API with the webservices I can however do it using the web interface my code looks like this
Copy code
$customer = new Customer();
       $customer->externalId = $input->id;
       $customer->email = $input->email;
       $customer->firstName = $input->first_name;
       $customer->isPerson = true;
       $customer->receivablesAccount = config("netsuite.accounting.receivablesAccount");
       $customer->currency = "EUR";
       $customer->currencyList = [1,2,3,4,5,6,7];
and I always got this error
Copy code
<platformCore:statusDetail type="ERROR">
                        <platformCore:code>USER_ERROR</platformCore:code>
                        <platformCore:message>You cannot delete the primary currency.</platformCore:message>
                    </platformCore:statusDetail>