<@UHQFWH30Q> Try this. I have updated a few things...
# suitescript
k
@David Durst Try this. I have updated a few things in your map.
I’m not sure if your custitem_cc_brand is a record or just a field. so your may need to update to data.values.custitem_cc_brand[0].value
Also i have commented out your record.load stuff so that the MR runs quicker.
Let me know how you get on.
d
Found my error!
var itemId = data.values["iternalid"];
k
TBH i wouldnt use that i would do what i did in the file above and do data.id
šŸ‘ 1
as the record type and id get passed through context anyway.
šŸ‘ 1