Custom Actions List and Edit Views

Actions can be used to:

  • Automate processes
  • Add a layer of control
  • Provide additional information

Actions can be created for:

  • Transactions: The action is written for a specific transaction.
  • Services: The action is written for a specific Service Type.
  • Custom Reports: The action is written for a specific custom report.
  • Global: These actions are not linked to specific modules but add specific functions to QuickEasy BOS, such as generating commission invoices or printing Point of Sale (PoS) receipts. These actions must be added to a menu and are executed by selecting the menu item.

How Actions Work

  • Actions consist of an ordered list of items that are executed in sequence.
  • Each item contains SQL that is run on the database and optionally returns a note.
  • If a note is returned, it appears as a message to users.
  • The input variables that can be used in the SQL are determined by the module the action is linked to.
  • Multiple items, including duplicate items (e.g. multiple error messages), can be linked to an action.
  • User Access must be assigned to each action.
  • Actions use a fixed status list, and only those with an Active status are executed.
    • 0-Pending
    • 1-Active
    • 3-Cancelled
  • The Execute options are:
    • Transactions / Service Types
      • Actions (Single): Can be executed from the applicable Edit View > Actions (button).
      • Actions (Multi-selected): Can be executed from the applicable:
        • List View > Actions (button)
        • Edit View > Actions (button)
    • Custom Reports
      • Actions (Single): Can be executed from the applicable context menu.
      • Actions (Multi-selected): Can be executed from Edit View > Actions (button).
    • Global
      • Main Menu: Executed from the menu item the action is added to. New global actions are set to Main Menu.

List View

Buttons Explained

Button Description
ViewDisplays a list of actions.
Arrow on View (button)Reset Data Filter: Resets all the data filters.
New

Creates an action of the selected Type.

The Type cannot be changed afterwards.

ActionsImport (.sql): Imports a script.
MenuLayout

Filters Explained

Filter Description
TypeSelect an action type from the dropdown list.
Status checkboxesFilter the results by certain statuses. If none of the boxes are checked, all the entries appear.

Fields Explained

Field Description
Field Chooser (*)Add or remove columns.
IDThe system-generated number for the entry.
StatusThe entry’s status.
TypeThe type of action.
ModuleThe module for which the action was created.
DescriptionThe action’s description.
ExecuteThe action’s execution method.
CreatedThe date on which the action was created.
UpdatedThe date on which the action was last updated.
Updated ByThe user who last updated the action.
Widget

A submenu with the following options:

  • Edit User Access: Sets user access for the action.
  • Export (.sql): Exports the script for import into another database.
  • Copy: Copies the action.
  • Edit: Opens the edit interface.
  • Delete: Deletes the action.

Edit View

Buttons Explained

Button Description
ArrowsNavigates to the next or previous action.
EditEdits the content.
NewCreates an action of the type selected from the dropdown list.
SaveSaves any changes.
Actions
  • View/Edit Note
  • Export (.sql)
  • Import (.sql)
  • Copy
  • Delete
Menu

Settings

  • Edit User Access

Layout


Fields Explained

Info

Fields marked in blue (✎) can be edited.

Field Description
StatusSelect from a dropdown list of statuses.
Status NoteEnter an optional status note.
No.The auto-generated action number.
TypeThe type of action as selected when the action was created.
Transaction / Service / ReportDepending on the type, select a Transaction Type, Service Type or custom report from the dropdown list.
Execute

Depends on the type. The options are usually:

  • Actions (Single): Executed once from Edit View.
  • Actions (Multi-selected): Executed from List View on all the selected items.
  • Main Menu: Global actions only. Executed from the menu.
CaptionThe caption on the menu.
NoteEnter a note.
Item (button)Adds another item that must be executed.
IDThe system-generated number for the item.
Order IDThe system-generated number for the item’s order on the list.
Type

Select:

  • Error: If the SQL query returns a note, it appears as an error message and the process stops.
  • Warning: If the SQL query returns a note, it appears as a warning message. The user can click OK (button) to continue or Cancel (button) to exit the process.
  • Confirm: If the SQL query returns a note, it appears as a confirmation message. The user can click OK (button) to continue or Cancel (button) to exit the process.
  • Execute SQL: Executes a SQL query.
  • Import SQL: Global actions only. Opens a window for you to select a file (limited to the File Extension, if one is selected) and passes the selected file’s content to the SQL as file_content. If a note is returned, it appears.
  • Export SQL: Global and transaction actions. Runs the SQL and saves the file_content column it returns to a file named after the action’s caption (with the File Extension, if one is selected). If no data is returned, an error message appears.
DescriptionEnter a description of the item.
File ExtensionA dropdown list of file extensions. These extensions are used for import and export purposes.
SQLCheckbox. Checked if SQL is added.
CreatedThe date on which the item was created.
UpdatedThe date on which the item was last updated.
Updated ByThe user who last updated the item.
Widget

A submenu with the following options:

  • View/Edit Note
  • View/Edit SQL
  • Copy Item Ctrl + C
  • Delete Item Ctrl + Delete
  • Move Up Ctrl + U
  • Move Down Ctrl + D

SQL Input Parameters

  • The Template button in the SQL editor can be used to generate sample SQL to show how parameters can be used.
    • Note: The SQL Editor has a Procedures tab: right-click it to generate the Call… SQL.
  • Global
    • user_id: The active user_id is assigned.
    • file_content: The content of the imported file (Import SQL items only).
  • Transaction
    • trans_header_ids: A comma-separated list of the selected ids (e.g. 1,2,34 OR 1).
    • user_id: The active user_id is assigned.
  • Service
    • project_ids: A comma-separated list of the selected ids (e.g. 1,2,34 OR 1).
    • user_id: The active user_id is assigned.
  • Custom Reports
    • pk_ids: The primary keys are assigned (first column of the report).
    • user_id: The active user_id is assigned.

Report an issue with this page

For more useful feedback, select the text on the page you are reporting on, then click Feedback again — or continue without selecting anything.