updating customer credit hold check based on customer profile class through trigger
Hi Gurus,
I've requirement where I need to update credit hold to Yes (Y) if the customer profile class selected is 'No Bill To'. I've written a trigger 'Before Insert on hz_customer_profiles'
and on checking the customer profile class I'm updating
:new.credit_hold:='Y'.
Please suggest if it's ok to do it this way in insert case or I need to do it through an API.
I've requirement where I need to update credit hold to Yes (Y) if the customer profile class selected is 'No Bill To'. I've written a trigger 'Before Insert on hz_customer_profiles'
and on checking the customer profile class I'm updating
:new.credit_hold:='Y'.
Please suggest if it's ok to do it this way in insert case or I need to do it through an API.
0