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.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Community Poll: What sort of content would you like to see more of?

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 2 (Apr-Jun 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders