You need to sign in to do that
Don't have an account?
Sales Force FRM
How to invoke trigger on custom object under Opportunity
Hi Folks,
I have created a custom object say "ABC" (App Setup-->create-->Objects) and this object is under Opportunity now i want to invoke a trigger on this ,How to do this, suggestions welcome. My trigger on custom object "ABC" is as follows:
trigger ARPTrigger on ABC(after insert) {
}
The above one generated following error:
Error: Compile Error: Invalid SObject type name: ABC at line 1 column 23
Regards,
Rajeshwar.
I have created a custom object say "ABC" (App Setup-->create-->Objects) and this object is under Opportunity now i want to invoke a trigger on this ,How to do this, suggestions welcome. My trigger on custom object "ABC" is as follows:
trigger ARPTrigger on ABC(after insert) {
}
The above one generated following error:
Error: Compile Error: Invalid SObject type name: ABC at line 1 column 23
Regards,
Rajeshwar.
When we create a trigger on standard objects, it works well.
Can you please make sure that the newly created custom object has been deployed into SalesForce.com environment.
I just found this and checked "Deployed" checkbox and now i am able to invoke a trigger on custom object
Please let us know if you have any queries.
Thank You,
Vishall
http://community.salesforce.com/sforce/board/message?board.id=general_development&message.id=18955
http://community.salesforce.com/sforce/board/message?board.id=apex&message.id=4983
Regards,
Rajeshwar.