Hi is there anyway to add a custom column to the invoices sublist on a payment record i tried
const invoices = form.getSublist({ id: 'apply' })
const noteField = invoices.addField({
id: 'custpage_purchas_notes',
label: 'Notes',
type: ui.FieldType.SELECT
})
noteField.addSelectOption({
value: '1',
text: 'first'
})
noteField.addSelectOption({
value: '2',
text: 'two'
})
this shows up in edit of a old payment , but on a new record it flickers and then disappears on page load