The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
New Account - Type Field AutoSet
Posted: 30 Jun 09 9:47 AM
|
When you hit new Account or New Account/Contact, the Type field and the Status field are autoset to picklist values. I assumed this was set in c# code somewhere but I can't for the life of me figure out where. (I'm trying to change what values these are autoset to).
Any help would be appreciative. Thanks in advance. |
|
|
|
Re: New Account - Type Field AutoSet
Posted: 30 Jun 09 10:26 AM
|
The code used to be on the OnLoad event (on 7.2) but on 7.5 it is on the OnCreate Business Rules (for the Account and Contact Entitties). You should be able to add it onto the OnLoad event of the page, or create your own Busines Rule that runs after SLX rules to override the values.
|
|
|
|
Re: New Account - Type Field AutoSet
Posted: 30 Jun 09 10:42 AM
|
So there is no way to edit the default onCreate rule then correct?
Is there a way to remove it from executing all together (rather than overriding it with my own code)? |
|
|
|
Re: New Account - Type Field AutoSet
Posted: 30 Jun 09 10:53 AM
|
You could remove the Rule from the Entity Definition.
And, off course, you could write your C# snippet (or even put it onto your own DLL) and add it to the Entity.
|
|
|
| |
| |
|