[ESS] How Do I Display NetSuite Search Results in a Suitelet?

Поділитися
Вставка
  • Опубліковано 20 гру 2024

КОМЕНТАРІ • 33

  • @nebulalad523
    @nebulalad523 11 місяців тому

    Absolutely awesome. Many years old but still relevant today. 🙏

    • @StoicSoftware
      @StoicSoftware  11 місяців тому

      Thanks for the kind words! Glad you found it helpful.

  • @jlarance1
    @jlarance1 7 років тому +2

    Thanks! I enjoyed the subliminal storm trooper at 9:27, but it left me feeling a little like I should subjugate.

  • @marcdeguzman6496
    @marcdeguzman6496 Рік тому +1

    Awesome tutorial :) by the if I may ask, is it possible to make the list dynamic? Like can we add a Radio button or select field to the column to update the data? Thanks!

  • @frankchiuppi
    @frankchiuppi 7 років тому

    Great video. Really enjoyed your workflow!

  • @kevinryankhan
    @kevinryankhan 5 років тому +3

    How would one go about adding filters to this suitelet to filter the rows in the list?

  • @rickthewilliams
    @rickthewilliams 4 роки тому

    Great overview.
    How would you go about adding column Totals.
    (e.g. Total count of Cases, or if there were values to sum, the Sum in the relevant column)?

    • @StoicSoftware
      @StoicSoftware  4 роки тому +1

      Lots of ways to go about this. Sublists have a "Totalling Column" you can leverage which works similar to the way Transactions will show the total amount of the Items sublist on the sublist tab. There's not a good native way to visually distinguish any row from any other. If I needed a full row of totals or several total values, I'd likely put them in body fields within a field group above the list, below any filters or other fields.

  • @gunasekhar6522
    @gunasekhar6522 7 років тому

    Thanks for sharing your knowledge

  • @pradeepchoudhary7326
    @pradeepchoudhary7326 2 роки тому +1

    Please share the source code in the description too since it's easier to check as to where and what needs be done and changed.

  • @eboal2
    @eboal2 6 років тому +1

    Thank you Eric!

  • @pjl3dm
    @pjl3dm 5 років тому

    Hello Eric,
    Would it be possible to add real-time filters to the sublist (just like in the saved search where you select filters after running the search)?

    • @StoicSoftware
      @StoicSoftware  5 років тому +1

      Sure you can add your own fields to the Suitelet page that act as filters. General approach is to add the relevant fields to the Form, then use the Submit button to POST back to the Suitelet. In your POST handler, read the values from the filter field to reconstruct the search that populates your sublist with the appropriate filter values.

    • @pjl3dm
      @pjl3dm 5 років тому +1

      @@StoicSoftware Thats what Im actually doing right now, I thought there was a way to implement the native look and feel of the saved search filter region (with the cool date selector and all). Guess thete isnt an easy way.
      Thanks!

    • @grubes34
      @grubes34 5 років тому +1

      @@pjl3dm Yeah unfortunately that's the best option we have. Apparently there is a major overhaul of the UI API coming some time in the near future, but I don't have any details on it yet.

  • @AlwaniAkber
    @AlwaniAkber 3 роки тому

    How I have suitlet to take input and return data on same form, instead of going to other forms

  • @pratyushsood
    @pratyushsood 7 років тому

    Really like your work

  • @dilippalani151
    @dilippalani151 7 років тому +1

    How to add Mark all and Unmark all in Suitelet for list in 2.0

    • @StoicSoftware
      @StoicSoftware  5 років тому +1

      Check the Help documentation for the Sublist object; there is an `addMarkAllButtons` method. There is not one for the List object, so you'd have to make your own custom button to mimic the functionality.

  • @malikehsan147
    @malikehsan147 4 роки тому

    how to add total count at the rightmost of list navbar?

  • @nguyenky6307
    @nguyenky6307 4 роки тому

    I would like make a form for searching item request slips and allow user can select result on multi rows then click "Generate PO" button. There 2 buttons Search and Generate PO. Can suitelet resolve it?

  • @AlwaniAkber
    @AlwaniAkber 3 роки тому

    It was a great video, I need some help in Suitelet development this is something not easy but kind of hard, How I can reach out to you?

  • @Acetilamino
    @Acetilamino 6 років тому

    Thanks Eric for sharing! I'm kind of new here and I have an issue with the map function. Does not work for me. My saved search is not not as simple, I have joins and formulas :( Do you have any clues please? Thanks

    • @StoicSoftware
      @StoicSoftware  6 років тому +2

      The `getValue` function has a `join` property you can lean on to retrieve your joined values. Formulas are more complicated, particularly if you have more than one formula of the same type. I do have cookbooks that provide a ton of examples for working with the Search API, including joins and multiple formulas: stoic.software/cookbooks/.

  • @olakunle5139
    @olakunle5139 2 роки тому

    You are my Hero

  • @harambeftw8363
    @harambeftw8363 4 роки тому

    Question: The map(resultToObject) worked fine a few months ago, but now visiting this I am getting " Cannot find function map in object search.ResultSet. " Did something change with the newest update to Netsuite?
    Also, great videos!

    • @StoicSoftware
      @StoicSoftware  4 роки тому

      Would have to see your code, but it looks like you're invoking `map` on the `ResultSet` rather than on an Array of `Result` instances (e.g. the output of `getRange()` ). It's likely you just missed a single step/call in your code.

    • @harambeftw8363
      @harambeftw8363 4 роки тому

      @@StoicSoftware Queue Bette Midler "You're my hero." Was as you said, was invoking on ResultSet. Sigh. *head shake*
      On a positive note: your search cookbooks are great. Keep them coming, I'd be willing to pay for more and I would say others too since you are the only reliable resource on SuiteScript I have found.

  • @alvinabat
    @alvinabat 4 роки тому

    how do you handle ss governance? suitelets only have 1000units 🥺

    • @StoicSoftware
      @StoicSoftware  4 роки тому +2

      Suitelets are not built for bulk processing. If you are using a Suitelet as a front-end for a larger process, then the Suitelet only needs to pass the relevant data along to a Map/Reduce.

    • @alvinabat
      @alvinabat 4 роки тому

      Stoic Software thank you for your insight.