Hi All, I need to create a `customer refund` via ...
# suitescript
m
Hi All, I need to create a
customer refund
via
SuiteScript 2.0
. However, when creating a customer refund, you need to apply one or more transactions to it. This works fine when doing it trough the user interface, as NetSuite loads the transactions you can apply the customer refund to. How would you do this using SuiteScript, given that once a customer refund is being created (
record.create
), the
apply sublist
has zero entries? I don’t seem to be able to apply anything via SuiteScript and I also cannot save the transaction without anything applied. Thanks
b
You can also use Dynamic Mode, though in my experience that doesn't work if the number of sublist rows exceeds the limit
m
thanks @battk -- I'll direct message you
c
Best to keep these things public so others can learn?