Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Sort Order in Search
Hello all,
We recently started using the PHP toolkit and I'm having some trouble getting transaction search results returned in the order I'd like. I understand the default order is the order date/time, but I'd like results returned ordered by "last modified". Can anyone point me in the right direction? Below is the code used for the transaction search. Thanks!
[PHP]
// Get only sales orders that have not already been transmitted to warehouse.
$aSearchStringCustomField = new nsComplexObject('SearchStringCustomField');
$aSearchStringCustomField->setFields(array( 'searchValue' => '0',
'internalId' => 'CUSTBODYTRANSMITTEDTOWAREHOUSE',
'operator' => 'contains'));
// Order Status
// Get only orders that are in pending fulfillment status (vs. pending approval)
We recently started using the PHP toolkit and I'm having some trouble getting transaction search results returned in the order I'd like. I understand the default order is the order date/time, but I'd like results returned ordered by "last modified". Can anyone point me in the right direction? Below is the code used for the transaction search. Thanks!
[PHP]
// Get only sales orders that have not already been transmitted to warehouse.
$aSearchStringCustomField = new nsComplexObject('SearchStringCustomField');
$aSearchStringCustomField->setFields(array( 'searchValue' => '0',
'internalId' => 'CUSTBODYTRANSMITTEDTOWAREHOUSE',
'operator' => 'contains'));
// Order Status
// Get only orders that are in pending fulfillment status (vs. pending approval)
0