Saved Search to CSV via Netsuite Suitescript

Поделиться
HTML-код
  • Опубликовано: 21 янв 2025

Комментарии • 14

  • @akshatjain7188
    @akshatjain7188 День назад

    I want to get the Saved Search Data to the external application like AWS/Azure/postman using RESTlet API. How can I do that?

    • @shobipersonal
      @shobipersonal  21 час назад

      Well, there are two possible approaches : If you want to pull the data from nertsuite then you can use Rest Api , you can get the step by step detail from chat GPT or any publicly available AI tool , other options is to push the data from Netsuite to AWS/Azure then you can setup a mapreduce or scheduled script to call the AWS API or custom lambda function to push the data. Let me know if you need further assistance.

  • @monikaphalle9174
    @monikaphalle9174 3 года назад

    Why mainline true in saved search? And how we can read data in that excel file using Suitscript?

  • @daviddjkedbek-ultra
    @daviddjkedbek-ultra Год назад

    is there a way to keep refreshing the data within the same file using the same script?

    • @shobipersonal
      @shobipersonal  Год назад +1

      Keeping the same file name at same path will overwrite the data.

    • @daviddjkedbek-ultra
      @daviddjkedbek-ultra Год назад

      Thanks for the quick turnaround @@shobipersonal it worked as mentioned only having an error when running the scheduled version (ReferenceError: "require" is not defined) have you encountered this? is there a quick way to update the .js to correct this

    • @shobipersonal
      @shobipersonal  Год назад

      @@daviddjkedbek-ultra need to check your code, how are you loading the libraries ? In script it should be define instead of require.

  • @oscarsagales5157
    @oscarsagales5157 2 года назад

    Good Video!
    You can edit savedSearch filters with this method:
    const indexOfSearch = search.filters.findIndex(object => {
    return object.name === 'internalid';
    });

    if(indexOfSearch >= 0) search.filters.splice(indexOfSearch, 1);

    search.filters.push(n_search.createFilter({
    name: 'internalid',
    join: 'invoice',
    operator: 'anyof',
    values: record.id
    }));
    search.save();

  • @obamania2009
    @obamania2009 8 месяцев назад

    how come you didn't include the code?

  • @pranjalikhadse326
    @pranjalikhadse326 3 года назад

    when I try the exact code it gives me error SSS_MISSING_REQD_ARGUMENT. Do you know how to resolve it

  • @its_me_N_I_H_A_L
    @its_me_N_I_H_A_L 3 года назад

    if my result is more than a million rows then is that work?

    • @shobipersonal
      @shobipersonal  3 года назад

      Haven't tested, but it has file size limit as per file cabinet.