So I'm fetching support cases from our netsuite sy...
# suitetalkapi
k
So I'm fetching support cases from our netsuite system via suitetalk, and if the case is open I can get info about the ticket, but if the ticket is closed it just returns null. I basically want to fetch a ticket cost (custom field) after the tickets been closed, but can't at the moment, but I can when its open, create/save/read cases. Is there something Im missing permission wise or is this some weird NS directive?
b
what you are describing doesn't sound normal, im able to get a closed support case with basically only the suitetalk and case permissions
what operation are you using to get the support case? The only way i can think of that could explain the behavior is if you are using a basic search to get your data
k
I have a php class thats basically calling everything required and then I pass a request with the sdk public function selectCase($netSuiteID) { $service = new NetSuiteService($this->config); $itemRef = new RecordRef(); $itemRef->type = RecordType::supportCase; $itemRef->internalId = $netSuiteID; $getRequest = new GetRequest(); $getRequest->baseRef = $itemRef; $getResponse = $service->get($getRequest); $item = $getResponse->readResponse->record; return $item; }
b
that looks right to me
you might want to check the web service usage logs to see if there is any data that is being missed