>>I can send the ExecuteEvent method code of my ImportCompanyData object in a >few days if it will help. I just need to document it < g >.
>
>That might be helpful, if you get the chance.
>
>>
>>As far as business rules: I have not worked with them yet, but I think like >you do that they are primarily concerned with data validation, like:
>>
>>- You can't have an empty customer name.
>>- Make sure the customer's sate is in the states table.
>>- If a customer's credit limit is $500, and their purchase is $600, warn the >operator.
>
>The rules you mention... i like to group them in with data rules. Which seem to belong in kbizrules or in the data engine.
>
>The rules i'm questioning the placement of are more like :
>- calculation of sales commission
>- setting a companies credit rating
>- determining the value of an account
Calculating a commission is tough. I have found that it's better to do that at month end. That way those kooky sales mgrs can set up any type of policy and you can get it right for payment time, not sales time.
__Stephen