Hi all,
I am trying to "attach" a Sales Order to a Support Case using Suitescript 2.0.
record.attach({
record: {type: record.Type.SALES_ORDER, id: '11111'},
to: {type: record.Type.SUPPORT_CASE, id: '22222'}
});
Getting error
errorMsg: "{"type":"error.SuiteScriptError","name":"SSS_INVALID_ATTACH_RECORD_TYPE","message":"Attaching of record type salesorder to supportcase is not supported.",
Is record.attach the correct approach to achieve this?
What other options do I have?
Thanks