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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
SearchRecord SearchFilter Join
Dear support,
How can I make Search Record with detail.
Like SalesOrder with Item.
I make some record Form,
customrecord_promo_discount as Parrent
customrecord_quantity_item as Child - Field custrecord_qty_item
var filters = [new nlobjSearchFilter('custrecord_pd_customer', null, 'anyof', 21634) , new nlobjSearchFilter('custrecord_pd_valid_from', null, 'onorbefore','16/7/2012') , new nlobjSearchFilter('custrecord_pd_valid_to', null, 'onorafter', '16/7/2012') , new nlobjSearchFilter('custrecord_qty_item', 'recmachcustrecord_qty_promo_discount', 'anyof','2809') , new nlobjSearchFilter('isinactive', null, 'is', 'F')]; var columns = [new nlobjSearchColumn('custrecord_pd_customer') , new nlobjSearchColumn('custrecord_pd_valid_from') , new nlobjSearchColumn('custrecord_pd_valid_to')]; var results = nlapiSearchRecord('customrecord_promo_discount', null, filters, columns); 0