on 07-22-2008 2:59 AM
Hi,
I have gone through the business rules concept in Admin guide, but did not understand much, It was not given how each property will be used in sp? and why we are using that property ?and so on...
Does any 1 have clear documentation on Business rules concept?
Any help will be greatly appreciated.
regards,
Kranthi
Dear Kranthi,
I am going to make it short because business rules can be really simple. (some a bit more complicated than others
To create or add business rules to an application you need to go on the properties of the Application.
Once the BR is created you need to add the rules in it.
After its creation, you need to "call" it from the logic...
An example:
So would like the amounts of some accounts to be transfered to other accounts... in my example you will create the account A1000 to go directly to A2000
First:
You need to add an account transformation rule into your application. To do so, Click the Application then the "modify application" the select "Change App type", here do not change anything and click next directly. Then you will arrive on the window where you can add the "account transformation" rules... Click modify..
Second:
go to the BR of your app and select account transformation.
in Parent put the name of a group you wanna give: "TEST"
in Source you put A1000
Flow not needed for the test... (if you have some flow you can try
Source data source Nothing
Destination account A2000
All the rest is empty
Then Validate your BR
Third:
Add this in your logic:
*RUN_STORED_PROCEDURE=SPRUNCALCACCOUNT([%APP%], [%Category_Set%], [LC], [%SCOPETABLE%], [%LOGTABLE%],[TEST])
*Commit
As you can see you need to put the TEST at the end.
Running this logic should do the job...
I know it is a pretty simple example but i wanted to keep it simple! You can have a look at the book from Alwin now...
Nic
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kranthi,
I have some extra documentation dated from the V4 days. This documentation has some more detailed information than the recent one.
I also have a document that I wrote myself about a specific database setup including some number examples.
Please drop me an email if you want this.
Alwin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.