Discussions

Check out Oracle NetSuite upcoming events and conferences here
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!
Update your Profile with your Support type to get your Support Type badge.
Don't miss out on our Pop Quiz ! You only have until February 29, 2024, 2 PM ET to comment your answers and earn rewards! Click here for more details.
Discover NetSuite's potential! Join our webinars, learn from experts, and optimize your operations. Whether you're experienced or new, secure your spot today and stay ahead in NetSuite!
Share with colleagues and friends who could benefit from our webinars too!
Don't miss out on our Question of the week! You only have until tomorrow, February 29, 2024, 2PM ET to comment your answers and earn rewards! Click here for more details.

How to retrieve the "items" sublist fields using SuiteScript - N/Search?

edited Jun 19, 2023 1:49PM in Ask A Guru 7 comments

Hello guys!

Hope you all are doing great!

I'm trying to retrieve sublist values using Search module in SuiteScript.

In this example I need to retrieve the "items" sublist fields using the search method. But the 'join' is not working.

Something like that:

``

const pagedPurchaseOrder = Search.create({
      type: Search.Type.PURCHASE_ORDER,
      filters: [["internalId", Search.Operator.IS, 1585660]],
      columns: [
        "tranid",
        "entity",
        "trandate",
        "amount",
        "total",
        "statusref",
        "custbody6", // Forma de pagamento
        "custbody_sit_transaction_l_cond_pagto",
     

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 1 (Jan-Mar 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders