record.delete({type: record.type.CUSTOMER_DEPOSIT,...
# suitescript
s
record.delete({type: record.type.CUSTOMER_DEPOSIT, id:3485255}) I'm getting the Record type CUSTOMER_DEPOSIT is invalid. I tried with ', also no record type, etc.... What am I doing wrong ?
m
capitalize the T in type for record.Type
if you've got that already and the case in your snippet is just a typo, confirm that id is actually the correct internal id of the customer deposit
s
That was it. Thanks a lot
m
np!