Hi,
using MM.NET 3.6, C#, VS 2008, ASP.NET.
I'm working on a business process and struggling a little with getting things right.
This is a daily process that runs on an Insurance Administration system. It checks each active (in force) policy:
1. check if a premium is due within a certain number of days, create the reminder if it is
2. check if a premium payment is late, if so create late notice
3. check if a policy is lapsed, if so, see if a payment can be taken from the cash value (if so create a Receipt and a Policy Loan), if not create a lapse notice.
So the BOs involved here are:
PolicyHeader
Policy
PolicyLoan
Receipt
ReceiptDetail
and I RegisterBizObj these in the DefineParticipatingObjects()
Is there a way to specify parent and child biz objects? Or does that not matter here?
What I do next is get an entity list of all the active PolicyHeader Entities and process each one checking if premium is due, etc.
In this processing I change entity values and add in new PolicyLoans or Receipts as needed. Do I then call a business process save method, or save each individual entity?