I have a custom field on an Item Fulfillment that ...
# suitescript
n
I have a custom field on an Item Fulfillment that references a Journal Entry. I would like to prevent deletion of the Item Fulfillment if there is a journal entry attached. Is there an easy way to make the entry a dependent of the IF?
w
Before Submit UE that check: if (context.Type === ‘delete’) throw error.create(‘JE Ref Exist’);
n
I was hoping to avoid showing the user a suitescript error page
I would rather show them the dependent records error