And one more WFA script-related question: Is there...
# suitescript
m
And one more WFA script-related question: Is there a reason that some sublists would be available in a UE afterSubmit context when importing via CSV, but not in a WFA afterSubmit context when doing a CSV import? I have a UE script with an afterSubmit function that works perfectly fine in all contexts, including CSVs. I was asked to convert it into a WFA script, but then the sublist I'm editing can't be found when importing via CSV, even when executing after submit. (Most sublists are there, though a couple others are also missing) EDIT: It looks like the missing sublists are all custom child records (their IDs all start with
recmachcustrecord
).
n
You may need to perform a search for those child records based on the parent id.
m
Thanks @NElliott, I appreciate the help. Unfortunately, I need to create/edit the child records and not just grab data from them. I've told my manager that we just need to go with the UE script for now unless/until I can figure out how to get the WFA script to work in all contexts.