
XAFGrid
My current problem:
I have a web app constructed using Dev Express v8.3 that is used to create customer licences for a POS (Point Of Sale) System Amicus, and I would like to include a grid display in one Domain Object that is populated by two other Domain Objects.
The model can be described as follows;
The first object is a customer registration object. It holds key information about a registration such as expiry date, customer, registration name and number etc.
The second object is a list of licence types used by Amicus (Such as Restaurant, Cafe, Retail, Fuel etc).
The third object is a licence record which is essentially a linking table between the two. A registration may contain 0 to many licence records, but the licence records assigned to a registration must point to unique licence types. This table also contains information on the quantity of licences of a type that belong to the registration (I.e. registration for customer ‘A’ may have 5 Restaurant and 4 Cafe licences, but customer ‘B’ cannot have two licence records where the first links to a Supermarket and the second also links to a Supermarket licence).
Currently we have to navigate to the licences tab, and create individual records for each licence type we want to link to a registration, but seeing as there are only currently about 10 licences, and this is likely to never exceed 30, we would like to display all available licences on the registrations tab in the form of a grid.
With this approach we would be able to quickly and easily look down the list and simply allocate a qty for each type required. If a qty is chosen (I.e. greater than 0), then a record should be inserted in the licence table for the licence type and customer registration with the given qty. Similarly, when editing a registration, if a qty is altered, then the new value should be saved back to the applicable record, with the exception of 0 where the record would be deleted.
I am currently searching DevExpress articles to see how this can be achieved, and have also sent them a question, but if anyone knows how to achieve this, it would be greatly appreciated.
Dave
- David's blog
- Login to post comments
Blog Archive
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| 29 | 30 | 31 | 1 | 2 | 3 | 4 |
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 1 | 2 |
Latest news
- 10 September 2010
New authorised Amicus partner Croft's IT has completed their first nursery install for the read more
- 23 August 2010
Neotechnology Business Systems have joined Clubs NSW as a Premium Industry Supporter!
- 20 August 2010
Two systems that any business will benefit from having is a point of sale system and an accounting system.
