Another question: does anyone know if it's possibl...
# suitescript
n
Another question: does anyone know if it's possible to attach files to Inbound Shipment record? I used the code below but got an error: "*Attaching of record type file to inboundshipment is not supported.*" Is my code incorrect, or is it just really not supported? Is there any other way to attach a file to this record type?
Copy code
record.attach({
                record: {
                    type: 'file',
                    id: fileId
                },
                to: {
                    type: 'inboundshipment',
                    id: inbId
                }
            });