Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
Joined search for Sales orders and Transfer orders
I want to search the transactions “Sales Orders” and “Transfer Orders” jointly. The following conditions work fine separately without any problem. I want to join these to make a single call.
Can you help in joining these ?
Thanks.
$transactionsearch = new nsComplexObject(‘TransactionSearchBasic’);
$transactionsearch->setFields( array( ‘type’ => array( ‘operator’ => ‘anyOf’, ‘searchValue’ => “_salesOrder” ),
‘internalIdNumber’ => array( ‘operator’ => ‘greaterThan’, ‘searchValue’ => $last_id),
‘status’ => array( ‘operator’ => ‘anyOf’, ‘searchValue’ => ‘_salesOrderPendingFulfillment’),
‘paymentEventResult’ => array(‘operator’ => ‘noneOf’, ‘searchValue’ => ‘_paymentHold’),
‘customFieldList’ => array ($CustomBodyField1,$CustomBodyField2,$CustomBodyField3)
));
OR
$transactionsearch = new nsComplexObject(‘TransactionSearchBasic’);
$transactionsearch->setFields( array( ‘type’ => array( ‘operator’ => ‘anyOf’, ‘searchValue’ => “transferOrder” ),