Fieldpine Logo Documentation Home  

The retail system primarily uses a distributed mesh database. The mesh database is ideal for the applications purpose, but a relational database output is often easier for external reporting and interfacing. The system therefore supports a model of transparent writethrough to SQL tables.

The illustration shows the broad structure of the system. It is showing the "Locations" data, but this layout is similar for all data. The locations table is used throughout for explanatory purposes.

At the top of the illustration, users interact with the locations data via the Retail application, web pages or any application that uses the eLink API. This API offers full read/write access from any authorised node/application in your network

The locations data is stored in the Mesh database. This database includes the ability to stream output to SQL tables. As records are changed in the mesh database, the SQL table is updated. See Mesh Technical Details for more information about the mesh layer.

There are several types of SQL tables you can optionally create. Simple "current" data or more complex time based log of all changes.

Highlighted Point #1 is where you would add more columns to capture additional information, such as colour of building or postal address. See the tab "Storing Data" for more information

Highlighted Point #2 allows you to control what data the mesh layer writes to the SQL tables. The mesh database has large limits on number of columns, and you do not need to define a SQL column for every fact recorded. If the column is present in the SQL table, mesh will maintain it. See "SQL Tables" tab for more information

As SQL tables are often created a normalised form, the mesh layer also maintains a number of Reference Data tables that you can join too