$service = new NetSuiteService();
$recordRef = new RecordRef();
$recordRef->internalId = "2436";
$recordRef->type = RecordType::purchaseOrder;
$request = new DeleteRequest();
$request->baseRef = $recordRef;
$delResponse = $service->delete($request);
var_dump($delResponse);
No comments:
Post a Comment