Mobile pages

The Version 7 web client is able to operate on a mobile phone using a dedicated design to the mobile web browser.

Although the technical repository is exactly the same, the navigation and the behavior of the mobile pages are slightly different.

This document details how mobile pages work.

NOTE THAT THE SCREENS MAY DIFFER BASED ON THE BROWSER USED.

The first connectionNavigation principlesCurrent operationsCurrent operations
Input widgets availableGrid managementDisconnected mode and drafts managementTemplates management

The first connection on a mobile page

URL to be called

As in any web application, the Sage X3 mobile dashboard requires to open a web address on the device browser. If the web server you connect to is called mywebserver with, for example service 8124; the URL to be opened will be:

http://mywebserver:8124/syracuse-mobile/html/mobile.html#start

This URL opens the portal dedicated to mobiles on the web server.

After the first connection is established, you can create shortcuts to this URL to obtain direct access to the functions.

Initial setup

The first time users connect through a smartphone, this page will be displayed to allow users to enter their credentials.

Application installation

When the connection is set up, the next step is to install the applications. An application is defined on the administration server as a mobile dashboard.
The installed application will appear on the mobile phone, and a user will be able to select and use the right application.
No applications are automatically installed the first time the user is connected to the device. A page will appear with an invitation to install the applications.
If the application installation is selected, the screen displays the list of available applications and the endpoints where they are available as shown on this screen. The user can select an application on at least one endpoint, and click the Add button. This step will install the first application that will appear on the first page instead of the icon that navigates to the application manager.
Installing a second application can be done by clicking the icon on the upper menu bar of the page:

This opens the setting panel with the following choices:
  • Setup returns to the application manager.
  • About takes you to the copyright and licensing information.
  • Language allows you to change the current language of the user interface.
  • Logout forces a log out. Entering a user and credentials will be necessary to reconnect.
  • Settings takes you to the following page that allows the following actions:
    • Offline mode:This checkbox allows you to switch the mobile client into offline mode. In offline mode, there is no data exchange with the server. It allows you to work without having a stable network connection. Also, enabling offline mode will highly limit the available functions.
      Note: As soon as the client detects a missing network connection, it will automatically switch to Offline mode.
    • Fixed login:Enabling fixed login allows you to store a fixed user and his/her password on your mobile device. Doing this will not require you to enter your user name and password every time you connect to a mobile application.
      Be aware that the credentials are stored on your mobile device and may be visible to others gaining access to the device. This may be considered a security issue and it's recommended to not use a fixed login.
The first screen shows the first page after installing an application. It includes:
  • An icon representing the application.
  • The name of the application.
  • The endpoint in which it operates.

After installing the four applications, the page will look similar to the second screen as shown.
Any selection on one of the icons will display an intermediate menu or an activity page (usually a query).

Navigation principles

If an application that accesses several activities has been selected, a menu is displayed containing the different activities available in this application. An activity corresponds to a menu item in the mobile portal.
Clicking the icon displays the page of the corresponding activity.

When an activity is selected, the top bar will change and display the description of the current activity. Some additional icons may appear on the left of the top bar to perform local actions. The top left button remains available for the global navigation actions:

Using this button will display the navigation panel that takes the user either to the homepage or to one of the installed applications:
The triangle shown at the right of the upper bar provides access to contextual functions. Two entries are present from the menu list:
  • An entry that provides access to drafts. A draft is pending work that must be synchronized to update the ERP data.
  • A link that allows you to reinstall the current application.

In addition to these standard actions, applicative actions may be available in the menu, as in the example shown above:

Common toolbar icons

The most common icons used by most of the mobile applications are the following:

Left menu icon
Used to open the left menu.
(Right) Menu icon
Used to open the right menu. This icon may also be used for other kinds of menus depending on the mobile application.
Add/Create
Used to create a new record.
Edit
Used to edit the record that is currently displayed.
Delete
Used to delete the current record.
Ok/Save
Used to accept a setting or to save the current changes.
Abort/Back
Cancel current modification or action. Move back to last page.

Current operations on a mobile page

A mobile page is defined as a desktop page, but with some limitations (the number of fields must be smaller). If you consider a typical CRUD cycle of operations on an entity, the operation would have the following cycle:

The following information describes these operations in detail:

Query

A query displays the list of items of the entity managed by the activity. The main difference with the desktop page is that the number of information that can be displayed is limited for usability reasons.
At the top of the page, the + button provides access to the create operation on the corresponding entity.
One of the features is the ability to mark some lines of the query as favorites by clicking the star at the end of the line. The star changes color to orange. The local cache of the mobile phone stores the list of favorites per entity.
If this has been done at least once, a star appears on the top of the page to remind users that they have favorites. If they click on this star, a list is filtered to display only the favorite records.
The advanced menu provides access to additional entries such as the sorting and filtering options.
When the filtering option is selected, a page that displays the existing filters appears.

Using the Add button allows you to create a new filter by selecting the column, the operator, and the filtering value.
The different operators available are:
  • All
  • Greater than
  • Greater than or equal
  • Less than or equal
  • Less than
  • Equal to
  • Not equal to
  • Starts with
  • Contains

When the sorting option is selected, a page that displays the existing columns appears.

Clicking a column allows you to define the sorting order in ascending (first click) or descending mode (if a second click is done on the same column).
Another feature is the access to predefined selections on the query page associated with an entity. This is presented as tabs as shown on the corresponding screen.
A search box is also available to search data in the current list by typing text.
This search box can be located over the tabs (it will search on the entity regardless of the filter), or under the tab (the search will be filtered based on the current tab).

Multiple selections

On a query page, you can have operations that apply to several lines. When this happens:
A dedicated "Select lines" item is available from the top right menu.Using this selection action will allow you to select several lines. The selected lines are displayed in a different color and the number of selected lines is displayed on the top bar.After the lines selection, clicking the Actions icon will display the list of actions that apply to the selected lines. The back icon allows you to return to the previous state.When the action is selected, a page is displayed indicating the number of selected lines where a confirmation is requested.

Details

The detail page displays the record selected from the query facet. Fields appear in blocks that can be collapsed or expanded.On the upper bar, you have access to several icons:
  • The pencil icon provides access to the edit mode.
  • The trash bin icon allows the user to delete the current record after confirmation.
  • The + icon allows you to add a new record.
  • The triangle icon takes you to the advanced options.

Edit

The edit page displays the record for possible modification.On the upper bar, you have access to several icons:
  • The undo icon exits the edit mode without applying modifications.
  • The check mark icon submits the modifications to the ERP system. If they are accepted, the page will return to the details page.

Input widgets available

The following widgets can be used when displaying or entering data.

A date picker to select a date field.
A gauge widget that allows you to enter numeric values in a range by sliding the cursor.
A widget that allows you to display entered numeric values in a range on a gauge.
Phones and email address widgets that allow you to phone or send an email by selecting the field.
A picture picking widget that allows you to select an image on the phone or to use the camera to take a picture. On an Android phone, clicking the Choose a file link opens the following windows, which provides access to the device.

Grid management

When a grid is present in an edit page, the grid is first displayed. Depending on the orientation of the screen, a grid line can be presented on one or several physical lines as shown on the screens below:

The blue pen icon present on every line allows you to switch to an entry mode where the current line is displayed and is modifiable. Three icons are present at the top of the page:* The back button returns to the table display without changes.* The validation icon validates the line and returns to the table display.* The waste bin allows you to delete the current line after validation.Adding a line at the end of the table can be done with the +Add bar at the bottom of the grid.# Disconnected mode and drafts management## Disconnected modeThe mobile client is in disconnected mode when the network is no longer available. In development mode on a server, when using the mobile emulation, an option allows you to also switch to this mode.When the disconnected mode is on, the colors are dimmed as shown on the screen compared below:
Connected modeDisconnected mode

Online and offline data

The mobile client stores data on the device to safely handle the disconnections. This storage is done in three different instances:

The last two instances are the drafts. These drafts can be seen for every entity by clicking the triangle on the right side of the top bar. If drafts are present, a dedicated line appears on the list displaying a line that can be:

  • A line of drafts because errors occured (the count appears on a red square). Clicking the square will display the list of pending drafts, with the list of errors that made the validation impossible. These drafts can be edited, deleted, or submitted again.
  • A line of drafts that could not be sent because the network was no longer available. The count appears on a white square, and the title of the line is 'Sync' rather than 'Drafts'. Clicking 'Send' will submit the drafts to the server.

Templates

This feature allows you to store frequently used combinations of field values inside a template. A template always belongs to a specified entity and there can be an arbitrary number of templates per entity.

A good example to describe this feature is the task of entering expenses.

Entering expenses requires you to set several mandatory fields, most of them will be set to the same value every time you enter an expense, e.g:
  • Site
  • Expenses code
  • Currency
Without using the template feature, the process is to step through all the mandatory fields and enter each and every value every time.

Once you have entered all the data, you end up with a result similar to the one in the screenshot.
To remember your work in case you need to create another expense with similar data, open the right panel.
In the right panel, there is a menu item named "Templates". This menu item will open the template administration page.
Once in the template administration page, you can enter a name for your new template and save it using the blue save button right of the input field.
In the next step, create a new expense, do not enter any value into the mandatory input fields.
Open the right menu.
You will notice that the template menu item signals that there is one template available for the current entity.
Open the template administration.
In the template administration, you will notice that you can once again create another template.
Also, in the lower part of the page, the template that you created previously shows up.
By using the "Apply" button of your template, all input fields of your newly created expense will be filled with the values remembered in the template.
After applying the template, you end up again in the expense entry page where all the data has been automatically entered into the mandatory fields.
You can now go on and fill additional input fields or just save the expense without having to type a single character.