Keith Weaver
08/24/2022, 4:58 PMrecord.attach({
                        record:{
                            type: record.Type.CONTACT,
                            id: contactId
                        },
                        to:{
                            type: record.Type.VENDOR,
                            id: context.request.parameters.custpage_venid,
                            attributes: {
                                role: '-10'}
                        }battk
08/24/2022, 5:16 PMbattk
08/24/2022, 5:16 PMKeith Weaver
08/24/2022, 5:40 PMKeith Weaver
08/24/2022, 5:54 PMto:typeidrecord.attach({
                        record:{
                            type: record.Type.CONTACT,
                            id: contactId
                        },
                        to:{
                        type: record.Type.VENDOR,
                        id: context.request.parameters.custpage_venid
                    },
                            attributes: {
                                role: -10}
                    })