You need to sign in to do that
Don't have an account?
ECorona
Event: Updated Related record in account
Hi! I'm looking how i can writte a trigger to do this:
In my accounts, i have a lookup field to object B, this field is not master-detail.
When i schedule a meeting in my account, i want to update a datetime field in object B.
I'll really appreciate your ideas!
In my accounts, i have a lookup field to object B, this field is not master-detail.
When i schedule a meeting in my account, i want to update a datetime field in object B.
I'll really appreciate your ideas!
I trust you are doing very well. It is a pleasure to be in touch with you again.
Please try the below code. Kindly modify the code as per your requirement.
Parent sObject : Test1__c
Field (DateTime) : Dt__c
ChildsObject : Account
Field (DateTime) : Schedule__c
Lookup (Test1__c) : Test1__c
Trigger:
I hope it helps you.
Kindly let me inform if it helps you and close your query by marking it as solved so that it can help others in future.
Thanks and Regards,
Khan Anas
All Answers
I trust you are doing very well. It is a pleasure to be in touch with you again.
Please try the below code. Kindly modify the code as per your requirement.
Parent sObject : Test1__c
Field (DateTime) : Dt__c
ChildsObject : Account
Field (DateTime) : Schedule__c
Lookup (Test1__c) : Test1__c
Trigger:
I hope it helps you.
Kindly let me inform if it helps you and close your query by marking it as solved so that it can help others in future.
Thanks and Regards,
Khan Anas
I owe you a beer