You need to sign in to do that
Don't have an account?
chanti k
i need update currency is Pound , when country is set to uk
HI,
i need update currency is Pound , when ever i can set country is set to uk,
how to i can achive this by using this triggerr
Thanks,
Chnati
i need update currency is Pound , when ever i can set country is set to uk,
how to i can achive this by using this triggerr
Thanks,
Chnati
Try like below:
trigger Updatecurrency on User (before insert, Before Update)
{
for(User u:trigger.new)
{
IF (u.country=='UK')
{
u.DefaultCurrencyIsoCode='GBP';
}
}
}
Thanks