The "People" and "Organisations" BusinessObjects
All the data you add to your Oria App is added using BusinessObject data-tables that are stored in the database. An empty Orixa system contains a small number of Business Objects which have been added partly to demonstrate how the system works, but also because they are needed in virtually all Orixa Apps.
"People" and "Organisations" are two such BusinessObjects. Data-tables with a minimum number of data-fields and behaviours have been added to all Orixa Apps for holding data about People and Organisations. These can be extended and customized as per the needs of any App.
If your App includes BusinessObjects such as Customers, Suppliers, Staff, Users, Farmers, Clients etc., etc. These are likely to be added to your App as "Extensions" of the People and Organisations BusinessObjects.
How the People and Organisations BusinessObjects appear in a typical Orixa System
People Edit Form |
Viewing one record in for a person in an Orixa App. Note the toolbar at the top of the screen contains many options, which are described in the "Editing Data" help document. That is a sign that this App has been developed. An additional tab for "Staff" can be seen. This indicates that an "Extension" BusinessObject for Staff data has been added to this App. Note at the bottom of the screen summary data is also visible. |
Organisations Edit Form |
Viewing one record for an Organisation in an Orixa App This has very similar extensions and additions to the "People" edit window shown above. Note that the Organisation Business Object includes a WebsiteAddress edit, which is added as a decoration to the data-table. |
Altering and extending the People and Organisations BusinessObjects
If you want to learn how to extend and develop Orixa Applications read the following short introductions to how the People and Organisations BusinessObjects are created in the App, and how to extend them.
If you are only interested in using you App (not extending or developing it) this section is not really relevant.
People Organisations Data Modeller |
This image shows the People (1) and Organisations (2) BusinessObjects displayed in the Orixa App DB-Modeller. Here you can see all the data-fields in each data-table, and (if you look carefully) you will see that each field in the table is represented int he Edit-Forms above as a data-edit, with particular properties and character depending on the decoration and constraints on the each BusinessObject. Please review the help topic on the DB-Modeller for more about how to use it to extend a BusinessObject. Note that to extend a data-table in Orixa all that is needed is to run a SQL script such as: ALTER TABLE People ADD COLUMN "Memo" VARCHAR(200) Once this is done a new "Memo" field would appear in the Edit Form. Of course there is a lot more complexity to the process than this, new data-columns can be "constrained" with a relationship to another data-table, or they can be "decorated" with additions that alter how they appear, whether they are read-only etc., etc. |
Organisations Business Object record |
This image shows the BusinessObjects grid in Orixa
If a new field is added to the BusinessObject and you want it to be shown in your Orixa App, you would simply add a reference to it in one or more of the BusinessObject Script fields. More information about this is found in the help topics on extending and developing your Orixa App. |