Hi,
I have two BOs. One called Entities and one called Incidents.
Each Entity can have many Incidents and the Incident Number must contiguous for each Entity. For example, each Entity must have an Incident number 1, 2 and 3 etc.
My Entity BO has an EntityCode and a LastIncidentNumber attribute.
My Indicent has an Entity and an IncidentNumber Attribute.
When I create a new Incident the screen has a dropdown combo box for the User to select the Entity which they want to create the Incident for.
As soon as the User selects the Entity, I want the next attribute on the screen (Incident Number) to be automatically updated with the next Incident Number for that selected Entity. Of course, when the record is created, then the LastIncidentNumber for the selected Entity needs also to incremented.
Can anyone please suggest how to do this. I am sure it is drop dead simple but coming from a different environment...I just cannot seem to get it.
Cheers,
Mark
Newbie Stuggling with Rules etc
-
- Posts: 2418
- Joined: Mon Jul 02, 2012 12:24 am
- Location: Ulaanbaatar, Mongolia
-
- Posts: 2418
- Joined: Mon Jul 02, 2012 12:24 am
- Location: Ulaanbaatar, Mongolia