Hello,
I'm having an issue with transforming a Work Order to a Work Order Completion. I keep getting the error below when I try to set the value of the field, "Quantity to Build" which has the internalid of "quantity". It is a mandatory field on the record, so I need to set it, but I can't seem to set it. The error says it is part of a sublist, but the field in part of the main body of the record. I tried also using a Workflow to transform the record, but I get the same error when trying to set the quantity field.
Thanks for any help.
Error: SSS_INVALID_SUBLIST_OPERATION
You have attempted an invalid sublist or line item operation. You are either trying to access a field on a non-existent line or you are trying to add or remove lines from a static sublist.
Stack Trace: validatePredecessorCompletedQuantity(NLRecordScripting.scriptInit$lib:396)