Hey all, I have a script that is using record.attach at try and attach credit memo to sales orders, however I am getting the error 'Attaching of record type creditmemo to salesorder is not supported', is there any way to attach these records together via script?
b
battk
07/28/2022, 2:25 PM
no, the record.attach is the equivalent if clicking the attach button on the record
battk
07/28/2022, 2:25 PM
no attach button means not supported
l
Logan Ickert
07/28/2022, 2:54 PM
How would I go about making a credit memo appear in the related records of a sales order?
b
battk
07/28/2022, 2:58 PM
you dont
battk
07/28/2022, 2:59 PM
best you do is relate the credit memo to the invoice