You need to sign in to do that
Don't have an account?
sfdclive
trigger help
Hi,
Iam very new to salesforce please help me for the below senario, please its urgent.
I have an opportunity object which have record types opportunity a, opportunity b, when ever i choose the price book for opportunity a record type, then in product it shows the opportunity a in one custom field, for that i created a picklist field on opportunity
please help how to write the trigger for it, on which object we should write the trigger
regards
sri
Hi sfdclive,
I think you said product should be OpportunityLineItem. If it's, please see code below.
Please let me know if you have any questions.
Thanks,
Samba
All Answers
You need to create a RecordType__c field in the Opportunity object.
Thanks,
Samba
Hi,
I should display the record type in product not in opportunity.
regards
sri
I know. I will change my code.
Thanks,
Samba
Hi sfdclive,
I think you said product should be OpportunityLineItem. If it's, please see code below.
Please let me know if you have any questions.
Thanks,
Samba
Hi samba,
Thanks alot for ur help;
but here my problem is i need to display the custom field in product object not in opportunity product object
regards
sri