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
mbrewer
10/11/2024, 7:55 PM
capitalize the T in type for record.Type
mbrewer
10/11/2024, 7:56 PM
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