2/19/2025 6:59:05 PM
|
|
slxdeveloper.com Community Forums |
|
|
|
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!
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
|
|
|
|
Questions about Business Rules Methods
Posted: 10 Nov 07 7:54 PM
|
Looking at the existing business rules methods, the Primary Step appears to be alreay defined, but is not editable. What is the purpose of the definition if it can't be edited? I want to specify that Account.CanChangeOwner returns false, but don't know how to get at whatever code is behind the definition.
Another question: I also want to create an Account.CanChangeAccountManager business rule. My question is how do I associate the rule with a change in the AccountManagerId field? Thanks.
Dan |
|
|
| |
|
Re: Questions about Business Rules Methods
Posted: 12 Nov 07 8:12 AM
|
RJ,
In the "Pre" part, any ideas how you cancel the event if it doesn't meet certain criteria? i.e. the account event onDelete I'm playing arround with session.Transation.Rollback(); but no joy
Thanks DC |
|
|
|
Re: Questions about Business Rules Methods
Posted: 12 Nov 07 5:01 PM
|
I don't think you can do this in the pre step, as there is no Boolean to return to the caller, but not sure. I've tried playing around with adding another primary step, and adding a post step. My results have been inconsistent, so I need to test further.
My question still stands on associating a Business Rule method with an entity column. How do you do it? With AA out of the box, you appear to get a few CanChange... methods, but certainly not covering all the columns in the table. I'm sure these are just examples, but the $64 question remains as to how you expand this set.
Dan |
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|