How to delete customer address in Address Book using netsuite php toolkit
<p>I need to delete customer address already in address book list using php tool kit.
Here is my code,</p>

<pre><code>$service = new NetSuiteService();   


    $addressbook = new CustomerAddressBook();
    $addressbook-&gt;internalId = 'xxxxxx';  // addressBook Record (a entire row) interanl id


    $addressBookList = new CustomerAddressbookList();
    $addressBookList-&gt;addressbook = $addressbook;
    $addressBookList-&gt;replaceAll = false;

    $customer = new Customer();
    $customer-&gt;internalId =  $_SESSION["customer_internalId"]; // customer internal ID
    $customer-&gt;addressbookList = $addressBookList;

    $deleteRequest = new DeleteRequest();
    $deleteRequest-&gt;record = $customer;
    $deleteResponse = $service-&gt;delete($deleteRequest);

    print_r( $deleteResponse ); 
</code></pre>

<p>Whe I run this code I got exception "BaseRef is an abstract type and cannot be instantiated in ...". How to delete one of many addresses in address book list for a customer?</p>