I’ve got a user event script that looks for subrec...
# suitescript
d
I’ve got a user event script that looks for subrecords like so:
getLineCount({sublistId:'recmachcustrecord_sc_parent_product'});
It works fine when saving an item via the UI, but it returns -1 whenever an item is updated by a csv import. The subrecord type is set to No Permission Required and Allow Child Record Editing is enabled. Any ideas?