PNJ
02/03/2021, 6:05 PMmemo
field on the transaction. It works just fine. Now introduce a UserEvent script that does modifications to a custom sublist on the transaction. The problem is that the UserEvent script cannot see the custom sublist & it is causing the script to fail.
I have modified the problematic script so that it does a getSublists()
to dump which sublists it can see on the transaction, and it cannot see the sublist in question. customform
is correct, and matches the form used when performing the same action in the UI. I have granted the role we use for SOAP to another user & they can do this update OK in the UI with no errors.
I saw suiteanswer 37225 regarding web services caching issues & have performed a request using another role to make sure that it isn't a caching issue. I've also tried setting the UE to execute as Administrator. The role we're using has FULL permission on transaction, FULL on all involved custom records, FULL on Lists->Custom Record Entities.
I'm obviously missing a trick here, anyone got any insight as to how I can even begin to progress on this? Note that I do actually require this sublist to be accessible as part of the next bit of work, so just excluding the script from the execution context is not the solution :)PNJ
02/03/2021, 6:54 PMdynamicl
02/04/2021, 4:43 PMPNJ
02/04/2021, 4:45 PMdynamicl
02/04/2021, 6:43 PMPNJ
02/08/2021, 3:51 PMPNJ
03/04/2021, 10:08 AM