Amicus Point of Sale and Business Management System Logo
Neotechnology Business Systems contact number - 1300880048 and NBS logo

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



Blog Archive

September 2010
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
262728293012

Latest news