You need to sign in to do that
Don't have an account?
rvg170550
Solved ! Modify "Name"-field in "Before Insert trigger"
trigger Before_Insert_Special_Event on SFDC_Special_Event__c (before insert) {
for (SFDC_Special_Event__c se : Trigger.New)
{
se.Name = se.MCE_Product__r.Name;se.Description__c = se.Workshop_Name__c;
}
}
Instead of uning Autonum, I want to structure my "Name"-field myself. Unfortunately, it doesn't work the way I code it.
I want to combine in Name, a data field and a sequence, but even filling it with an existing column doesn't work. Since the field is not filled manually, the system says : "You have to fill the Name-field". Description-field works properly.
Could someone give me a hint, to solve this problem ?
Thanks