When I try to use record.submitFields to edit regu...
# suitescript
m
When I try to use record.submitFields to edit regular body fields on fulfillment requests, I get an error saying “You must have at least one valid line item for this transaction”. The fulfillment requests have valid line items and record.load().setValue().save() works. Does anybody know why this might happen? I just got the same error trying to inline edit a fulfillment request in a list in the UI, while editing and saving works fine.
b
the usual is that your inline edit is triggering a user event script that is not designed to work with inline edits
m
that was a good idea but I tried inactivating all user event scripts and workflows on the record type (sandbox environment) and the error is still there. any other ideas as to what could be causing it?
b
nope, try support next
m
alright thank you