Hi everyone, I have very "challenging" issue. I cr...
# suitescript
s
Hi everyone, I have very "challenging" issue. I created custom sublist (type:List > which means that it is static) via N/ui/serverWidget Module, but I cannot find the way to update it via client script = UI. The behavior of the sublist should be similar to open invoices sublist in customer payment transaction, when each time user change customer field, open invoices list updates automatically. I believe that there should be solution as this action works on payments transaction.
b
s
??
b
read the documentation behind the link
s
I read, but still don`t understand. For example (my case is more comlicated) if I need that user will see last 5 invoices when he create new invoice. First of all I create sublist via user event script (this sublist will have only columns names, as customer is unknown in beforeload), then new invoice is uploaded. After that, user select the customer and I need to find a way to update the sublist via clientscript. curentRecord module doesn`t provide any solution for it
b
what does it say about static sublists
s
But I don`t get something. In customer payments, open invoices list is also static, but each time when I changing customer name or customer currency the list is updated. So there should be some way to update even static list 🤔
n
I think what you're seeing is the list being rebuilt not altered. I'd guess the page is reloading.
b
netsuite does not use suitescript to build its ui
do not expect suitescript to be able to do everything you see in netsuite