This topic contains 1 reply, has 0 voices, and was last updated by Vesku1980 5 years, 10 months ago.

  • Author
    Posts
  • #17770 Score: 0

    rosse
    • Contributions: 0
    • Level 1

    Can anyone provide a sample code in 2.0 for search custom record?
    This is a cached copy. Click here to see the original post.

  • #17771 Score: 0

    Vesku1980
    • Contributions: 0
    • Level 1

    Hi,

    Here one example.

    var searchId = null;

    var customrecord_gs_ico_search_mapperSearchObj = search.create({

    type: “customrecord_gs_ico_search_mapper”,

    filters: [

    [“custrecord_ico_billing_company”, “anyof”, billingcompany],

    “AND”, [“custrecord_gs_ico_billable_company”, “anyof”, billablecompany]

    ],

    columns: [

    search.createColumn({

    name: “custrecord_gs_ico_search”

    })

    ]

    });

    customrecord_gs_ico_search_mapperSearchObj.run().e ach(function (result) {

    searchId = result.getValue({

    name: ‘custrecord_gs_ico_search’

    });

    return true;

    });

    If you are using chrome you can add chrome add-on called NetSuite Search Export.

    Excellent tool…

    https://chrome.google.com/webstore/s…earch%20export

    Vesku

You must be logged in to reply to this topic.