Craig
03/20/2024, 2:08 PMfunction unlinkBankDetailsRecord(recordId) {
try {
record.submitFields({
type: 'customrecord_2663_entity_bank_details',
id: recordId,
values: {
custrecord_2663_parent_employee: ''
}
})
} catch (e) {
log.debug('Error unlinking parent record', e);
}
}
This code removes the bank details from the record (I think it's from the payment processing bundle); anyone know why it removes the fields and if the data from the fields exists anywhere else?Anthony OConnor
03/20/2024, 3:13 PMAnthony OConnor
03/20/2024, 3:14 PMAnthony OConnor
03/20/2024, 3:14 PMCraig
03/20/2024, 3:15 PMCraig
03/20/2024, 3:15 PMAnthony OConnor
03/20/2024, 3:19 PMCraig
03/20/2024, 3:20 PMCraig
03/20/2024, 3:20 PMCraig
03/20/2024, 3:20 PMAnthony OConnor
03/20/2024, 3:21 PMAnthony OConnor
03/20/2024, 3:21 PMAnthony OConnor
03/20/2024, 3:21 PMAnthony OConnor
03/20/2024, 3:22 PMCraig
03/20/2024, 4:02 PMCraig
03/20/2024, 4:03 PM