Creating a credit memo in SS2 and getting this error when setting entity
var cm = record.create({type:record.Type.CREDIT_MEMO,isDynamic:true}); cm.setValue({fieldId:'entity',value:1213}); Don't get to .save() and get the errorI ran a search on Script Deployment where Record=Credit Memo and found 2 user events and one client script. Marked them un-deployed to no availI should add error occurs when setting entityAny ideas?