# Kanoa Docs > Help documentation to help you get started with the Kanoa MES framework Every page is available as Markdown by appending `.md` to its URL. The full documentation in a single file is at https://docs.kanoa.ai/llms-full.txt. ## Introduction - [Welcome](https://docs.kanoa.ai/index.md): Kanoa MES is a modular Manufacturing Execution System built on and for Inductive Automation’s Ignition platform. - [What Is Kanoa MES](https://docs.kanoa.ai/getting-started/introduction.md): Kanoa MES is a modular Manufacturing Execution System built on Inductive Automation’s Ignition platform and is delivered as a combination of... - [Why Kanoa](https://docs.kanoa.ai/getting-started/why-kanoa.md): Kanoa follows a platform-first philosophy and inherits many of the 'unlimited, server-based' advantages that make Ignition so attractive: - [Architectures](https://docs.kanoa.ai/architecture.md): Choosing the right architecture is one of the more important decisions in your MES implementation. - [System Requirements & Sizing Guide](https://docs.kanoa.ai/getting-started/system-requirements.md): Kanoa MES is installed as a module on an Ignition Gateway. Data is stored in Microsoft SQL Server. - [Installation and Deployment](https://docs.kanoa.ai/getting-started/installation.md): Watch Installing Kanoa Tutorial - [Prepare Ignition Gateway](https://docs.kanoa.ai/getting-started/installation/prepare-gateway.md): Kanoa MES requires an Ignition Gateway with the Perspective module available. - [Configure the Database Connection](https://docs.kanoa.ai/getting-started/installation/configure-database.md): Kanoa MES uses a Microsoft SQL Server database connection named kanoaCore. This connection is required. - [Configure the Tag Provider](https://docs.kanoa.ai/getting-started/installation/configure-tags.md): Kanoa MES uses a dedicated tag provider named Kanoa to keep Kanoa MES tags separate from other tags in your Gateway. - [Install Modules](https://docs.kanoa.ai/getting-started/installation/install-modules.md): Kanoa MES is a single module that contains licensed features for ops, quality, maintenance, trace and inventory. - [Applying a License](https://docs.kanoa.ai/getting-started/installation/apply-license.md): The kanoaMES module is fully functional without a license and works on the same two hour trial license as Ignition. - [Configure Redundancy](https://docs.kanoa.ai/getting-started/installation/configure-redundancy.md): Kanoa MES can run on a redundant pair of Ignition Gateways. Ignition handles the failover, and the Backup Gateway - [Other Recommended Settings](https://docs.kanoa.ai/getting-started/installation/other.md): Every implementation is different — some sites have a couple of production lines, others have hundreds. You may only make one product or thousands. Regardless, here are some settings we recommend starting with. ## MES Features - [MES Features](https://docs.kanoa.ai/mes-features.md) - [Navigation](https://docs.kanoa.ai/configuration/navigation.md): The navigation options available to a user can be modified through the application in the navigation configuration screen. - [Users](https://docs.kanoa.ai/configuration/users.md): Ignition provides a wealth of user security management choices, - [Language Support](https://docs.kanoa.ai/configuration/language-support.md): Kanoa MES screens can be shown in any of the languages installed on the gateway. Each user picks their own language, - [Custom Theming](https://docs.kanoa.ai/configuration/custom-theming.md): Kanoa MES is styled with standard Ignition Perspective themes, so you can brand and restyle your installation by creating your own theme. This page explains where Kanoa's styles live, why the Kanoa style classes look empty in the Designer, and how to create a custom theme that survives module updates. - [Dashboards & Marquees](https://docs.kanoa.ai/dashboards.md) - [Operations](https://docs.kanoa.ai/operations.md): Understand how your plant is performing and where to focus continuous improvement efforts. - [Assets](https://docs.kanoa.ai/kanoa-ops/assets.md) - [Data Interface Tag](https://docs.kanoa.ai/kanoa-ops/assets/assetOEEInfo.md): Watch Connecting To Data Tutorial - [Custom Attributes](https://docs.kanoa.ai/kanoa-ops/assets/custom-attributes.md): Custom Attributes store static properties for an asset (and can also be set for material items). They can be set in the asset configuration screen or through scripting. - [Modes](https://docs.kanoa.ai/kanoa-ops/assets/modes.md): A mode defines the intended operation of an asset. The mode is typically set by the schedule or manually set by the operator, but can also be set via - [Counters](https://docs.kanoa.ai/kanoa-ops/assets/counters.md): Counters are the entry point for bringing production counts into Kanoa MES. - [States](https://docs.kanoa.ai/kanoa-ops/assets/states.md): While Modes represent what an asset is supposed to be doing, states show what the asset says it was actually doing. - [Materials](https://docs.kanoa.ai/kanoa-ops/materials.md) - [Item States](https://docs.kanoa.ai/kanoa-ops/items/item-states.md): An item state is a classification applied to count events. In Kanoa Ops, the most common use is waste reason coding: a waste count tells you how much waste occurred, and an item state tells you why. - [Production Rates](https://docs.kanoa.ai/kanoa-ops/items/item-rates.md): The Production Rates tab provides a method for linking which items (products) can be produced on which assets. The Item asset linker popup - [Tooling](https://docs.kanoa.ai/kanoa-ops/tooling.md): Tooling tracks the molds, dies, fixtures, gauges and other tools that are mounted on your machines: what each tool makes per - [Getting Started with Tooling](https://docs.kanoa.ai/kanoa-ops/tooling/getting-started.md): This guide sets up one tool from start to finish: a 4-cavity mold, M-100, that runs on an injection molding machine, - [Tools and Tool Types](https://docs.kanoa.ai/kanoa-ops/tooling/tools.md): Tools are managed in Configuration > Ops > Tooling. The list shows every tool with its location, status, the machine - [Positions](https://docs.kanoa.ai/kanoa-ops/tooling/positions.md): Positions describe what a tool makes each time the machine cycles: one shot of a mold, one stroke of a die. Add them on the - [Cycle Rates and Item Rates](https://docs.kanoa.ai/kanoa-ops/tooling/rates.md): A run's standard rate, the rate OEE performance is measured against, comes from the tool mounted on the machine. Most tools - [Required Tooling](https://docs.kanoa.ai/kanoa-ops/tooling/required-tooling.md): Required tooling says which tools an item needs on a machine: EC-25 runs in mold M-EC25-4 on Injection Press 1. - [Fit Rules](https://docs.kanoa.ai/kanoa-ops/tooling/fit-rules.md): Fit rules say where a tool may be mounted: a mold built for one press's platen only goes on that press, an insert only - [Mounting Tools](https://docs.kanoa.ai/kanoa-ops/tooling/mounting.md): A tool is mounted on a machine from the Operator Station: the info panel's Tooling card shows the installed tool, and - [Tool Life](https://docs.kanoa.ai/kanoa-ops/tooling/tool-life.md): Each tool counts the cycles and running time it has done, against the limits set on its Details tab, and gets a status - [Tooling Tags](https://docs.kanoa.ai/kanoa-ops/tooling/tooling-tags.md): Each machine that uses tooling has a Tooling folder in its asset tags, an instance of the Kanoa/assetTooling UDT. It's - [Order Management](https://docs.kanoa.ai/kanoa-ops/order-management.md): A production order represents work that needs to be completed. Depending on the plant, it may be called a work order, job, order, or manufacturing order. In Kanoa, a production order generally represents what item needs to be made, how much, when it's due, and what status it's in. - [Scheduling Operations](https://docs.kanoa.ai/kanoa-ops/schedule-operations.md): Watch Scheduling Operations Tutorial - [Shifts](https://docs.kanoa.ai/kanoa-ops/shifts.md): Watch Scheduling Shifts Tutorial - [OLE / POLE Labor Effectiveness Analysis](https://docs.kanoa.ai/kanoa-ops/ole-pole-analysis.md): OEE tells you how well an asset performed, what fraction of its scheduled time it was actually running, at what rate, making good product. It doesn't tell you anything about the people running it. - [Dynamic Attributes](https://docs.kanoa.ai/kanoa-ops/dynamic-attributes.md): Dynamic Attributes track changing or dynamic properties for an asset. Dynamic attribute data is stored as events with timestamps, and you can save and retrieve dynamic attribute data for a given point-in-time. - [Measures](https://docs.kanoa.ai/kanoa-ops/measures.md): The Measures feature allows you to capture, aggregate, and statistically analyze process measurements at scale. Rather than storing every raw sample, measurements are collected over a configurable window — by count or by duration — and summarized into a single database record that preserves key statistical properties. - [Performance Events](https://docs.kanoa.ai/kanoa-ops/performance.md): Performance Events let you record and explain why an asset ran slower than expected during a given period. - [Speed Loss](https://docs.kanoa.ai/kanoa-ops/speed-loss.md): When a machine runs a production run slower than its standard rate, Kanoa MES records the lost output as it happens: an - [Serialization](https://docs.kanoa.ai/kanoa-ops/serialization.md): A serialization is a template for generating unique, sequential names such as WCP0000000001. Kanoa uses serializations to name lots in Kanoa Trace and to name generated maintenance work orders, using the maintenanceWorkOrder serialization. You can also generate serial numbers in your own scripts with the system.kanoa.serial functions. - [Operator Station](https://docs.kanoa.ai/kanoa-ops/asset-operation.md): Watch Starting Production Tutorial - [Analysis](https://docs.kanoa.ai/kanoa-ops/analysis.md) - [Downtime](https://docs.kanoa.ai/kanoa-ops-analysis/downtime.md): We've provided a ready made downtime analysis page for you in the KanoaOPS project. As with every other part of the kanoaMES application, - [OEE](https://docs.kanoa.ai/kanoa-ops-analysis/oee.md): Overall Equipment Effectiveness identifies the percentage of manufacturing time that is truly productive. - [Production Counts](https://docs.kanoa.ai/kanoa-ops-analysis/productionCounts.md): The Production Counts chart shows how an asset's infeed, outfeed and waste built up over a date range against its target, with the - [Loss Analysis](https://docs.kanoa.ai/kanoa-ops-analysis/reliabilityKPI.md): OEE tells you how well your assets ran while they were scheduled to produce, but not where the rest of their time went, or which losses cost you the most. Loss Analysis (formerly Reliability KPIs) shows where your assets' time went over a date range, and how much production time was lost, all in minutes. Because every loss is in minutes, availability, performance and quality losses can be compared directly and added up: you can see at a glance whether downtime, slow running or scrap is costing you the most. - [Run Chart](https://docs.kanoa.ai/kanoa-ops-analysis/runChart.md): The Run Chart is a dynamic visualization tool designed to provide an at-a-glance overview of how production lines are operating versus their planned operations. - [Dashboards](https://docs.kanoa.ai/kanoa-ops-analysis/dashboards.md): In 2020 Inductive Automation released the perspective dashboard component. - [Marquees](https://docs.kanoa.ai/kanoa-ops-analysis/marquees.md): We call them Marquees, but you may know them as Andon or Visual Display Management systems. Whatever you call them, we have provided a rather simple method of providing a set of rotating dashboards to - [Run Review](https://docs.kanoa.ai/kanoa-ops-analysis/runReview.md): The Run Review screen provides both analytics and the ability for the production run data such as counts and downtime to be edited based on a user's roles. Users may view an asset's production runs within a specified time range, with filtering by mode enabled. Run Review data is only viewable when an OEE-enabled asset is selected, which usually would be a line asset. - [Summary](https://docs.kanoa.ai/kanoa-ops-analysis/summary.md): The Summary Report shows an overview of operational performance for selected assets or areas, consisting of OEE, utilization and downtime. - [Asset Overview](https://docs.kanoa.ai/kanoa-ops-analysis/enterpriseOverview.md): The Asset Overview dashboard (System Dashboards\Asset Overview) gives you at-a-glance information about the current mode and state of your assets open it, click the three dots at the top right and select Make Default. Home then opens it. - [KPI Matrix](https://docs.kanoa.ai/kanoa-ops-analysis/kpi-matrix.md): The KPI Matrix functionality is a tool to provide insight to production KPIs. The user will have the ability to rapidly analyze the chosen KPIs from tag data. - [Custom OEE Tags](https://docs.kanoa.ai/kanoa-ops-analysis/custom-oee-tags.md): Build your own OEE tags for a date range and a set of assets, such as the last 7 days for one area, with a tagTimer and a gateway script. - [Kanoa Quality](https://docs.kanoa.ai/quality.md): Kanoa Quality is the Kanoa MES Solution for digital quality checks, compliance workflows, and statistical quality analysis. - [Check Sheets](https://docs.kanoa.ai/kanoa-quality/checkSheets.md): The Check Sheets configuration screen allows a user to manage all aspects of check sheet configuration. - [Attributes](https://docs.kanoa.ai/kanoa-quality/attributes.md): Whenever a check is to be compared against a specification that is dependent upon the asset, that check needs to reference an attribute. Any check type can have an attribute associated to it. Attributes and associated specifications can be configured in Quality > Configuration > Attributes. - [Item Sets](https://docs.kanoa.ai/kanoa-quality/itemSets.md): Product (Items) are naturally grouped in Item Classes. However it is possible that you may want to group a set of items that are in - [Entering Checks](https://docs.kanoa.ai/kanoa-quality/entering-checks.md): Check Sheets are automatically scheduled based on their triggers and activities on production lines, such as production runs, mode changes, and shift changes. - [Check Summary](https://docs.kanoa.ai/kanoa-quality/checkSummary.md): The Check Summary Report provides analysis tools for the status of check sheets. - [Quality Check Analysis & SPC](https://docs.kanoa.ai/kanoa-quality/checkDetails.md): The Check Details screen provides detailed analysis of check sheet checks.From here check item data can be charted, tabled, exported and undergo SPC analysis. - [Kanoa Trace](https://docs.kanoa.ai/kanoa-trace.md): Kanoa Trace is the Kanoa MES Solution for end-to-end traceability and genealogy tracking raw materials, work-in-progress, and finished goods throughout the manufacturing lifecycle, and generating trace graphs to support fast root-cause analysis, compliance, and reporting. - [Lot Management](https://docs.kanoa.ai/kanoa-trace/lot-management.md): Lot management refers to the process of organizing, tracking, and controlling batches of products or materials, known as 'lots' throughout their lifecycle in manufacturing, supply chain, and inventory management systems. A 'lot' typically represents a specific quantity of items produced or received at the same time, sharing the same production or manufacturing characteristics, such as batch number, expiration date, or production date. - [Lot Configuration](https://docs.kanoa.ai/kanoa-trace/lot-config.md): There are several aspects of Lot Management that can be configured... - [Transports (Mobile Assets)](https://docs.kanoa.ai/kanoa-trace/transports.md): Some material sits on something that moves: a reusable tote, a cart, a rack, a tray, a forklift, a trailer. If you model that carrier as a fixed location, every lot on it has to be moved each time the carrier moves. - [Maintenance Management](https://docs.kanoa.ai/kanoa-cmms.md): Kanoa Maintenance is an integrated maintenance management solution built directly into Kanoa MES, enabling teams to manage maintenance workflows alongside production, quality, and operational analytics. - [Work Order Creation & Scheduling](https://docs.kanoa.ai/kanoa-cmms/cmmsWorkOrderTemplate.md): Kanoa Maintenance uses a template-driven model for maintenance execution. Instead of directly creating individual work orders, users define work order templates that control how and when actual work orders are generated. - [Procedures](https://docs.kanoa.ai/kanoa-cmms/cmmsProcedure.md): Maintenance procedures define the step-by-step instructions technicians follow when executing maintenance work. - [Analytics](https://docs.kanoa.ai/kanoa-cmms/cmmsAnalytics.md): Kanoa Maintenance includes built-in KPI to provide a complete view of maintenance performance: - [Technician & Labor Tracking](https://docs.kanoa.ai/kanoa-cmms/cmmsWorkOrderTechnicians.md): Kanoa Maintenance work orders can now log multiple technicians against a single work order event, each with their own work type and time spent. This replaces the assumption that one work order event maps to one technician, and gives maintenance teams an accurate picture of who worked on what, and for how long. - [Inventory Management](https://docs.kanoa.ai/kanoa-inventory.md): Kanoa Inventory provides a complete set of functions for managing parts, stock levels, locations, suppliers, and bill of materials (BOM) across your asset hierarchy. All functions are available under the system.kanoa.inventory namespace. - [Setting up Inventory](https://docs.kanoa.ai/kanoa-inventory/inventory-config.md): Before adding parts, set up the reference data your catalog depends on. Navigate to Configuration → Inventory. The tabs across the top cover each reference type. - [Inventory Transactions](https://docs.kanoa.ai/kanoa-inventory/inventory-guide.md): Receiving Stock ## Developer Training - [Developer Training](https://docs.kanoa.ai/training/index.md): Self-paced free training course on how to set up and use Kanoa MES - [Kanoa MES Overview](https://docs.kanoa.ai/training/kanoames-overview/index.md): Understand the technical pieces that make up the Kanoa MES framework - [Kanoa Ignition projects](https://docs.kanoa.ai/training/kanoames-overview/projects.md): Understand the Kanoa Ignition project hierarchy - [Kanoa System Functions](https://docs.kanoa.ai/training/kanoames-overview/functions.md): Get an overview of the system.kanoa function groups and where to find the reference page for each function - [React Components](https://docs.kanoa.ai/training/kanoames-overview/components.md): Learn about the React components provided by Kanoa - [Database Schema](https://docs.kanoa.ai/training/kanoames-overview/database.md): Understand how the Kanoa MES database schema is organized - [Tags](https://docs.kanoa.ai/training/kanoames-overview/tags.md): Understand the Kanoa tag UDTs and how equipment data connects to an asset - [Kanoa MES Overview Check](https://docs.kanoa.ai/training/kanoames-overview/kanoaMES-knowledge-check.md): Check your understanding of Kanoa MES. - [Setting Up Your Training Gateway](https://docs.kanoa.ai/training/setup-environment/index.md): Get your gateway configured and Kanoa MES installed - [Prepare the Ignition Gateway](https://docs.kanoa.ai/training/setup-environment/prepare-gateway.md): Install Ignition and make sure the Perspective module is available. - [Configure the Database Connection](https://docs.kanoa.ai/training/setup-environment/configure-database.md): Create the kanoaCore SQL Server database connection that Kanoa MES requires. - [Configure the Tag Provider](https://docs.kanoa.ai/training/setup-environment/configure-tags.md): Create the dedicated Kanoa tag provider in the Ignition Gateway. - [Install the Kanoa MES Module](https://docs.kanoa.ai/training/setup-environment/install-modules.md): Install the Kanoa MES module on your Ignition Gateway. - [Other Recommended Settings](https://docs.kanoa.ai/training/setup-environment/other-settings.md): Recommended Gateway settings to apply before you start building. - [Connect the Designer](https://docs.kanoa.ai/training/setup-environment/connect-designer.md): Install the Designer Launcher, connect the Ignition Designer to your training gateway and open the Script Console. - [CoreForge Factory](https://docs.kanoa.ai/training/coreForge-introduction/index.md): Overview of CoreForge - [Kanoa Ops Training](https://docs.kanoa.ai/training/training-ops/index.md): Start here for the Kanoa Ops certification course — what it covers and what you'll learn. - [Base Configuration](https://docs.kanoa.ai/training/training-ops/base-configuration/index.md): Build the first working CoreForge MES model — assets, items, production rates, modes, states, tag connections, and item states — and start your first production run. - [Configure Assets](https://docs.kanoa.ai/training/training-ops/base-configuration/configure-assets.md): Learn how Kanoa models plant equipment as an asset hierarchy. - [Configure Items](https://docs.kanoa.ai/training/training-ops/base-configuration/configure-items.md): Create items for CoreForge's machining, coating, and packaging flow. - [Configure Production Rates](https://docs.kanoa.ai/training/training-ops/base-configuration/configure-item-rates.md): Link items to the assets that produce them and configure standard rates, scheduled rates, units, and package counts. - [Start A Production Run](https://docs.kanoa.ai/training/training-ops/base-configuration/starting-production.md): Start your first production run manually, enter counts and states, and see how Run Review calculates OEE from events. - [Configure Modes](https://docs.kanoa.ai/training/training-ops/base-configuration/configure-modes.md): Learn how production and non-production modes define asset context, then create a custom Audit mode and link modes to assets. - [Configure States](https://docs.kanoa.ai/training/training-ops/base-configuration/configure-states.md): Learn how states and state types drive availability, then create state categories and new Spray Line 1 states and link them to the asset. - [Connect To Your Tags](https://docs.kanoa.ai/training/training-ops/base-configuration/connect-tags.md): Explore the Asset OEE UDT that connects Ignition tag data to Kanoa Ops, then import the simulation tags and link them to your assets. - [Configure Counters](https://docs.kanoa.ai/training/training-ops/base-configuration/counters.md): See the infeed, outfeed and waste counters Kanoa creates for each OEE Enabled asset, then add a general counter to Machine 1 and record a count against it. - [Using Item States](https://docs.kanoa.ai/training/training-ops/base-configuration/item-states.md): Configure item states and categories for waste reason coding, link them to Manual Pack 1, and enter waste with a reason. - [Cells on a Line](https://docs.kanoa.ai/training/training-ops/base-configuration/cells.md): Split Spray Line 1 into cells, link each cell's downtime states to it, and code a stop against the cell that caused it. - [Scheduling](https://docs.kanoa.ai/training/training-ops/scheduling/index.md): Add planning context to Kanoa Ops with shifts, production orders, and operations scheduling. - [Shifts](https://docs.kanoa.ai/training/training-ops/scheduling/shifts.md): Configure Day, Evening, and Manual Pack shifts with recurrence and inheritance, and learn how shifts provide reporting context. - [Production Orders](https://docs.kanoa.ai/training/training-ops/scheduling/production-orders.md): Learn how production orders represent planned work, review order states, and create your first production order manually. - [Schedule Operations](https://docs.kanoa.ai/training/training-ops/scheduling/operations-scheduling.md): Schedule non-production events, generic production, and production orders, and fit scheduling to shift time with the Shift Time Only option. - [Connect To ERP](https://docs.kanoa.ai/training/training-ops/erp-connectivity/index.md): Exchange production orders and order status with an ERP simulator through Ignition WebDev endpoints. - [Create Web Service](https://docs.kanoa.ai/training/training-ops/erp-connectivity/create-endpoint.md): Build the sendMO WebDev endpoint and the trainingERP script library that creates or updates production orders from the ERP simulator. - [Get Orders from ERP](https://docs.kanoa.ai/training/training-ops/erp-connectivity/scheduling-orders-from-erp.md): Create orders from ERP and schedule them directly onto assets. - [Send Order Status to ERP](https://docs.kanoa.ai/training/training-ops/erp-connectivity/send-order-status-to-erp.md): Send order status info from MES to ERP. - [Managing Users](https://docs.kanoa.ai/training/training-ops/managing-users/index.md): Configure users with role-based, asset-scoped security. - [Customize Navigation](https://docs.kanoa.ai/training/training-ops/customize-navigation/index.md): Add your own custom screens to the navigation, and configure asset operation screens. - [Navigation Editor](https://docs.kanoa.ai/training/training-ops/customize-navigation/navigation-editor.md): Customize the main Kanoa navigation menu — disable unused items, restrict items by role, and add custom links. - [Asset Operations Screen](https://docs.kanoa.ai/training/training-ops/customize-navigation/asset-operations-page.md): Customize the Asset Operation page for Manual Pack 1 — navigation position, visible items and security — and see how its dashboard can be changed. - [Analytics](https://docs.kanoa.ai/training/training-ops/analytics/index.md): Tour the analytics and visualization tools Kanoa provides out of the box, then build an analytics dashboard and a plant-floor marquee. - [Build a Dashboard](https://docs.kanoa.ai/training/training-ops/analytics/dashboard-build.md): Build a Kanoa dashboard with asset and date range selectors that shows OEE and top downtime reasons, with separate desktop and mobile layouts. - [Build a Marquee](https://docs.kanoa.ai/training/training-ops/analytics/marquees.md): Create a Kanoa marquee that rotates through dashboards, assign it to a display, and design dashboards that work without user interaction. - [Scaling across the enterprise](https://docs.kanoa.ai/training/training-ops/scaling-across-the-enterprise/index.md): Learn the tools and patterns for accelerating deployment. - [Create States with Scripting](https://docs.kanoa.ai/training/training-ops/scaling-across-the-enterprise/script-states.md): Script the creation of state categories, downtime states, and asset-state links with state codes for Machine 1 and Manual Pack 1. - [Create Items with Scripting](https://docs.kanoa.ai/training/training-ops/scaling-across-the-enterprise/script-items-and-rates.md): Script item creation and item–asset rate definitions with reusable unit profiles for Machine 1, Spray Line 1, and Manual Pack 1. - [Create Assets with Scripting](https://docs.kanoa.ai/training/training-ops/scaling-across-the-enterprise/script-assets.md): Script an asset rollout that copies a template asset from an asset group, renames it, sets its sort order and mode, and wires each copy to its MQTT asset inputs. - [Performance Events](https://docs.kanoa.ai/training/training-ops/performance-events/index.md): Explain speed losses with performance reasons, the third reason-code system alongside downtime and item states. - [Configure Performance Reasons](https://docs.kanoa.ai/training/training-ops/performance-events/configure-performance-reasons.md): Create a Machining performance reason class, add speed-loss reasons, and link them to Machine 1. - [Code Performance Events](https://docs.kanoa.ai/training/training-ops/performance-events/code-performance-events.md): Review the speed losses Kanoa calculates for Machine 1, code them with performance reasons, and chart the results. - [Dynamic Attributes](https://docs.kanoa.ai/training/training-ops/dynamic-attributes/index.md): Record custom, time-stamped values against an asset. - [Create Dynamic Attributes](https://docs.kanoa.ai/training/training-ops/dynamic-attributes/create-dynamic-attributes.md): Define a Packing Room Humidity dynamic attribute, link it to Manual Pack 1, and record attribute events by hand. - [Measures](https://docs.kanoa.ai/training/training-ops/measures/index.md): Capture high-frequency process values as compact statistical summaries, analyze them, and flag out-of-control conditions with SPC. - [Configure a Measure](https://docs.kanoa.ai/training/training-ops/measures/configure-measures.md): Simulate a coolant temperature signal, define a Coolant Temperature measure on Machine 1, and connect the measure tag. - [Analyze Measures and SPC](https://docs.kanoa.ai/training/training-ops/measures/analyze-measures.md): Read the Measures analysis screen, check the summary from a script, and enable SPC rule checks with spec limits. - [Operator Effectiveness](https://docs.kanoa.ai/training/training-ops/operator-effectiveness/index.md): Extend OEE with a labor dimension. Schedule crews, record who is working each line, and analyze OLE and POLE. - [Crews and Scheduling](https://docs.kanoa.ai/training/training-ops/operator-effectiveness/crews-and-scheduling.md): Create a crew at the Philadelphia site, add operators to it, and assign the crew to the Day Shift. - [Operator Login and Analysis](https://docs.kanoa.ai/training/training-ops/operator-effectiveness/operator-login-and-analysis.md): Badge operators in and out of Machine 1, then read attendance, OLE, POLE, and the operator leaderboard on the Operators dashboard. - [Tooling](https://docs.kanoa.ai/training/training-ops/tooling/index.md): CoreForge adds an injection molding press. Set up its molds, run and change them over, keep up with their life, and handle a damaged cavity and a family mold. - [A New Press](https://docs.kanoa.ai/training/training-ops/tooling/a-new-press.md): Import Injection Press 1 with its two end caps and their rates, turn on tooling for it, and connect it to the simulator. - [Build the Molds](https://docs.kanoa.ai/training/training-ops/tooling/build-the-molds.md): Add Injection Press 1's two molds as tools, with their cavities, PM intervals and cycle rates on Injection Press 1. - [Run and Change Over](https://docs.kanoa.ai/training/training-ops/tooling/run-and-change-over.md): Mount M-EC25-4 on Injection Press 1, run EC-25 against the mold's rate, then change over to M-EC32-2 and EC-32. - [Tool Life](https://docs.kanoa.ai/training/training-ops/tooling/tool-life.md): Watch M-EC32-2's shots come in from Injection Press 1, see it come due for PM, and record the PM. - [A Damaged Cavity](https://docs.kanoa.ai/training/training-ops/tooling/a-damaged-cavity.md): Block a damaged cavity on M-EC25-4 and see the missing caps show up as a speed loss, then retire the cavity. - [A Family Mold](https://docs.kanoa.ai/training/training-ops/tooling/a-family-mold.md): Add a family mold whose cavities make both end caps, and see each cap's standard rate come from its own cavities. - [Kanoa Ops Knowledge Check](https://docs.kanoa.ai/training/training-ops/knowledge-check/index.md): Check your knowledge of Kanoa Ops - [Base Configuration Check](https://docs.kanoa.ai/training/training-ops/knowledge-check/base-configuration-knowledge-check.md): Check your understanding of the Kanoa Ops foundations before moving on. - [Scheduling Check](https://docs.kanoa.ai/training/training-ops/knowledge-check/scheduling-knowledge-check.md): Check your understanding of Kanoa Ops scheduling — modes, shifts, production orders, and operations scheduling — before moving on. - [ERP Integration Check](https://docs.kanoa.ai/training/training-ops/knowledge-check/erp-knowledge-check.md): Check your understanding of ERP integration — WebDev endpoints, the sendMO script, ERP-driven scheduling, and sending order status back to ERP. - [User Management Check](https://docs.kanoa.ai/training/training-ops/knowledge-check/user-knowledge-check.md): Check your understanding of Kanoa user management and navigation customization. - [Analytics Check](https://docs.kanoa.ai/training/training-ops/knowledge-check/analytics-knowledge-check.md): Check your understanding of Kanoa's out-of-the-box analytics, analytics dashboards, and marquees before moving on. - [Scaling Check](https://docs.kanoa.ai/training/training-ops/knowledge-check/scaling-knowledge-check.md): Check your understanding of import/export, asset duplication, and programmatic scaling before finishing the course. - [Performance Events Check](https://docs.kanoa.ai/training/training-ops/knowledge-check/performance-events-knowledge-check.md): Check your understanding of performance reasons and speed-loss coding. - [Dynamic Attributes Check](https://docs.kanoa.ai/training/training-ops/knowledge-check/dynamic-attributes-knowledge-check.md): Check your understanding of dynamic attributes, attribute events, and the entry views. - [Measures Check](https://docs.kanoa.ai/training/training-ops/knowledge-check/measures-knowledge-check.md): Check your understanding of measure windows, the measure UDT, analysis, and SPC. - [Operator Effectiveness Check](https://docs.kanoa.ai/training/training-ops/knowledge-check/operator-effectiveness-knowledge-check.md): Check your understanding of OLE, POLE, crews, operator login, and attribution modes. - [Tooling Check](https://docs.kanoa.ai/training/training-ops/knowledge-check/tooling-knowledge-check.md): Check your understanding of tools, positions, cycle rates, mounting and tool life. - [Kanoa Quality Training](https://docs.kanoa.ai/training/training-quality/index.md): Start here for the Kanoa Quality course — what you'll build at CoreForge and what you need before you begin. - [Cleanliness Check](https://docs.kanoa.ai/training/training-quality/cleanliness-check/index.md): Build and run the simplest Kanoa Quality workflow, a manual area cleanliness check. - [Build the Check Sheet](https://docs.kanoa.ai/training/training-quality/cleanliness-check/build-the-check-sheet.md): Create the Cleanliness Check, add four check items with a Text pick list, and release it. - [Fill Out The Check Sheet](https://docs.kanoa.ai/training/training-quality/cleanliness-check/complete-and-review.md): Start a Cleanliness Check by hand, complete and submit it, and review the result in the Check Table. - [Receiving Inspection](https://docs.kanoa.ai/training/training-quality/receiving-inspection/index.md): Turn the basic check pattern into a realistic receiving inspection with item context, validated data, mobile entry, revisions and corrections. - [Build the Check Sheet](https://docs.kanoa.ai/training/training-quality/receiving-inspection/build-receiving-inspection.md): Add a supplier pick list, a regex-validated lot number, a date, and an optional image to the Receiving Inspection. - [Fill Out The Check Sheet](https://docs.kanoa.ai/training/training-quality/receiving-inspection/complete-on-desktop-and-mobile.md): Run a Receiving Inspection, test the validation, and complete checks from the Kanoa Mobile app. - [Revise and Correct](https://docs.kanoa.ai/training/training-quality/receiving-inspection/revise-and-correct.md): Change a released check sheet through a revision, and correct an approved check from the Check Table. - [First Article Inspection](https://docs.kanoa.ai/training/training-quality/first-article-inspection/index.md): Issue a first article inspection automatically when a machine starts production, with tolerances that follow the part being made. - [Item Sets and Attribute Tolerances](https://docs.kanoa.ai/training/training-quality/first-article-inspection/item-sets-and-tolerances.md): Group the machined parts into three item sets and give each set its own FAI Diameter tolerance. - [Build the FAI Check Sheet](https://docs.kanoa.ai/training/training-quality/first-article-inspection/build-the-fai-check-sheet.md): Enable quality triggers on the machines and build the First Article Inspection with asset and item context, multiple measurements and tolerances. - [Trigger and Notify](https://docs.kanoa.ai/training/training-quality/first-article-inspection/trigger-and-notify.md): Issue the FAI automatically when a machine enters Production, show it to operators, and complete it. - [Analyze Compliance](https://docs.kanoa.ai/training/training-quality/first-article-inspection/check-summary.md): Use the Check Summary to see whether checks were completed on time, by status, shift and asset. - [Coating Line SPC](https://docs.kanoa.ai/training/training-quality/coating-spc/index.md): Collect coating data from tags automatically on a timer and analyze it with SPC in Check Details. - [Attributes for Tag Data](https://docs.kanoa.ai/training/training-quality/coating-spc/attributes-for-tag-data.md): Import the Spray Line 1 quality tags and create Coating attributes whose data sources read them. - [Automatic Checks on a Timer](https://docs.kanoa.ai/training/training-quality/coating-spc/auto-checks.md): Build the Coating SPC Checks auto check sheet with a five-minute timed interval trigger. - [Analyze SPC Data with Check Details](https://docs.kanoa.ai/training/training-quality/coating-spc/check-details-spc.md): Review automatic coating samples in Check Details, show statistics, and apply SPC rules in the trend view. - [Offline Lab Inspection](https://docs.kanoa.ai/training/training-quality/offline-lab-inspection/index.md): Build an advanced lab inspection with analyzer data, calculations, sign-off, and an automatic follow-up check on failure. - [Build the Analyzer Check Sheet](https://docs.kanoa.ai/training/training-quality/offline-lab-inspection/analyzer-check-sheet.md): Create analyzer attributes and build the Offline Lab Inspection with trigger, calculated and persistent items, groups and sign-off. - [Run and Validate](https://docs.kanoa.ai/training/training-quality/offline-lab-inspection/run-and-validate.md): Run the lab inspection, approve it, add a tolerance through a revision, and force a failure that issues the follow-up check. - [Kanoa Quality Knowledge Check](https://docs.kanoa.ai/training/training-quality/knowledge-check/index.md): Check your knowledge of Kanoa Quality - [Kanoa Trace Training](https://docs.kanoa.ai/training/training-trace/index.md): Start here for the Kanoa Trace course — how the course is organized and the questions to answer before any Trace implementation. - [Trace Fundamentals](https://docs.kanoa.ai/training/training-trace/trace-fundamentals.md): The Kanoa Trace lot model — lots, lot operations, operation events and lot events — and how inventory and genealogy come from event history. - [Lot Configuration](https://docs.kanoa.ai/training/training-trace/lot-configuration.md): Create the CoreForge lot operations, serialization definitions, Trace assets, lot states and reasons, and link the operations and reasons to the assets and items they apply to. - [Execute the Trace](https://docs.kanoa.ai/training/training-trace/execute-the-trace.md): Receive, machine, blend, coat, inspect, pack and ship CoreForge material in Lot Manager, one lot operation at a time. - [Important Lot Functions](https://docs.kanoa.ai/training/training-trace/lot-functions.md): executeLotOperation and getLotActivity, the two functions behind every custom lot screen, and a script that builds a whole trace with them. - [Routes](https://docs.kanoa.ai/training/training-trace/routes.md): Describe the expected process path for a product as a route of lot operation steps. - [Lot Attributes](https://docs.kanoa.ai/training/training-trace/lot-attributes.md): Record facts about a lot, such as a supplier lot number, heat number, expiry date or test result, as lot attributes, and read them across a lot's genealogy in Lot Manager and from scripts. - [Test your Trace Knowledge](https://docs.kanoa.ai/training/training-trace/trace-knowledge-check.md): Check your knowledge of Kanoa Trace - [Kanoa Maintenance Training](https://docs.kanoa.ai/training/training-maintenance/index.md): Start here for the Kanoa Maintenance course — plan, schedule, execute and analyze maintenance work on the CoreForge machines. - [Maintenance Setup](https://docs.kanoa.ai/training/training-maintenance/maintenance-setup/index.md): Set up the lookups that classify maintenance work, add a technician, and write a preventive maintenance procedure. - [Lookups and Technicians](https://docs.kanoa.ai/training/training-maintenance/maintenance-setup/lookups-and-technicians.md): Review maintenance types, work types, priorities and statuses, and add a technician user. - [Write a Procedure](https://docs.kanoa.ai/training/training-maintenance/maintenance-setup/procedures.md): Build a preventive maintenance procedure for Machine 1 with steps, checks and entry options. - [Work Orders](https://docs.kanoa.ai/training/training-maintenance/work-orders/index.md): Raise maintenance work from templates — one-time, recurring and condition-based — and work it through to completion. - [Raise a One-Time Work Order](https://docs.kanoa.ai/training/training-maintenance/work-orders/one-time-work-order.md): Create a one-time corrective work order template for a coolant leak on Machine 1, and release it. - [Work a Work Order](https://docs.kanoa.ai/training/training-maintenance/work-orders/execute-a-work-order.md): Assign the coolant leak work order, start it, log technician labor, and complete it. - [Schedule Recurring PM](https://docs.kanoa.ai/training/training-maintenance/work-orders/recurring-pm.md): Schedule Machine 1's weekly preventive maintenance with a recurring template and the PM procedure. - [Condition-Based Maintenance](https://docs.kanoa.ai/training/training-maintenance/work-orders/condition-based.md): Generate spindle service work orders from Machine 1's run hours. - [Maintenance Analytics](https://docs.kanoa.ai/training/training-maintenance/maintenance-analytics/index.md): Measure how quickly maintenance responds, how reliably assets run, whether the backlog is under control, and where labor goes. - [Response and Reliability KPIs](https://docs.kanoa.ai/training/training-maintenance/maintenance-analytics/kpis.md): Read MTTA, MTTR, MTBF and schedule compliance for the work orders you've completed. - [Backlog and Labor](https://docs.kanoa.ai/training/training-maintenance/maintenance-analytics/backlog-and-labor.md): Check whether maintenance is keeping up with demand, and see where technician and procedure time goes. - [Maintenance Integration](https://docs.kanoa.ai/training/training-maintenance/maintenance-integration/index.md): Connect Kanoa Maintenance to machine signals, your own Perspective views and other gateways with the system.kanoa.cmms scripting functions. - [Raise a Work Order from a Tag](https://docs.kanoa.ai/training/training-maintenance/maintenance-integration/raise-from-a-tag.md): Use a gateway tag change script to raise one corrective work order when Machine 1 reports low coolant, without raising duplicates. - [Maintenance KPIs in Your Own View](https://docs.kanoa.ai/training/training-maintenance/maintenance-integration/kpis-in-your-view.md): Build a Perspective view that shows Machine 1's maintenance KPIs from the cmms scripting functions, and add it to a dashboard as a widget. - [Move Templates Between Gateways](https://docs.kanoa.ai/training/training-maintenance/maintenance-integration/move-templates.md): Export Machine 1's weekly PM work order template from a test gateway and import it into production, with a dry run first. - [How Work Orders Are Generated](https://docs.kanoa.ai/training/training-maintenance/maintenance-integration/how-work-orders-are-generated.md): Know what creates recurring and condition-based work orders behind the scenes, how often, and how to run it by hand when testing. - [Kanoa Maintenance Knowledge Check](https://docs.kanoa.ai/training/training-maintenance/knowledge-check/index.md): Check your knowledge of Kanoa Maintenance - [Maintenance Setup](https://docs.kanoa.ai/training/training-maintenance/knowledge-check/setup-knowledge-check.md): Check your understanding of maintenance lookups and procedures. - [Work Orders](https://docs.kanoa.ai/training/training-maintenance/knowledge-check/work-orders-knowledge-check.md): Check your understanding of work order templates, schedule types and the work order lifecycle. - [Maintenance Analytics](https://docs.kanoa.ai/training/training-maintenance/knowledge-check/analytics-knowledge-check.md): Check your understanding of the maintenance KPIs, backlog and labor hours. - [Kanoa Inventory Training](https://docs.kanoa.ai/training/training-inventory/index.md): Start here for the Kanoa Inventory course — manage CoreForge's maintenance spare parts, stock levels and bills of materials. - [Inventory Setup](https://docs.kanoa.ai/training/training-inventory/inventory-setup/index.md): Set up inventory reference data, build the parts catalog, and set stocking policies for a storeroom. - [Reference Data](https://docs.kanoa.ai/training/training-inventory/inventory-setup/reference-data.md): Add the cost centers, manufacturers, suppliers and units of measure the parts catalog depends on. - [Build the Parts Catalog](https://docs.kanoa.ai/training/training-inventory/inventory-setup/parts-catalog.md): Add Machine 1's spare parts and consumables to the parts catalog. - [Storeroom and Stocking Policies](https://docs.kanoa.ai/training/training-inventory/inventory-setup/storeroom-and-policies.md): Create the Parts Room storeroom in the asset model, and set a stocking policy for each part. - [Script Parts and Stock](https://docs.kanoa.ai/training/training-inventory/inventory-integration/index.md): Use the system.kanoa.inventory scripting functions to issue parts, load BOMs, report reorders and sync an ERP. - [Issue Parts from Your Own Screen](https://docs.kanoa.ai/training/training-inventory/inventory-integration/issue-parts-from-your-own-screen.md): Issue a part to a maintenance work order from a script and read back the parts used, as the base for a custom technician screen or scanner workflow. - [Load BOMs by Script](https://docs.kanoa.ai/training/training-inventory/inventory-integration/load-boms-by-script.md): Add bill of materials items to assets with addAssetBomItem, then read each bill of materials back with getAssetBom. - [A Reorder Report by Script](https://docs.kanoa.ai/training/training-inventory/inventory-integration/reorder-report-by-script.md): Use getPartInventoryStock to list the parts below their reorder point, ready to send to purchasing from a scheduled gateway script. - [Sync Parts and Receipts from an ERP](https://docs.kanoa.ai/training/training-inventory/inventory-integration/sync-from-erp.md): Keep the parts catalog in step with an ERP with addPart and updatePartField, and record deliveries as receipts with addInventoryTransaction. - [Stock Transactions](https://docs.kanoa.ai/training/training-inventory/stock-transactions/index.md): Receive, issue, transfer and adjust stock, issue parts to maintenance work orders, and find parts that need reordering. - [Receive and Issue Stock](https://docs.kanoa.ai/training/training-inventory/stock-transactions/receive-and-issue.md): Receive the first delivery of spare parts into the Parts Room, and issue parts for an ad hoc job. - [Issue Parts to a Work Order](https://docs.kanoa.ai/training/training-inventory/stock-transactions/issue-to-work-order.md): Issue coolant hose to the Machine 1 coolant leak work order, so parts used and maintenance history are linked. - [Adjust Stock and Find Reorders](https://docs.kanoa.ai/training/training-inventory/stock-transactions/adjust-and-reorder.md): Correct stock after a physical count, and find parts that have fallen below their reorder point. - [Bill of Materials](https://docs.kanoa.ai/training/training-inventory/bill-of-materials/index.md): Link spare parts to the assets they fit, so technicians can find the right spares for a machine. - [Build an Asset BOM](https://docs.kanoa.ai/training/training-inventory/bill-of-materials/asset-bom.md): Add Machine 1's spare parts to its asset bill of materials, with positions, and read it back. - [Kanoa Inventory Knowledge Check](https://docs.kanoa.ai/training/training-inventory/knowledge-check/index.md): Check your knowledge of Kanoa Inventory - [Inventory Setup](https://docs.kanoa.ai/training/training-inventory/knowledge-check/setup-knowledge-check.md): Check your understanding of reference data, parts and stocking policies. - [Stock Transactions](https://docs.kanoa.ai/training/training-inventory/knowledge-check/transactions-knowledge-check.md): Check your understanding of receipts, issues, adjustments and stock visibility. - [Bill of Materials](https://docs.kanoa.ai/training/training-inventory/knowledge-check/bom-knowledge-check.md): Check your understanding of model and asset bills of materials. ## User Training - [User Training](https://docs.kanoa.ai/user-training/index.md): Short, role-based walkthroughs of the everyday tasks in Kanoa MES, for the people who use it on the plant floor and in the office. - [Administrator](https://docs.kanoa.ai/user-training/administrator/index.md): Look after Kanoa MES day to day from the runtime screens, covering users and roles, assets, reasons, items, the menu and languages. - [Users and Roles](https://docs.kanoa.ai/user-training/administrator/users-and-roles.md): Add a user, give them roles on the assets they work on, and remove someone who has left. - [Configure Assets](https://docs.kanoa.ai/user-training/administrator/configure-assets.md): Add, edit, move and duplicate assets, and know where each part of an asset's setup lives. - [Reason Codes and Lookups](https://docs.kanoa.ai/user-training/administrator/reason-codes.md): Add and retire the downtime reasons and scrap reasons your operators pick from. - [Items and Parts](https://docs.kanoa.ai/user-training/administrator/items-and-parts.md): Add a new item and its rate on an asset, and add a part to the parts catalog if Kanoa Inventory is on. - [Navigation](https://docs.kanoa.ai/user-training/administrator/navigation.md): Add a page or link to the Kanoa menu with the navigation editor, and choose who sees it. - [Languages](https://docs.kanoa.ai/user-training/administrator/languages.md): Switch the display language, choose which languages are installed on the gateway, and check translations. - [Operator](https://docs.kanoa.ai/user-training/operator/index.md): Run a shift on your machine in Kanoa MES, from opening your asset to handing over. - [Start Your Shift](https://docs.kanoa.ai/user-training/operator/start-your-shift.md): Open your machine's Asset Operation screen and read its info panel, so you know where it's at before you take over. - [Run Production](https://docs.kanoa.ai/user-training/operator/run-production.md): Start a run from a production order or a product, follow it against target, and end it. - [Record Downtime](https://docs.kanoa.ai/user-training/operator/record-downtime.md): Give every stop a reason when it happens, give slow running a reason, and correct a reason you got wrong. - [Record Scrap](https://docs.kanoa.ai/user-training/operator/record-scrap.md): Count waste in the Count Editor with the reason it was scrapped. - [Change Over](https://docs.kanoa.ai/user-training/operator/change-over.md): Put the machine into Changeover, swap the mold or die if it uses one, and start the next run. - [Complete a Quality Check](https://docs.kanoa.ai/user-training/operator/quality-checks.md): Find a quality check when it comes due, enter its values, and submit it, on a desktop or a mobile device. - [Operations Supervisor](https://docs.kanoa.ai/user-training/operations-supervisor/index.md): Watch the floor, find lost time, read OEE, review operators and follow up on quality in Kanoa MES. - [Watch the Floor Live](https://docs.kanoa.ai/user-training/operations-supervisor/watch-the-floor-live.md): See the mode and state of every asset, open one on the Asset Operation page, and know what the plant's marquee screens show. - [Find Lost Time](https://docs.kanoa.ai/user-training/operations-supervisor/find-lost-time.md): Read downtime and speed loss for an asset, find the top reasons across a site, and see which losses still need a reason. - [Read OEE and Production Counts](https://docs.kanoa.ai/user-training/operations-supervisor/read-oee-and-counts.md): Read an asset's OEE and see whether availability, performance or quality pulled it down, then check counts against target. - [Review Operator Performance](https://docs.kanoa.ai/user-training/operations-supervisor/operator-performance.md): Review who was logged in on a line, log operators in and out, and read the OLE and POLE leaderboard. - [Follow Up on Quality](https://docs.kanoa.ai/user-training/operations-supervisor/follow-up-on-quality.md): Find overdue, missed and failed quality checks, see how many are missed, and approve or reject submitted check sheets. - [Operations Scheduler](https://docs.kanoa.ai/user-training/operations-scheduler/index.md): Plan production in Kanoa MES, from shifts and orders to the schedule, crews and tracking against plan. - [Shifts and Calendars](https://docs.kanoa.ai/user-training/operations-scheduler/shifts-and-calendars.md): Read the shift pattern on the calendar and add a one-off shift for overtime or a special day. - [Production Orders](https://docs.kanoa.ai/user-training/operations-scheduler/production-orders.md): Create a production order by hand and review the orders that arrive from your ERP. - [Schedule Operations](https://docs.kanoa.ai/user-training/operations-scheduler/schedule-operations.md): Put production orders onto an asset calendar, sequence them, and fit in a rush order. - [Assign Crews](https://docs.kanoa.ai/user-training/operations-scheduler/assign-crews.md): Assign a crew or a single operator to a shift, so Kanoa knows who is meant to be at work. - [Track Against Plan](https://docs.kanoa.ai/user-training/operations-scheduler/track-against-plan.md): Compare what an asset actually ran with what you scheduled, and move orders that are running late. - [Quality Manager](https://docs.kanoa.ai/user-training/quality-manager/index.md): Build, schedule, release, approve and analyze quality check sheets in Kanoa MES as a quality manager or quality engineer. - [Build a Check Sheet](https://docs.kanoa.ai/user-training/quality-manager/build-a-check-sheet.md): Create a check sheet, add checks and check groups, and choose their data types, specifications and entry options. - [Build a Receiving Inspection](https://docs.kanoa.ai/user-training/quality-manager/build-a-receiving-inspection.md): Build a check sheet for incoming material, with an item, a supplier pick list, a validated lot number, a date and a photo. - [Schedule a Check Sheet](https://docs.kanoa.ai/user-training/quality-manager/schedule-a-check-sheet.md): Add triggers to a check sheet, set the delay and due timers, and use the manual trigger. - [Item Sets and Tolerances](https://docs.kanoa.ai/user-training/quality-manager/item-sets-and-tolerances.md): Group items into item sets and set attribute tolerances, so one check sheet covers many products. - [Build a First Article Inspection](https://docs.kanoa.ai/user-training/quality-manager/build-a-first-article-inspection.md): Build a measurement check that one check sheet uses for many products, issued automatically when a machine starts a run. - [Release and Revise](https://docs.kanoa.ai/user-training/quality-manager/release-and-revise.md): Release a check sheet for use, and change it later through a revision without disturbing inspectors. - [Approve and Reject](https://docs.kanoa.ai/user-training/quality-manager/approve-and-reject.md): Review submitted checks, approve them, and reject one back to the inspector for correction. - [Analyze Quality](https://docs.kanoa.ai/user-training/quality-manager/analyze-quality.md): Use Check Summary, Check Details, SPC rules and capability to see whether checks are done and what the results mean. - [Quality Inspector](https://docs.kanoa.ai/user-training/quality-inspector/index.md): Complete, inspect, analyze and correct quality checks in Kanoa MES as a QC inspector or lab technician. - [Complete a Check Sheet](https://docs.kanoa.ai/user-training/quality-inspector/complete-a-check-sheet.md): Find or add a routine check, fill it in on a desktop or a mobile device, and submit it. - [Inspect Incoming Material](https://docs.kanoa.ai/user-training/quality-inspector/inspect-incoming-material.md): Complete a check on a delivery of material, and the kinds of fields such a check uses. - [Measure Against Tolerances](https://docs.kanoa.ai/user-training/quality-inspector/measure-against-tolerances.md): Enter measurements on a check that judges them against the item's tolerances, and see what an out-of-spec value does. - [Read SPC](https://docs.kanoa.ai/user-training/quality-inspector/read-spc.md): Open Check Details, read a control chart and recognize a rule violation. - [Revise and Correct](https://docs.kanoa.ai/user-training/quality-inspector/revise-and-correct.md): Get a submitted check rejected, change the value and resubmit it. - [Maintenance Manager](https://docs.kanoa.ai/user-training/maintenance-manager/index.md): Set up maintenance, plan and raise work orders, and analyze how maintenance performs in Kanoa MES. - [Set Up for Maintenance](https://docs.kanoa.ai/user-training/maintenance-manager/set-up-for-maintenance.md): Review the statuses, priorities, maintenance types and work types that classify work orders, and add the technicians who work them. - [Write a Procedure](https://docs.kanoa.ai/user-training/maintenance-manager/write-a-procedure.md): Build a procedure with steps, checks and entry options that technicians follow on a work order. - [Raise a One-Time Work Order](https://docs.kanoa.ai/user-training/maintenance-manager/raise-a-one-time-work-order.md): Create a one-time work order for a breakdown or a job, set its priority and release it. - [Plan Preventive Maintenance](https://docs.kanoa.ai/user-training/maintenance-manager/plan-preventive-maintenance.md): Create a recurring work order template with a procedure, set Generate Ahead and release it. - [Condition-Based Maintenance](https://docs.kanoa.ai/user-training/maintenance-manager/condition-based-maintenance.md): Create a template that raises work orders from run hours, a counter or tool life. - [Spares for Maintenance](https://docs.kanoa.ai/user-training/maintenance-manager/spares-for-maintenance.md): Flag critical spares and set stocking policies so the storeroom knows when to reorder. - [Analyze Maintenance](https://docs.kanoa.ai/user-training/maintenance-manager/analyze-maintenance.md): Read the response and reliability KPIs, check the backlog, and see where labor goes. - [Maintenance Technician](https://docs.kanoa.ai/user-training/maintenance-technician/index.md): Find, do and close your maintenance work orders in Kanoa MES, and look after the parts they use. - [Your Work Queue](https://docs.kanoa.ai/user-training/maintenance-technician/your-work-queue.md): Open the Work Orders screen, find the work orders assigned to you, and read each one's priority and due date. - [Execute a Work Order](https://docs.kanoa.ai/user-training/maintenance-technician/execute-a-work-order.md): Start a work order, follow its procedure, record your labor and close the order. - [Preventive Maintenance](https://docs.kanoa.ai/user-training/maintenance-technician/preventive-maintenance.md): Complete a recurring preventive maintenance work order with its procedure, and see when the next one is due. - [Condition-Based Work](https://docs.kanoa.ai/user-training/maintenance-technician/condition-based-work.md): Recognise a work order raised by run hours, a counter or tool life, and work it like any other. - [Parts for the Job](https://docs.kanoa.ai/user-training/maintenance-technician/parts-for-the-job.md): Find a part in the catalog, check how much stock there is, and issue it for a job. - [Storeroom Tasks](https://docs.kanoa.ai/user-training/maintenance-technician/storeroom-tasks.md): Receive a delivery, correct a count after a cycle count, and find parts that are low and need reordering. ## Reference - [Reference](https://docs.kanoa.ai/reference.md) - [Kanoa Tags](https://docs.kanoa.ai/configuration/kanoa-tags.md): The Kanoa and kanoaMES tag providers, the folders and system tags Kanoa installs, and every Kanoa tag UDT. - [Simulator](https://docs.kanoa.ai/configuration/simulator.md): Assets can be simulated using the assetSimulator tag UDT found in the Kanoa tag provider. You can create an instance for each asset you want to simulate and this will generate - [Tutorials](https://docs.kanoa.ai/tutorials.md): Installing & Initial Setup Tutorial - [Kanoa MES Accelerators](https://docs.kanoa.ai/accelerators.md): What is a Kanoa MES Accelerator? - [Operator Startup Checklist](https://docs.kanoa.ai/accelerators/startup-checklist.md): Kanoa MES Accelerator - [Machine Setpoints Interface](https://docs.kanoa.ai/accelerators/setpoints.md): Kanoa MES Accelerator - [Schedule Optimization](https://docs.kanoa.ai/accelerators/schedule-optimizer.md): Kanoa MES Accelerator - [Releases](https://docs.kanoa.ai/releases.md): This section contains release notes listing the changes that have been made in the current release cycle. it documents which resources have changed (modules, projects, tag UDTs) and contains information on how to implement on top of an existing install. - [KanoaMES v1.16](https://docs.kanoa.ai/releaseNotes/v1_16.md): Release Date - 11/16/26 - [KanoaMES v1.15](https://docs.kanoa.ai/releaseNotes/v1_15.md): Release Date - 8/7/26 - [KanoaMES v1.14](https://docs.kanoa.ai/releaseNotes/v1_14.md): Release Date - 2/23/26 - [KanoaMES v1.12](https://docs.kanoa.ai/releaseNotes/v1_12.md): Release Date - 11/18/25 - [KanoaMES v1.11](https://docs.kanoa.ai/releaseNotes/v1_11.md): Release Date - 7/12/25 - [KanoaMES v1.10](https://docs.kanoa.ai/releaseNotes/v1_10.md): Release Date - 3/16/25 - [KanoaMES v1.9](https://docs.kanoa.ai/releaseNotes/v1_9.md): Release Date - 2/1/25 - [KanoaMES v1.8](https://docs.kanoa.ai/releaseNotes/v1_8.md): Release Notes - [KanoaMES v1.7](https://docs.kanoa.ai/releaseNotes/v1_7.md): Release Notes - [KanoaMES v1.6](https://docs.kanoa.ai/releaseNotes/v1_6_0.md): Release Notes - [KanoaMES v1.5](https://docs.kanoa.ai/releaseNotes/v1_5.md): Release Notes - [KanoaMES v1.4](https://docs.kanoa.ai/releaseNotes/v1_4.md): Release Notes - [Kanoa Components](https://docs.kanoa.ai/components/index.md): Kanoa provides a number of react components that are used in the kanoaAPP project. The components are documented in this section. - [Breadcrumb](https://docs.kanoa.ai/components/breadcrumb.md): The Breadcrumb component renders a hierarchical navigation path. It accepts a tree of nodes and tracks which prefix of that tree is currently selected, displaying it as a horizontal crumb trail. A trailing dropdown allows the user to navigate forward from the current position by selecting from the current node's children. Clicking any crumb in the trail navigates back to that level. - [Calendar](https://docs.kanoa.ai/components/calendar.md): The Calendar component is an implementation of FullCalendar (version 7) as a Perspective component. It supports multiple calendar views, event display and interaction, drag-and-drop scheduling, and built-in popups for creating and editing events. Resource views (Columns and Timeline) let you lay events out per resource, such as a line, machine, or person. - [External Event Box](https://docs.kanoa.ai/components/externalEventBox.md): The External Event Box is a container component that holds a list of event cards which can be dragged and dropped onto a Calendar component. When a card is dropped, the calendar's onEventReceived event fires with the dropped event's details. - [Node Chart](https://docs.kanoa.ai/components/nodeChart.md): The Node Chart component allows users to organize and visualize data in the form of a diagram with nodes and edges. - [Toast Notifications](https://docs.kanoa.ai/components/toast.md): Kanoa MES can show toast notifications on any Perspective page: short messages that slide in at the edge of the screen and close on their own. Toasts are powered by react-toastify and are shown from scripts using the system.kanoa.toast functions. Nothing needs to be placed on a view. Every Perspective page in every project can show toasts as soon as the module is installed. - [Tree](https://docs.kanoa.ai/components/tree.md): The Tree component displays hierarchical data as an expandable list of folders and items. It supports single and multiple selection, drag-and-drop reordering, in-place renaming, a built-in filter bar, and per-node icons and styles. Node ids are used throughout the component to track selection, expanded state and events. - [Kanoa API](https://docs.kanoa.ai/api-intro.md): Welcome to our api documentation. We provide over 850 system.kanoa functions that handle everything from configuring assets, materials, modes, state, - [Asset System Functions](https://docs.kanoa.ai/systemFunctions/apiAssetIntro.md): Provide system functions for the configuration and retrieval of assets - [system.kanoa.asset.addAsset(assetInfo, userId)](https://docs.kanoa.ai/systemFunctions/asset/addAsset.md): Add a new asset. All assetInfo keys are required - [system.kanoa.asset.addAssetAttribute(assetId, attrName, attrValue, userId)](https://docs.kanoa.ai/systemFunctions/asset/addAssetAttribute.md): Adds an attribute value for the asset. If the assetAttribute already exists, it will update it. - [system.kanoa.asset.addAssetGroup(assetGroupName, userId)](https://docs.kanoa.ai/systemFunctions/asset/addAssetGroup.md): Adds a new asset group. If the asset group already exists, it returns the assetGroupId - [system.kanoa.asset.addAssetTagUDTInstance(assetId)](https://docs.kanoa.ai/systemFunctions/asset/addAssetTagUDTInstance.md): Creates the assets tag folder structure and assetOEE UDT instance for the given asset - [system.kanoa.asset.addAssetType(assetTypeInfo, userId)](https://docs.kanoa.ai/systemFunctions/asset/addAssetType.md): Adds a new asset type. All assetTypeInfo keys are required unless otherwise stated - [system.kanoa.asset.addCounter(assetId, counterName, counterTypeName, userId)](https://docs.kanoa.ai/systemFunctions/asset/addCounter.md): Called by tagUDT assetOEE\Configuration\infeedCounterId etc. to initialize the counterId for storing the count value against. - [system.kanoa.asset.addCounterTag(counterId, userId)](https://docs.kanoa.ai/systemFunctions/asset/addCounterTag.md): Adds a counter tag. Tag is stored in a counter folder under the asset - [system.kanoa.asset.addCounterType(countTypeInfo, userId)](https://docs.kanoa.ai/systemFunctions/asset/addCounterType.md): Adds a new counter type - [system.kanoa.asset.addMode(modeInfo, userId)](https://docs.kanoa.ai/systemFunctions/asset/addMode.md): Adds a new mode. modeInfo keys are required. - [system.kanoa.asset.addState(stateInfo, userId)](https://docs.kanoa.ai/systemFunctions/asset/addState.md): Adds a new state. All stateInfo keys are required - [system.kanoa.asset.addStateCategory(stateCategoryInfo, userId)](https://docs.kanoa.ai/systemFunctions/asset/addStateCategory.md): Adds a state category. All stateCategoryInfo keys are required. - [system.kanoa.asset.copyAsset(assetId, userId)](https://docs.kanoa.ai/systemFunctions/asset/copyAsset.md): Makes a copy of the asset. This will be an identical copy including all the child assets, links to modes, states, items and attributes - [system.kanoa.asset.deleteAssetAttribute(assetAttrId, userId)](https://docs.kanoa.ai/systemFunctions/asset/deleteAssetAttribute.md): Deletes an asset attribute value - [system.kanoa.asset.deleteAssetGroup(assetGroupId, userId)](https://docs.kanoa.ai/systemFunctions/asset/deleteAssetGroup.md): Deletes an asset group - [system.kanoa.asset.deleteAssets(assetId, userId)](https://docs.kanoa.ai/systemFunctions/asset/deleteAssets.md): Deletes the asset and all children underneath. Will only succeed if there is no historical data for any of the assets, otherwise need to use the - [system.kanoa.asset.deleteAssetsWithForce(assetId, userId)](https://docs.kanoa.ai/systemFunctions/asset/deleteAssetsWithForce.md): Stored procedure that will forceably delete an asset including child assets and any entries in mode, start, shift, and quality tables - [system.kanoa.asset.deleteAssetTagStructure(assetId, userId)](https://docs.kanoa.ai/systemFunctions/asset/deleteAssetTagStructure.md): Deletes the assetOEE UDT instance for the given asset - [system.kanoa.asset.deleteAssetType(assetTypeId, userId)](https://docs.kanoa.ai/systemFunctions/asset/deleteAssetType.md): Deletes the assetType and all assetTypes underneath. SQL Cascade should handle deleting children and constraint will prevent the deletion of assetTypes that are in use. - [system.kanoa.asset.deleteCounter(counterId, userId)](https://docs.kanoa.ai/systemFunctions/asset/deleteCounter.md): Deletes the counter. SQL will prevent deletion of this counter if it has been used - [system.kanoa.asset.deleteCounterType(counterTypeId, userId)](https://docs.kanoa.ai/systemFunctions/asset/deleteCounterType.md): Deletes the counterType. SQL will prevent deletion of this counterType if it has been used - [system.kanoa.asset.deleteMode(modeId, userId)](https://docs.kanoa.ai/systemFunctions/asset/deleteMode.md): Deletes a mode. If the mode has been used then the enabled property will be set to False - [system.kanoa.asset.deleteState(stateId, userId)](https://docs.kanoa.ai/systemFunctions/asset/deleteState.md): Delete an state. If the state has been used then the enabled property will be set to False - [system.kanoa.asset.deleteStateCategory(stateCategoryId, userId)](https://docs.kanoa.ai/systemFunctions/asset/deleteStateCategory.md): Deletes the stateCategory. SQL will prevent deletion of this stateCategory if it has been used - [system.kanoa.asset.enableAssetStateLink(stateAssetLinkId, enabled)](https://docs.kanoa.ai/systemFunctions/asset/enableAssetStateLink.md): Updates the stateAssetLink enabled state. If the state is disabled, the link will not be enabled. - [system.kanoa.asset.enableModeAssetLink(modeAssetLinkId, enabled)](https://docs.kanoa.ai/systemFunctions/asset/enableModeAssetLink.md): Update the modeAssetLink enabled mode. If the mode is disabled, we will not update the link. The mode needs to be enabled first - [system.kanoa.asset.exportAsset(assetId)](https://docs.kanoa.ai/systemFunctions/asset/exportAsset.md): Exports all config info for the passed in assetId including all the child assets, links to modes, states, items and attributes - [system.kanoa.asset.getAssetAttributes(paramsDict)](https://docs.kanoa.ai/systemFunctions/asset/getAssetAttributes.md): Returns asset attributes filtered by the provided parameters. The Dictionary keys are optional unless stated as being required. - [system.kanoa.asset.getAssetGroups(paramsDict)](https://docs.kanoa.ai/systemFunctions/asset/getAssetGroups.md): Returns assetGroups. Used for filtering assets and also for grouping asset states by. paramsDict keys are optional - [system.kanoa.asset.getAssetModes(paramsDict)](https://docs.kanoa.ai/systemFunctions/asset/getAssetModes.md): Returns linked asset modes filtered by the given parameters. paramsDict keys are optional. - [system.kanoa.asset.getAssetOEEThresholds(paramsDict)](https://docs.kanoa.ai/systemFunctions/asset/getAssetOEEThresholds.md): Returns an assets oee threshold settings. These settings are stored in the asset custom attribute '_oeeThreshold' and are inheritable by lower assets. - [system.kanoa.asset.getAssets(paramsDict)](https://docs.kanoa.ai/systemFunctions/asset/getAssets.md): Returns assets filtered by the provided parameters. Parameter keys are optional. - [system.kanoa.asset.getAssetStates(paramsDict)](https://docs.kanoa.ai/systemFunctions/asset/getAssetStates.md): Returns states are linked with assets filtered by the passed parameters. Parameter keys are optional. - [system.kanoa.asset.getAssetTagPath(paramsDict)](https://docs.kanoa.ai/systemFunctions/asset/getAssetTagPath.md): Given an assetPath or assetId, this function will return the tag path to the assetOEE tag UDT - [system.kanoa.asset.getAssetTypes(paramsDict)](https://docs.kanoa.ai/systemFunctions/asset/getAssetTypes.md): Returns assetTypes. Parameter keys are optional - [system.kanoa.asset.getClosestAncestorAttribute(assetPath, assetAttrName)](https://docs.kanoa.ai/systemFunctions/asset/getClosestAncestorAttribute.md): Returns the assetAttrValue in order of the asset path tree. Returns None if the assetAttrValue isn't found. - [system.kanoa.asset.getCounter(paramsDict)](https://docs.kanoa.ai/systemFunctions/asset/getCounter.md): Returns the counter based on the passed parameters. Keys are optional - [system.kanoa.asset.getCounterType(paramsDict)](https://docs.kanoa.ai/systemFunctions/asset/getCounterType.md): Returns the counter type filtered by the given parameters. ParamsDict keys are optional - [system.kanoa.asset.getCurrentModeInfo(assetPath)](https://docs.kanoa.ai/systemFunctions/asset/getCurrentModeInfo.md): Returns the current mode info for a given assetPath - [system.kanoa.asset.getCurrentStateInfo(assetPath)](https://docs.kanoa.ai/systemFunctions/asset/getCurrentStateInfo.md): Returns the current state info for a given assetPath - [system.kanoa.asset.getModes(paramsDict)](https://docs.kanoa.ai/systemFunctions/asset/getModes.md): Returns modes filtered by the given parameters. paramsDict keys are optional - [system.kanoa.asset.getModeSourceId(modeSourceName)](https://docs.kanoa.ai/systemFunctions/asset/getModeSourceId.md): Returns the modeSourceId for a given modeSourceName. Used to store info on who set the modeEvent i.e. Operator, schedule, plc, etc. - [system.kanoa.asset.getModeTypes(paramsDict)](https://docs.kanoa.ai/systemFunctions/asset/getModeTypes.md): Returns mode types based on the passed parameters. paramsDict keys are optional - [system.kanoa.asset.getOperationalAssets(paramsDict)](https://docs.kanoa.ai/systemFunctions/asset/getOperationalAssets.md): Returns assets that have production data. Used to filter out assets that have been created but are not in use. paramsDict keys are optional. - [system.kanoa.asset.getParentAsset(assetTypeName, assetPath)](https://docs.kanoa.ai/systemFunctions/asset/getParentAsset.md): Returns the parent asset of the given type for the given asset - [system.kanoa.asset.getProcessTypes(paramsDict)](https://docs.kanoa.ai/systemFunctions/asset/getProcessTypes.md): Returns process types such as 'batch', 'discrete, 'continuous'. Parameter keys are optional. - [system.kanoa.asset.getSiteTimezoneOffset(paramsDict)](https://docs.kanoa.ai/systemFunctions/asset/getSiteTimezoneOffset.md): Given an assetPath or assetId, this function will return the offset and timezone for the site. - [system.kanoa.asset.getStateCategory(paramsDict)](https://docs.kanoa.ai/systemFunctions/asset/getStateCategory.md): Returns state category data. paramsDict keys are optional - [system.kanoa.asset.getStates(paramsDict)](https://docs.kanoa.ai/systemFunctions/asset/getStates.md): Returns states for the given parameters. paramsDict keys are optional - [system.kanoa.asset.getStateType(paramsDict)](https://docs.kanoa.ai/systemFunctions/asset/getStateType.md): Returns state type data based on the parameters passed. paramsDict keys are optional - [system.kanoa.asset.importAsset(exportInfo, userId, createModes, createStates, createItems)](https://docs.kanoa.ai/systemFunctions/asset/importAsset.md): Imports all asset configuration includes child assets, links to modes, states, items and attributes - [system.kanoa.asset.linkAssetModes(assetIdList, modeList, userId, modeCodeList)](https://docs.kanoa.ai/systemFunctions/asset/linkAssetModes.md): links modes with assets - [system.kanoa.asset.linkAssetStates(assetIdList, stateIdList, userId, stateCodeList)](https://docs.kanoa.ai/systemFunctions/asset/linkAssetStates.md): Links a list of assetIds with a list of stateIds. If a list of stateCodes is also provided, they will also be linked to the stateIds. - [system.kanoa.asset.populateAssetHierarchy()](https://docs.kanoa.ai/systemFunctions/asset/populateAssetHierarchy.md): Calls stored procedure spPopulateAssetHierarchy to rebuild the assetHierarchy_MAT table - [system.kanoa.asset.setAssetModeCode(modeAssetLinkId, modeCode)](https://docs.kanoa.ai/systemFunctions/asset/setAssetModeCode.md): Updates the mode code for an asset/ mode combo - [system.kanoa.asset.setAssetStateLinkCode(stateAssetLinkId, stateCode, userId)](https://docs.kanoa.ai/systemFunctions/asset/setAssetStateLinkCode.md): This functions updates the stateCode for an asset - [system.kanoa.asset.unlinkAssetMode(modeAssetLinkId)](https://docs.kanoa.ai/systemFunctions/asset/unlinkAssetMode.md): Unlinks a mode from an asset. Checks to see if this mode/asset combo has been stored in the modeEvent table and disables it if it has, otherwise deletes it - [system.kanoa.asset.unlinkAssetState(stateAssetLinkId)](https://docs.kanoa.ai/systemFunctions/asset/unlinkAssetState.md): Unlinks states from assets. If this state has been recorded in the stateEvent table against an asset, the link is disabled - [system.kanoa.asset.updateAsset(assetInfo, userId)](https://docs.kanoa.ai/systemFunctions/asset/updateAsset.md): Updates an asset. All assetInfo keys are required. - [system.kanoa.asset.updateAssetField(assetId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/asset/updateAssetField.md): Updates the asset configuration field with the passed value for the assetId - [system.kanoa.asset.updateAssetGroup(assetGroupName, assetGroupId, userId)](https://docs.kanoa.ai/systemFunctions/asset/updateAssetGroup.md): Updates an asset group - [system.kanoa.asset.updateAssetModeField(modeAssetLinkId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/asset/updateAssetModeField.md): Updates the field with the passed value for the assetModeLink - [system.kanoa.asset.updateAssetStateLinkField(stateAssetLinkId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/asset/updateAssetStateLinkField.md): Updates the asset state link field with the passed value for the stateAssetLinkId - [system.kanoa.asset.updateAssetType(assetTypeInfo, userId)](https://docs.kanoa.ai/systemFunctions/asset/updateAssetType.md): Updates an asset type. All assetTypeInfo keys are required. - [system.kanoa.asset.updateCounter(countInfo, userId)](https://docs.kanoa.ai/systemFunctions/asset/updateCounter.md): Updates a counter. All countInfo keys are required - [system.kanoa.asset.updateMode(modeInfo, userId)](https://docs.kanoa.ai/systemFunctions/asset/updateMode.md): This function updates the mode and also updates the enabled bit for any asset mode links in case the enabled mode has changed - [system.kanoa.asset.updateState(stateInfo, userId)](https://docs.kanoa.ai/systemFunctions/asset/updateState.md): Update the state info for a given stateId. All stateInfo keys are required. Updates stateAssetLink table accordingly - [system.kanoa.asset.updateStateCategory(stateCategoryInfo, userId)](https://docs.kanoa.ai/systemFunctions/asset/updateStateCategory.md): Updates a stateCategory. All stateCategoryInfo keys are required. SQL Constraints will prevent duplicate state categories from being created - [system.kanoa.asset.updateStateField(stateId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/asset/updateStateField.md): Updates the passed field value for the given stateId. If the field is enabled, we will also update the assetLink table enabled bit - [system.kanoa.asset.upsertAssetModeLinks(assetModeList, userId)](https://docs.kanoa.ai/systemFunctions/asset/upsertAssetModeLinks.md): Updated function that does fast bulks inserts/updates for linking assets and modes - [system.kanoa.asset.upsertAssetStateLinks(assetStateList, userId)](https://docs.kanoa.ai/systemFunctions/asset/upsertAssetStateLinks.md): Updated function that does fast bulks inserts/updates for linking assets and states - [Attribute System Functions](https://docs.kanoa.ai/systemFunctions/apiAttributeIntro.md): Provide system functions for the configuration and retrieval of dynamic attributes. - [system.kanoa.attribute.addAttribute(attrInfo, userId)](https://docs.kanoa.ai/systemFunctions/attribute/addAttribute.md): Adds a new attribute. If this attribute already exists it will return the existing attributeId - [system.kanoa.attribute.addAttributeAssetLink(attrAssetInfo, userId)](https://docs.kanoa.ai/systemFunctions/attribute/addAttributeAssetLink.md): Adds a new attributeAssetLink - [system.kanoa.attribute.addAttributeEvent(attributeEventInfo, userId)](https://docs.kanoa.ai/systemFunctions/attribute/addAttributeEvent.md): Adds an attribute event record - [system.kanoa.attribute.deleteAttribute(attributeId, userId)](https://docs.kanoa.ai/systemFunctions/attribute/deleteAttribute.md): Deletes an attribute. SQL foreign key constraints will prevent the deletion an attribute that is being used - [system.kanoa.attribute.deleteAttributeAssetLink(attributeAssetLinkId, userId)](https://docs.kanoa.ai/systemFunctions/attribute/deleteAttributeAssetLink.md): Deletes an attribute asset link. FK constraints will prevent the deletion of an attribute asset link that is being used. - [system.kanoa.attribute.deleteAttributeEvent(attributeEventId, userId)](https://docs.kanoa.ai/systemFunctions/attribute/deleteAttributeEvent.md): Deletes an attribute event record - [system.kanoa.attribute.getAttributeAssetLinks(paramsDict)](https://docs.kanoa.ai/systemFunctions/attribute/getAttributeAssetLinks.md): Returns attribute asset links based on the passed parameters - [system.kanoa.attribute.getAttributeEvents(paramsDict)](https://docs.kanoa.ai/systemFunctions/attribute/getAttributeEvents.md): Returns attribute events for the given parameters - [system.kanoa.attribute.getAttributeEventTotals(paramsDict)](https://docs.kanoa.ai/systemFunctions/attribute/getAttributeEventTotals.md): Returns attribute event totals for the given parameters. paramsDict keys are optional. - [system.kanoa.attribute.getAttributes(paramsDict)](https://docs.kanoa.ai/systemFunctions/attribute/getAttributes.md): Returns attribute based on the passed parameters - [system.kanoa.attribute.getPreviousAttributeEvent(assetId, attributeId, tStamp)](https://docs.kanoa.ai/systemFunctions/attribute/getPreviousAttributeEvent.md): This will return the attributeEvent record prior to the passed in timestamp - [system.kanoa.attribute.setAttributeAssetLinkFromTag(attrAssetInfo)](https://docs.kanoa.ai/systemFunctions/attribute/setAttributeAssetLinkFromTag.md): Check to see if the attribute exists and is linked to an asset. Called from the measure tag UDT - [system.kanoa.attribute.updateAttribute(attrInfo, userId)](https://docs.kanoa.ai/systemFunctions/attribute/updateAttribute.md): Updates an attribute - [system.kanoa.attribute.updateAttributeAssetLink(attrInfo, userId)](https://docs.kanoa.ai/systemFunctions/attribute/updateAttributeAssetLink.md): Updates an attributeAssetLink - [system.kanoa.attribute.updateAttributeEvent(attributeEventInfo, userId)](https://docs.kanoa.ai/systemFunctions/attribute/updateAttributeEvent.md): Updates an attribute event record - [Maintenance System Functions](https://docs.kanoa.ai/systemFunctions/apiCMMSIntro.md): Provide system functions for the configuration and retrieval of Kanoa Maintenance. - [system.kanoa.cmms.addImage(procedureStepCheckId, imageName, imageType, imageDescription, imageBytes, thumbnail, userId)](https://docs.kanoa.ai/systemFunctions/cmms/addImage.md): Inserts a new image record and associates it with a procedure step check. - [system.kanoa.cmms.addMaintenanceSubType(maintenanceSubTypeInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/addMaintenanceSubType.md): Adds a maintenance sub type. All maintenanceSubTypeInfo keys are required unless otherwise stated - [system.kanoa.cmms.addMaintenanceType(maintenanceTypeInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/addMaintenanceType.md): Adds a maintenance type. All maintenanceTypeInfo keys are required unless otherwise stated - [system.kanoa.cmms.addProcedure(procedureInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/addProcedure.md): Creates a new maintenance procedure and assigns it to a procedure category. Call this function when defining a new repeatable maintenance or inspection workflow (e.g. "Weekly Conveyor Belt Inspection") that technicians will later execute step by step. - [system.kanoa.cmms.addProcedureCategory(procedureCategoryInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/addProcedureCategory.md): Creates a new procedure category, used to organize and group related maintenance procedures within the CMMS module (e.g. "Electrical", "HVAC", "Conveyors"). Categories can be nested by supplying a parentId, allowing a hierarchical category tree; pass None for parentId to create a top-level category. - [system.kanoa.cmms.addProcedureStep(procedureStepInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/addProcedureStep.md): Adds a single step to an existing procedure identified by procedureId. - [system.kanoa.cmms.addProcedureStepCheck(checkInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/addProcedureStepCheck.md): Adds a check to an existing procedure step identified by procedureStepId. - [system.kanoa.cmms.addProcedureStepCheckEvent(checkEventInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/addProcedureStepCheckEvent.md): Records an event/result for a procedure step check during a specific execution of a procedure � for example, the value a technician entered for a check, the status of that check (e.g. pass/fail/skipped), and any comment left alongside it. - [system.kanoa.cmms.addProcedureStepEvent(procedureStepEventInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/addProcedureStepEvent.md): Adds a procedure step event, recording the outcome of a single step within a procedure execution (e.g. an operator marking a step as completed, logging time spent, or leaving a comment) and links it back to the parent work order event. - [system.kanoa.cmms.addWorkOrder(workOrderInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/addWorkOrder.md): Creates a new work order record from the field values supplied in workOrderInfo and records userId for the audit trail (createdBy). - [system.kanoa.cmms.addWorkOrderAlertGroups(workOrderId, alertGroupIdList, userId)](https://docs.kanoa.ai/systemFunctions/cmms/addWorkOrderAlertGroups.md): Links a work order to one or more alert groups so that members of those groups receive notifications related to the work order (e.g. status changes, overdue alerts, or completion notices, depending on how alert groups are configured elsewhere in the system). - [system.kanoa.cmms.addWorkOrderEvent(workOrderEventInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/addWorkOrderEvent.md): Adds a maintenance work order (MWO): one occurrence of a work order template, carried out on an asset by a due date. - [system.kanoa.cmms.addWorkOrderEventImage(workOrderEventId, imageName, imageType, imageDescription, imageBytes, thumbnail, userId)](https://docs.kanoa.ai/systemFunctions/cmms/addWorkOrderEventImage.md): Creates a new image record attached to a work order event, storing the full-resolution image bytes alongside an optional thumbnail, - [system.kanoa.cmms.addWorkOrderEventMetaData(workOrderEventMetaInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/addWorkOrderEventMetaData.md): Adds a custom metadata value to a specific work order event. Metadata is stored as a name/value pair (metaDataName / metaDataValue) and is associated with the work order event via workOrderEventId � - [system.kanoa.cmms.addWorkOrderEventStatus(statusInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/addWorkOrderEventStatus.md): Creates a new work order event status definition and returns the id of the newly created record. Call this when setting up a new status value that can be assigned to individual work order events during execution (for example, a technician check-in state distinct from the overall WorkOrderStatus of the work order). - [system.kanoa.cmms.addWorkOrderEventStatusCategory(statusCategoryInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/addWorkOrderEventStatusCategory.md): Creates a new work order event status category record. Status categories are a grouping/classification layer above individual work-order-event statuses � - [system.kanoa.cmms.addWorkOrderEventTechnician(workOrderEventTechnicianInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/addWorkOrderEventTechnician.md): Logs a technician (and the time they spent) against a specific work order event. This is how multiple technicians are recorded against the same work order event. Call this once per technician, each with their own durationMinutes and, optionally, workTypeId. - [system.kanoa.cmms.addWorkOrderPriority(priorityInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/addWorkOrderPriority.md): Adds a new work order priority level to the system (e.g. "Low", "Medium", "High", "Emergency"). - [system.kanoa.cmms.addWorkOrderScheduleEvent(workOrderEventInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/addWorkOrderScheduleEvent.md): Adds the maintenance work order (MWO) that a work order schedule or condition generates. Use it from a custom generation job instead of waiting for the automatic generation to run. - [system.kanoa.cmms.addWorkOrderStatus(statusInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/addWorkOrderStatus.md): Creates a new work order status code (e.g. "Open", "In Progress", "On Hold", "Closed") that can later be assigned to a work order. Call this when configuring the list of statuses a work order is allowed to move through, rather than when changing an individual work order's current status. - [system.kanoa.cmms.addWorkType(workTypeInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/addWorkType.md): Adds a new work type to the system (e.g. "Design", "Repair") for classifying the kind of work a technician performed on a work order event, logged via addWorkOrderEventTechnician. - [system.kanoa.cmms.checkWorkOrderConditions()](https://docs.kanoa.ai/systemFunctions/cmms/checkWorkOrderConditions.md): Evaluates all active condition-based work order triggers to determine whether any of them have been satisfied and are ready to generate a new work order event. - [system.kanoa.cmms.checkWorkOrderSchedule()](https://docs.kanoa.ai/systemFunctions/cmms/checkWorkOrderSchedule.md): This function runs periodically to see if we are ready to generate a workOrder event based on schedule. - [system.kanoa.cmms.deleteImage(chkImageId, userId)](https://docs.kanoa.ai/systemFunctions/cmms/deleteImage.md): Deletes a procedure step check image record from the CMMS image table. - [system.kanoa.cmms.deleteMaintenanceSubType(maintenanceSubTypeId, userId)](https://docs.kanoa.ai/systemFunctions/cmms/deleteMaintenanceSubType.md): Deletes an existing maintenance sub type identified by maintenanceSubTypeId. Referential integrity is enforced at the database level: - [system.kanoa.cmms.deleteMaintenanceType(maintenanceTypeId, userId)](https://docs.kanoa.ai/systemFunctions/cmms/deleteMaintenanceType.md): Deletes an existing maintenance type identified by maintenanceTypeId. - [system.kanoa.cmms.deleteProcedure(procedureId, userId)](https://docs.kanoa.ai/systemFunctions/cmms/deleteProcedure.md): Deletes a procedure by id. Call this to permanently remove a procedure that is no longer needed, such as one created in error or superseded by a revised version. - [system.kanoa.cmms.deleteProcedureCategory(procedureCategoryId, userId)](https://docs.kanoa.ai/systemFunctions/cmms/deleteProcedureCategory.md): Deletes a procedure category by id. Use this to remove a category used to organize and classify procedures once it is no longer needed. The underlying SQL will prevent deletion if the category is still in use � for example, - [system.kanoa.cmms.deleteProcedureStep(procedureStepId, userId)](https://docs.kanoa.ai/systemFunctions/cmms/deleteProcedureStep.md): Deletes a single step from a procedure by id. Call this when a step was added in error or is no longer part of the correct procedure workflow. - [system.kanoa.cmms.deleteProcedureStepCheck(procedureStepCheckId, userId)](https://docs.kanoa.ai/systemFunctions/cmms/deleteProcedureStepCheck.md): Deletes a procedure step check by id. A procedure step check is typically a verification item (e.g. a pass/fail or measurement check) attached to a procedure step, and this function removes it when it was added in error or is no longer required. - [system.kanoa.cmms.deleteProcedureStepCheckEvent(procedureStepCheckEventId, userId)](https://docs.kanoa.ai/systemFunctions/cmms/deleteProcedureStepCheckEvent.md): Deletes a single procedure step check event record, identified by its ID, and records the deleting user for audit purposes. - [system.kanoa.cmms.deleteWorkOrder(workOrderId, userId)](https://docs.kanoa.ai/systemFunctions/cmms/deleteWorkOrder.md): Deletes the work order identified by workOrderId, recording userId for the audit trail. - [system.kanoa.cmms.deleteWorkOrderAlertGroups(workOrderId, userId)](https://docs.kanoa.ai/systemFunctions/cmms/deleteWorkOrderAlertGroups.md): Removes all alert group links currently associated with a work order. Use this when a work order's notification setup needs to be cleared out entirely � - [system.kanoa.cmms.deleteWorkOrderCondition(workOrderId, userId)](https://docs.kanoa.ai/systemFunctions/cmms/deleteWorkOrderCondition.md): Deletes a condition-based trigger from a work order, permanently removing the association between the specified work order and the condition (e.g. a sensor threshold or counter rule) that would otherwise auto-generate future work orders. - [system.kanoa.cmms.deleteWorkOrderEvent(workOrderEventId, userId)](https://docs.kanoa.ai/systemFunctions/cmms/deleteWorkOrderEvent.md): Deletes an existing work order event by id. This removes a single scheduled/requested occurrence of a work order (for example, one technician's specific maintenance visit), not the parent work order definition itself. - [system.kanoa.cmms.deleteWorkOrderEventImage(workOrderEventImageId, userId)](https://docs.kanoa.ai/systemFunctions/cmms/deleteWorkOrderEventImage.md): Deletes a single image record from the cmms.workOrderEventImage table, identified by its workOrderEventImageId. - [system.kanoa.cmms.deleteWorkOrderEventMetaData(workOrderEventMetaDataId, userId)](https://docs.kanoa.ai/systemFunctions/cmms/deleteWorkOrderEventMetaData.md): Deletes a single work order event metadata entry identified by workOrderEventMetaDataId. - [system.kanoa.cmms.deleteWorkOrderEventStatus(workOrderEventStatusId, userId)](https://docs.kanoa.ai/systemFunctions/cmms/deleteWorkOrderEventStatus.md): Deletes a work order event status record identified by workOrderEventStatusId. - [system.kanoa.cmms.deleteWorkOrderEventStatusCategory(workOrderEventStatusCategoryId, userId)](https://docs.kanoa.ai/systemFunctions/cmms/deleteWorkOrderEventStatusCategory.md): Deletes an existing work order event status category identified by workOrderEventStatusCategoryId. - [system.kanoa.cmms.deleteWorkOrderEventTechnician(workOrderEventTechnicianId, userId)](https://docs.kanoa.ai/systemFunctions/cmms/deleteWorkOrderEventTechnician.md): Deletes a single technician entry from a work order event, identified by workOrderEventTechnicianId. This permanently removes that technician's logged time from the event. It does not affect any other technician entries logged against the same event. - [system.kanoa.cmms.deleteWorkOrderPriority(workOrderPriorityId, userId)](https://docs.kanoa.ai/systemFunctions/cmms/deleteWorkOrderPriority.md): Deletes a work order priority from the system. The underlying SQL includes a referential-integrity guard: - [system.kanoa.cmms.deleteWorkOrderSchedule(workOrderId, userId)](https://docs.kanoa.ai/systemFunctions/cmms/deleteWorkOrderSchedule.md): Deletes the recurring schedule attached to a work order, identified by workOrderId. - [system.kanoa.cmms.deleteWorkOrderStatus(workOrderStatusId, userId)](https://docs.kanoa.ai/systemFunctions/cmms/deleteWorkOrderStatus.md): Deletes a work order status code from the system by its id. - [system.kanoa.cmms.deleteWorkType(workTypeId, userId)](https://docs.kanoa.ai/systemFunctions/cmms/deleteWorkType.md): Deletes a work type from the system. The underlying SQL includes a referential-integrity guard: - [system.kanoa.cmms.exportWorkOrderTemplates(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/exportWorkOrderTemplates.md): Exports maintenance work order templates (cms.workOrder plus its schedule, conditions and alert groups) as a portable file for importWorkOrderTemplates. References are written by natural key (asset path, lookup names; users are not exported), each referenced procedure is bundled with its steps and checks (not check images), and runtime data (work order events, technicians, part plans, lastGenerated bookkeeping, audit columns) is left out. Save it with system.perspective.download(name, system.util.jsonEncode(data)) - [system.kanoa.cmms.getConditions(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getConditions.md): Returns the available condition-based monitoring definitions � the reusable condition TYPES - [system.kanoa.cmms.getEnteredValueState(value, checkConfig)](https://docs.kanoa.ai/systemFunctions/cmms/getEnteredValueState.md): Evaluates a manually entered check value (for example, a meter reading or inspection check) against the check's configuration to determine which item state the value falls into. - [system.kanoa.cmms.getImage(chkImageId)](https://docs.kanoa.ai/systemFunctions/cmms/getImage.md): Retrieves the full-resolution image file associated with a given CMMS image record. Given a chkImageId, - [system.kanoa.cmms.getImageData(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getImageData.md): Returns a dataset of CMMS image records, filtered according to the keys supplied in paramsDict. - [system.kanoa.cmms.getImageThumbnail(chkImageId)](https://docs.kanoa.ai/systemFunctions/cmms/getImageThumbnail.md): Retrieves a resized, lower-resolution thumbnail version of the image associated with the given chkImageId. - [system.kanoa.cmms.getMaintenanceBacklogAging(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getMaintenanceBacklogAging.md): Returns open maintenance backlog aging filtered by the given parameters - [system.kanoa.cmms.getMaintenanceKPIByAsset(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getMaintenanceKPIByAsset.md): Returns maintenance KPI summary grouped by asset. When assetId is an area/site, includes every - [system.kanoa.cmms.getMaintenanceKPIByAssignedUser(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getMaintenanceKPIByAssignedUser.md): Returns maintenance KPI summary grouped by assigned user - [system.kanoa.cmms.getMaintenanceKPIByType(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getMaintenanceKPIByType.md): Returns maintenance KPI summary grouped by maintenance type - [system.kanoa.cmms.getMaintenanceKPIDailyTrend(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getMaintenanceKPIDailyTrend.md): Returns daily maintenance KPI trend filtered by the given parameters. When assetId is an - [system.kanoa.cmms.getMaintenanceKPISummary(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getMaintenanceKPISummary.md): Returns maintenance KPI summary filtered by the given parameters - [system.kanoa.cmms.getMaintenanceLaborHoursByTechnician(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getMaintenanceLaborHoursByTechnician.md): Returns technician-logged labor hours for the given period, grouped by technician. When - [system.kanoa.cmms.getMaintenanceLaborHoursByWorkOrder(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getMaintenanceLaborHoursByWorkOrder.md): Returns technician hours, procedure step hours, total duration (created/open through - [system.kanoa.cmms.getMaintenanceLaborHoursSummary(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getMaintenanceLaborHoursSummary.md): Returns labor hours summary for the given period: technician-logged hours, procedure step - [system.kanoa.cmms.getMaintenanceMTBFByAsset(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getMaintenanceMTBFByAsset.md): Returns MTBF grouped by asset filtered by the given parameters - [system.kanoa.cmms.getMaintenanceMTBFSummary(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getMaintenanceMTBFSummary.md): Returns MTBF summary for the given period. When assetId is an area/site, includes every - [system.kanoa.cmms.getMaintenanceSubTypes(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getMaintenanceSubTypes.md): Retrieves maintenance sub types configured in the system, such as "Bearing Replacement" or "Belt Replacement" under a parent maintenance type like "Mechanical". - [system.kanoa.cmms.getMaintenanceTypes(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getMaintenanceTypes.md): Retrieves the top-level maintenance types configured in the system, such as "Corrective" or "Preventive". - [system.kanoa.cmms.getMaintenanceWorkflowChurn(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getMaintenanceWorkflowChurn.md): Returns work orders with workflow churn / reopen-like behavior - [system.kanoa.cmms.getPreventiveMaintenanceCompliance(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getPreventiveMaintenanceCompliance.md): Returns preventive maintenance compliance metrics for the given period - [system.kanoa.cmms.getProcedureCategory(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getProcedureCategory.md): Retrieves procedure category records, optionally filtered by ID, name, path, or enabled status. - [system.kanoa.cmms.getProcedures(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getProcedures.md): Retrieves procedure records from the system, optionally filtered by ID, name, or enabled status. Use this to populate a list or dropdown of available maintenance procedures on a screen, or to look up a specific procedure's details before displaying its steps and checks. - [system.kanoa.cmms.getProcedureStepCheckEvents(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getProcedureStepCheckEvents.md): Retrieves procedure step check event records - the individual check results captured when a procedure step check was actually performed during a work order's execution. - [system.kanoa.cmms.getProcedureStepChecks(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getProcedureStepChecks.md): Retrieves procedure step check definitions - the individual checks configured for a step within a procedure template, as opposed to the check events generated when those checks are actually performed. - [system.kanoa.cmms.getProcedureStepEvents(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getProcedureStepEvents.md): Retrieves procedure step event records from the Kanoa CMMS system. Call this function when you need to look up the history of events (such as completions, state changes, or other logged activity) tied to one or more procedure steps, optionally scoped to a specific work order event. - [system.kanoa.cmms.getProcedureSteps(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getProcedureSteps.md): Retrieves the individual steps that make up one or more procedures in the Kanoa CMMS system. Use this function to populate a procedure's step list in a UI, to check which steps are required versus optional, or to filter down to the steps belonging to a particular procedure. - [system.kanoa.cmms.getScheduleTypes(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getScheduleTypes.md): Looks up the schedule-trigger types available for work order schedules (e.g. distinguishing a time-based "Schedule" from a condition- or manual-triggered type). - [system.kanoa.cmms.getWorkOrderAlertGroups(workOrderId)](https://docs.kanoa.ai/systemFunctions/cmms/getWorkOrderAlertGroups.md): Retrieves the alert groups currently linked to a work order. Use this to check who (which groups) will be notified about a given work order � - [system.kanoa.cmms.getWorkOrderConditions(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getWorkOrderConditions.md): Returns workorder conditions. paramsDict keys are optional - [system.kanoa.cmms.getWorkOrderEventCheckStatus(workOrderEventId)](https://docs.kanoa.ai/systemFunctions/cmms/getWorkOrderEventCheckStatus.md): Returns the status of every procedure step and check associated with a given work order event. Each row in the returned dataset describes either a step or an individual check within a step, including whether it has been completed, its pass/fail result, and whether it is required. - [system.kanoa.cmms.getWorkOrderEventCount(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getWorkOrderEventCount.md): Returns a count of work order events matching the optional filter criteria supplied in paramsDict, without requiring the caller to fetch the full set of matching event records. - [system.kanoa.cmms.getWorkOrderEventImage(workOrderEventImageId)](https://docs.kanoa.ai/systemFunctions/cmms/getWorkOrderEventImage.md): Retrieves the full-resolution image bytes for a single work order event image record, identified by its workOrderEventImageId. - [system.kanoa.cmms.getWorkOrderEventImageData(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getWorkOrderEventImageData.md): Returns a filtered listing of work order event image metadata, optionally including the full image and/or thumbnail byte data, based on a single paramsDict of filter criteria. - [system.kanoa.cmms.getWorkOrderEventImageThumbnail(workOrderEventImageId)](https://docs.kanoa.ai/systemFunctions/cmms/getWorkOrderEventImageThumbnail.md): Retrieves only the thumbnail byte data for a single work order event image record, identified by its workOrderEventImageId. - [system.kanoa.cmms.getWorkOrderEventMetaData(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getWorkOrderEventMetaData.md): Returns work order event metadata records matching the supplied filter criteria. - [system.kanoa.cmms.getWorkOrderEvents(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getWorkOrderEvents.md): Retrieves work order events matching the optional filter criteria supplied in paramsDict. - [system.kanoa.cmms.getWorkOrderEventStatus(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getWorkOrderEventStatus.md): Retrieves work order event status records, optionally filtered by any combination of keys in paramsDict. - [system.kanoa.cmms.getWorkOrderEventStatusCategory(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getWorkOrderEventStatusCategory.md): Returns work order event status category records, optionally filtered by the criteria supplied in paramsDict. - [system.kanoa.cmms.getWorkOrderEventStatusChange(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getWorkOrderEventStatusChange.md): Returns work order status change information � a history of when a work order event transitioned from one status to another (for example, from Open to In Progress to Completed). - [system.kanoa.cmms.getWorkOrderEventTechnicians(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getWorkOrderEventTechnicians.md): Retrieves the technicians logged against a work order event, and how long each one worked (durationMinutes), optionally filtered by id, work order event, or technician. - [system.kanoa.cmms.getWorkOrderPriorities(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getWorkOrderPriorities.md): Retrieves work order priorities configured in the system (e.g. "Low", "Medium", "High", "Emergency"), optionally filtered by id, name, or enabled status. - [system.kanoa.cmms.getWorkOrders(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getWorkOrders.md): Queries the CMMS work order table and returns the matching records as a dataset. - [system.kanoa.cmms.getWorkOrderSchedule(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getWorkOrderSchedule.md): Returns work order schedule records, optionally filtered using the keys supplied in paramsDict. - [system.kanoa.cmms.getWorkOrderStatus(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getWorkOrderStatus.md): Retrieves work order status codes configured in the system (e.g. "Open", "In Progress", "On Hold", "Closed"). - [system.kanoa.cmms.getWorkTypes(paramsDict)](https://docs.kanoa.ai/systemFunctions/cmms/getWorkTypes.md): Retrieves work types configured in the system, the kind of work a technician performed on a work order event (e.g. "Design", "Repair"), as logged via addWorkOrderEventTechnician. - [system.kanoa.cmms.importWorkOrderTemplates(paramsDict, userId)](https://docs.kanoa.ai/systemFunctions/cmms/importWorkOrderTemplates.md): Imports a file from exportWorkOrderTemplates, all or nothing a new template is requested by the importing user and unassigned, and an overwritten one keeps its own. An existing procedure with the same path is reused. Every imported template is saved as Draft. Run with dryRun first to preview - [system.kanoa.cmms.processImage(filePath, procedureStepCheckId, chkImageId, imageName, imageType, imageDescription, userId)](https://docs.kanoa.ai/systemFunctions/cmms/processImage.md): Processes a raw image file from disk for storage in the CMMS. - [system.kanoa.cmms.processWorkOrderEventImage(filePath, workOrderEventId, workOrderEventImageId, imageName, imageType, imageDescription, userId)](https://docs.kanoa.ai/systemFunctions/cmms/processWorkOrderEventImage.md): Given the filesystem path to a raw uploaded image, this function converts the image to JPG format, generates a thumbnail, and stores both in the database as an image attached to a work order event. - [system.kanoa.cmms.rruleToDates(rruleStr, startDate, maxResults)](https://docs.kanoa.ai/systemFunctions/cmms/rruleToDates.md): Expands an RFC 5545 recurrence rule (RRULE) string into a concrete list of calendar dates, starting from a given date and capped at a maximum number of results. - [system.kanoa.cmms.setProcedureStepCheckSortOrder(procedureStepCheckId, sortOrder, userId)](https://docs.kanoa.ai/systemFunctions/cmms/setProcedureStepCheckSortOrder.md): Reorders a single procedure step check within its parent procedure step by assigning it a new sort order position. - [system.kanoa.cmms.setProcedureStepSortOrder(procedureStepId, sortOrder, userId)](https://docs.kanoa.ai/systemFunctions/cmms/setProcedureStepSortOrder.md): Reorders a single procedure step within its parent procedure by assigning it a new sort order position. - [system.kanoa.cmms.setWorkOrderCondition(workOrderConditionInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/setWorkOrderCondition.md): Creates or updates a condition-based trigger for a work order, linking a monitored counter (e.g. a vibration or temperature tag) to a condition definition so that crossing the configured threshold will auto-generate the work order. - [system.kanoa.cmms.setWorkOrderSchedule(workOrderInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/setWorkOrderSchedule.md): Creates a new recurring schedule for a work order from the values supplied in workOrderInfo. - [system.kanoa.cmms.updateImage(chkImageId, procedureStepCheckId, imageName, imageType, imageDescription, imageBytes, thumbnail, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateImage.md): Modifies an existing image record associated with a procedure step check. - [system.kanoa.cmms.updateMaintenanceSubType(maintenanceSubTypeInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateMaintenanceSubType.md): Updates a maintenance sub type. All maintenanceSubTypeInfo keys are required unless otherwise stated - [system.kanoa.cmms.updateMaintenanceSubTypeField(maintenanceSubTypeId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateMaintenanceSubTypeField.md): Updates a single named field on an existing maintenance sub type record, identified by maintenanceSubTypeId. - [system.kanoa.cmms.updateMaintenanceType(maintenanceTypeInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateMaintenanceType.md): Updates a maintenance type. All maintenanceTypeInfo keys are required unless otherwise stated - [system.kanoa.cmms.updateProcedure(procedureInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateProcedure.md): Updates an existing procedure's core details, including its name, category assignment, and enabled status. Call this function when a procedure needs to be renamed, re-categorized, or enabled/disabled, passing the procedureId of the record to update along with the userId performing the change for audit purposes. - [system.kanoa.cmms.updateProcedureCategory(procedureCategoryInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateProcedureCategory.md): Updates an existing procedure category's name, parent assignment, or enabled status. - [system.kanoa.cmms.updateProcedureField(procedureId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateProcedureField.md): Updates a single named field on an existing procedure record, identified by procedureId, without needing to supply the procedure's other fields. - [system.kanoa.cmms.updateProcedureStep(procedureStepInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateProcedureStep.md): Updates an existing procedure step definition, such as a step's name, description, sort order, or estimated duration. - [system.kanoa.cmms.updateProcedureStepCheck(checkInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateProcedureStepCheck.md): Updates an existing procedure step check � one of the individual verification items (a measurement, pass/fail check, or reading) attached to a procedure step. - [system.kanoa.cmms.updateProcedureStepCheckEvent(checkEventInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateProcedureStepCheckEvent.md): Updates an existing procedure step check event � the recorded result of a single check performed during a work order's execution of a procedure step, such as a logged value, pass/fail status, or comment. - [system.kanoa.cmms.updateProcedureStepEvent(procedureStepInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateProcedureStepEvent.md): Updates an existing procedure step event � the record of a single procedure step's execution within a work order, such as its completion status, actual time spent, or comment. - [system.kanoa.cmms.updateWorkOrder(workOrderInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateWorkOrder.md): Updates an existing work order identified by workOrderId within workOrderInfo, using userId for the audit trail (changedBy). - [system.kanoa.cmms.updateWorkOrderConditionField(workOrderConditionId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateWorkOrderConditionField.md): Updates a single field on an existing work order condition, identified by workOrderConditionId, to the passed value. - [system.kanoa.cmms.updateWorkOrderEvent(workOrderEventInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateWorkOrderEvent.md): Updates an existing work order event, identified by the workOrderEventId key inside workOrderEventInfo. - [system.kanoa.cmms.updateWorkOrderEventImage(workOrderEventImageId, workOrderEventId, imageName, imageType, imageDescription, imageBytes, thumbnail, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateWorkOrderEventImage.md): Updates an existing work order event image record, identified by workOrderEventImageId, replacing its associated work order event link, name, type, description, image bytes, and thumbnail. - [system.kanoa.cmms.updateWorkOrderEventMetaData(workOrderEventMetaInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateWorkOrderEventMetaData.md): Updates an existing work order event metadata entry identified by workOrderEventMetaDataId. - [system.kanoa.cmms.updateWorkOrderEventStatus(statusInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateWorkOrderEventStatus.md): Updates an existing work order event status record, replacing its field values with the contents of statusInfo. - [system.kanoa.cmms.updateWorkOrderEventStatusCategory(statusCategoryInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateWorkOrderEventStatusCategory.md): Updates an existing work order event status category identified by workOrderEventStatusCategoryId. - [system.kanoa.cmms.updateWorkOrderEventStatusField(workOrderEventStatusId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateWorkOrderEventStatusField.md): Updates a single named field on a work order event status record identified by workOrderEventStatusId. Call this for a targeted, single-column change (for example, toggling enabled or renaming a status) without having to resupply the entire status dictionary as required by updateWorkOrderEventStatus. - [system.kanoa.cmms.updateWorkOrderEventTechnician(workOrderEventTechnicianInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateWorkOrderEventTechnician.md): Updates an existing work order event technician entry's full record (technician, work order event, work type, and duration). - [system.kanoa.cmms.updateWorkOrderField(workOrderId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateWorkOrderField.md): Updates a single named field on an existing work order, identified by workOrderId, to the passed value. - [system.kanoa.cmms.updateWorkOrderPriority(priorityInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateWorkOrderPriority.md): Updates an existing work order priority's full record (name, enabled status, and sort order). - [system.kanoa.cmms.updateWorkOrderPriorityField(workOrderPriorityId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateWorkOrderPriorityField.md): Updates a single field on an existing work order priority record, identified by workOrderPriorityId, without requiring the full record to be supplied. - [system.kanoa.cmms.updateWorkOrderScheduleField(workOrderScheduleId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateWorkOrderScheduleField.md): Updates a single named field on an existing work order schedule, identified by workOrderScheduleId, to the supplied value. - [system.kanoa.cmms.updateWorkOrderStatus(statusInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateWorkOrderStatus.md): Updates an existing work order status code identified by workOrderStatusId. - [system.kanoa.cmms.updateWorkOrderStatusField(workOrderStatusId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateWorkOrderStatusField.md): Updates a single named field on an existing work order status, identified by workOrderStatusId, without requiring the rest of the record's values to be resupplied. - [system.kanoa.cmms.updateWorkType(workTypeInfo, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateWorkType.md): Updates an existing work type's full record (name, color, enabled status, and sort order). - [system.kanoa.cmms.updateWorkTypeField(workTypeId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/cmms/updateWorkTypeField.md): Updates a single field on an existing work type record, identified by workTypeId, without requiring the full record to be supplied. - [Config System Functions](https://docs.kanoa.ai/systemFunctions/apiConfigIntro.md): Provide system functions for the MES application configuration - [system.kanoa.config.addNavigationItem(navItemInfo, userId)](https://docs.kanoa.ai/systemFunctions/config/addNavigationItem.md): Given a dictionary of information, adds a navigation menu item - [system.kanoa.config.clearNavigationHistory(self)](https://docs.kanoa.ai/systemFunctions/config/clearNavigationHistory.md): Clears the navigation history in session custom properties - [system.kanoa.config.deleteNavigationItem(id, userId)](https://docs.kanoa.ai/systemFunctions/config/deleteNavigationItem.md): Deletes a navigation menu item - [system.kanoa.config.getConfig(paramsDict)](https://docs.kanoa.ai/systemFunctions/config/getConfig.md): Get the application configuration settings. paramsDict keys are optional. - [system.kanoa.config.getConfigType(paramsDict)](https://docs.kanoa.ai/systemFunctions/config/getConfigType.md): Get the application configuration type settings. paramsDict keys are optional - [system.kanoa.config.getDBName(app)](https://docs.kanoa.ai/systemFunctions/config/getDBName.md): Get the database name source - [system.kanoa.config.getNavigation(paramsDict)](https://docs.kanoa.ai/systemFunctions/config/getNavigation.md): Returns navigation menu items filtered by the given parameters: paramsDict keys are optional - [system.kanoa.config.getTagProvider(app)](https://docs.kanoa.ai/systemFunctions/config/getTagProvider.md): Get the tag provider name - [system.kanoa.config.saveConfig(configInfo, userId)](https://docs.kanoa.ai/systemFunctions/config/saveConfig.md): Adds or updates the config information - [system.kanoa.config.updateNavigationItem(navItemInfo, userId)](https://docs.kanoa.ai/systemFunctions/config/updateNavigationItem.md): Updates a navigation menu item - [Dashboard System Functions](https://docs.kanoa.ai/systemFunctions/apiDashboardIntro.md): Provide system functions for the configuration and retrieval of dashboards and marquees - [system.kanoa.dashboard.addBreakpoint(breakpointInfo, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/addBreakpoint.md): Create a new breakpoint - [system.kanoa.dashboard.addDashboard(dashboardInfo, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/addDashboard.md): Create a new dashboard. - [system.kanoa.dashboard.addDashboardWidget(widgetInfo, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/addDashboardWidget.md): Adds a widget to a dashboards breakpoint - [system.kanoa.dashboard.addFolder(folderInfo, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/addFolder.md): Create a new folder for storing dashboards - [system.kanoa.dashboard.addMarquee(marqueeInfo, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/addMarquee.md): Create a new marquee - [system.kanoa.dashboard.addMarqueeDashboard(marqueeDashboardInfo, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/addMarqueeDashboard.md): Add a dashboard to a marquee - [system.kanoa.dashboard.addMarqueeDisplay(marqueeDisplayInfo, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/addMarqueeDisplay.md): Adds a new display entry to the marqueeDisplay table - [system.kanoa.dashboard.addScreenDashboard(screenDashboardInfo, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/addScreenDashboard.md): Creates a new screen dashboard record linking a dashboard to a screen. - [system.kanoa.dashboard.addUserDashboard(userDashboardInfo, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/addUserDashboard.md): Adds a new user dashboard - [system.kanoa.dashboard.addWidget(widgetInfo, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/addWidget.md): Create a new widget. - [system.kanoa.dashboard.addWidgetCategory(categoryInfo, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/addWidgetCategory.md): Create a new widget category - [system.kanoa.dashboard.deleteDashboard(dashboardId, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/deleteDashboard.md): Deletes a dashboard. - [system.kanoa.dashboard.deleteDashboardWidget(dashboardWidgetId, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/deleteDashboardWidget.md): Deletes a dashboards widget - [system.kanoa.dashboard.deleteFolder(folderId, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/deleteFolder.md): Delete a folder. - [system.kanoa.dashboard.deleteMarquee(marqueeId, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/deleteMarquee.md): Delete a marquee. - [system.kanoa.dashboard.deleteMarqueeDashboard(marqueeDashboardId, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/deleteMarqueeDashboard.md): Delete a marquee's dashboard. - [system.kanoa.dashboard.deleteMarqueeDisplay(marqueeDisplayId, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/deleteMarqueeDisplay.md): Delete a marquee display. - [system.kanoa.dashboard.deleteScreenDashboard(screenDashboardId, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/deleteScreenDashboard.md): Delete a screenDashboard. - [system.kanoa.dashboard.deleteUserDashboard(userDashboardId, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/deleteUserDashboard.md): Delete a userDashboard. - [system.kanoa.dashboard.deleteWidget(widgetId, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/deleteWidget.md): Deletes a widget - [system.kanoa.dashboard.exportDashboard(dashboardId)](https://docs.kanoa.ai/systemFunctions/dashboard/exportDashboard.md): Exports dashboard information along with the widgets that it's constructed with - [system.kanoa.dashboard.exportWidget(widgetId)](https://docs.kanoa.ai/systemFunctions/dashboard/exportWidget.md): Exports widgets - [system.kanoa.dashboard.getBreakpoints(paramsDict)](https://docs.kanoa.ai/systemFunctions/dashboard/getBreakpoints.md): Get breakpoints based on the paramsDict - [system.kanoa.dashboard.getDashBoardInfo(dashboardId)](https://docs.kanoa.ai/systemFunctions/dashboard/getDashBoardInfo.md): Get all dashboard info including breakpoints and widgets for the specified dashboardId - [system.kanoa.dashboard.getDashboards(paramsDict)](https://docs.kanoa.ai/systemFunctions/dashboard/getDashboards.md): Get the dashboards requested dashboards. - [system.kanoa.dashboard.getDashboardWidgets(paramsDict)](https://docs.kanoa.ai/systemFunctions/dashboard/getDashboardWidgets.md): Returns widgets based on the passed paramaters - [system.kanoa.dashboard.getFolders(paramsDict)](https://docs.kanoa.ai/systemFunctions/dashboard/getFolders.md): Get dashboard folders filtered by the parameters. paramsDict keys are optional. - [system.kanoa.dashboard.getMarqueeDashboards(paramsDict)](https://docs.kanoa.ai/systemFunctions/dashboard/getMarqueeDashboards.md): Return marquee dashboards filtered by the passed parameters. paramsDict keys are optional. - [system.kanoa.dashboard.getMarqueeDisplay(paramsDict)](https://docs.kanoa.ai/systemFunctions/dashboard/getMarqueeDisplay.md): Return the marquees for the requested display. - [system.kanoa.dashboard.getMarquees(paramsDict, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/getMarquees.md): Returns marquees filtered by the passed parameters - [system.kanoa.dashboard.getScreenDashboards(paramsDict)](https://docs.kanoa.ai/systemFunctions/dashboard/getScreenDashboards.md): Get the dashboards associated with an asset and a screen (view) - [system.kanoa.dashboard.getUserDashboards(paramsDict)](https://docs.kanoa.ai/systemFunctions/dashboard/getUserDashboards.md): Get the users default and favorite dashboards - [system.kanoa.dashboard.getWidgetCategory(paramsDict)](https://docs.kanoa.ai/systemFunctions/dashboard/getWidgetCategory.md): Gets the requested widget categories. paramDict keys are optional. - [system.kanoa.dashboard.getWidgetFilters(page, viewParams, sessionCustomProps, clientTZ)](https://docs.kanoa.ai/systemFunctions/dashboard/getWidgetFilters.md): This function will parse the widget view parameters and either grab the assetPath and date range from the global session properties or set them to the passed in values - [system.kanoa.dashboard.getWidgets(paramsDict)](https://docs.kanoa.ai/systemFunctions/dashboard/getWidgets.md): Gets the requested widgets. Dictionary keys are optional. - [system.kanoa.dashboard.importDashboard(exportInfo, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/importDashboard.md): Imports dashboard information along with the widgets that it's constructed with, and creates a new dashboard on the target system - [system.kanoa.dashboard.importWidget(exportInfo, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/importWidget.md): Imports widget information along with its widget category - [system.kanoa.dashboard.updateDashboard(dashboardInfo, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/updateDashboard.md): Updates a dashboard. - [system.kanoa.dashboard.updateDashboardWidget(dashboardWidgetInfo, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/updateDashboardWidget.md): Updates a dashboards widget - [system.kanoa.dashboard.updateFolder(folderInfo, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/updateFolder.md): Updates a folder - [system.kanoa.dashboard.updateMarquee(marqueeInfo, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/updateMarquee.md): Update a marquee - [system.kanoa.dashboard.updateMarqueeDashboard(marqueeDashboardInfo, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/updateMarqueeDashboard.md): Update a marquee dashboard - [system.kanoa.dashboard.updateMarqueeDisplay(marqueeDisplayInfo, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/updateMarqueeDisplay.md): Updates a marquee display - [system.kanoa.dashboard.updateScreenDashboard(screenDashboardInfo, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/updateScreenDashboard.md): Updates a screen dashboard - [system.kanoa.dashboard.updateScreenDashboardField(screenDashboardId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/updateScreenDashboardField.md): Updates the field with the passed value for the screenDashboardId - [system.kanoa.dashboard.updateUserDashboard(userDashboardInfo, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/updateUserDashboard.md): Updates a user dashboard - [system.kanoa.dashboard.updateUserDashboardField(userDashboardId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/updateUserDashboardField.md): Updates the field with the passed value for the userDashboardId - [system.kanoa.dashboard.updateWidget(widgetInfo, userId)](https://docs.kanoa.ai/systemFunctions/dashboard/updateWidget.md): Updates a widget. - [Date System Functions](https://docs.kanoa.ai/systemFunctions/apiDateIntro.md): Provides a set of helper function for date time operations - [system.kanoa.date.getAssetTimeZoneInfo(assetPath)](https://docs.kanoa.ai/systemFunctions/date/getAssetTimeZoneInfo.md): Given an assetPath, this function will return the timezone - [system.kanoa.date.getClientOffsetMinsFromGateway(clientTZ, tStamp)](https://docs.kanoa.ai/systemFunctions/date/getClientOffsetMinsFromGateway.md): This function will return the timezone offset between the client and the gateway for the date passed in. - [system.kanoa.date.getDateRange(paramsDict)](https://docs.kanoa.ai/systemFunctions/date/getDateRange.md): Returns predefined date ranges. If assetPath is provided, 'Current Run', 'Current Shift' and 'Previous Shift' dates can be returned - [system.kanoa.date.getGatewayTimeZoneOffsetMins()](https://docs.kanoa.ai/systemFunctions/date/getGatewayTimeZoneOffsetMins.md): Returns the timezone offset minutes for the gateway server. - [system.kanoa.date.getIANATimeZoneToSQLDict()](https://docs.kanoa.ai/systemFunctions/date/getIANATimeZoneToSQLDict.md): Return a dictionary of IANA timezones to SQL timezones - [system.kanoa.date.getTimeZoneOffsetMins(timezone, tStamp)](https://docs.kanoa.ai/systemFunctions/date/getTimeZoneOffsetMins.md): Given a timezone and a timestamp, this function will return the timezone offset minutes from the database time - [system.kanoa.date.getTimezoneOffsets(timezones, startDate, endDate)](https://docs.kanoa.ai/systemFunctions/date/getTimezoneOffsets.md): Returns a dictionary of offset minutes for the start and end date for a given list of timezones i.e ['Pacific Standard Time'] - [system.kanoa.date.getTimezones()](https://docs.kanoa.ai/systemFunctions/date/getTimezones.md): Returns a list of dictionaries of timezone information, sorted alphabetically by name - [system.kanoa.date.localizeDateFormat(existingPattern, localeTag)](https://docs.kanoa.ai/systemFunctions/date/localizeDateFormat.md): Reorders only the day/month/year portion of an existing date pattern to match the given locale, leaving everything else (time-of-day tokens, seconds, am/pm, separators, day-name/timezone tokens, digit widths) exactly as-is. Works with either Java SimpleDateFormat tokens (dd/yyyy) or moment.js tokens (DD/YYYY) - detected from the existing pattern itself, so no dialect argument is needed. If the pattern has no day/month segment (e.g. a time-only pattern), it is returned unchanged. - [Event System Functions](https://docs.kanoa.ai/systemFunctions/apiEventIntro.md): Provide system functions for the MES application event history - [system.kanoa.event.addCounterEvent(counterInfo, userId)](https://docs.kanoa.ai/systemFunctions/event/addCounterEvent.md): Adds a counter value. This function supports itemStates, items and workorders. - [system.kanoa.event.addCountEvent(counterId, deltaValue, tStamp)](https://docs.kanoa.ai/systemFunctions/event/addCountEvent.md): Adds a count value. DEPRECATED. Replaced by addCounterEvent() - [system.kanoa.event.addModeEvent(assetId, field, value, tStamp, modeSourceId, userId)](https://docs.kanoa.ai/systemFunctions/event/addModeEvent.md): Adds a new modeEvent record with a single value to the specified mode event table column such as modeCode, workOrderId, or itemId fields - [system.kanoa.event.addPerformanceEvent(performanceEventInfo, userId)](https://docs.kanoa.ai/systemFunctions/event/addPerformanceEvent.md): Adds a new performance event - [system.kanoa.event.addProductionEvent(productionEventInfo, userId)](https://docs.kanoa.ai/systemFunctions/event/addProductionEvent.md): Adds a new modeEvent record. . Similar to addModeEvent, but updates all fields. - [system.kanoa.event.addStateEvent(stateInfo, userId)](https://docs.kanoa.ai/systemFunctions/event/addStateEvent.md): Adds a stateEvent record. All stateInfo keys are required. - [system.kanoa.event.assetOperationChange(assetOperationInfo, userId)](https://docs.kanoa.ai/systemFunctions/event/assetOperationChange.md): Call this function whenever the mode on an asset changes. Will set all child assets to the same mode if includeChildren is true - [system.kanoa.event.buildDowntimeBarChartByDay(data)](https://docs.kanoa.ai/systemFunctions/event/buildDowntimeBarChartByDay.md): Takes the Downtime Data data returned by the system.kanoa.event.getAssetStateEvents() functions and splits it by day. - [system.kanoa.event.buildProductionBarChartByDay(data)](https://docs.kanoa.ai/systemFunctions/event/buildProductionBarChartByDay.md): Takes the production event data returned by the system.kanoa.event.getAssetProductionEvents() functions and splits it by day. - [system.kanoa.event.checkForDuplicateModeEvents(paramsDict, userId)](https://docs.kanoa.ai/systemFunctions/event/checkForDuplicateModeEvents.md): We should never have duplicate contiguous modeEvent entries that are the same mode, workorder, item, asset. - [system.kanoa.event.checkItemInfo(assetId, workOrderName, itemName, userId)](https://docs.kanoa.ai/systemFunctions/event/checkItemInfo.md): This function checks to see if this work order or item exists, and if not will create the workorder and item and add an item-asset link. - [system.kanoa.event.checkSpeedLoss(assetId)](https://docs.kanoa.ai/systemFunctions/event/checkSpeedLoss.md): Checks one machine for running below its standard rate now, as the gateway does every minute no event opens and an open one closes. - [system.kanoa.event.clearZeroedCountEvents(assetId, tStamp, userId)](https://docs.kanoa.ai/systemFunctions/event/clearZeroedCountEvents.md): We added a zero at the beginning of a run to prevent calculated counts from occurring, but now the run has ended or a shift change has occurred. - [system.kanoa.event.deleteCounterEvents(counterInfo)](https://docs.kanoa.ai/systemFunctions/event/deleteCounterEvents.md): Delete counts event based on the passed in counterInfo. - [system.kanoa.event.deleteCountEvent(counterEventId, userId)](https://docs.kanoa.ai/systemFunctions/event/deleteCountEvent.md): Deletes a specific count entry in the counterEvent table.DEPRECATED - [system.kanoa.event.deleteCountEvents(counterId, startDate, endDate)](https://docs.kanoa.ai/systemFunctions/event/deleteCountEvents.md): Deletes count events within a specified date range. DEPRECATED - [system.kanoa.event.deleteModeEvent(modeEventId, userId)](https://docs.kanoa.ai/systemFunctions/event/deleteModeEvent.md): Deletes the mode event - [system.kanoa.event.deleteModeEvents(paramsDict, userId)](https://docs.kanoa.ai/systemFunctions/event/deleteModeEvents.md): Deletes modeEvent records for the given asset and date range - [system.kanoa.event.deletePerformanceEvent(performanceEventId, userId)](https://docs.kanoa.ai/systemFunctions/event/deletePerformanceEvent.md): Delete a performance event - [system.kanoa.event.deleteStateEvent(stateEventId, userId)](https://docs.kanoa.ai/systemFunctions/event/deleteStateEvent.md): Deletes a stateEvent record - [system.kanoa.event.deleteStateEvents(paramsDict, userId)](https://docs.kanoa.ai/systemFunctions/event/deleteStateEvents.md): Deletes stateEvent records for the given asset and date range - [system.kanoa.event.deleteZeroCounterEvents(paramsDict)](https://docs.kanoa.ai/systemFunctions/event/deleteZeroCounterEvents.md): Executes the zero counterEvent cleanup stored procedure. Called by the timer tag - [system.kanoa.event.getAdjacentStateEvent(assetId, tStamp, ascending)](https://docs.kanoa.ai/systemFunctions/event/getAdjacentStateEvent.md): Gets the previous or next stateEvent entry for the assetId based on the tStamp passed and the direction to look i.e. ascending or 'descending - [system.kanoa.event.getAssetPerformanceEventsByShift(paramsDict)](https://docs.kanoa.ai/systemFunctions/event/getAssetPerformanceEventsByShift.md): Returns production data by shift filtered by the given parameters - [system.kanoa.event.getAssetProductionEvents(paramsDict)](https://docs.kanoa.ai/systemFunctions/event/getAssetProductionEvents.md): Returns asset production data based on the given parameters - [system.kanoa.event.getAssetProductionEventsByDay(paramsDict)](https://docs.kanoa.ai/systemFunctions/event/getAssetProductionEventsByDay.md): Returns asset production data based on the given parameters, formatted with days as 'May-1' and hours in each mode - [system.kanoa.event.getAssetProductionEventsByShift(paramsDict)](https://docs.kanoa.ai/systemFunctions/event/getAssetProductionEventsByShift.md): Returns production data by shift filtered by the given parameters - [system.kanoa.event.getAssetProductionEventsSummary(paramsDict)](https://docs.kanoa.ai/systemFunctions/event/getAssetProductionEventsSummary.md): Returns summarized production event data filtered by the given parameters - [system.kanoa.event.getAssetStateEvents(paramsDict)](https://docs.kanoa.ai/systemFunctions/event/getAssetStateEvents.md): Returns state data filtered by the given parameters - [system.kanoa.event.getAssetStateEventsByCategory(paramsDict)](https://docs.kanoa.ai/systemFunctions/event/getAssetStateEventsByCategory.md): Returns state event data filtered by the given parameters and grouped by category - [system.kanoa.event.getAssetStateEventsByInterval(paramsDict)](https://docs.kanoa.ai/systemFunctions/event/getAssetStateEventsByInterval.md): Returns asset state event by interval filtered by the given parameters. Returns asset name and state concatenated with time in seconds grouped by interval - [system.kanoa.event.getAssetStateEventsByItem(paramsDict)](https://docs.kanoa.ai/systemFunctions/event/getAssetStateEventsByItem.md): Returns state event data filtered by the given parameters and grouped by item - [system.kanoa.event.getAssetStateEventsByShift(paramsDict)](https://docs.kanoa.ai/systemFunctions/event/getAssetStateEventsByShift.md): Returns state event data filtered by the given parameters and grouped by shift - [system.kanoa.event.getAssetStateEventsByShiftSummary(paramsDict)](https://docs.kanoa.ai/systemFunctions/event/getAssetStateEventsByShiftSummary.md): Returns summarized state event data filtered by the given parameters and grouped by shift. - [system.kanoa.event.getAssetStateEventsSummary(paramsDict)](https://docs.kanoa.ai/systemFunctions/event/getAssetStateEventsSummary.md): Returns summary state event data filtered by the given parameters - [system.kanoa.event.getCounterEvents(paramsDict)](https://docs.kanoa.ai/systemFunctions/event/getCounterEvents.md): Returns the counter events for the given params. All paramsDict keys are optional. - [system.kanoa.event.getCounterEventTotals(paramsDict)](https://docs.kanoa.ai/systemFunctions/event/getCounterEventTotals.md): Returns the total count for the given filters. Works best when providing an asset and date range. - [system.kanoa.event.getCountEvent(counterId, tStamp)](https://docs.kanoa.ai/systemFunctions/event/getCountEvent.md): returns the count event for a specific timestamp. DEPRECATED - [system.kanoa.event.getCountTotal(counterId, startDate, endDate)](https://docs.kanoa.ai/systemFunctions/event/getCountTotal.md): Returns the total counts for the given counterId and data range. DEPRECATED - [system.kanoa.event.getDowntimeData(assetId, startDate, endDate, durationSecs, showChanged)](https://docs.kanoa.ai/systemFunctions/event/getDowntimeData.md): Returns downtime data filtered by the given parameters - DEPRECATED BY getAssetStateEvents() - [system.kanoa.event.getDowntimeDataByCategory(assetId, startDate, endDate)](https://docs.kanoa.ai/systemFunctions/event/getDowntimeDataByCategory.md): Returns downtime data summarized by category - DEPRECATED BY getAssetStateEventsByCategory() - [system.kanoa.event.getDowntimeDataByInterval(assetId, startDate, endDate, interval, deviceUTCOffsetMins)](https://docs.kanoa.ai/systemFunctions/event/getDowntimeDataByInterval.md): Returns downtime data by interval filtered by the given parameters - DEPRECATED Replaced by getAssetStateEventsByInterval() - [system.kanoa.event.getDowntimeDataByShift(assetId, startDate, endDate)](https://docs.kanoa.ai/systemFunctions/event/getDowntimeDataByShift.md): Returns downtime data grouped by shift - DEPRECATED BY getAssetStateEventsByShift() - [system.kanoa.event.getDowntimeDataByShiftSummary(assetId, startDate, endDate)](https://docs.kanoa.ai/systemFunctions/event/getDowntimeDataByShiftSummary.md): Returns summarized downtime data by shift - DEPRECATED BY getAssetStateEventsByShiftSummary() - [system.kanoa.event.getDowntimeDataForReliability(assetId, startDate, endDate, durationSecs, showChanged)](https://docs.kanoa.ai/systemFunctions/event/getDowntimeDataForReliability.md): The Loss Analysis screen (formerly Reliability KPIs) no longer uses this function. Use system.kanoa.event.getReliabilityData and getReliabilityEvents, which read every asset in a few queries. - [system.kanoa.event.getDowntimeDataSummary(assetId, startDate, endDate)](https://docs.kanoa.ai/systemFunctions/event/getDowntimeDataSummary.md): Returns summarized downtime data filtered by the given parameters - DEPRECATED BY getAssetStateEventSummary() - [system.kanoa.event.getModeEvents(paramsDict)](https://docs.kanoa.ai/systemFunctions/event/getModeEvents.md): Returns mode events. paramsDict keys are optional - [system.kanoa.event.getOEEColors(paramsDict, oee, availability, performance, quality)](https://docs.kanoa.ai/systemFunctions/event/getOEEColors.md): Returns a dictionary of colors for oee, a, p and q based on the OEE thresholds set for the asset and the passed in oee values. - [system.kanoa.event.getOEEDataByInterval(assetId, startDate, endDate, interval)](https://docs.kanoa.ai/systemFunctions/event/getOEEDataByInterval.md): Returns OEE data by interval filtered by the given parameters - [system.kanoa.event.getOEEDataByIntervalByShift(assetId, startDate, endDate, interval)](https://docs.kanoa.ai/systemFunctions/event/getOEEDataByIntervalByShift.md): Returns OEE data by interval and shift filtered by the given parameters - [system.kanoa.event.getOEEDataSummary(assetId, startDate, endDate)](https://docs.kanoa.ai/systemFunctions/event/getOEEDataSummary.md): Returns summarized OEE data filtered by the given parameters. DEPRECATED. Replaced by getOEESummary() - [system.kanoa.event.getOEESummary(paramsDict)](https://docs.kanoa.ai/systemFunctions/event/getOEESummary.md): Returns summarized OEE data filtered by the given parameters - [system.kanoa.event.getPerformanceEvents(paramsDict)](https://docs.kanoa.ai/systemFunctions/event/getPerformanceEvents.md): Returns performance reason events - [system.kanoa.event.getPreviousModeEvent(assetId, tStamp)](https://docs.kanoa.ai/systemFunctions/event/getPreviousModeEvent.md): This will return the modeEvent table entry prior to the passed in timestamp - [system.kanoa.event.getPreviousStateEvent(assetId, tStamp)](https://docs.kanoa.ai/systemFunctions/event/getPreviousStateEvent.md): Gets the previous stateEvent entry for the assetId, tStamp passed - [system.kanoa.event.getProductionEventsForReliability(assetId, startDate, endDate, modeId)](https://docs.kanoa.ai/systemFunctions/event/getProductionEventsForReliability.md): The Loss Analysis screen (formerly Reliability KPIs) no longer uses this function. Use system.kanoa.event.getReliabilityData and getReliabilityEvents, which read every asset in a few queries. - [system.kanoa.event.getReliabilityData(paramsDict)](https://docs.kanoa.ai/systemFunctions/event/getReliabilityData.md): The Loss Analysis screen's figures for every OEE asset under an asset path, over a date range, read in a few queries whatever the number of assets. - [system.kanoa.event.getReliabilityEvents(paramsDict)](https://docs.kanoa.ai/systemFunctions/event/getReliabilityEvents.md): The events behind one Loss Analysis loss, the most minutes first: the downtime events of a downtime loss, or for speed and quality loss a row per production run and reason. It takes the same assets, range and short stop as getReliabilityData. - [system.kanoa.event.getStateEventById(stateEventId)](https://docs.kanoa.ai/systemFunctions/event/getStateEventById.md): Returns a stateEvent - [system.kanoa.event.getStateEventInfo(stateEventId, stateEventInfoName)](https://docs.kanoa.ai/systemFunctions/event/getStateEventInfo.md): Gets stateEventInfo. stateEventInfo stores additional custom information about a state - [system.kanoa.event.getStateEvents(assetId, startDate, endDate)](https://docs.kanoa.ai/systemFunctions/event/getStateEvents.md): Returns state data filtered by the given parameters - DEPRECATED BY getAssetStateEvents() - [system.kanoa.event.getStateEventSummary(assetId, startDate, endDate)](https://docs.kanoa.ai/systemFunctions/event/getStateEventSummary.md): Returns summarized state data filtered by the given parameters - DEPRECATED BY getAssetStateEventSummary() - [system.kanoa.event.resetCountEvents(assetId, tStamp, userId)](https://docs.kanoa.ai/systemFunctions/event/resetCountEvents.md): Counts will calculate infeed, outfeed and waste if no counterEvents exists for a given time range. - [system.kanoa.event.updateCounterEvent(counterInfo, userId)](https://docs.kanoa.ai/systemFunctions/event/updateCounterEvent.md): Updates a counter value. This function supports itemStates, items and workorders - [system.kanoa.event.updateCountEvent(counterId, deltaValue, tStamp, userId)](https://docs.kanoa.ai/systemFunctions/event/updateCountEvent.md): Updates a count value in the counterEvent table. if it can't find a value at the timestamp, it will add a count value. DEPRECATED. Replaced by addCounterEvent() - [system.kanoa.event.updateModeEvent(field, value, modeSourceId, userId, modeEventId)](https://docs.kanoa.ai/systemFunctions/event/updateModeEvent.md): Updates any of the mode event table fields such as modeCode, workOrderId, or itemId fields - [system.kanoa.event.updatePerformanceEvent(performanceEventInfo, userId)](https://docs.kanoa.ai/systemFunctions/event/updatePerformanceEvent.md): Update the performance event. Update Link table accordingly - [system.kanoa.event.updateProductionEvent(productionEventInfo, userId)](https://docs.kanoa.ai/systemFunctions/event/updateProductionEvent.md): Updates a new modeEvent record. Similar to updateModeEvent, but updates all fields. - [system.kanoa.event.updateStateEvent(stateInfo, userId)](https://docs.kanoa.ai/systemFunctions/event/updateStateEvent.md): updates a stateEvent record - [system.kanoa.event.updateStateEventInfo(stateEventId, stateEventInfoName, value, userId)](https://docs.kanoa.ai/systemFunctions/event/updateStateEventInfo.md): Adds, updates or deletes an entry in the stateEventInfo table. Can be used to stored meta data about any stateEvent. - [system.kanoa.event.updateWorkOrderCount(counterId, assetId, value, workOrderName, userId)](https://docs.kanoa.ai/systemFunctions/event/updateWorkOrderCount.md): Allows the count to be updated for a work order after a work order has been completed. - [File System Functions](https://docs.kanoa.ai/systemFunctions/apiFileIntro.md): Provide a set of utility file management system functions. - [system.kanoa.file.deleteFile(filePath)](https://docs.kanoa.ai/systemFunctions/file/deleteFile.md): Given the path to a file, this function will delete it - [system.kanoa.file.filelist(folderPath)](https://docs.kanoa.ai/systemFunctions/file/filelist.md): Given a folder path, this function will return a list of files found. - [system.kanoa.file.findFiles(folderPath, extensions)](https://docs.kanoa.ai/systemFunctions/file/findFiles.md): Given a folder path, and a list of extensions, this function will return a list of files found - [system.kanoa.file.getGatewayFilePath(fileName)](https://docs.kanoa.ai/systemFunctions/file/getGatewayFilePath.md): Give the name of a file, this function returns the filepath to a temporary folder that can be used for image conversion processes. - [Image System Functions](https://docs.kanoa.ai/systemFunctions/apiImageIntro.md): Provide a set of utility image system functions. - [system.kanoa.image.convertImage(inputImagePath, outputImagePath, formatName)](https://docs.kanoa.ai/systemFunctions/image/convertImage.md): Converts an image into the format passed. - [system.kanoa.image.createThumbnail(imageBytes)](https://docs.kanoa.ai/systemFunctions/image/createThumbnail.md): Creates a thumbnail image of the passed in image. - [Inventory System Functions](https://docs.kanoa.ai/systemFunctions/apiInventoryIntro.md): Provide a set of inventory management system functions. - [system.kanoa.inventory.addAssetBomItem(bomInfo, userId)](https://docs.kanoa.ai/systemFunctions/inventory/addAssetBomItem.md): Adds a new Bill-of-Materials line item to a specific installed asset instance, or updates an existing one when assetBomId is supplied inside bomInfo. - [system.kanoa.inventory.addCostCenter(costCenterInfo, userId)](https://docs.kanoa.ai/systemFunctions/inventory/addCostCenter.md): Adds a new cost center record, used to associate inventory transactions and consumption with a specific budget or department. - [system.kanoa.inventory.addInventoryTransaction(inventoryTransactionInfo, userId)](https://docs.kanoa.ai/systemFunctions/inventory/addInventoryTransaction.md): Adds a new inventory transaction record, adjusting the on-hand inventory balance for the affected part and inventory asset (bin/location) by the given quantity. - [system.kanoa.inventory.addInventoryTransactionType(inventoryTransactionTypeInfo, userId)](https://docs.kanoa.ai/systemFunctions/inventory/addInventoryTransactionType.md): Adds a new inventory transaction type record, defining a classification of inventory movement (e.g. Receipt, Issue, Transfer, Adjustment, Cycle Count) - [system.kanoa.inventory.addManufacturer(manufacturerInfo, userId)](https://docs.kanoa.ai/systemFunctions/inventory/addManufacturer.md): Adds a new manufacturer record, used elsewhere in the inventory module to associate parts with the company that produces them. - [system.kanoa.inventory.addModel(modelInfo, userId)](https://docs.kanoa.ai/systemFunctions/inventory/addModel.md): Adds a new model to the inventory catalog, or updates an existing one when modelId is included in modelInfo. - [system.kanoa.inventory.addModelBomItem(bomInfo, userId)](https://docs.kanoa.ai/systemFunctions/inventory/addModelBomItem.md): Adds a new Bill-of-Materials (BOM) line item to an equipment model, or updates an existing one when modelBomId is supplied inside bomInfo. - [system.kanoa.inventory.addPart(partInfo, userId)](https://docs.kanoa.ai/systemFunctions/inventory/addPart.md): Adds a new part record to the inventory master. This is the primary function for registering a new stock-keeping unit (SKU) - [system.kanoa.inventory.addPartCategory(partCategoryInfo, userId)](https://docs.kanoa.ai/systemFunctions/inventory/addPartCategory.md): Adds a new part category, used to classify inventory parts (e.g. Bearings, Filters, Gaskets) for filtering and reporting. - [system.kanoa.inventory.addPartInventoryBalance(partInventoryBalanceInfo, userId)](https://docs.kanoa.ai/systemFunctions/inventory/addPartInventoryBalance.md): Adds a new part inventory balance record for a given part and inventory asset (e.g. a warehouse, bin, or storeroom location). - [system.kanoa.inventory.addPartInventoryPolicy(partInventoryPolicyInfo, userId)](https://docs.kanoa.ai/systemFunctions/inventory/addPartInventoryPolicy.md): Adds a new part inventory policy record, defining the stocking and reorder rules for a part at a given inventory location. - [system.kanoa.inventory.addSupplier(supplierInfo, userId)](https://docs.kanoa.ai/systemFunctions/inventory/addSupplier.md): Adds a new supplier record to the inventory system. - [system.kanoa.inventory.addUnitOfMeasure(unitOfMeasureInfo, userId)](https://docs.kanoa.ai/systemFunctions/inventory/addUnitOfMeasure.md): Creates a new unit of measure record in the Kanoa MES inventory module, such as "EA" (each), "FT" (feet), "GAL" (gallon), or "LB" (pound). - [system.kanoa.inventory.deleteAssetBomItem(assetBomId, userId)](https://docs.kanoa.ai/systemFunctions/inventory/deleteAssetBomItem.md): Deletes a single BOM line item from a specific installed asset instance, identified by assetBomId. - [system.kanoa.inventory.deleteCostCenter(costCenterId, userId)](https://docs.kanoa.ai/systemFunctions/inventory/deleteCostCenter.md): Deletes the cost center record identified by the passed costCenterId. - [system.kanoa.inventory.deleteInventoryTransaction(inventoryTransactionId, userId)](https://docs.kanoa.ai/systemFunctions/inventory/deleteInventoryTransaction.md): Deletes the inventory transaction identified by inventoryTransactionId. - [system.kanoa.inventory.deleteInventoryTransactionType(inventoryTransactionTypeId, userId)](https://docs.kanoa.ai/systemFunctions/inventory/deleteInventoryTransactionType.md): Deletes the inventory transaction type identified by inventoryTransactionTypeId. - [system.kanoa.inventory.deleteManufacturer(manufacturerId, userId)](https://docs.kanoa.ai/systemFunctions/inventory/deleteManufacturer.md): Deletes the manufacturer record identified by manufacturerId. - [system.kanoa.inventory.deleteModel(modelId, userId)](https://docs.kanoa.ai/systemFunctions/inventory/deleteModel.md): Deletes the model record identified by modelId. - [system.kanoa.inventory.deleteModelBomItem(modelBomId, userId)](https://docs.kanoa.ai/systemFunctions/inventory/deleteModelBomItem.md): Deletes a single BOM line item from a model's catalog-level Bill-of-Materials, identified by modelBomId. - [system.kanoa.inventory.deletePart(partId, userId)](https://docs.kanoa.ai/systemFunctions/inventory/deletePart.md): Deletes the part record identified by partId. - [system.kanoa.inventory.deletePartCategory(partCategoryId, userId)](https://docs.kanoa.ai/systemFunctions/inventory/deletePartCategory.md): Deletes the part category identified by partCategoryId. - [system.kanoa.inventory.deletePartInventoryBalance(partInventoryBalanceId, userId)](https://docs.kanoa.ai/systemFunctions/inventory/deletePartInventoryBalance.md): Deletes the part inventory balance record identified by partInventoryBalanceId. - [system.kanoa.inventory.deletePartInventoryPolicy(partInventoryPolicyId, userId)](https://docs.kanoa.ai/systemFunctions/inventory/deletePartInventoryPolicy.md): Deletes the part inventory policy identified by partInventoryPolicyId. - [system.kanoa.inventory.deleteSupplier(supplierId, userId)](https://docs.kanoa.ai/systemFunctions/inventory/deleteSupplier.md): Deletes the supplier record identified by the passed supplierId. - [system.kanoa.inventory.deleteUnitOfMeasure(uomId, userId)](https://docs.kanoa.ai/systemFunctions/inventory/deleteUnitOfMeasure.md): Deletes the unit of measure record identified by uomId from the Kanoa MES inventory module. - [system.kanoa.inventory.getAssetBom(paramsDict)](https://docs.kanoa.ai/systemFunctions/inventory/getAssetBom.md): Returns the fully flattened Bill-of-Materials for a specific installed asset instance, given its assetId inside paramsDict. - [system.kanoa.inventory.getCostCenters(paramsDict)](https://docs.kanoa.ai/systemFunctions/inventory/getCostCenters.md): Retrieves cost center records defined in the Kanoa MES inventory module. - [system.kanoa.inventory.getInventoryTransactions(paramsDict)](https://docs.kanoa.ai/systemFunctions/inventory/getInventoryTransactions.md): Returns inventory transaction records from [inv].[inventoryTransaction], optionally filtered by any combination of the fields in paramsDict. - [system.kanoa.inventory.getInventoryTransactionTypes(paramsDict)](https://docs.kanoa.ai/systemFunctions/inventory/getInventoryTransactionTypes.md): Returns a list of inventory transaction types configured in the system, optionally filtered by the criteria provided in paramsDict. - [system.kanoa.inventory.getManufacturers(paramsDict)](https://docs.kanoa.ai/systemFunctions/inventory/getManufacturers.md): Returns manufacturer records from the inventory catalog. - [system.kanoa.inventory.getModelBom(modelId)](https://docs.kanoa.ai/systemFunctions/inventory/getModelBom.md): Returns the fully flattened Bill-of-Materials for an equipment model, given its modelId. - [system.kanoa.inventory.getModels(paramsDict)](https://docs.kanoa.ai/systemFunctions/inventory/getModels.md): Returns model records from the inventory catalog. A model represents a specific equipment/asset model made by a manufacturer, distinct from a Part. - [system.kanoa.inventory.getPartCategories(paramsDict)](https://docs.kanoa.ai/systemFunctions/inventory/getPartCategories.md): Returns part category records from the Kanoa MES inventory hierarchy, optionally narrowed down using the filter fields supplied in paramsDict. - [system.kanoa.inventory.getPartInventoryBalances(paramsDict)](https://docs.kanoa.ai/systemFunctions/inventory/getPartInventoryBalances.md): Returns part inventory balance records, optionally filtered by part, inventory asset, or a specific balance id. - [system.kanoa.inventory.getPartInventoryPolicies(paramsDict)](https://docs.kanoa.ai/systemFunctions/inventory/getPartInventoryPolicies.md): Returns part inventory policies matching the supplied filter criteria. - [system.kanoa.inventory.getPartInventoryStock(paramsDict)](https://docs.kanoa.ai/systemFunctions/inventory/getPartInventoryStock.md): Returns a combined view of part inventory balance and policy data for the inv.vwPartInventoryStocking view � a joined "stock" record per part/bin that merges on-hand and on-order quantities - [system.kanoa.inventory.getPartInventoryTotals(paramsDict)](https://docs.kanoa.ai/systemFunctions/inventory/getPartInventoryTotals.md): Returns aggregate part inventory totals (summary/rollup figures per part) filtered by part-level attributes such as - [system.kanoa.inventory.getParts(paramsDict)](https://docs.kanoa.ai/systemFunctions/inventory/getParts.md): Returns inventory parts matching the given filter criteria. Pass an empty dictionary (or omit filter keys) to retrieve all parts, - [system.kanoa.inventory.getPartsUsedByWorkOrderEvents(paramsDict)](https://docs.kanoa.ai/systemFunctions/inventory/getPartsUsedByWorkOrderEvents.md): Returns parts-consumption history sourced from the [cms].[vwPartsUsedByWorkOrderEvent] view, reporting which parts were used against which work order events. - [system.kanoa.inventory.getSuppliers(paramsDict)](https://docs.kanoa.ai/systemFunctions/inventory/getSuppliers.md): Returns supplier records from the inventory system, optionally filtered by any combination of the fields in paramsDict. Passing an empty dictionary returns all suppliers. - [system.kanoa.inventory.getUnitOfMeasures(paramsDict)](https://docs.kanoa.ai/systemFunctions/inventory/getUnitOfMeasures.md): Retrieves unit of measure records (for example "EA", "FT", "GAL", "LB") defined in the Kanoa MES inventory module. - [system.kanoa.inventory.issuePartToWorkOrderEvent(issueInfo, userId)](https://docs.kanoa.ai/systemFunctions/inventory/issuePartToWorkOrderEvent.md): Issues (deducts) a quantity of a part from inventory and records the consumption against a CMMS work order event. - [system.kanoa.inventory.updateCostCenter(costCenterInfo, userId)](https://docs.kanoa.ai/systemFunctions/inventory/updateCostCenter.md): Updates an existing cost center record in the Kanoa MES inventory module. - [system.kanoa.inventory.updateCostCenterField(costCenterId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/inventory/updateCostCenterField.md): Updates a single named column on a cost center record, identified by costCenterId, to the given value. - [system.kanoa.inventory.updateInventoryTransactionField(inventoryTransactionId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/inventory/updateInventoryTransactionField.md): Updates a single named field on an existing inventory transaction to the given value. - [system.kanoa.inventory.updateInventoryTransactionType(inventoryTransactionTypeInfo, userId)](https://docs.kanoa.ai/systemFunctions/inventory/updateInventoryTransactionType.md): Updates an existing inventory transaction type record identified by inventoryTransactionTypeId within the supplied inventoryTransactionTypeInfo dictionary. - [system.kanoa.inventory.updateInventoryTransactionTypeField(inventoryTransactionTypeId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/inventory/updateInventoryTransactionTypeField.md): Updates a single named field on an inventory transaction type record identified by inventoryTransactionTypeId. - [system.kanoa.inventory.updateManufacturer(manufacturerInfo, userId)](https://docs.kanoa.ai/systemFunctions/inventory/updateManufacturer.md): Updates an existing manufacturer record. Pass a manufacturerInfo dict containing the manufacturerId - [system.kanoa.inventory.updateManufacturerField(manufacturerId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/inventory/updateManufacturerField.md): Updates a single named field on a manufacturer record, identified by manufacturerId, to the supplied value. This is a targeted alternative to updateManufacturer for changing one column at a time. - [system.kanoa.inventory.updatePart(partInfo, userId)](https://docs.kanoa.ai/systemFunctions/inventory/updatePart.md): Updates an existing part record. Pass the part's id along with any of the updatable fields in partInfo (category, manufacturer reference, unit of measure, description, and the boolean handling flags) to overwrite the part's current values. - [system.kanoa.inventory.updatePartCategory(partCategoryInfo, userId)](https://docs.kanoa.ai/systemFunctions/inventory/updatePartCategory.md): Updates an existing part category record. Pass a partCategoryInfo dictionary containing the partCategoryId of the category to update along with any of the editable fields - [system.kanoa.inventory.updatePartCategoryField(partCategoryId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/inventory/updatePartCategoryField.md): Updates a single named field on a part category record identified by partCategoryId. - [system.kanoa.inventory.updatePartField(partId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/inventory/updatePartField.md): Updates a single named field on a part record for the given partId, without needing to supply the full part dictionary. - [system.kanoa.inventory.updatePartInventoryBalance(partInventoryBalanceInfo, userId)](https://docs.kanoa.ai/systemFunctions/inventory/updatePartInventoryBalance.md): Updates an existing part inventory balance record, which tracks the on-hand, on-order, and reserved quantities for a part at a specific inventory location (asset). - [system.kanoa.inventory.updatePartInventoryBalanceField(partInventoryBalanceId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/inventory/updatePartInventoryBalanceField.md): Updates a single named field on a part inventory balance record identified by partInventoryBalanceId. - [system.kanoa.inventory.updatePartInventoryPolicy(partInventoryPolicyInfo, userId)](https://docs.kanoa.ai/systemFunctions/inventory/updatePartInventoryPolicy.md): Updates an existing part inventory policy record, identified by partInventoryPolicyId, with new stocking and reorder rule values. - [system.kanoa.inventory.updatePartInventoryPolicyField(partInventoryPolicyId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/inventory/updatePartInventoryPolicyField.md): Updates a single named field on an existing part inventory policy record identified by partInventoryPolicyId. - [system.kanoa.inventory.updateSupplier(supplierInfo, userId)](https://docs.kanoa.ai/systemFunctions/inventory/updateSupplier.md): Updates an existing supplier record. - [system.kanoa.inventory.updateSupplierField(supplierId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/inventory/updateSupplierField.md): Updates a single named field on the supplier identified by supplierId, setting it to value. - [system.kanoa.inventory.updateUnitOfMeasure(unitOfMeasureInfo, userId)](https://docs.kanoa.ai/systemFunctions/inventory/updateUnitOfMeasure.md): Updates an existing unit of measure record in the Kanoa MES inventory module. - [system.kanoa.inventory.updateUnitOfMeasureField(uomId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/inventory/updateUnitOfMeasureField.md): Updates a single named field on an existing unit of measure (UOM) record identified by uomId. - [Item System Functions](https://docs.kanoa.ai/systemFunctions/apiItemIntro.md): Provide system functions for the MES application items (materials) - [system.kanoa.item.addItem(itemInfo, userId)](https://docs.kanoa.ai/systemFunctions/item/addItem.md): Adds an item. ItemInfo keys are required unless otherwise stated. - [system.kanoa.item.addItemAssetRate(rateInfo, userId)](https://docs.kanoa.ai/systemFunctions/item/addItemAssetRate.md): Adds the rateInfo to itemAssetRate table. All rateInfo keys are required. Entry in this table signifies that this item can be run on this asset - [system.kanoa.item.addItemAttribute(itemAttrInfo, userId)](https://docs.kanoa.ai/systemFunctions/item/addItemAttribute.md): Adds an item attribute. itemAttrInfo keys are required. If the item attribute already exists, it will update it - [system.kanoa.item.addItemClass(itemClassInfo, userId)](https://docs.kanoa.ai/systemFunctions/item/addItemClass.md): Adds a new item class. All itemClassInfo keys are required unless sotherwise stated. - [system.kanoa.item.addItemPeriod(periodInfo, userId)](https://docs.kanoa.ai/systemFunctions/item/addItemPeriod.md): Adds the item period i.e 'Hours', 'Minutes'. All periodInfo keys are required. - [system.kanoa.item.addItemState(itemStateInfo, userId)](https://docs.kanoa.ai/systemFunctions/item/addItemState.md): Adds a new item state. All itemStateInfo keys are required unless otherwise stated. - [system.kanoa.item.addItemStateClass(itemStateClassInfo, userId)](https://docs.kanoa.ai/systemFunctions/item/addItemStateClass.md): Adds a new item state class. itemStateClassInfo keys are required. - [system.kanoa.item.addItemUnit(itemUnitInfo, userId)](https://docs.kanoa.ai/systemFunctions/item/addItemUnit.md): Adds a new item unit. itemUnitInfo keys are required. Checks if the itemUnit already exists. - [system.kanoa.item.checkItemClassPath(itemClassPath, userId)](https://docs.kanoa.ai/systemFunctions/item/checkItemClassPath.md): Checks if an itemClassPath exists and creates it if it doesn't exist. - [system.kanoa.item.checkItemState(itemStateName, itemStateClassId, itemStates, userId)](https://docs.kanoa.ai/systemFunctions/item/checkItemState.md): Checks if an item state exists in the passed itemStates dictionary and creates it if it doesn't - [system.kanoa.item.checkItemStateClassPath(itemStateClassPath, userId)](https://docs.kanoa.ai/systemFunctions/item/checkItemStateClassPath.md): checks if an itemStateClassPath exists and creates it if it doesn't - [system.kanoa.item.deleteItem(itemId, userId)](https://docs.kanoa.ai/systemFunctions/item/deleteItem.md): Deletes the item. Foreign key constraints will prevent deleting an item that has been used - [system.kanoa.item.deleteItemAssetRate(itemAssetRateId, userId)](https://docs.kanoa.ai/systemFunctions/item/deleteItemAssetRate.md): Deletes the item asset rate - [system.kanoa.item.deleteItemAssetRates(assetId, userId)](https://docs.kanoa.ai/systemFunctions/item/deleteItemAssetRates.md): Unlinks all items from this asset - [system.kanoa.item.deleteItemAttribute(itemAttrId, userId)](https://docs.kanoa.ai/systemFunctions/item/deleteItemAttribute.md): Deletes an item attribute - [system.kanoa.item.deleteItemClass(itemClassId, userId)](https://docs.kanoa.ai/systemFunctions/item/deleteItemClass.md): Deletes an item class - [system.kanoa.item.deleteItemPeriod(itemPeriodId, userId)](https://docs.kanoa.ai/systemFunctions/item/deleteItemPeriod.md): Deletes an item period - [system.kanoa.item.deleteItemState(itemStateId, userId)](https://docs.kanoa.ai/systemFunctions/item/deleteItemState.md): Delete an item state. If the item state has been used then the enabled property will be set to False - [system.kanoa.item.deleteItemStateClass(itemStateClassId, userId)](https://docs.kanoa.ai/systemFunctions/item/deleteItemStateClass.md): Deletes an item stateclass and any item states or item state classes underneath it - [system.kanoa.item.deleteItemUnit(itemUnitId, userId)](https://docs.kanoa.ai/systemFunctions/item/deleteItemUnit.md): Deletes an item unit - [system.kanoa.item.getAssetItems(paramsDict)](https://docs.kanoa.ai/systemFunctions/item/getAssetItems.md): Returns items linked to assets for the given parameters. paramsDict keys are optional. Can be used to return assets that can produce items or items that can be produced by assets - [system.kanoa.item.getAssetItemStates(paramsDict)](https://docs.kanoa.ai/systemFunctions/item/getAssetItemStates.md): Returns item states linked with assets for given parameters. paramsDict keys are optional. - [system.kanoa.item.getItemAttributes(paramsDict)](https://docs.kanoa.ai/systemFunctions/item/getItemAttributes.md): Returns item attribute data. paramsDict keys are optional - [system.kanoa.item.getItemClasses(paramsDict)](https://docs.kanoa.ai/systemFunctions/item/getItemClasses.md): Returns itemClass info for given parameters. paramsDict keys are optional. - [system.kanoa.item.getItemPeriod(paramsDict)](https://docs.kanoa.ai/systemFunctions/item/getItemPeriod.md): Return item periods for the given parameters. paramsDict keys are optional - [system.kanoa.item.getItems(paramsDict)](https://docs.kanoa.ai/systemFunctions/item/getItems.md): Returns item info for given parameters. paramsDict keys are optional - [system.kanoa.item.getItemSource(paramsDict)](https://docs.kanoa.ai/systemFunctions/item/getItemSource.md): Returns item source filtered by the given parameters. paramsDict keys are optional - [system.kanoa.item.getItemStateClasses(paramsDict)](https://docs.kanoa.ai/systemFunctions/item/getItemStateClasses.md): Returns item state class info for given parameters. paramsDict keys are optional. - [system.kanoa.item.getItemStateLinks(paramsDict)](https://docs.kanoa.ai/systemFunctions/item/getItemStateLinks.md): Gets item state links. paramsDict keys are optional. - [system.kanoa.item.getItemStates(paramsDict)](https://docs.kanoa.ai/systemFunctions/item/getItemStates.md): Returns itemState info for given parameters. paramsDict keys are optional. - [system.kanoa.item.getItemUnits(paramsDict)](https://docs.kanoa.ai/systemFunctions/item/getItemUnits.md): Returns item units. paramsDict keys are optional. - [system.kanoa.item.linkItemStates(linkInfo, userId)](https://docs.kanoa.ai/systemFunctions/item/linkItemStates.md): Links assetIds with itemStateIds, itemStateClassIds, itemIds and itemClassIds. linkInfo keys are required - [system.kanoa.item.populateItemClassHierarchy()](https://docs.kanoa.ai/systemFunctions/item/populateItemClassHierarchy.md): Calls stored procedure spPopulateItemClassHierarchy to rebuild the itemClassHierarchy_MAT table - [system.kanoa.item.populateItemStateClassHierarchy()](https://docs.kanoa.ai/systemFunctions/item/populateItemStateClassHierarchy.md): Calls stored procedure spPopulateItemStateClassHierarchy to rebuild the itemStateClassHierarchy_MAT table - [system.kanoa.item.unlinkItemState(itemStateLinkId, userId)](https://docs.kanoa.ai/systemFunctions/item/unlinkItemState.md): Deletes an itemstateLink - [system.kanoa.item.updateItem(itemInfo, userId)](https://docs.kanoa.ai/systemFunctions/item/updateItem.md): Updates an item. ItemInfo keys are required unless otherwise stated. - [system.kanoa.item.updateItemAssetRate(rateInfo, userId)](https://docs.kanoa.ai/systemFunctions/item/updateItemAssetRate.md): Updates the rateInfo in the itemAssetRate table. All rateInfo keys are required. - [system.kanoa.item.updateItemAttribute(itemAttrInfo, userId)](https://docs.kanoa.ai/systemFunctions/item/updateItemAttribute.md): Updates an item attribute. itemAttrInfo keys are required. - [system.kanoa.item.updateItemClass(itemClassInfo, userId)](https://docs.kanoa.ai/systemFunctions/item/updateItemClass.md): Updates an item class. All itemClassInfo keys are required unless sotherwise stated. - [system.kanoa.item.updateItemField(itemId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/item/updateItemField.md): Updates an items field value - [system.kanoa.item.updateItemPeriod(periodInfo, userId)](https://docs.kanoa.ai/systemFunctions/item/updateItemPeriod.md): Update the item period. All periodInfo keys are required. - [system.kanoa.item.updateItemState(itemStateInfo, userId)](https://docs.kanoa.ai/systemFunctions/item/updateItemState.md): Update the item state. All itemStateInfo keys are required unless otherwise stated - [system.kanoa.item.updateItemStateClass(itemStateClassInfo, userId)](https://docs.kanoa.ai/systemFunctions/item/updateItemStateClass.md): Updates an item state class. itemStateClassInfo keys are required. - [system.kanoa.item.updateItemStateField(itemStateId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/item/updateItemStateField.md): Updates the passed field value for the given itemStateId. If the field is enabled, we will update the assetLink Table - [system.kanoa.item.updateItemUnit(itemUnitInfo, userId)](https://docs.kanoa.ai/systemFunctions/item/updateItemUnit.md): Updates an item unit. itemUnitInfo keys are required. - [Logger System Functions](https://docs.kanoa.ai/systemFunctions/apiLoggerIntro.md): Provide system functions for the MES application logging - [system.kanoa.logger.addLog(logInfo, userId)](https://docs.kanoa.ai/systemFunctions/logger/addLog.md): Adds a new log record. All logInfo keys are required unless otherwsie stated - [system.kanoa.logger.addLogger(loggerInfo, userId)](https://docs.kanoa.ai/systemFunctions/logger/addLogger.md): Create a new logger. All loggerInfo keys are required unless otherwise stated. - [system.kanoa.logger.deleteLogger(loggerId, userId)](https://docs.kanoa.ai/systemFunctions/logger/deleteLogger.md): Deletes a logger - [system.kanoa.logger.deleteLogs(logIds, userId)](https://docs.kanoa.ai/systemFunctions/logger/deleteLogs.md): Deletes logs - [system.kanoa.logger.getLoggers(paramsDict)](https://docs.kanoa.ai/systemFunctions/logger/getLoggers.md): Returns logger configuration. paramsDict keys are optional. - [system.kanoa.logger.getLogs(paramsDict)](https://docs.kanoa.ai/systemFunctions/logger/getLogs.md): Returns logs given the specified search parameters. paramsDict keys are optional. - [system.kanoa.logger.getLogType(paramsDict)](https://docs.kanoa.ai/systemFunctions/logger/getLogType.md): Returns a log type. paramsDict keys are optional. Log Types indicate 'info', 'warning', 'error'. - [system.kanoa.logger.isLoggerEnabled(paramsDict)](https://docs.kanoa.ai/systemFunctions/logger/isLoggerEnabled.md): Returns where a logger is enabled for a certain asset. paramsDict keys are required unless otherwise stated. - [system.kanoa.logger.updateLogger(loggerInfo, userId)](https://docs.kanoa.ai/systemFunctions/logger/updateLogger.md): Updates a logger. All loggerInfo key are required unless otherwise stated. - [Lot System Functions](https://docs.kanoa.ai/systemFunctions/apiLotIntro.md): Provide system functions for the MES application Lot Tracking - [system.kanoa.lot.addLot(lotInfo, userId)](https://docs.kanoa.ai/systemFunctions/lot/addLot.md): Adds a lot - [system.kanoa.lot.addLotAttribute(lotAttributeInfo, userId)](https://docs.kanoa.ai/systemFunctions/lot/addLotAttribute.md): Adds a lot attribute - [system.kanoa.lot.addLotEvent(lotEventInfo, userId)](https://docs.kanoa.ai/systemFunctions/lot/addLotEvent.md): Adds a lot event - [system.kanoa.lot.addLotOperation(lotOperationInfo, userId)](https://docs.kanoa.ai/systemFunctions/lot/addLotOperation.md): Adds a lot operation - [system.kanoa.lot.addLotOperationAttribute(lotOperationAttributeInfo, userId)](https://docs.kanoa.ai/systemFunctions/lot/addLotOperationAttribute.md): Adds a lot operation attribute - [system.kanoa.lot.addLotOperationEvent(lotOperationEventInfo, userId)](https://docs.kanoa.ai/systemFunctions/lot/addLotOperationEvent.md): Adds a lot operation event - [system.kanoa.lot.addLotState(lotStateInfo, userId)](https://docs.kanoa.ai/systemFunctions/lot/addLotState.md): Add a lot state. All lotStateInfo keys are required unless otherwise stated - [system.kanoa.lot.addLotStateReason(lotStateReasonInfo, userId)](https://docs.kanoa.ai/systemFunctions/lot/addLotStateReason.md): Adds a lot state reason to a lot state - [system.kanoa.lot.addRoute(routeInfo, userId)](https://docs.kanoa.ai/systemFunctions/lot/addRoute.md): Add a route. A route can be associated with an itemId or an itemClassId - [system.kanoa.lot.addRouteEvent(routeInfo, userId)](https://docs.kanoa.ai/systemFunctions/lot/addRouteEvent.md): Add a route event. A route event is the instance of a route created for a lot. - [system.kanoa.lot.addRouteStep(routeStepInfo, userId)](https://docs.kanoa.ai/systemFunctions/lot/addRouteStep.md): Add a route step to a route - [system.kanoa.lot.addRouteStepEvent(routeStepEventInfo, userId)](https://docs.kanoa.ai/systemFunctions/lot/addRouteStepEvent.md): Add a route step to a route event - [system.kanoa.lot.adjustLotEventQty(lotEventId, deltaQty, userId)](https://docs.kanoa.ai/systemFunctions/lot/adjustLotEventQty.md): Adjust a lot events qty by the passed in deltaQty - [system.kanoa.lot.createRouteInstance(lotId, routeId, userId)](https://docs.kanoa.ai/systemFunctions/lot/createRouteInstance.md): Copies a route to the routeEvent table and links it with a lotId. This is the adjustable route to be used by the lot. - [system.kanoa.lot.deleteLot(lotId, userId)](https://docs.kanoa.ai/systemFunctions/lot/deleteLot.md): Deletes a lot. This function will also delete any lotOperationEvents and lotEvents asociated with this lotId - [system.kanoa.lot.deleteLotAttribute(lotAttributeId, userId)](https://docs.kanoa.ai/systemFunctions/lot/deleteLotAttribute.md): Deletes a lot attribute - [system.kanoa.lot.deleteLotEvent(lotEventId, userId)](https://docs.kanoa.ai/systemFunctions/lot/deleteLotEvent.md): Deletes a lot event - [system.kanoa.lot.deleteLotOperation(lotId, userId)](https://docs.kanoa.ai/systemFunctions/lot/deleteLotOperation.md): Deletes a lot Operation. This function will also delete any lotOperationEvents and lotEvents asociated with this lotId - [system.kanoa.lot.deleteLotOperationAttribute(lotOperationAttributeId, userId)](https://docs.kanoa.ai/systemFunctions/lot/deleteLotOperationAttribute.md): Deletes a lot operation attribute - [system.kanoa.lot.deleteLotOperationEvent(lotOperationEventId, userId)](https://docs.kanoa.ai/systemFunctions/lot/deleteLotOperationEvent.md): Deletes a lot operation event - [system.kanoa.lot.deleteLotState(lotStateId, userId)](https://docs.kanoa.ai/systemFunctions/lot/deleteLotState.md): Delete a lot state. If the state has been used then it is set to disabled - [system.kanoa.lot.deleteLotStateReason(lotStateReasonId, userId)](https://docs.kanoa.ai/systemFunctions/lot/deleteLotStateReason.md): Delete a lot state reason. If the state has been used then it is set to disabled - [system.kanoa.lot.deleteRoute(routeId, userId)](https://docs.kanoa.ai/systemFunctions/lot/deleteRoute.md): Deletes a route. - [system.kanoa.lot.deleteRouteEvent(routeEventId, userId)](https://docs.kanoa.ai/systemFunctions/lot/deleteRouteEvent.md): Deletes a route event. - [system.kanoa.lot.deleteRouteStep(routeStepId, userId)](https://docs.kanoa.ai/systemFunctions/lot/deleteRouteStep.md): The function deletes a route step from the mes.routeStep table. - [system.kanoa.lot.deleteRouteStepEvent(routeStepEventId, userId)](https://docs.kanoa.ai/systemFunctions/lot/deleteRouteStepEvent.md): Deletes a route step event. This function will reorder the step numbers after the step event is deleted. - [system.kanoa.lot.enableAssetLotStateLink(lotStateReasonAssetLinkId, enabled)](https://docs.kanoa.ai/systemFunctions/lot/enableAssetLotStateLink.md): Updates the lotStateReasonAssetLink enabled state. - [system.kanoa.lot.enableLotOperationAssetLink(lotOperationAssetLinkId, enabled)](https://docs.kanoa.ai/systemFunctions/lot/enableLotOperationAssetLink.md): Updates the lotOperationAssetLink enabled state. - [system.kanoa.lot.enableLotOperationItemLink(lotOperationItemLinkId, enabled)](https://docs.kanoa.ai/systemFunctions/lot/enableLotOperationItemLink.md): Updates the lotOperationItemLinkId enabled state - [system.kanoa.lot.executeLotOperation(lotOperationEventInfo, inputLotEvents, outputLotEvents, userId)](https://docs.kanoa.ai/systemFunctions/lot/executeLotOperation.md): Creates or updates a lot operation event with input and output lot events - [system.kanoa.lot.getAssetLotStateReasons(paramsDict)](https://docs.kanoa.ai/systemFunctions/lot/getAssetLotStateReasons.md): Returns lot state reasons associated with assets - [system.kanoa.lot.getLotActivity(paramsDict)](https://docs.kanoa.ai/systemFunctions/lot/getLotActivity.md): Returns lots along with quantities grouped by location (asset) and state, filtered by the given parameters - [system.kanoa.lot.getLotAttributes(paramsDict)](https://docs.kanoa.ai/systemFunctions/lot/getLotAttributes.md): Returns lot attributes filtered by the given parameters - [system.kanoa.lot.getLotEvents(paramsDict)](https://docs.kanoa.ai/systemFunctions/lot/getLotEvents.md): Returns lot events filtered by the given parameters. paramsDict keys are optional unless otherwise stated. - [system.kanoa.lot.getLotOperationAssetLinks(paramsDict)](https://docs.kanoa.ai/systemFunctions/lot/getLotOperationAssetLinks.md): Returns assets linked to lot operations - [system.kanoa.lot.getLotOperationAttributes(paramsDict)](https://docs.kanoa.ai/systemFunctions/lot/getLotOperationAttributes.md): Returns lot operation attributes filtered by the given parameters. paramsDict keys are optional unless otherwise stated. - [system.kanoa.lot.getLotOperationEvent(paramsDict)](https://docs.kanoa.ai/systemFunctions/lot/getLotOperationEvent.md): Returns lot operation events filtered by the given parameters - [system.kanoa.lot.getLotOperationItemLinks(paramsDict)](https://docs.kanoa.ai/systemFunctions/lot/getLotOperationItemLinks.md): Returns assets linked to lot operations - [system.kanoa.lot.getLotOperations(paramsDict)](https://docs.kanoa.ai/systemFunctions/lot/getLotOperations.md): Returns lot operations - [system.kanoa.lot.getLotQty(paramsDict)](https://docs.kanoa.ai/systemFunctions/lot/getLotQty.md): Returns lots filtered by the given parameters. Lot quantity is summed from all lotEvents associated with a lot - [system.kanoa.lot.getLots(paramsDict)](https://docs.kanoa.ai/systemFunctions/lot/getLots.md): Returns lots filtered by the given parameters - [system.kanoa.lot.getLotsForLotOperationEvent(paramsDict)](https://docs.kanoa.ai/systemFunctions/lot/getLotsForLotOperationEvent.md): Returns lots along with their lotOperationEvents filtered by the given parameters - [system.kanoa.lot.getLotStateReasons(paramsDict)](https://docs.kanoa.ai/systemFunctions/lot/getLotStateReasons.md): Returns lot state reasons - [system.kanoa.lot.getLotStates(paramsDict)](https://docs.kanoa.ai/systemFunctions/lot/getLotStates.md): Return lot states - [system.kanoa.lot.getRouteEvents(paramsDict)](https://docs.kanoa.ai/systemFunctions/lot/getRouteEvents.md): Returns routes events filtered by the given parameters. paramsDict keys are optional unless otherwise stated. - [system.kanoa.lot.getRoutes(paramsDict)](https://docs.kanoa.ai/systemFunctions/lot/getRoutes.md): Returns routes filtered by the given parameters. paramsDict keys are optional unless otherwise stated. - [system.kanoa.lot.getRouteStepEvents(paramsDict)](https://docs.kanoa.ai/systemFunctions/lot/getRouteStepEvents.md): Get all route step events for the specified parameters. paramsDict keys are optional unless otherwise stated. - [system.kanoa.lot.getRouteSteps(paramsDict)](https://docs.kanoa.ai/systemFunctions/lot/getRouteSteps.md): Get all route steps for the specified parameters - [system.kanoa.lot.linkAssetLotStates(assetIdList, lotStateReasonIdList, userId)](https://docs.kanoa.ai/systemFunctions/lot/linkAssetLotStates.md): Links a list of assetIds with a list of lotStateReasonIds - [system.kanoa.lot.linkLotOperationsAssets(assetIdList, lotOperationIdList, userId)](https://docs.kanoa.ai/systemFunctions/lot/linkLotOperationsAssets.md): Links a list of assetIds with a list of lotOperationIds - [system.kanoa.lot.linkLotOperationsItems(itemIdList, itemClassIdList, lotOperationIdList, itemSourceId, userId)](https://docs.kanoa.ai/systemFunctions/lot/linkLotOperationsItems.md): Links a list of itemIds and itemClassIds with a list of lotOperationIds - [system.kanoa.lot.reorderRouteStepEvents(routesStepEvents, userId)](https://docs.kanoa.ai/systemFunctions/lot/reorderRouteStepEvents.md): Given a dictionary of routeSteps, this function will update the step number for each step in the database - [system.kanoa.lot.reorderRouteSteps(routesSteps, userId)](https://docs.kanoa.ai/systemFunctions/lot/reorderRouteSteps.md): Given a dictionary of routeSteps, this function will update the step number for each step in the database - [system.kanoa.lot.traceLot(lotId, depth)](https://docs.kanoa.ai/systemFunctions/lot/traceLot.md): Returns all lots events that are linked to the passed in lotId. - [system.kanoa.lot.unlinkAssetLotState(lotStateReasonAssetLinkId, userId)](https://docs.kanoa.ai/systemFunctions/lot/unlinkAssetLotState.md): Unlinks an asset with an lotState - [system.kanoa.lot.unlinkLotOperationAsset(lotOperationAssetLinkId, userId)](https://docs.kanoa.ai/systemFunctions/lot/unlinkLotOperationAsset.md): Unlinks an asset with a lot operation - [system.kanoa.lot.unlinkLotOperationItem(lotOperationItemLinkId, userId)](https://docs.kanoa.ai/systemFunctions/lot/unlinkLotOperationItem.md): Unlinks an item with a lot operation - [system.kanoa.lot.updateLot(lotInfo, userId)](https://docs.kanoa.ai/systemFunctions/lot/updateLot.md): Updates a lot - [system.kanoa.lot.updateLotAttribute(lotAttributeInfo, userId)](https://docs.kanoa.ai/systemFunctions/lot/updateLotAttribute.md): Updates a lot attribute - [system.kanoa.lot.updateLotEvent(lotEventInfo, userId)](https://docs.kanoa.ai/systemFunctions/lot/updateLotEvent.md): Updates a lot event - [system.kanoa.lot.updateLotEventField(lotEventId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/lot/updateLotEventField.md): Updates the passed field value for the given lotEventId. If the field is enabled, we will update the lotEvent Table - [system.kanoa.lot.updateLotField(lotId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/lot/updateLotField.md): Updates the passed field value for the given lotId - [system.kanoa.lot.updateLotOperation(lotOperationInfo, userId)](https://docs.kanoa.ai/systemFunctions/lot/updateLotOperation.md): Updates a lot operation - [system.kanoa.lot.updateLotOperationAttribute(lotOperationAttributeInfo, userId)](https://docs.kanoa.ai/systemFunctions/lot/updateLotOperationAttribute.md): Updates a lot operation attribute - [system.kanoa.lot.updateLotOperationEvent(lotOperationEventInfo, userId)](https://docs.kanoa.ai/systemFunctions/lot/updateLotOperationEvent.md): Updates a lot operation event - [system.kanoa.lot.updateLotOperationField(lotOperationId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/lot/updateLotOperationField.md): Updates the passed field value for the given lotOperationId - [system.kanoa.lot.updateLotState(lotStateInfo, userId)](https://docs.kanoa.ai/systemFunctions/lot/updateLotState.md): Update the state info for a given stateId. All lotStateInfo keys are required unless otherwise stated. - [system.kanoa.lot.updateLotStateField(lotStateId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/lot/updateLotStateField.md): Updates the passed field value for the given lotStateId. If the field is enabled, we will update the assetLink Table - [system.kanoa.lot.updateLotStateReason(lotStateReasonInfo, userId)](https://docs.kanoa.ai/systemFunctions/lot/updateLotStateReason.md): Update the lot state reason. Updates stateAssetLink table accordingly. All keys are required unless otherwise stated. - [system.kanoa.lot.updateLotStateReasonField(lotStateReasonId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/lot/updateLotStateReasonField.md): Updates the passed field value for the given lotStateReasonId. If the field is enabled, we will update the assetLink Table - [system.kanoa.lot.updateRoute(routeInfo, userId)](https://docs.kanoa.ai/systemFunctions/lot/updateRoute.md): Updates a route. A route can be associated with an itemId or an itemClassId - [system.kanoa.lot.updateRouteEvent(routeEventInfo, userId)](https://docs.kanoa.ai/systemFunctions/lot/updateRouteEvent.md): Updates a route event. Route events are instances of a route created for a lot - [system.kanoa.lot.updateRouteEventField(routeEventId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/lot/updateRouteEventField.md): Updates the passed field value for the given routeId - [system.kanoa.lot.updateRouteField(routeId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/lot/updateRouteField.md): Updates the passed field value for the given routeId - [system.kanoa.lot.updateRouteStep(routeStepInfo, userId)](https://docs.kanoa.ai/systemFunctions/lot/updateRouteStep.md): Updates a route step - [system.kanoa.lot.updateRouteStepEvent(routeStepEventInfo, userId)](https://docs.kanoa.ai/systemFunctions/lot/updateRouteStepEvent.md): Updates a route step event - [system.kanoa.lot.updateRouteStepEventField(routeStepEventId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/lot/updateRouteStepEventField.md): Updates the passed field value for the given routeStepEventId - [system.kanoa.lot.updateRouteStepField(routeStepId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/lot/updateRouteStepField.md): Updates the passed field value for the given routeStepId - [Measures System Functions](https://docs.kanoa.ai/systemFunctions/apiMeasuresIntro.md): Provide system functions for the MES application Measures - [system.kanoa.measures.addMeasure(measureInfo, userId)](https://docs.kanoa.ai/systemFunctions/measures/addMeasure.md): Adds a measure. All measureInfo keys are required unless otherwise stated. - [system.kanoa.measures.addMeasureAggregation(measureAggregationInfo, userId)](https://docs.kanoa.ai/systemFunctions/measures/addMeasureAggregation.md): Adds a measure aggregation. All measureAggregationInfo keys are required. - [system.kanoa.measures.addMeasureEvent(measureEventInfo, userId)](https://docs.kanoa.ai/systemFunctions/measures/addMeasureEvent.md): Adds a measure event. measureId and tStamp are required; statistical columns are optional. - [system.kanoa.measures.addMeasureSourceType(measureSourceTypeInfo, userId)](https://docs.kanoa.ai/systemFunctions/measures/addMeasureSourceType.md): Adds a measure source type. All measureSourceTypeInfo keys are required unless otherwise stated. - [system.kanoa.measures.addMeasureTag(measureId, userId)](https://docs.kanoa.ai/systemFunctions/measures/addMeasureTag.md): Adds a measure tag. Tag is stored in a measures folder under the asset - [system.kanoa.measures.deleteMeasure(measureId, userId)](https://docs.kanoa.ai/systemFunctions/measures/deleteMeasure.md): Deletes a measure. SQL will prevent deletion if it has events. - [system.kanoa.measures.deleteMeasureAggregation(measureAggregationId, userId)](https://docs.kanoa.ai/systemFunctions/measures/deleteMeasureAggregation.md): Deletes a measure aggregation. SQL will prevent deletion if it has been used. - [system.kanoa.measures.deleteMeasureEvent(measureEventId, userId)](https://docs.kanoa.ai/systemFunctions/measures/deleteMeasureEvent.md): Deletes a single measure event - [system.kanoa.measures.deleteMeasureEventsInRange(measureId, tStampStart, tStampEnd, userId)](https://docs.kanoa.ai/systemFunctions/measures/deleteMeasureEventsInRange.md): Deletes all events for a measure within a time range, inclusive. - [system.kanoa.measures.deleteMeasureSourceType(measureSourceTypeId, userId)](https://docs.kanoa.ai/systemFunctions/measures/deleteMeasureSourceType.md): Deletes a measure source type. SQL will prevent deletion if it has been used. - [system.kanoa.measures.getMeasureAggregations(paramsDict)](https://docs.kanoa.ai/systemFunctions/measures/getMeasureAggregations.md): Returns measure aggregations. paramsDict keys are optional. - [system.kanoa.measures.getMeasureEvents(paramsDict)](https://docs.kanoa.ai/systemFunctions/measures/getMeasureEvents.md): Returns measure events. paramsDict keys are optional. - [system.kanoa.measures.getMeasureGapAnalysis(paramsDict)](https://docs.kanoa.ai/systemFunctions/measures/getMeasureGapAnalysis.md): Returns the time gap between consecutive measure events, flagging gaps above a threshold. - [system.kanoa.measures.getMeasureHourlyTrends(paramsDict)](https://docs.kanoa.ai/systemFunctions/measures/getMeasureHourlyTrends.md): Returns measure statistics grouped by hour. - [system.kanoa.measures.getMeasureOutliers(paramsDict)](https://docs.kanoa.ai/systemFunctions/measures/getMeasureOutliers.md): Returns events where measureValue falls outside N standard deviations of the mean. - [system.kanoa.measures.getMeasureRollingAverage(paramsDict)](https://docs.kanoa.ai/systemFunctions/measures/getMeasureRollingAverage.md): Returns measureValue with a rolling average and rolling standard deviation over a sliding window. - [system.kanoa.measures.getMeasures(paramsDict)](https://docs.kanoa.ai/systemFunctions/measures/getMeasures.md): Returns measures. paramsDict keys are optional. - [system.kanoa.measures.getMeasureSampleCountConsistency(paramsDict)](https://docs.kanoa.ai/systemFunctions/measures/getMeasureSampleCountConsistency.md): Returns events flagged where sampleCount deviates significantly from the mean. - [system.kanoa.measures.getMeasureSourceTypes(paramsDict)](https://docs.kanoa.ai/systemFunctions/measures/getMeasureSourceTypes.md): Returns measure source types. paramsDict keys are optional. - [system.kanoa.measures.getMeasureSummary(paramsDict)](https://docs.kanoa.ai/systemFunctions/measures/getMeasureSummary.md): Returns overall summary statistics per measure. - [system.kanoa.measures.getMeasureValueDistribution(paramsDict)](https://docs.kanoa.ai/systemFunctions/measures/getMeasureValueDistribution.md): Returns a frequency distribution of measureValue grouped into buckets. - [system.kanoa.measures.updateMeasure(measureInfo, userId)](https://docs.kanoa.ai/systemFunctions/measures/updateMeasure.md): Updates a measure. All measureInfo keys are required unless otherwise stated - [system.kanoa.measures.updateMeasureAggregation(measureAggregationInfo, userId)](https://docs.kanoa.ai/systemFunctions/measures/updateMeasureAggregation.md): Updates a measure aggregation. All measureAggregationInfo keys are required. - [system.kanoa.measures.updateMeasureEvent(measureEventInfo, userId)](https://docs.kanoa.ai/systemFunctions/measures/updateMeasureEvent.md): Updates a measure event. All measureEventInfo keys are required, unless otherwise stated - [system.kanoa.measures.updateMeasureSourceType(measureSourceTypeInfo, userId)](https://docs.kanoa.ai/systemFunctions/measures/updateMeasureSourceType.md): Updates a measure source type. All measureSourceTypeInfo keys are required. - [Operator System Functions](https://docs.kanoa.ai/systemFunctions/apiOperatorsIntro.md): Provide system functions for the MES application operators - [system.kanoa.operators.addCrew(crewInfo, userId)](https://docs.kanoa.ai/systemFunctions/operators/addCrew.md): Creates a new crew - [system.kanoa.operators.addCrewMember(crewMemberInfo, userId)](https://docs.kanoa.ai/systemFunctions/operators/addCrewMember.md): Adds a user to a crew as of startDate. Does not automatically close any other open membership - [system.kanoa.operators.addOperatorShiftAssignment(assignmentInfo, userId)](https://docs.kanoa.ai/systemFunctions/operators/addOperatorShiftAssignment.md): Assigns a single operator to a shift by inserting one sch.operatorShiftAssignment row. Use this for - [system.kanoa.operators.assignCrewToShift(crewAssignmentInfo, userId)](https://docs.kanoa.ai/systemFunctions/operators/assignCrewToShift.md): Assigns an entire crew to a shift by inserting one sch.operatorShiftAssignment row per user who was - [system.kanoa.operators.deleteCrew(crewId, userId)](https://docs.kanoa.ai/systemFunctions/operators/deleteCrew.md): Deletes a crew. Cascades to sch.crewMember; sch.operatorShiftAssignment.crewId is set NULL on - [system.kanoa.operators.deleteCrewMember(crewMemberId, userId)](https://docs.kanoa.ai/systemFunctions/operators/deleteCrewMember.md): Deletes a crew member. - [system.kanoa.operators.deleteOperatorSession(operatorAssetSessionId, userId)](https://docs.kanoa.ai/systemFunctions/operators/deleteOperatorSession.md): Deletes an operator session - [system.kanoa.operators.deleteOperatorShiftAssignment(operatorShiftAssignmentId, userId)](https://docs.kanoa.ai/systemFunctions/operators/deleteOperatorShiftAssignment.md): Deletes an operator shift assignment (individual or crew-generated) - [system.kanoa.operators.endOperatorShiftAssignment(operatorShiftAssignmentId, endDate, userId)](https://docs.kanoa.ai/systemFunctions/operators/endOperatorShiftAssignment.md): Ends an operator shift assignment by setting its endDate - does not delete the assignment record. - [system.kanoa.operators.enterBadge(assetId, badgeNum, logIn, tStamp)](https://docs.kanoa.ai/systemFunctions/operators/enterBadge.md): Badges an operator in or out for a specific asset. - [system.kanoa.operators.getCrewMembers(paramsDict)](https://docs.kanoa.ai/systemFunctions/operators/getCrewMembers.md): Returns crew membership rows filtered by whichever keys are present in paramsDict - every key is optional - [system.kanoa.operators.getCrews(paramsDict)](https://docs.kanoa.ai/systemFunctions/operators/getCrews.md): Returns crew rows filtered by whichever keys are present in paramsDict - every key is optional - [system.kanoa.operators.getOLEData(userId, assetId, startDate, endDate, attributionMode)](https://docs.kanoa.ai/systemFunctions/operators/getOLEData.md): Returns single-range OLE/POLE data for one user on one asset, or for every operator scheduled - [system.kanoa.operators.getOLEDataAsset(assetId, startDate, endDate)](https://docs.kanoa.ai/systemFunctions/operators/getOLEDataAsset.md): Returns single-range, whole-crew-combined OLE/POLE data for one asset (no operator breakdown). - [system.kanoa.operators.getOLEDataAssetByInterval(assetId, startDate, endDate, interval)](https://docs.kanoa.ai/systemFunctions/operators/getOLEDataAssetByInterval.md): Returns bucketed (Hour/Day/Week), whole-crew-combined OLE/POLE data for one asset (no operator breakdown) - [system.kanoa.operators.getOLEDataByCrew(assetId, startDate, endDate, attributionMode, output)](https://docs.kanoa.ai/systemFunctions/operators/getOLEDataByCrew.md): Returns one row per sch.crew with a schedule overlapping the range, rolling up OLE/POLE across every - [system.kanoa.operators.getOLEDataByInterval(userId, assetId, startDate, endDate, interval, attributionMode)](https://docs.kanoa.ai/systemFunctions/operators/getOLEDataByInterval.md): Returns bucketed (Hour/Day/Week) OLE/POLE data for one user on one asset, or for every operator - [system.kanoa.operators.getOLEDataByShift(userId, startDate, endDate, assetId, attributionMode)](https://docs.kanoa.ai/systemFunctions/operators/getOLEDataByShift.md): Returns one row per rostered shift (sch.operatorShiftAssignment/shiftBlock) overlapping the range - [system.kanoa.operators.getOLEOperatorAssetBreakdown(userId, assetId, startDate, endDate, attributionMode)](https://docs.kanoa.ai/systemFunctions/operators/getOLEOperatorAssetBreakdown.md): Breaks down one operator's OLE/POLE by individual asset (line) within a site/area - the leaderboard's - [system.kanoa.operators.getOLEOperatorLeaderboard(assetId, startDate, endDate, attributionMode)](https://docs.kanoa.ai/systemFunctions/operators/getOLEOperatorLeaderboard.md): Returns one row per operator who worked this asset in range, ranked by POLE - [system.kanoa.operators.getOperators(paramsDict)](https://docs.kanoa.ai/systemFunctions/operators/getOperators.md): Returns operator session rows (mes.vwOperatorAssetSession), filtered by whichever keys are present in paramsDict - every key is optional - [system.kanoa.operators.getOperatorShiftAssignments(paramsDict)](https://docs.kanoa.ai/systemFunctions/operators/getOperatorShiftAssignments.md): Returns operator shift assignment rows filtered by whichever keys are present in paramsDict - every key is optional - [system.kanoa.operators.operatorLogin(sessionInfo, userId)](https://docs.kanoa.ai/systemFunctions/operators/operatorLogin.md): Logs an operator into an asset by inserting an open mes.operatorAssetSession row. There is no separate operator identity - sessionInfo['userId'] is the sec.user being - [system.kanoa.operators.operatorLogout(sessionInfo, userId)](https://docs.kanoa.ai/systemFunctions/operators/operatorLogout.md): Logs an operator out of an asset by closing their open mes.operatorAssetSession row (the row where logoutTStamp IS NULL for this userId+assetId pair). There is no separate - [system.kanoa.operators.removeCrewMember(crewMemberId, endDate, userId)](https://docs.kanoa.ai/systemFunctions/operators/removeCrewMember.md): Removes a user from a crew by closing their open membership row (endDate IS NULL) as of endDate - does not delete the historical membership record. - [system.kanoa.operators.updateCrew(crewInfo, userId)](https://docs.kanoa.ai/systemFunctions/operators/updateCrew.md): Updates an existing crew - every key besides crewId is optional - [Order System Functions](https://docs.kanoa.ai/systemFunctions/apiOrderIntro.md): Provide system functions for the MES application production orders - [system.kanoa.order.addProductionOrder(woInfo, userId)](https://docs.kanoa.ai/systemFunctions/order/addProductionOrder.md): Adds a new production order. All keys are required unless otherwise state - [system.kanoa.order.addProductionOrderMetaData(workOrderMetaInfo, userId)](https://docs.kanoa.ai/systemFunctions/order/addProductionOrderMetaData.md): Adds a production order meta data value - [system.kanoa.order.addProductionOrderSource(orderSourceInfo, userId)](https://docs.kanoa.ai/systemFunctions/order/addProductionOrderSource.md): Adds a new work order source - [system.kanoa.order.addProductionOrderState(orderStateInfo, userId)](https://docs.kanoa.ai/systemFunctions/order/addProductionOrderState.md): Adds a new production order state - [system.kanoa.order.deleteProductionOrder(workOrderId, userId)](https://docs.kanoa.ai/systemFunctions/order/deleteProductionOrder.md): Deletes a production order - [system.kanoa.order.deleteProductionOrderMetaData(workOrderMetaDataId, userId)](https://docs.kanoa.ai/systemFunctions/order/deleteProductionOrderMetaData.md): Deletes a production order meta data entry - [system.kanoa.order.deleteProductionOrderState(workOrderStatusId, userId)](https://docs.kanoa.ai/systemFunctions/order/deleteProductionOrderState.md): Deletes a production order state. States that are set as reservedBySystem cannot be deleted. - [system.kanoa.order.getProductionOrderMetaData(paramsDict)](https://docs.kanoa.ai/systemFunctions/order/getProductionOrderMetaData.md): Returns production order metaData. paramsDict keys are optional. - [system.kanoa.order.getProductionOrders(paramsDict)](https://docs.kanoa.ai/systemFunctions/order/getProductionOrders.md): Returns production orders linked to assets for given parameters. paramsDict keys are optional. - [system.kanoa.order.getProductionOrderSource(paramsDict)](https://docs.kanoa.ai/systemFunctions/order/getProductionOrderSource.md): Returns production order source. paramsDict keys are optional. - [system.kanoa.order.getProductionOrderStates(paramsDict)](https://docs.kanoa.ai/systemFunctions/order/getProductionOrderStates.md): Returns production order states - [system.kanoa.order.updateClientsProductionOrderChange()](https://docs.kanoa.ai/systemFunctions/order/updateClientsProductionOrderChange.md): We have a tag dataset kanoa/timers/getActiveOrdersTimer/data that holds released work orders. - [system.kanoa.order.updateProductionOrder(woInfo, userId)](https://docs.kanoa.ai/systemFunctions/order/updateProductionOrder.md): Update a production order - [system.kanoa.order.updateProductionOrderField(workOrderId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/order/updateProductionOrderField.md): Update a production order field - [system.kanoa.order.updateProductionOrderMetaData(workOrderMetaInfo, userId)](https://docs.kanoa.ai/systemFunctions/order/updateProductionOrderMetaData.md): Update a production order meta data entry - [system.kanoa.order.updateProductionOrderState(orderStateInfo, userId)](https://docs.kanoa.ai/systemFunctions/order/updateProductionOrderState.md): Update a production order state. States that are reservedBySystem cannot be updated - [system.kanoa.order.updateProductionOrderStateField(workOrderStatusId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/order/updateProductionOrderStateField.md): Updates the passed field value for the given workOrderStatusId. States that are reserved by system can only have their color changed. - [Performance State System Functions](https://docs.kanoa.ai/systemFunctions/apiPerformanceStateIntro.md): Provide system functions for the MES application performance states - [system.kanoa.performanceState.addPerformanceState(performanceStateInfo, userId)](https://docs.kanoa.ai/systemFunctions/performanceState/addPerformanceState.md): Adds a new performance state. All performanceStateInfo keys are required. - [system.kanoa.performanceState.addPerformanceStateClass(performanceStateClassInfo, userId)](https://docs.kanoa.ai/systemFunctions/performanceState/addPerformanceStateClass.md): Adds a new performance state class. All performanceStateClassInfo keys are required. - [system.kanoa.performanceState.checkPerformanceState(performanceStateName, performanceStateClassId, performanceStates, userId)](https://docs.kanoa.ai/systemFunctions/performanceState/checkPerformanceState.md): Checks if an performanceState exists for the performanceStateClassId and creates it if it doesn't - [system.kanoa.performanceState.checkPerformanceStateClassPath(performanceStateClassPath, userId)](https://docs.kanoa.ai/systemFunctions/performanceState/checkPerformanceStateClassPath.md): Checks if an performanceStateClassPath exists and creates it if it doesn't - [system.kanoa.performanceState.deletePerformanceState(performanceStateId, userId)](https://docs.kanoa.ai/systemFunctions/performanceState/deletePerformanceState.md): Delete a performance state and any associated links to assets - [system.kanoa.performanceState.deletePerformanceStateClass(performanceStateClassId, userId)](https://docs.kanoa.ai/systemFunctions/performanceState/deletePerformanceStateClass.md): Deletes an item state class and any performance states or item state classes underneath it. - [system.kanoa.performanceState.getAssetPerformanceStates(paramsDict)](https://docs.kanoa.ai/systemFunctions/performanceState/getAssetPerformanceStates.md): Returns performance states linked to assets filtered by the given parameters. paramsDict keys are optional. - [system.kanoa.performanceState.getPerformanceStateClasses(paramsDict)](https://docs.kanoa.ai/systemFunctions/performanceState/getPerformanceStateClasses.md): Returns performanceStateClass info for given parameters. paramsict keys are optional. - [system.kanoa.performanceState.getPerformanceStateLinks(paramsDict)](https://docs.kanoa.ai/systemFunctions/performanceState/getPerformanceStateLinks.md): Gets performance state links. paramsDict keys are optional. - [system.kanoa.performanceState.getPerformanceStates(paramsDict)](https://docs.kanoa.ai/systemFunctions/performanceState/getPerformanceStates.md): Returns performance state info for given parameters. paramsDict keys are optional. - [system.kanoa.performanceState.linkPerformanceStates(linkInfo, userId)](https://docs.kanoa.ai/systemFunctions/performanceState/linkPerformanceStates.md): Links assetIds with performanceStateIds, performanceStateClassIds, itemIds and itemClassIds. All linkInfo keys are required. - [system.kanoa.performanceState.unlinkPerformanceState(performanceStateLinkId, userId)](https://docs.kanoa.ai/systemFunctions/performanceState/unlinkPerformanceState.md): Deletes this performance state link - [system.kanoa.performanceState.updatePerformanceState(performanceStateInfo, userId)](https://docs.kanoa.ai/systemFunctions/performanceState/updatePerformanceState.md): Update the performance state reason. All performanceStateInfo keys are required. - [system.kanoa.performanceState.updatePerformanceStateClass(performanceStateClassInfo, userId)](https://docs.kanoa.ai/systemFunctions/performanceState/updatePerformanceStateClass.md): updates an performance state class. All performanceStateClassInfo keys are required. - [system.kanoa.performanceState.updatePerformanceStateField(performanceStateId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/performanceState/updatePerformanceStateField.md): Updates the passed field value for the given performanceStateId. If the field is enabled, we will update the assetLink Table (kanoaOPS) - [Quality System Functions](https://docs.kanoa.ai/systemFunctions/apiQualityIntro.md): Provide system functions for the MES application Quality Checks - [Quality Analysis System Functions](https://docs.kanoa.ai/systemFunctions/quality/apiQualityAnalysisIntro.md): Provides a set of analysis system functions for the QDS application - [system.kanoa.quality.analysis.getAttributeChartData(masterChkShtId, defectItemPath, startDate, endDate)](https://docs.kanoa.ai/systemFunctions/quality/analysis/getAttributeChartData.md): Supports the p/np/c/u attribute charts. Returns one row per check-sheet event with the defect/defective count and its sample size - both come off the same row, since - [system.kanoa.quality.analysis.getAvgChkItemEventsByRow(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/analysis/getAvgChkItemEventsByRow.md): Returns the averaged value for Check Sheet item event data for the given parameters with the check items in each row. paramsDict keys are optional unless otherwise stated. - [system.kanoa.quality.analysis.getChkItemEventsByColumn(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/analysis/getChkItemEventsByColumn.md): Returns Check item event data for the given parameters with the check items in each column. paramsDict keys are optional unless otherwise stated. - [system.kanoa.quality.analysis.getChkItemEventsByRow(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/analysis/getChkItemEventsByRow.md): Returns Check item event data for the given parameters with the check items in each row. paramsDict keys are optional unless otherwise stated. - [system.kanoa.quality.analysis.getContinuousChartData(masterChkShtId, chkItemPath, startDate, endDate, )](https://docs.kanoa.ai/systemFunctions/quality/analysis/getContinuousChartData.md): Wraps qds.spGetContinuousChartData - one row per event for a single continuous check item (individuals/xbar/xbars/precontrol), carrying the configured - [system.kanoa.quality.analysis.getHistogramData(masterChkShtId, chkItemPath, startDate, endDate, minRange, maxRange, minValue, maxValue)](https://docs.kanoa.ai/systemFunctions/quality/analysis/getHistogramData.md): Returns check item event data formatted to build a process capability chart - [system.kanoa.quality.analysis.getMultiVariateChartData(masterChkShtId, chkItemPaths, startDate, endDate)](https://docs.kanoa.ai/systemFunctions/quality/analysis/getMultiVariateChartData.md): Wraps qds.spGetMultiVariateChartData - pivoted rows for a T2 chart: one row per observation, one column per requested chkItemPath. Column order in the returned - [system.kanoa.quality.analysis.getShiftHeatMap(paramsDict, category)](https://docs.kanoa.ai/systemFunctions/quality/analysis/getShiftHeatMap.md): Returns heat map data of check sheets by Shift for the parameters. paramsDict keys are optional unless otherwise stated. - [system.kanoa.quality.analysis.getSummary(paramsDict, category)](https://docs.kanoa.ai/systemFunctions/quality/analysis/getSummary.md): Returns summarized count of check sheets by state for the parameters passed. paramsDict keys are optional - [system.kanoa.quality.analysis.queryChkItemEventData(masterChkShtId, chkItemPaths, startDate, endDate, minRange, maxRange)](https://docs.kanoa.ai/systemFunctions/quality/analysis/queryChkItemEventData.md): Returns check item event data formatted to display in the trend chart - [Quality Config System Functions](https://docs.kanoa.ai/systemFunctions/quality/apiQualityConfigIntro.md): Provides a set of configuration system functions for the QDS application - [system.kanoa.quality.config.addAlertGroup(grpInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/addAlertGroup.md): Adds a new alert group. All grpInfo keys are required. - [system.kanoa.quality.config.addAttribute(attrInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/addAttribute.md): Adds a new attribute. All attrInfo keys are required. If this attribute already exists, it returns the existing attributeId. - [system.kanoa.quality.config.addAttributeLink(chkItemId, attributeId, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/addAttributeLink.md): Links the attributeId to the chkItemId. This check item now has access to a datasource (tag) and tolerance specs. - [system.kanoa.quality.config.addCheck(chkItemInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/addCheck.md): Add configuration for a check item. All chkItemInfo keys are required. - [system.kanoa.quality.config.addChkItemImage(chkItemId, imageName, imageType, imageDescription, imageBytes, thumbnail, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/addChkItemImage.md): Inserts an image into the qds.chkItemImage table - [system.kanoa.quality.config.addChkShtTrigger(triggerInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/addChkShtTrigger.md): Adds a check sheet trigger. All triggerInfo keys are required. - [system.kanoa.quality.config.addDataSource(attrInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/addDataSource.md): Adds a new attributeDataSource. All attrInfo keys are required. - [system.kanoa.quality.config.addDataType(dataTypeInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/addDataType.md): Adds a new check item data type. All dataTypeInfo keys are required. - [system.kanoa.quality.config.addGroup(grpInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/addGroup.md): Adds a new check item group to the check sheet if it doesn't already exist. All grpInfo keys are required. - [system.kanoa.quality.config.addItemSet(itemSetInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/addItemSet.md): Adds an item set. All itemSetInfo are required. - [system.kanoa.quality.config.addPickList(pickListInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/addPickList.md): Adds a new pick list. pickListName, enabled, and isNumeric are required. - [system.kanoa.quality.config.addTolerance(attrInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/addTolerance.md): Adds an attribute tolerance. All attrInfo keys are required except enabled, which defaults to True. - [system.kanoa.quality.config.addUnit(unitInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/addUnit.md): Adds a new engineering unit. All unitInfo keys are required. - [system.kanoa.quality.config.checkTolerance(toleranceName, tolerances)](https://docs.kanoa.ai/systemFunctions/quality/config/checkTolerance.md): Checks a tolerance against a tolerance specification and returns whether the value set for the tolerance is valid - [system.kanoa.quality.config.copyGroup(chkItemGroupId, chkItemGroupName, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/copyGroup.md): Copies a check item group, with its check items and their images, attribute links and data source tags, as a new group at the end of the same check sheet. A trigger inside the group moves to its copy, and a calculation's references to the copied checks ('Group\Check') are renamed to the new group; triggers and references to other groups are kept. - [system.kanoa.quality.config.deleteAlertGroup(alertGroupId, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/deleteAlertGroup.md): Deletes an new alert group. FK constraints will prevent us from deleting a check item group that is being used by a check item - [system.kanoa.quality.config.deleteAttribute(attributeId, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/deleteAttribute.md): Deletes an attribute. FK constraints will prevent us from deleting an attribute that is being used by a check item - [system.kanoa.quality.config.deleteAttributeLink(chkItemId, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/deleteAttributeLink.md): Deletes the attribute Id link for this check item if it exists - [system.kanoa.quality.config.deleteAttributeWithHistory(attributeId, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/deleteAttributeWithHistory.md): Deletes an attribute that has history by removing any event data associated with this attribute. - [system.kanoa.quality.config.deleteCheck(chkItemId, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/deleteCheck.md): Deletes a check. FK constraints will prevent us from deleting a check that is being used. - [system.kanoa.quality.config.deleteCheckWithHistory(chkItemId, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/deleteCheckWithHistory.md): Deletes a check item and any associated checkEvent data. - [system.kanoa.quality.config.deleteChkItemImage(chkItemImageId, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/deleteChkItemImage.md): Deletes an image from the qds.chkItemImage table - [system.kanoa.quality.config.deleteChkShtTrigger(chkShtTriggerId, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/deleteChkShtTrigger.md): Deletes a check sheet trigger. FK constraints prevent the deletion if trigger is being used. - [system.kanoa.quality.config.deleteDataSource(attributeDataSourceId, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/deleteDataSource.md): Deletes an attribute datasource. FK constraints will prevent the deletion of an attribute data source that is being used. - [system.kanoa.quality.config.deleteDataType(dataTypeId, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/deleteDataType.md): Deletes a check item data type. FK constraints will prevent us from deleting a data type that is being used. - [system.kanoa.quality.config.deleteGroup(chkItemGroupId, chkShtId, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/deleteGroup.md): Deletes a chkItem group. FK constraints will prevent the deletion of a check item group that is being used by a check item. - [system.kanoa.quality.config.deleteItemSet(itemSetId, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/deleteItemSet.md): Deletes an item set. FKs between the chkShtItemSetLink and itemsetLink tables will prevent the deletion of this itemSetLink if it is being used - [system.kanoa.quality.config.deleteTolerance(attributeToleranceId, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/deleteTolerance.md): Deletes an attribute tolerance. - [system.kanoa.quality.config.deleteTolerances(attribute, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/deleteTolerances.md): Deletes all tolerances for an attribute. - [system.kanoa.quality.config.deleteUnit(engUnitId, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/deleteUnit.md): Deletes an engineering unit. FK constraints will prevent the deletion of a unit that is being used by a check item - [system.kanoa.quality.config.duplicateCheck(chkItemId, chkItemName, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/duplicateCheck.md): Creates a copy of the passed in chkItemId with the passed in name for the new check item. - [system.kanoa.quality.config.getAlertGroups(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/config/getAlertGroups.md): Returns alert groups. paramsDict keys are optional. - [system.kanoa.quality.config.getAttributes(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/config/getAttributes.md): Returns attribute based on the passed parameters. paramsDict keys are optional. - [system.kanoa.quality.config.getCheckItemStates(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/config/getCheckItemStates.md): Returns check item states. paramsDict keys are optional. - [system.kanoa.quality.config.getCheckItemTypes(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/config/getCheckItemTypes.md): Returns check Item Types. paramsDict keys are optional. - [system.kanoa.quality.config.getChecks(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/config/getChecks.md): Returns the check items for the given parameters. paramsDict keys are optional. - [system.kanoa.quality.config.getChkItemDataSource(chkItemId)](https://docs.kanoa.ai/systemFunctions/quality/config/getChkItemDataSource.md): Returns the tag a check item reads its value from without an attribute. No rows when it has none; a check linked to an attribute reads that attribute's data source instead. - [system.kanoa.quality.config.getChkItemImage(chkItemImageId)](https://docs.kanoa.ai/systemFunctions/quality/config/getChkItemImage.md): Returns the image for a given chkItemImageId - [system.kanoa.quality.config.getChkItemImageData(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/config/getChkItemImageData.md): Returns the image data filtered by the given parameters. paramsDict keys are optional. - [system.kanoa.quality.config.getChkItemImageThumbnail(chkItemImageId)](https://docs.kanoa.ai/systemFunctions/quality/config/getChkItemImageThumbnail.md): Returns the thumbnail for a given imageId - [system.kanoa.quality.config.getChkShtTriggers(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/config/getChkShtTriggers.md): Returns all check sheets triggers that meet the passed criteria. paramsDict keys are optional. - [system.kanoa.quality.config.getDataSource(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/config/getDataSource.md): Returns attribute datasources based on the passed parameters. paramsDict keys are optional. - [system.kanoa.quality.config.getDataTypes(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/config/getDataTypes.md): Returns chkItem data types. paramsDict keys are optional. - [system.kanoa.quality.config.getGroups(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/config/getGroups.md): Returns chkItemGroups for the given parameters. paramsDict keys are optional. - [system.kanoa.quality.config.getItems(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/config/getItems.md): Returns items with linked itemSets. Note if an item belongs to more than one item set, it will return multiple rows. paramsDict keys are optional. - [system.kanoa.quality.config.getItemSetLinks(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/config/getItemSetLinks.md): Returns itemSetLinks for the given parameters. paramsDict keys are optional. - [system.kanoa.quality.config.getItemSets(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/config/getItemSets.md): Returns itemSets for the given parameters. paramsDict keys are optional. - [system.kanoa.quality.config.getPickList(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/config/getPickList.md): Returns pick list options. paramsDict keys are optional. - [system.kanoa.quality.config.getToleranceData(attributeId, assetId, itemId)](https://docs.kanoa.ai/systemFunctions/quality/config/getToleranceData.md): Tolerances can be associated with the item, itemSet, itemClass, all items, asset or any asset. We'll return hits ranked on the best fit. A disabled tolerance is left out. - [system.kanoa.quality.config.getTolerances(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/config/getTolerances.md): Returns attribute tolerances based on the passed parameters. paramsDict keys are optional. - [system.kanoa.quality.config.getTriggerTypes(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/config/getTriggerTypes.md): Returns all check sheets triggers that meet the passed criteria. paramsDict keys are optional. - [system.kanoa.quality.config.getUnits(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/config/getUnits.md): Returns engineering units that meet the passed criteria. paramsDict keys are optional. - [system.kanoa.quality.config.linkItems(itemSetId, itemList, enabled, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/linkItems.md): Adds links between an item set and a list of items. - [system.kanoa.quality.config.processImage(filePath, chkItemId, chkItemImageId, imageName, imageType, imageDescription, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/processImage.md): Given a filepath, this function will convert the image found to a jpg, create a thumbnail and store it in the database - [system.kanoa.quality.config.setChkItemDataSource(dataSourceInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/setChkItemDataSource.md): Sets the tag a check item reads its value from without an attribute, replacing any it had. A check reads either an attribute's data source or its own tag, so a check linked to an attribute is refused. - [system.kanoa.quality.config.unlinkItems(itemSetIdList, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/unlinkItems.md): Unlinks items from item sets. - [system.kanoa.quality.config.updateAlertGroup(grpInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/updateAlertGroup.md): Updates an alert group. All grpInfo keys are required. - [system.kanoa.quality.config.updateAttribute(attrInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/updateAttribute.md): Updates an attribute. All attrInfo keys are required. - [system.kanoa.quality.config.updateCheck(chkItemInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/updateCheck.md): Updates the configuration for a check item. All chkItemInfo keys are required. - [system.kanoa.quality.config.updateCheckField(field, value, chkItemId, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/updateCheckField.md): Updates a check item field value. - [system.kanoa.quality.config.updateChkItemImage(chkItemImageId, chkItemId, imageName, imageType, imageDescription, imageBytes, thumbnail, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/updateChkItemImage.md): Updates an image into the qds.chkItemImage table - [system.kanoa.quality.config.updateChkShtTrigger(triggerInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/updateChkShtTrigger.md): Updates a check sheet trigger. All triggerInfo keys are required. - [system.kanoa.quality.config.updateDataSource(attrInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/updateDataSource.md): Updates an attributeDataSource. All attrInfo keys are required. - [system.kanoa.quality.config.updateDataType(dataTypeInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/updateDataType.md): Updates a check item data type. All dataTypeInfo keys are required. - [system.kanoa.quality.config.updateGroup(grpInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/updateGroup.md): Updates a check item group. All grpInfo keys are required. - [system.kanoa.quality.config.updateGroupField(field, value, chkItemGroupId, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/updateGroupField.md): Updates a chkItem group field value. - [system.kanoa.quality.config.updateItemSet(itemSetInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/updateItemSet.md): Updates an item set. All itemSetInfo are required. - [system.kanoa.quality.config.updateTolerance(attrInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/updateTolerance.md): Updates an attribute tolerance. - [system.kanoa.quality.config.updateUnit(unitInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/config/updateUnit.md): Updates an engineering unit. All unitInfo keys are required. - [Quality Event System Functions](https://docs.kanoa.ai/systemFunctions/quality/apiQualityEventIntro.md): Provides a set of system functions for the QDS application for retrieval and analysis of check event data - [system.kanoa.quality.event.addCheckEvent(chkEventInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/event/addCheckEvent.md): Adds a new check sheet event. Only chkShtId key is required - [system.kanoa.quality.event.addChkItemEventComment(chkItemEventInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/event/addChkItemEventComment.md): Adds a comment to a check item event. If chkItemEventId is passed, it will update it and only requires the comment key to be passed otherwise all keys are expected. - [system.kanoa.quality.event.deleteChkEvent(chkShtEventId, userId)](https://docs.kanoa.ai/systemFunctions/quality/event/deleteChkEvent.md): Deletes a check sheet event. SQL handles cascade deletions down to chkItemEvents table - [system.kanoa.quality.event.deleteChkShtItemEvents(chkShtItemEventInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/event/deleteChkShtItemEvents.md): Deletes check item events from a check sheet event. chkShtItemEventInfo keys are optional unless otherwise stated. - [system.kanoa.quality.event.getAllChkShtItemEventValues(chkShtEventId, chkItemPaths)](https://docs.kanoa.ai/systemFunctions/quality/event/getAllChkShtItemEventValues.md): Returns the average value for all measurements taken for each check item passed in the chkItemNames field - [system.kanoa.quality.event.getAssetTagInfo(tagPath)](https://docs.kanoa.ai/systemFunctions/quality/event/getAssetTagInfo.md): Returns the current asset status values from the qds/assetInfo udt at the given tagPath - [system.kanoa.quality.event.getChkItemStateId(chkItemInfo, value, userId)](https://docs.kanoa.ai/systemFunctions/quality/event/getChkItemStateId.md): Given the chkItem info and value, this function will return if the check item event passed, failed or has warning - [system.kanoa.quality.event.getChkShtEventItems(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/event/getChkShtEventItems.md): This function gets called by the chkShtEventEditor to build the check table. paramsDict keys are optional. - [system.kanoa.quality.event.getChkShtEvents(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/event/getChkShtEvents.md): Returns scheduled check sheet events, newest scheduled first. Every paramsDict key is optional, and a key passed as None is ignored. - [system.kanoa.quality.event.getChkShtItemEventValues(chkShtEventId, chkItemId)](https://docs.kanoa.ai/systemFunctions/quality/event/getChkShtItemEventValues.md): Returns the values for the check sheet event and check item passed - [system.kanoa.quality.event.getMasterChkShtEvents(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/event/getMasterChkShtEvents.md): Returns check sheet events - [system.kanoa.quality.event.saveChkItemEvent(chkItemEventInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/event/saveChkItemEvent.md): Saves a chkItemEvent value. Check if a record already exists for the chkShtEventId|chkItemId|measNumber combo and updates it otherwise inserts it. - [system.kanoa.quality.event.updateChkEventDataTag()](https://docs.kanoa.ai/systemFunctions/quality/event/updateChkEventDataTag.md): Updates [Kanoa]kanoa/timers/qdsScheduleChecks/update tag that is used to show current status of active checks. - [system.kanoa.quality.event.updateChkShtEventField(chkShtEventId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/quality/event/updateChkShtEventField.md): Updates any field in a check sheet event - [system.kanoa.quality.event.updateChkShtEventFields(chkShtEventId, updates, userId)](https://docs.kanoa.ai/systemFunctions/quality/event/updateChkShtEventFields.md): Updates one or more fields in a check sheet event. - [system.kanoa.quality.event.updateChkShtStatus(chkShtEventId, status, userId)](https://docs.kanoa.ai/systemFunctions/quality/event/updateChkShtStatus.md): Updates a check sheet event status - [system.kanoa.quality.event.updatePersistentValues(chkShtId, assetId, itemId, chkShtEventId, userId)](https://docs.kanoa.ai/systemFunctions/quality/event/updatePersistentValues.md): Returns the last check sheet events persistent values and copies them to the new chkShtShtEvent - [Quality Image System Functions](https://docs.kanoa.ai/systemFunctions/quality/apiQualityImageIntro.md): Provides a set of system functions for managing images in the QDS application - [system.kanoa.quality.image.addImage(chkItemId, imageName, imageType, imageDescription, image, thumbnail, userId)](https://docs.kanoa.ai/systemFunctions/quality/image/addImage.md): Inserts an image into the qds.image table - [system.kanoa.quality.image.deleteImage(imageId, userId)](https://docs.kanoa.ai/systemFunctions/quality/image/deleteImage.md): Deletes an image from the qds.image table - [system.kanoa.quality.image.getImage(imageId)](https://docs.kanoa.ai/systemFunctions/quality/image/getImage.md): Returns the image for a given imageId - [system.kanoa.quality.image.getImageData(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/image/getImageData.md): Returns the image data filtered by the given parameters. paramsDict keys are optional. - [system.kanoa.quality.image.getImageId(chkItemId, imageName)](https://docs.kanoa.ai/systemFunctions/quality/image/getImageId.md): Returns the imageId for a given chkItemId and imageName - [system.kanoa.quality.image.getImageThumbnail(imageId)](https://docs.kanoa.ai/systemFunctions/quality/image/getImageThumbnail.md): Returns the thumbnail for a given imageId - [system.kanoa.quality.image.processImage(filePath, chkItemId, imageId, imageName, imageType, imageDescription, userId)](https://docs.kanoa.ai/systemFunctions/quality/image/processImage.md): Given a filepath, this function will convert the image found to a jpg, create a thumbnail and store it in the database - [system.kanoa.quality.image.updateImage(imageId, chkItemId, imageName, imageType, imageDescription, imageBytes, thumbnail, userId)](https://docs.kanoa.ai/systemFunctions/quality/image/updateImage.md): Updates an image into the qds.image table - [Quality Schedule System Functions](https://docs.kanoa.ai/systemFunctions/quality/apiQualityScheduleIntro.md): Provides a set of system functions for the QDS application for the scheduling of quality checks - [system.kanoa.quality.schedule.assetChangeEvent(stateInfo)](https://docs.kanoa.ai/systemFunctions/quality/schedule/assetChangeEvent.md): This function can be called by a tag change event to check if any check sheets should become active. - [system.kanoa.quality.schedule.checkIfItemCheckedThisShift(chkShtId, assetId, shiftNameId, itemId)](https://docs.kanoa.ai/systemFunctions/quality/schedule/checkIfItemCheckedThisShift.md): Determines if this check has already been performed on this item during this shift - [system.kanoa.quality.schedule.getSecondsSinceLastCheck(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/schedule/getSecondsSinceLastCheck.md): Returns the seconds since the last scheduled check for this check sheet on this asset. All paramsDict keys are required. - [system.kanoa.quality.schedule.intervalTimerEvent()](https://docs.kanoa.ai/systemFunctions/quality/schedule/intervalTimerEvent.md): This function is called by the Quality Schedule gateway timer (qualitySchedule in system.kanoa.config.getJobs()), on the active gateway, to check for check sheets that have a 'Timed interval' trigger. Each run also moves the active checks to their current state (Coming Due, Due, Overdue, Missed) and takes the automatic checks. - [system.kanoa.quality.schedule.recurringTimerEvent()](https://docs.kanoa.ai/systemFunctions/quality/schedule/recurringTimerEvent.md): Called by the [Kanoa]kanoa/timers/qdsRecurringTimer tag. Creates the next Coming Due check for check sheets with a 'Recurring' trigger, once each occurrence of its rule is within the trigger's coming due minutes, using the same shift, item, mode and mounted-tool matching as Timed Interval. The rule's times of day are in the asset's site time zone (the gateway's if the site has none). Missed occurrences are not backfilled. Gateway scope only. - [system.kanoa.quality.schedule.updateScheduledAutoChecks()](https://docs.kanoa.ai/systemFunctions/quality/schedule/updateScheduledAutoChecks.md): IntervalTimer check generates all checks that are coming due. This function will look for scheduled checks that are set to 'auto' and grab the values - [system.kanoa.quality.schedule.updateScheduledChecks()](https://docs.kanoa.ai/systemFunctions/quality/schedule/updateScheduledChecks.md): This function is called by the system.kanoa.quality.schedule.intervalTimerEvent() function to update a check sheet events status from 'coming due' to 'due' to 'overdue' etc. A check that's 'In Delay' becomes 'coming due' once its trigger's delay has passed (its comingDueMins before its scheduled date). - [Quality Sheet System Functions](https://docs.kanoa.ai/systemFunctions/quality/apiQualitySheetIntro.md): Provides a set of system functions for the QDS application for the configuration and retrieval specifically of check sheets - [system.kanoa.quality.sheet.addAssets(chkShtId, assetIdList, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/addAssets.md): Adds links between a check sheet and a list of assets - [system.kanoa.quality.sheet.addChangeLog(changeInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/addChangeLog.md): Adds a new change log record. All changeInfo keys are required. - [system.kanoa.quality.sheet.addFile(chkShtId, fileName, fileBlob, description, thumbnail, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/addFile.md): Adds a file for a check sheet - [system.kanoa.quality.sheet.addItemClasses(chkShtId, itemClassIdList, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/addItemClasses.md): Adds links between a check sheet and a list of item classes. - [system.kanoa.quality.sheet.addItems(chkShtId, itemIdList, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/addItems.md): Adds links between a check sheet and a list of items (products). - [system.kanoa.quality.sheet.addItemSets(chkShtId, itemSetIdList, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/addItemSets.md): Adds links between a check sheet and a list of item sets. - [system.kanoa.quality.sheet.addSheet(chkShtInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/addSheet.md): Adds a new check sheet. All chkShtInfo keys are required unless otherwise stated. - [system.kanoa.quality.sheet.addSheetAlertGroups(chkShtId, alertGroupIdList, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/addSheetAlertGroups.md): Adds links between a check sheet and a list of alert groups. - [system.kanoa.quality.sheet.addSheetType(shtTypeInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/addSheetType.md): Adds a new sheet type - [system.kanoa.quality.sheet.addSheetVersionHistory(chkShtVersionInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/addSheetVersionHistory.md): Adds check sheet version history. chkShtVersionInfo keys are required. - [system.kanoa.quality.sheet.addTooling(chkShtId, toolingIdList, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/addTooling.md): Adds links between a check sheet and a list of tools. - [system.kanoa.quality.sheet.copySheet(copyShtInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/copySheet.md): Makes a copy of a checksheet - [system.kanoa.quality.sheet.deleteAssets(chkShtId, assetIdList, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/deleteAssets.md): Delete the asset links for a check sheet. - [system.kanoa.quality.sheet.deleteItemClasses(chkShtId, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/deleteItemClasses.md): Delete the item class links for a check sheet. - [system.kanoa.quality.sheet.deleteItems(chkShtId, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/deleteItems.md): Delete the item links for a check sheet. - [system.kanoa.quality.sheet.deleteItemSets(chkShtId, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/deleteItemSets.md): Delete the item set links for a check sheet. - [system.kanoa.quality.sheet.deleteSheet(chkShtId, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/deleteSheet.md): Deletes the checksheet and any of its versions. Will fail if this checksheet has event data for it. - [system.kanoa.quality.sheet.deleteSheetAlertGroups(chkShtId, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/deleteSheetAlertGroups.md): Delete the alert group links for a check sheet. - [system.kanoa.quality.sheet.deleteSheetType(chkShtTypeId, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/deleteSheetType.md): Deletes a check sheet type. FK constraints will prevent the deletion of check sheet types that has check sheets - [system.kanoa.quality.sheet.deleteSheetWithHistory(chkShtId, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/deleteSheetWithHistory.md): Deletes a check sheet and any associated checkEvent data - [system.kanoa.quality.sheet.deleteTooling(chkShtId, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/deleteTooling.md): Delete the tooling links for a check sheet. - [system.kanoa.quality.sheet.exportSheets(chkShtIdList)](https://docs.kanoa.ai/systemFunctions/quality/sheet/exportSheets.md): This functions exports a list of checksheets and returns it as json - [system.kanoa.quality.sheet.getAlertGroups(chkShtId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/getAlertGroups.md): Returns alert groups linked to a check sheet. - [system.kanoa.quality.sheet.getAssets(chkShtId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/getAssets.md): Returns all assets linked to a check sheet - [system.kanoa.quality.sheet.getChangeLog(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/sheet/getChangeLog.md): Returns all check sheet changes that meet the passed criteria. paramsDict keys are optional. - [system.kanoa.quality.sheet.getFiles(chkShtId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/getFiles.md): Returns files linked to a check sheet . - [system.kanoa.quality.sheet.getItemClasses(chkShtId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/getItemClasses.md): Returns all item classes linked to a check sheet. - [system.kanoa.quality.sheet.getItems(chkShtId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/getItems.md): Returns all items linked to a check sheet - [system.kanoa.quality.sheet.getItemSets(chkShtId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/getItemSets.md): Returns all item sets linked to a check sheet. - [system.kanoa.quality.sheet.getSheets(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/sheet/getSheets.md): Returns check sheets filtered by passed in paramter keys. Keys are optional. - [system.kanoa.quality.sheet.getSheetsByAsset(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/sheet/getSheetsByAsset.md): Returns all check sheets linked to assets that meet the passed criteria. This function only returns unique records for a check sheet. - [system.kanoa.quality.sheet.getSheetsFilteredBy(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/sheet/getSheetsFilteredBy.md): Returns all check sheets that meet the passed criteria. This function may return duplicate records for a checksheet as each will be specific for the trigger, asset and item. - [system.kanoa.quality.sheet.getSheetTypes(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/sheet/getSheetTypes.md): Returns check sheet types - [system.kanoa.quality.sheet.getSheetVersionHistory(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/sheet/getSheetVersionHistory.md): Returns check sheet version history. paramsDict keys are optional. - [system.kanoa.quality.sheet.getSheetVersionStates(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/sheet/getSheetVersionStates.md): Returns check sheet version states. paramsDict keys are optional. - [system.kanoa.quality.sheet.getStates(paramsDict)](https://docs.kanoa.ai/systemFunctions/quality/sheet/getStates.md): Returns check sheet states. paramsDict keys are optional. - [system.kanoa.quality.sheet.getTooling(chkShtId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/getTooling.md): Returns tooling linked to a check sheet. - [system.kanoa.quality.sheet.getUniqueChecksOnly(assetChkShts)](https://docs.kanoa.ai/systemFunctions/quality/sheet/getUniqueChecksOnly.md): The kanoa.quality.sheet.getSheetsFilteredBy() function can return duplicate check sheets due to the join for items, itemSets and triggers. - [system.kanoa.quality.sheet.importSheets(exportInfo, options)](https://docs.kanoa.ai/systemFunctions/quality/sheet/importSheets.md): Imports check sheets exported by exportSheets, in one transaction (a failure imports nothing). Folders, item sets, data types, units and attributes that don't exist are created; assets, items, item classes, check item types, pick lists, trigger types, modes and shifts are found by name or path, and anything missing is left out and listed in errorLog. A sheet whose name is taken in its folder gets a timestamp added. - [system.kanoa.quality.sheet.revertSheetVersionState(masterChkShtId, chkShtId, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/revertSheetVersionState.md): This function sets an archived checksheet back to 'In Revision'. - [system.kanoa.quality.sheet.updateFile(chkShtId, fileName, fileBlob, description, thumbnail, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/updateFile.md): Updates a file for a chksheet. - [system.kanoa.quality.sheet.updateSheet(chkShtInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/updateSheet.md): Updates a check sheet. All chkShtInfo keys are required unless otherwise stated. - [system.kanoa.quality.sheet.updateSheetField(chkShtId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/updateSheetField.md): Updates the passed field value for the given chkShtId. - [system.kanoa.quality.sheet.updateSheetType(shtTypeInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/updateSheetType.md): Updates a sheet type - [system.kanoa.quality.sheet.updateSheetVersionHistory(chkShtVersionInfo, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/updateSheetVersionHistory.md): Adds check sheet version history. chkShtVersionInfo keys are required. - [system.kanoa.quality.sheet.updateSheetVersionHistoryField(chkShtVersionHistoryId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/updateSheetVersionHistoryField.md): Updates the passed field value for the given chkShtVersionHistoryId. - [system.kanoa.quality.sheet.updateSheetVersionState(masterChkShtId, chkShtId, chkShtVersionStateName, userId)](https://docs.kanoa.ai/systemFunctions/quality/sheet/updateSheetVersionState.md): This function updates the chkShtId version state i.e. to 'Released'. It handles the logic of creating copies, archiving, renaming etc. - [Quality SPC System Functions](https://docs.kanoa.ai/systemFunctions/quality/apiQualitySPCIntro.md): Provides a set of SPC system functions for the QDS application - [system.kanoa.quality.spc.getRuleInfo()](https://docs.kanoa.ai/systemFunctions/quality/spc/getRuleInfo.md): Returns each violation key spcCheck() can return (aboveUCL, WE48sameside, N29sameside and the rest) with a readable label, a one-sentence description and its kind, for screens that show a measure's violations to people. The Measure SPC Analysis popup and the notifications widget use it. - [system.kanoa.quality.spc.spcCheck(values, chartType, ruleSet, subgroupSize, usl, lsl, sampleSizes, [ucl], [lcl], [center])](https://docs.kanoa.ai/systemFunctions/quality/spc/spcCheck.md): Computes SPC control limits, zone-based rule violations (Western Electric / Nelson), and - where applicable - process capability/performance indices, for one of the following chart types: - [system.kanoa.quality.spc.spcCheckT2(rows, variableNames, alpha)](https://docs.kanoa.ai/systemFunctions/quality/spc/spcCheckT2.md): Hotelling's T2 multivariate control chart. Charts a matrix of correlated variables per observation, not a single value series. Mean vector and covariance matrix are computed from chkItemEvent data (Phase I - the baseline is the same data being charted). UCL uses the chi-square approximation (valid once the baseline sample is reasonably large), not the exact F-distribution - simpler, no incomplete-beta-function implementation needed, and standard practice in most commercial SPC software for this case. - [Schedule System Functions](https://docs.kanoa.ai/systemFunctions/apiScheduleIntro.md): Provide system functions for the MES application Operations Scheduling - [system.kanoa.schedule.addScheduleBlock(scheduleBlockInfo, userId)](https://docs.kanoa.ai/systemFunctions/schedule/addScheduleBlock.md): Adds a new scheduleBlock. All scheduleBlockInfo keys are required - [system.kanoa.schedule.addScheduleBlockException(scheduleBlockId, exceptionDate, userId)](https://docs.kanoa.ai/systemFunctions/schedule/addScheduleBlockException.md): Adds a new scheduleBlock exception - [system.kanoa.schedule.adjustExistingEvents(scheduleTimes, scheduleBlockList, scheduleOption, userId)](https://docs.kanoa.ai/systemFunctions/schedule/adjustExistingEvents.md): Takes a list of scheduleTimes to be scheduled and a list of scheduleBlocks to be modified, and depending on the scheduleOption, will either have its start or end time modified, or deleted. - [system.kanoa.schedule.adjustScheduleEvents(scheduleBlockInfo, scheduleTimes, scheduleBlockList, scheduleOption, scheduleConfig, rangeStart, rangeEnd, userId)](https://docs.kanoa.ai/systemFunctions/schedule/adjustScheduleEvents.md): Takes a list of scheduleTimes to be scheduled and a list of scheduleBlocks that are overlapping and adjusts the scheduleTimes - [system.kanoa.schedule.calcEventDuration(assetId, startDate, qty, itemInfo)](https://docs.kanoa.ai/systemFunctions/schedule/calcEventDuration.md): This function will calculate the expected duration it will take to complete a production run for a given item - [system.kanoa.schedule.checkAssetSchedule(paramsDict)](https://docs.kanoa.ai/systemFunctions/schedule/checkAssetSchedule.md): Used by the checkAssetSchedule tag timer to check an assets schedule and its current status, and will update its mode accordingly if allowed. - [system.kanoa.schedule.checkEventsOverlap(eventsToScheduleList, scheduledEventsList)](https://docs.kanoa.ai/systemFunctions/schedule/checkEventsOverlap.md): Checks to see if there is any overlap between two lists of time intervals. - [system.kanoa.schedule.checkForScheduleOverlap(scheduleBlockInfo, scheduleConfig, rangeStart, rangeEnd)](https://docs.kanoa.ai/systemFunctions/schedule/checkForScheduleOverlap.md): Checks a new event to schedule or modify, against the asset's current schedule and shift schedule if required and returns a list of start and endDates available - [system.kanoa.schedule.convertRecurringRuleToText(rruleStr)](https://docs.kanoa.ai/systemFunctions/schedule/convertRecurringRuleToText.md): Takes the rruleStr string object and returns human readable text for displaying to the user - [system.kanoa.schedule.decodeScheduleBlock(scheduleBlock, rangeStart, rangeEnd, tzOffsets)](https://docs.kanoa.ai/systemFunctions/schedule/decodeScheduleBlock.md): Decodes the rruleStr passed in the scheduleBlock and returns a list of start and end times. Note this function can only be run in gateway scope. - [system.kanoa.schedule.deleteScheduleBlock(scheduleBlockId, userId)](https://docs.kanoa.ai/systemFunctions/schedule/deleteScheduleBlock.md): Deletes a schedule block - [system.kanoa.schedule.deleteScheduleBlockException(scheduleBlockExceptionId, userId)](https://docs.kanoa.ai/systemFunctions/schedule/deleteScheduleBlockException.md): Deletes a scheduleBlock exception - [system.kanoa.schedule.deleteScheduleBlocks(assetId, startDate, endDate)](https://docs.kanoa.ai/systemFunctions/schedule/deleteScheduleBlocks.md): Deletes all schedule blocks for the given parameters - [system.kanoa.schedule.getCalendarEvents(paramsDict)](https://docs.kanoa.ai/systemFunctions/schedule/getCalendarEvents.md): Gets all operations schedule or shift events for the specified range. Applies an offset to the returned dates to show correctly on the calendar component. - [system.kanoa.schedule.getEventScheduleAdjustedTimes(scheduleOption, scheduleTime, existingEvent)](https://docs.kanoa.ai/systemFunctions/schedule/getEventScheduleAdjustedTimes.md): Checks the eventToSchedule time against an existing event time and returns an adjusted list of times - [system.kanoa.schedule.getExistingEventAdjustedTimes(scheduleOption, eventToSchedule, existingEvent)](https://docs.kanoa.ai/systemFunctions/schedule/getExistingEventAdjustedTimes.md): Checks the existing event time against an eventToSchedule time and returns the existingEvent with adjusted time and an action i.e 'adjust' or 'delete' - [system.kanoa.schedule.getScheduleBlockExceptions(paramsDict)](https://docs.kanoa.ai/systemFunctions/schedule/getScheduleBlockExceptions.md): Returns scheduleBlock exceptions. paramsDict keys are optional - [system.kanoa.schedule.getScheduleBlocks(paramsDict)](https://docs.kanoa.ai/systemFunctions/schedule/getScheduleBlocks.md): Returns all schedule blocks for the given parameters. paramsDict keys are optional - [system.kanoa.schedule.getTimezoneOffsetMinsBetweenClientAndGateway(deviceUTCOffsetHrs)](https://docs.kanoa.ai/systemFunctions/schedule/getTimezoneOffsetMinsBetweenClientAndGateway.md): Returns the difference, in minutes, between the gateway's time zone and a client device's: the gateway's UTC offset minus the device's. Add it to a time entered on the device to get the gateway's time. - [system.kanoa.schedule.rruleToDates(rruleStr, startDate, afterDate, maxResults, timeZone)](https://docs.kanoa.ai/systemFunctions/schedule/rruleToDates.md): Returns the next occurrences of a recurrence rule (RRULE), expanded in a time zone (the gateway's unless you pass timeZone) so an occurrence's time of day stays the same across daylight-saving changes. Accepts the CMMS editor's dialect (BYWEEKDAY, TU(2), local UNTIL) or RFC 5545. Returns an empty list for an invalid or ended rule. - [system.kanoa.schedule.scheduleOperation(scheduleBlockInfo, scheduleConfig, scheduleOption, userId)](https://docs.kanoa.ai/systemFunctions/schedule/scheduleOperation.md): Schedules an operation that flexibly adheres to the asset's shift schedule and schedule config settings, while also avoiding any currently existing schedule blocks. - [system.kanoa.schedule.updateClientsScheduleChange(assetPath)](https://docs.kanoa.ai/systemFunctions/schedule/updateClientsScheduleChange.md): After a change has been made to the schedule, this function can be called to update the tag schedule dataset 'kanoa/timers/getActiveAssetScheduleTimer/data'. - [system.kanoa.schedule.updateScheduleBlock(scheduleBlockInfo, userId)](https://docs.kanoa.ai/systemFunctions/schedule/updateScheduleBlock.md): Updates a schedule block. All scheduleBlockInfo keys are required - [system.kanoa.schedule.updateScheduleBlockExceptions(scheduleBlockId, newStartDate, userId)](https://docs.kanoa.ai/systemFunctions/schedule/updateScheduleBlockExceptions.md): Updates a scheduleBlockException. When a scheduled event block's startDate gets updated, all of its exceptions dates will be updated as well - [system.kanoa.schedule.updateScheduleBlockField(scheduleBlockId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/schedule/updateScheduleBlockField.md): Updates the passed field value for the given scheduleBlockId - [system.kanoa.schedule.validateRrule(rruleStr)](https://docs.kanoa.ai/systemFunctions/schedule/validateRrule.md): Checks a recurrence rule (RRULE) the way rruleToDates reads it. Unknown or malformed parts are reported, not ignored. - [Security System Functions](https://docs.kanoa.ai/systemFunctions/apiSecurityIntro.md): Provide system functions for the MES application User Management - [system.kanoa.security.addConfig(configInfo, userId)](https://docs.kanoa.ai/systemFunctions/security/addConfig.md): Adds a security configuration property - [system.kanoa.security.addRole(roleInfo, userId)](https://docs.kanoa.ai/systemFunctions/security/addRole.md): Add a new user role - [system.kanoa.security.addUser(userInfo, userId)](https://docs.kanoa.ai/systemFunctions/security/addUser.md): Creates a new user, using information provided by the userInfo - [system.kanoa.security.addUserAssetRole(userAssetRoleInfo, userId)](https://docs.kanoa.ai/systemFunctions/security/addUserAssetRole.md): Adds roles for a user and asset - [system.kanoa.security.addUserFunction(functionInfo)](https://docs.kanoa.ai/systemFunctions/security/addUserFunction.md): Adds a new security function - [system.kanoa.security.addUserToUserSource(userInfo)](https://docs.kanoa.ai/systemFunctions/security/addUserToUserSource.md): Creates a new user in the gateway's default user source using information provided by the userInfo - [system.kanoa.security.checkIsGatewayAdmin(userId)](https://docs.kanoa.ai/systemFunctions/security/checkIsGatewayAdmin.md): Returns true if user has Gateway Admin role - [system.kanoa.security.deleteConfig(configId, userId)](https://docs.kanoa.ai/systemFunctions/security/deleteConfig.md): Deletes a security configuration entry - [system.kanoa.security.deleteRole(roleId, userId)](https://docs.kanoa.ai/systemFunctions/security/deleteRole.md): Deletes a user role - [system.kanoa.security.deleteUser(userName)](https://docs.kanoa.ai/systemFunctions/security/deleteUser.md): Deletes a user from the userSource and the sec.user table. SQL Cascade will remove any user asset roles for this user. - [system.kanoa.security.deleteUserAssetRole(userAssetRoleInfo, userId)](https://docs.kanoa.ai/systemFunctions/security/deleteUserAssetRole.md): Deletes a user asset role - [system.kanoa.security.deleteUserFunction(functionId, userId)](https://docs.kanoa.ai/systemFunctions/security/deleteUserFunction.md): Adds a new security function - [system.kanoa.security.getConfig(paramsDict)](https://docs.kanoa.ai/systemFunctions/security/getConfig.md): Returns security configuration - [system.kanoa.security.getIDPUserId(user)](https://docs.kanoa.ai/systemFunctions/security/getIDPUserId.md): Returns the userId for the given user authentication object. This can be the session authentication property. - [system.kanoa.security.getRoleFunctions(paramsDict)](https://docs.kanoa.ai/systemFunctions/security/getRoleFunctions.md): Returns role functions filtered by the given parameters - [system.kanoa.security.getRoles(paramsDict)](https://docs.kanoa.ai/systemFunctions/security/getRoles.md): Returns roles for the given parameters - [system.kanoa.security.getTableRoles()](https://docs.kanoa.ai/systemFunctions/security/getTableRoles.md): Returns roles info as a dataset. Used to populate the user table view - [system.kanoa.security.getTableUsers(userId, userSources)](https://docs.kanoa.ai/systemFunctions/security/getTableUsers.md): Takes a user ID and a list of user sources, and returns a dataset of other users, that the user may see - [system.kanoa.security.getUserAssetCRUD(userId)](https://docs.kanoa.ai/systemFunctions/security/getUserAssetCRUD.md): Returns CRUD information by asset path and function for the given user. - [system.kanoa.security.getUserAssetRoles(paramsDict)](https://docs.kanoa.ai/systemFunctions/security/getUserAssetRoles.md): Returns the assets, functions and roles for a user - [system.kanoa.security.getUserFunctions(paramsDict)](https://docs.kanoa.ai/systemFunctions/security/getUserFunctions.md): Returns user functions filtered by key values passed in the paramsDict - [system.kanoa.security.getUsers(paramsDict)](https://docs.kanoa.ai/systemFunctions/security/getUsers.md): Returns users filtered by the passed parameters. paramsDict keys are optional. - [system.kanoa.security.getUserSource(userName)](https://docs.kanoa.ai/systemFunctions/security/getUserSource.md): Returns the userSource that a user belongs to - [system.kanoa.security.setGatewayAdmin(userId, enabled)](https://docs.kanoa.ai/systemFunctions/security/setGatewayAdmin.md): Changes the enabled status of GatewayAdmin role from the passed user - [system.kanoa.security.storeNewIDPUser(auth)](https://docs.kanoa.ai/systemFunctions/security/storeNewIDPUser.md): Whenever a new user logs in and is authenticated by the iDP, a new record is created in the sec.user table that is the primary key in all changedBy and createdBy records. - [system.kanoa.security.updateConfig(configInfo, userId)](https://docs.kanoa.ai/systemFunctions/security/updateConfig.md): Updates a security configuration property - [system.kanoa.security.updateConfigField(configId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/security/updateConfigField.md): Updates the security config field with the passed value - [system.kanoa.security.updateRole(roleInfo, userId)](https://docs.kanoa.ai/systemFunctions/security/updateRole.md): Updates an existing user role - [system.kanoa.security.updateRoleFunctions(roleFunctionInfo, userId)](https://docs.kanoa.ai/systemFunctions/security/updateRoleFunctions.md): Updates a role function link - [system.kanoa.security.updateUser(userInfo, userId)](https://docs.kanoa.ai/systemFunctions/security/updateUser.md): Updates a user with the provided information - [system.kanoa.security.updateUserField(userId, field, value, updaterId)](https://docs.kanoa.ai/systemFunctions/security/updateUserField.md): Updates the user table field with the passed value - [system.kanoa.security.updateUserFunction(functionInfo, userId)](https://docs.kanoa.ai/systemFunctions/security/updateUserFunction.md): Updates a security function - [Serial System Functions](https://docs.kanoa.ai/systemFunctions/apiSerialIntro.md): Provide system functions for the MES application Serial Number Management - [system.kanoa.serial.addSerialNumber(serialInfo, serialValue, userId)](https://docs.kanoa.ai/systemFunctions/serial/addSerialNumber.md): Adds a new template for generating serial numbers. serialInfo keys are required unless otherwise stated. - [system.kanoa.serial.deleteSerialNumber(serialId, userId)](https://docs.kanoa.ai/systemFunctions/serial/deleteSerialNumber.md): Deletes a serialization - [system.kanoa.serial.getNextSerialNumber(serialId, userId)](https://docs.kanoa.ai/systemFunctions/serial/getNextSerialNumber.md): Increments the serialNumber for the given serialId and returns the formatted serialNumber with prefix and suffix. - [system.kanoa.serial.getSerialNumbers(paramsDict)](https://docs.kanoa.ai/systemFunctions/serial/getSerialNumbers.md): Returns serial number templates filtered by the given parameters. paramsDict keys are optional. - [system.kanoa.serial.updateSerialField(serialId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/serial/updateSerialField.md): Updates the serialNumber configuration field with the passed value for the serialId. - [system.kanoa.serial.updateSerialNumber(serialInfo, serialValue, userId)](https://docs.kanoa.ai/systemFunctions/serial/updateSerialNumber.md): Updates a serial number template. All serialInfo keys are required unless otherwise stated. - [Shift System Functions](https://docs.kanoa.ai/systemFunctions/apiShiftIntro.md): Provide system functions for the MES application Shift Management - [system.kanoa.shift.addShift(shiftInfo, userId)](https://docs.kanoa.ai/systemFunctions/shift/addShift.md): Adds a new shift. All shiftInfo keys are required. - [system.kanoa.shift.addShiftBlock(shiftBlockInfo, userId)](https://docs.kanoa.ai/systemFunctions/shift/addShiftBlock.md): Adds a new shift block. All shiftBlockInfo keys are required - [system.kanoa.shift.addShiftBlockException(shiftBlockId, exceptionDate, userId)](https://docs.kanoa.ai/systemFunctions/shift/addShiftBlockException.md): Adds a shift block exception - [system.kanoa.shift.addShiftEvent(shiftEventInfo, userId)](https://docs.kanoa.ai/systemFunctions/shift/addShiftEvent.md): This function adds an entry to the shiftEvent table. All shiftEventInfo keys are required - [system.kanoa.shift.addShiftName(shiftName, userId)](https://docs.kanoa.ai/systemFunctions/shift/addShiftName.md): Adds a new shiftName i.e. '1st Shift' - [system.kanoa.shift.deleteShift(shiftId, userId)](https://docs.kanoa.ai/systemFunctions/shift/deleteShift.md): Deletes a shift - [system.kanoa.shift.deleteShiftBlock(shiftBlockId, userId)](https://docs.kanoa.ai/systemFunctions/shift/deleteShiftBlock.md): Deletes a shift block - [system.kanoa.shift.deleteShiftBlockException(shiftBlockExceptionId, userId)](https://docs.kanoa.ai/systemFunctions/shift/deleteShiftBlockException.md): Deletes a shiftBlock exception - [system.kanoa.shift.deleteShiftEvents(shiftEventInfo)](https://docs.kanoa.ai/systemFunctions/shift/deleteShiftEvents.md): This function deletes an entry to the shiftEvent table. All shiftEventInfo keys are required - [system.kanoa.shift.deleteShiftName(shiftNameId, userId)](https://docs.kanoa.ai/systemFunctions/shift/deleteShiftName.md): Deletes a shift name - [system.kanoa.shift.getClosestAncestor(assets, shiftBlocks, assetPath, rangeStart, rangeEnd, tzOffsets)](https://docs.kanoa.ai/systemFunctions/shift/getClosestAncestor.md): Returns the assetPath that has shifts associated to it in order of the asset path tree. if no shifts are associated, returns None - [system.kanoa.shift.getCurrentShift(paramsDict)](https://docs.kanoa.ai/systemFunctions/shift/getCurrentShift.md): Returns the current shift for the given parameters. paramsDict keys are optional - [system.kanoa.shift.getPreviousShift(paramsDict)](https://docs.kanoa.ai/systemFunctions/shift/getPreviousShift.md): Returns the current shift for the given parameters. paramsDict keys are optional - [system.kanoa.shift.getShiftBlockExceptions(paramsDict)](https://docs.kanoa.ai/systemFunctions/shift/getShiftBlockExceptions.md): Returns shiftBlock exceptions. paramsDict keys are optional. - [system.kanoa.shift.getShiftBlocks(paramsDict)](https://docs.kanoa.ai/systemFunctions/shift/getShiftBlocks.md): Returns shiftsBlocks. paramsDict keys are optional. - [system.kanoa.shift.getShiftCalendarEvents(paramsDict)](https://docs.kanoa.ai/systemFunctions/shift/getShiftCalendarEvents.md): Returns the shift calendar event for the given parameters. It will combine an assets shifts with any inherited shifts if includeInherited is set to True - [system.kanoa.shift.getShiftEvents(paramsDict)](https://docs.kanoa.ai/systemFunctions/shift/getShiftEvents.md): Returns shift events for the given parameters. paramsDict keys are optional. - [system.kanoa.shift.getShiftNames(paramsDict)](https://docs.kanoa.ai/systemFunctions/shift/getShiftNames.md): Returns shift Names.paramsDict keys are optional. - [system.kanoa.shift.getShifts(paramsDict)](https://docs.kanoa.ai/systemFunctions/shift/getShifts.md): Returns shifts. paramsDict keys are optional. - [system.kanoa.shift.updateShift(shiftInfo, userId)](https://docs.kanoa.ai/systemFunctions/shift/updateShift.md): Updates a shift. All shiftInfo keys are required. - [system.kanoa.shift.updateShiftBlock(shiftBlockInfo, userId)](https://docs.kanoa.ai/systemFunctions/shift/updateShiftBlock.md): Updates a shift block. All shiftBlockInfo keys are required - [system.kanoa.shift.updateShiftBlockExceptions(shiftBlockId, newStartDate)](https://docs.kanoa.ai/systemFunctions/shift/updateShiftBlockExceptions.md): Updates a shift blocks exceptions date. When a shift block's startDate gets updated, all of its exceptions need to have its dates updated too - [system.kanoa.shift.updateShiftBlockField(shiftBlockId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/shift/updateShiftBlockField.md): Updates the passed field value for the given scheduleBlockId. (kanoaOps) - [system.kanoa.shift.updateShiftEvents(paramsDict)](https://docs.kanoa.ai/systemFunctions/shift/updateShiftEvents.md): This function is called by the shiftTimer tag timer function to build the shiftEvents table. The shiftEvents table is used for SQL joins in shift analysis functions. - [system.kanoa.shift.updateShiftField(shiftId, field, value, userId)](https://docs.kanoa.ai/systemFunctions/shift/updateShiftField.md): Updates the passed field value for the given shift. - [system.kanoa.shift.updateShiftName(shiftName, shiftNameId, userId)](https://docs.kanoa.ai/systemFunctions/shift/updateShiftName.md): Updates a shift name - [Toast System Functions](https://docs.kanoa.ai/systemFunctions/apiToastIntro.md): Provide system functions for showing, updating and dismissing toast notifications on Perspective pages. These functions are Perspective-only. - [system.kanoa.toast.dismiss(paramsDict)](https://docs.kanoa.ai/systemFunctions/toast/dismiss.md): Closes a toast notification by id. Pass an empty dictionary to close every toast on the page. - [system.kanoa.toast.show(paramsDict)](https://docs.kanoa.ai/systemFunctions/toast/show.md): Shows a toast notification and returns its id. Invalid arguments raise an error in the calling script. - [system.kanoa.toast.update(paramsDict)](https://docs.kanoa.ai/systemFunctions/toast/update.md): Changes a toast notification that is still on screen. Takes the same keys as show, and id is required. The message and title are replaced, so pass both again if both should stay. Updating a toast that has already closed does nothing. - [Tooling System Functions](https://docs.kanoa.ai/systemFunctions/apiToolingIntro.md): Tools are assets with tooling info the result and None on success, or None and the reason it was refused. Read functions return a dataset, or None on failure. - [system.kanoa.tooling.addTool(toolInfo, userId)](https://docs.kanoa.ai/systemFunctions/tooling/addTool.md): Adds a tool: an isTooling asset (never OEE-enabled) with its tooling info and life counter rows. Tool names are unique within a site (the site its location is under; tools outside any site are a group of their own), because a tag mounts a tool by name. - [system.kanoa.tooling.adjustCounter(adjustInfo, userId)](https://docs.kanoa.ai/systemFunctions/tooling/adjustCounter.md): A manual change to one of a tool's counts, logged as an adjustment. Refused if it would take the count below 0. - [system.kanoa.tooling.checkCompatibility(paramsDict)](https://docs.kanoa.ai/systemFunctions/tooling/checkCompatibility.md): Checks whether a tool assembly fits a parent: the tool against the parent, and each tool in its pockets against its own parent. A tool with no fit rules (see getCompatibilityRules) fits anywhere. - [system.kanoa.tooling.checkLimits(userId)](https://docs.kanoa.ai/systemFunctions/tooling/checkLimits.md): Accrues every mounted tool's run minutes (its host's Running time) and brings every tool's status up to date. The gateway runs it every hour; call it to check now. - [system.kanoa.tooling.checkRequiredTooling(paramsDict)](https://docs.kanoa.ai/systemFunctions/tooling/checkRequiredTooling.md): The tools an item needs on a machine that aren't mounted on it: each required tool not on the machine (or in a pocket of a tool on it), and each required tooling type no mounted tool is. A required tool with output positions set to the item, or to no item, is also met by a mounted tool with an unblocked position set to the item, such as a family mold. Empty when everything is mounted, nothing is required, or the machine doesn't use tooling. Run Control warns with it before a run starts. - [system.kanoa.tooling.deleteCompatibilityRule(toolingCompatibilityId, userId)](https://docs.kanoa.ai/systemFunctions/tooling/deleteCompatibilityRule.md): Deletes a fit rule. A tool left with no rules fits anywhere again. - [system.kanoa.tooling.deleteCycleRate(assetToolingRateId, userId)](https://docs.kanoa.ai/systemFunctions/tooling/deleteCycleRate.md): Deletes a cycle rate. Each run keeps the rate it was stamped with when it started, so the change applies to the asset's run in progress, not earlier runs. - [system.kanoa.tooling.deleteRequiredTooling(itemAssetToolingId, userId)](https://docs.kanoa.ai/systemFunctions/tooling/deleteRequiredTooling.md): Deletes a tool an item needs on a machine, and the unpinned tool reservations it made. - [system.kanoa.tooling.deleteTool(toolingAssetId, retireIfUsed, userId)](https://docs.kanoa.ai/systemFunctions/tooling/deleteTool.md): Deletes a tool that was never used, with its own setup (tooling info, positions, counters, cycle and item rates, compatibility rules, status). A tool that was used (mounted or held an insert, has life counts or adjustments, rated a run, is on a check event or check sheet, has a work order, or has assets under it) is refused with a message starting 'Has history:' that says what it has. With retireIfUsed, such a tool is set Retired and disabled instead, keeping its history; that is refused while it's mounted. - [system.kanoa.tooling.exportTools(paramsDict)](https://docs.kanoa.ai/systemFunctions/tooling/exportTools.md): Exports tools' setup as a portable file for importTools life counts, the calibration due date, mounts and history, and which positions are blocked. Save it with system.perspective.download(name, system.util.jsonEncode(data)) - [system.kanoa.tooling.getAlerts(paramsDict)](https://docs.kanoa.ai/systemFunctions/tooling/getAlerts.md): Returns the tools that are due for maintenance or over a limit, worst first. A tool is Due at the tool's warnPct of a limit (PM interval, refurbishment interval, lifetime limit, refurbishment limit, calibration) and Over limit past one. The hourly tool life job also checks calendar-day and calibration limits. - [system.kanoa.tooling.getCompatibilityRules(paramsDict)](https://docs.kanoa.ai/systemFunctions/tooling/getCompatibilityRules.md): The fit rules (mes.toolingCompatibility) a machine, a tool that holds inserts, or an asset type. A tool with no enabled rules (its own or its type's) fits anywhere; once it has one, it only mounts on a parent one of them names. - [system.kanoa.tooling.getCounters(paramsDict)](https://docs.kanoa.ai/systemFunctions/tooling/getCounters.md): Returns each tool's life counts beside its limits: lifetime, since-PM and since-refurbishment cycles and run minutes, refurbishment count, the last PM, refurbishment, calibration and tool counter reading, and how far through each limit it is (lifetimePct, pmPct, refurbPct, refurbCountPct, calibrationPct; None = no limit). Limits are read in the tool's lifeUnit (cycles, runMinutes or calendarDays). Also returns its status (Available, Mounted, Due for PM, Due for refurbishment, Due for calibration, Over limit, In repair, Damaged or Retired), level (0 OK, 1 due, 2 over a limit) and a message saying why. - [system.kanoa.tooling.getCycleRates(paramsDict)](https://docs.kanoa.ai/systemFunctions/tooling/getCycleRates.md): Returns tools' cycle rates on assets: cycles (shots) per minute or hour. Each item's part rate is the cycle rate x its parts per cycle. - [system.kanoa.tooling.getHistory(paramsDict)](https://docs.kanoa.ai/systemFunctions/tooling/getHistory.md): Returns mount history, oldest first: a tool's (toolingAssetId), or everything mounted on a machine (assetId). - [system.kanoa.tooling.getMounted(paramsDict)](https://docs.kanoa.ai/systemFunctions/tooling/getMounted.md): Returns the tool assemblies mounted on an asset at a time: each top-level tool and every tool in its pockets, any depth. - [system.kanoa.tooling.getPartsPerCycle(paramsDict)](https://docs.kanoa.ai/systemFunctions/tooling/getPartsPerCycle.md): Returns parts per cycle by item: a row per item the positions are set to, and a row with no item for the positions set to no item, which make whatever item is running. partsPerCycle and positions count the unblocked positions (what a cycle makes); standardPartsPerCycle and standardPositions count blocked ones too (what the standard rate uses). Retired positions never count. By assetId, from what was mounted on it at the time; by toolingAssetId, from the tool's and its inserts' positions now. - [system.kanoa.tooling.getPositions(paramsDict)](https://docs.kanoa.ai/systemFunctions/tooling/getPositions.md): Returns a tool's positions by positionNumber, with the item name and, for a pocket, the tool it holds now. - [system.kanoa.tooling.getRequiredTooling(paramsDict)](https://docs.kanoa.ai/systemFunctions/tooling/getRequiredTooling.md): The tools items need on machines that use tooling (mes.itemAssetTooling): a specific tool, or any tool of a tooling type, for an item on one machine or on any machine. Given an assetId, the machine's own requirements and the ones for any machine. Set them up on the Required Tooling tab of Configuration > Ops > Materials; see Required Tooling. - [system.kanoa.tooling.getStandardRate(paramsDict)](https://docs.kanoa.ai/systemFunctions/tooling/getStandardRate.md): Returns the standard (part) rate of an item on an asset at a time, from the tools mounted then; first match wins: a rate for the item and a mounted tool ('tool'), the mounted tool's cycle rate x the item's parts per cycle x the asset + item rate's package count ('cycle'; parts per cycle are outfeed units, the standard rate is in infeed units), else the asset + item rate ('asset'). This is what a run starting then is stamped with; a run's own standardRate override isn't applied. - [system.kanoa.tooling.getTools(paramsDict)](https://docs.kanoa.ai/systemFunctions/tooling/getTools.md): Returns tools (isTooling assets) with their tooling info, life counts and where each is mounted now. - [system.kanoa.tooling.getToolTypes(paramsDict)](https://docs.kanoa.ai/systemFunctions/tooling/getToolTypes.md): Returns the tooling asset types (Mold, Mold Insert, Die, Jig, Fixture, Gauge, Cutting Tool, Change Part and Tool are seeded; any asset type can be made one with saveToolType), ordered by name, with what a new tool of each type starts with in the tool editor. - [system.kanoa.tooling.getTree(paramsDict)](https://docs.kanoa.ai/systemFunctions/tooling/getTree.md): Returns a tool assembly at a time: by assetId, everything mounted on it; by toolingAssetId, that tool (depth 0) and every tool in its pockets. - [system.kanoa.tooling.importTools(paramsDict, userId)](https://docs.kanoa.ai/systemFunctions/tooling/importTools.md): Imports a file from exportTools, all or nothing: if any tool has an error, nothing is written. A tool's location, asset type and family-tool items are matched by path; a missing one is an error. A tooling type in the file that doesn't exist is created (or made a tooling type), with a warning. A cycle rate whose machine is missing, or that its machine refuses, is left off with a warning. Imported tools arrive unmounted with fresh life counts. Run with dryRun first to preview - [system.kanoa.tooling.mount(mountInfo, userId)](https://docs.kanoa.ai/systemFunctions/tooling/mount.md): Mounts a tool on an asset, or in a pocket of another tool, and snapshots its positions. Tools in the tool's pockets come with it. Refused (nothing changes) when the tool is already mounted, disabled or not a tool; when the start time overlaps its history or is in the future; when the tool belongs to a site and the asset (or the pocket's tool) is not in it; when the asset doesn't use tooling or already has another tool with output positions; when the pocket isn't an empty pocket of the parent or the parent is inside the tool; and when the tool's compatibility rules don't allow the parent. Warnings [...], 'warnings': [...]} or None; its errors refuse the mount. A hook that fails or takes over 10 seconds becomes a warning. - [system.kanoa.tooling.mountByName(assetId, toolName, tStamp)](https://docs.kanoa.ai/systemFunctions/tooling/mountByName.md): Called by the assetTooling Inputs/Tooling tag: mounts the tool with this name on the asset, with source 'tag'. The name is looked up among the tools in the asset's site, then among the tools outside any site. A tool with output positions first unmounts the asset's current output tool; a blank name unmounts it. A swap's unmount and mount happen at the same moment, so the run there gets the new tool's rate. A tag can't confirm warnings, so they are accepted and kept on the assignment's note. Refused for a name no tool there has (or more than one), or a tool mounted somewhere else; the tag logs the reason. - [system.kanoa.tooling.rebuildCounters(toolingAssetId, userId)](https://docs.kanoa.ai/systemFunctions/tooling/rebuildCounters.md): Recomputes a tool's counts from scratch: the cycles its hosts ran (outfeed counts / parts per cycle) and their Running time over every window the tool was mounted, plus the corrections made by hand; since-PM and since-refurbishment counts start at the last PM and refurbishment. A tool counting its own shots keeps its cycle counts. Each change is logged as an adjustment. - [system.kanoa.tooling.recordProduction(assetId, cycles, tStamp)](https://docs.kanoa.ai/systemFunctions/tooling/recordProduction.md): Called by the assetTooling Inputs/Cycle Count tag production of that item, left out of the run, OEE and work order counts. With no tool mounted, the running item gets one part a cycle. Leave the asset's own Inputs/Outfeed Count unbound, or its outfeed is counted twice. - [system.kanoa.tooling.recordReject(assetId, qty, tStamp, itemId)](https://docs.kanoa.ai/systemFunctions/tooling/recordReject.md): Takes rejected parts off the outfeed recordProduction counted, since a tool's cycles count every part it makes. With no item, they're the running item's: the asset's Inputs/Waste Count calls this after recording them as waste. With a family tool's other item, they're also written as that item's waste (a co-product), so a vision system that knows the item calls this directly instead of writing the Waste Count. - [system.kanoa.tooling.recordShotCounter(assetId, reading, tStamp)](https://docs.kanoa.ai/systemFunctions/tooling/recordShotCounter.md): Called by the assetTooling Inputs/Tool Shot Counter tag: passes the reading to recordToolReading for the asset's output tool. Nothing happens when no tool is mounted. - [system.kanoa.tooling.recordToolReading(toolingAssetId, reading, tStamp)](https://docs.kanoa.ai/systemFunctions/tooling/recordToolReading.md): Records a reading of a tool's own shot counter. The first reading sets lifetimeCycles to it; later readings add the increase to every cycle count. A reading below the last one (the counter was reset) only becomes the new baseline. While readings keep coming, recordCycles leaves the tool alone. - [system.kanoa.tooling.refreshTags(assetId)](https://docs.kanoa.ai/systemFunctions/tooling/refreshTags.md): Rewrites the asset's assetTooling display tags now: Primary/* (the output tool, its parts per cycle, positions, cycle rate, counts, worst limit % and status), Mounted, Positions and Alerts/worstLevel and Alerts/message. They are also rewritten after every mount, count and status change, and hourly. - [system.kanoa.tooling.resetCounter(resetInfo, userId)](https://docs.kanoa.ai/systemFunctions/tooling/resetCounter.md): Resets a tool's counts after maintenance, logged as adjustments. pm sets the since-PM counts to 0 and stamps lastPmDate; refurb sets the since-refurbishment counts to 0, stamps lastRefurbDate and adds 1 to refurbCount; calibration stamps lastCalibrationDate and moves calibrationDue on by the tool's calibrationIntervalDays. The tool's status is then brought up to date. - [system.kanoa.tooling.saveCompatibilityRule(ruleInfo, userId)](https://docs.kanoa.ai/systemFunctions/tooling/saveCompatibilityRule.md): Adds a fit rule, or changes one (with toolingCompatibilityId). Give one child and one parent. A machine must use tooling, and be in the tool's site when the tool belongs to one; a parent tool must hold inserts. The same child and parent can't have two rules. Tools already mounted aren't checked again; the rule applies from the next mount. - [system.kanoa.tooling.savePositions(toolingAssetId, positions, userId)](https://docs.kanoa.ai/systemFunctions/tooling/savePositions.md): Replaces a tool's positions, matched by positionNumber: existing numbers are updated, new ones added, missing ones removed. Refused while the tool is mounted (use setPositionBlocked or setPositionRetired), for a removed position with mount history (retire it instead), and for a pocket that holds a tool and would stop being a pocket. Positions need the tool's hasPositions on, and a pocket needs holdsInserts on; an empty list is always allowed. - [system.kanoa.tooling.saveRequiredTooling(toolingInfo, userId)](https://docs.kanoa.ai/systemFunctions/tooling/saveRequiredTooling.md): Adds a tool an item needs on a machine, or changes one (with itemAssetToolingId). Give a tool or a tooling type, not both; the machine, if given, must use tooling. The same tool can't be required twice for the same item and machine. The operations still to come that make the item reserve their tools again to match. - [system.kanoa.tooling.saveToolType(typeInfo, userId)](https://docs.kanoa.ai/systemFunctions/tooling/saveToolType.md): Makes an asset type a tooling type, or not, and sets what a new tool of that type starts with. Tooling types are the ones the tool editor offers and the asset tree editor leaves out. Refused when making a type tooling that assets which aren't tools already have, that is a Mobile type, or that is a plant hierarchy level (enterprise, site, area, line, cell). Tools keep their type when it stops being a tooling type. - [system.kanoa.tooling.setBlockedPositions(assetId, positionNumbers)](https://docs.kanoa.ai/systemFunctions/tooling/setBlockedPositions.md): Called by the assetTooling Inputs/Blocked Positions tag: the asset's output tool ends up with exactly these position numbers blocked (reason 'other') and its other output positions unblocked, each change made like setPositionBlocked (the standard rate doesn't change, so no new run starts). - [system.kanoa.tooling.setCycleRate(rateInfo, userId)](https://docs.kanoa.ai/systemFunctions/tooling/setCycleRate.md): Sets a tool's cycle rate on an asset, replacing the one they already have. On a frame, a frame's own rate overrides the slowest of its mounted inserts' rates. A mount, unmount or blocked position that changes an asset's standard rate starts a new run (modeEvent) at that time. Each run keeps the rate it was stamped with when it started, so the change applies to the asset's run in progress, not earlier runs. - [system.kanoa.tooling.setFixed(toolingAssignmentId, isFixed, userId)](https://docs.kanoa.ai/systemFunctions/tooling/setFixed.md): Marks a tool in a pocket as fixed (it moves with its parent and stays when the parent is unmounted with removeInserts) or interchangeable. - [system.kanoa.tooling.setPositionRetired(toolingPositionId, isRetired, userId)](https://docs.kanoa.ai/systemFunctions/tooling/setPositionRetired.md): Retires a position (out of service for good, e.g. a cavity welded shut) or brings it back into service. Unlike a blocked position, a retired one leaves the standard rate: while the tool is mounted, the change takes effect from now and a new run starts if it changes the machine's rate. The position keeps its history. A pocket holding a tool can't be retired. - [system.kanoa.tooling.setUsesTooling(assetId, usesTooling, userId)](https://docs.kanoa.ai/systemFunctions/tooling/setUsesTooling.md): Turns usesTooling on or off for a production asset: whether tools can be mounted on it. On needs the asset to be OEE-enabled; off is refused while a tool is mounted. - [system.kanoa.tooling.updateTool(toolInfo, userId)](https://docs.kanoa.ai/systemFunctions/tooling/updateTool.md): Updates a tool's asset fields and tooling info. Every field is saved as given (a None limit means no limit), so pass the whole tool. Refused for a name another tool in the same site already has, including after a move to another site. Also refused for turning off hasPositions while the tool has positions, or holdsInserts while it has pockets. - [Utilities System Functions](https://docs.kanoa.ai/systemFunctions/apiUtilitiesIntro.md): Provide a set of helper functions for the MES application - [system.kanoa.utilities.convertDatasetRowToJSON(data, rowIndex)](https://docs.kanoa.ai/systemFunctions/utilities/convertDatasetRowToJSON.md): Converts the dataset row to a dictionary - [system.kanoa.utilities.convertDatasetToBreadcrumb(dataset, pathColumn)](https://docs.kanoa.ai/systemFunctions/utilities/convertDatasetToBreadcrumb.md): Converts an Ignition dataset into the nested items structure expected by the Breadcrumb component. - [system.kanoa.utilities.convertDatasetToDict(data, keyCol, valueCol)](https://docs.kanoa.ai/systemFunctions/utilities/convertDatasetToDict.md): Given the name of a key column or list of key columns, and value column, this function will convert a dataset into a dictionary of key value pairs - [system.kanoa.utilities.convertDatasetToJSON(data)](https://docs.kanoa.ai/systemFunctions/utilities/convertDatasetToJSON.md): Converts a dataset to a list of dictionaries - [system.kanoa.utilities.convertDatesToString(datesIn, deviceUTCOffSetMins)](https://docs.kanoa.ai/systemFunctions/utilities/convertDatesToString.md): When passing a date to a stored procedure, it needs to be converted to the timezone of the SQL Server - [system.kanoa.utilities.convertDictListToDataset(dictList)](https://docs.kanoa.ai/systemFunctions/utilities/convertDictListToDataset.md): Given a list of dictionaries, this function will convert it to a dataset - [system.kanoa.utilities.convertListToDict(dictList, key)](https://docs.kanoa.ai/systemFunctions/utilities/convertListToDict.md): Given a list of dictionaries, this function will convert it to a dictionary with the key value being the passed key from the dictionary - [system.kanoa.utilities.convertSQLTimeStamp(timeStamp)](https://docs.kanoa.ai/systemFunctions/utilities/convertSQLTimeStamp.md): Some functions have a habit of returning a java.util.date or a SQL Timestamp object. - [system.kanoa.utilities.createCheckSum(dictInfo)](https://docs.kanoa.ai/systemFunctions/utilities/createCheckSum.md): Creates an MD5 hash checksum out of the passed in dictInfo - [system.kanoa.utilities.createTreeHierarchy(inputData, levels)](https://docs.kanoa.ai/systemFunctions/utilities/createTreeHierarchy.md): Takes a dataset, and appends an extra 'path' column based on the passed in levels - [system.kanoa.utilities.dateStringToPython(dateString)](https://docs.kanoa.ai/systemFunctions/utilities/dateStringToPython.md): Converts a date string to python datetime object - [system.kanoa.utilities.exportToExcel(fileName, data)](https://docs.kanoa.ai/systemFunctions/utilities/exportToExcel.md): Wrapper function that calls system.dataset.toExcel() and system.perspective.download() - [system.kanoa.utilities.formatDatesForSP(datesIn)](https://docs.kanoa.ai/systemFunctions/utilities/formatDatesForSP.md): When passing a date to a stored procedure, it needs to be converted to the timezone of the SQL Server - [system.kanoa.utilities.formatDictionary(dictionary, paramsDict)](https://docs.kanoa.ai/systemFunctions/utilities/formatDictionary.md): Takes a dictionary and formats it in a human readable way - [system.kanoa.utilities.formatNumber(format, value)](https://docs.kanoa.ai/systemFunctions/utilities/formatNumber.md): Given a number or string representation of a number, this function will return the number formatted to the passed in format - [system.kanoa.utilities.formatPath(path, paramsDict)](https://docs.kanoa.ai/systemFunctions/utilities/formatPath.md): Takes a string 'path' and replaces the splitKey with the delimiter. By default the splitKey is set to '\' and the delimiter is set to ' > ' - [system.kanoa.utilities.getComplementaryColors(count, red, green, blue)](https://docs.kanoa.ai/systemFunctions/utilities/getComplementaryColors.md): This function will return a list of ordered colors which are tetradic complements of the provided rgb value - [system.kanoa.utilities.getContrastingColor(colorString)](https://docs.kanoa.ai/systemFunctions/utilities/getContrastingColor.md): Takes a string in either the form of RGB hex digits with hash sign (i.e. #FFFFFF') or a CSS custom variable (i.e '--KcBlue-60') - [system.kanoa.utilities.getDateRange(paramsDict)](https://docs.kanoa.ai/systemFunctions/utilities/getDateRange.md): Return predefined Date ranges. DEPRECATED: This function has been replaced by system.kanoa.date.getDateRange() - [system.kanoa.utilities.getDictionaryValue(data, key)](https://docs.kanoa.ai/systemFunctions/utilities/getDictionaryValue.md): Recursively searches for a key within a nested dictionary. - [system.kanoa.utilities.getFieldValue(field, data)](https://docs.kanoa.ai/systemFunctions/utilities/getFieldValue.md): Helper function that returns a scalar value for the passed in column (field) from a dataset. Expects there to be 1 row in the dataset. Returns None if passed an empty dataset or invalid column name - [system.kanoa.utilities.getFraction(number)](https://docs.kanoa.ai/systemFunctions/utilities/getFraction.md): Given a number, this function will return a string representation of the number as a fraction - [system.kanoa.utilities.getGatewayTimeZoneOffset()](https://docs.kanoa.ai/systemFunctions/utilities/getGatewayTimeZoneOffset.md): Returns the timezone offset in hours for the gateway server. Deprecated - Replaced by system.kanoa.date.getGatewayTimeZoneOffsetMins() - [system.kanoa.utilities.getNextColor(usedColors)](https://docs.kanoa.ai/systemFunctions/utilities/getNextColor.md): Given a list of hex color strings, returns a new hex color whose hue is maximally distant from all used hues. - [system.kanoa.utilities.getPageObject(self, objName)](https://docs.kanoa.ai/systemFunctions/utilities/getPageObject.md): Retrieves an object identified by 'objName' from the kanoa session properties - [system.kanoa.utilities.getRandomNumber(start, end)](https://docs.kanoa.ai/systemFunctions/utilities/getRandomNumber.md): Returns a random number between the start and end values passed - [system.kanoa.utilities.getStoredAssetPath(self)](https://docs.kanoa.ai/systemFunctions/utilities/getStoredAssetPath.md): Gets the stored assetPath for the page from the session properties to make the asset selector persistent across views in the current tab (page) - [system.kanoa.utilities.getStoredDateRange(self)](https://docs.kanoa.ai/systemFunctions/utilities/getStoredDateRange.md): Gets the stored date range for the page from the session properties to make the date selector persistent across views in the current tab (page) - [system.kanoa.utilities.getUUID()](https://docs.kanoa.ai/systemFunctions/utilities/getUUID.md): Returns a universally unique 65 character string value - [system.kanoa.utilities.hexToRGB(hexNumber)](https://docs.kanoa.ai/systemFunctions/utilities/hexToRGB.md): Converts HEX value to RGB color value - [system.kanoa.utilities.javaDateToPython(date)](https://docs.kanoa.ai/systemFunctions/utilities/javaDateToPython.md): Converts java.util.date object to python datetime object - [system.kanoa.utilities.jsonToMarkdown(json)](https://docs.kanoa.ai/systemFunctions/utilities/jsonToMarkdown.md): Formats json to markdown - [system.kanoa.utilities.parseTreeOptions(text)](https://docs.kanoa.ai/systemFunctions/utilities/parseTreeOptions.md): Parses a Tree pick list's options into a list of option paths, forgiving how they were typed: one option per line, or a comma-separated list; each option optionally wrapped in single or double quotes (a quoted option may contain commas and apostrophes); the whole list optionally wrapped in [ ] (so a JSON array works too). An option's levels are split on / or \, trimmed and joined with /, so 'Plant 1 / Line 2' becomes 'Plant 1/Line 2'. Empty and repeated options are dropped and the order is kept. Unquoted options are split on commas only when the text is a single line, so a name containing a comma needs its own line or quotes. - [system.kanoa.utilities.printDataset(data, params, dict)](https://docs.kanoa.ai/systemFunctions/utilities/printDataset.md): Given a dataset, this functions prints out its contents formatted based on the paramsDict keys. paramsDict keys are optional. - [system.kanoa.utilities.pythonDateToJava(date)](https://docs.kanoa.ai/systemFunctions/utilities/pythonDateToJava.md): Converts python datetime object to java.util.date object - [system.kanoa.utilities.RGBToHex(red, green, blue)](https://docs.kanoa.ai/systemFunctions/utilities/RGBToHex.md): Converts RGB color value to HEX value - [system.kanoa.utilities.secondsToText(secs, paramsDict)](https://docs.kanoa.ai/systemFunctions/utilities/secondsToText.md): Convert seconds into string i.e. '4 days 5Hrs 12 mins 44 secs'. paramsDict keys are optional - [system.kanoa.utilities.storeAssetPath(self, assetPath)](https://docs.kanoa.ai/systemFunctions/utilities/storeAssetPath.md): Stores the assetPath in the session custom properties to make it persistent across views in the current tab (page) - [system.kanoa.utilities.storeDateRangeSelection(self, startDate, endDate, selectedDateRange)](https://docs.kanoa.ai/systemFunctions/utilities/storeDateRangeSelection.md): Stores the passed in date range to make it persistent across views in the current tab (page) - [system.kanoa.utilities.storePageObject(self, objName, dictObject)](https://docs.kanoa.ai/systemFunctions/utilities/storePageObject.md): Stores the passed in object as a session object specific to the current page - [system.kanoa.utilities.stringFormat(text)](https://docs.kanoa.ai/systemFunctions/utilities/stringFormat.md): Replaces underscores and dashes with spaces, creates spaces between separate words - [system.kanoa.utilities.translateData(data, colList, locale)](https://docs.kanoa.ai/systemFunctions/utilities/translateData.md): Translates the list of columns of the passed in dataset into the given locale language - [Database Schema](https://docs.kanoa.ai/dbSchema.md): Our database schema is designed following the third normal form pattern (3NF). - [mes.fnGetCount](https://docs.kanoa.ai/scalarFunctions/fnGetCount.md): Returns the sum of counter values for a given counter Id within a time range. - [mes.fnGetStateSeconds](https://docs.kanoa.ai/scalarFunctions/fnGetStateSeconds.md): Returns total duration in seconds for a given state type within a time range for an asset. - [mes.fnGetWOCount](https://docs.kanoa.ai/scalarFunctions/fnGetWOCount.md): Returns the total count (sum of values) for a given work order. - [qds.fnGetChkItemStateCount](https://docs.kanoa.ai/scalarFunctions/fnGetChkItemStateCount.md): Returns how many times a specific state was recorded for a checklist event. - [dbo.fnParseIntList](https://docs.kanoa.ai/tableValuedFunctions/fnParseIntList.md): Parses a comma-separated string of integers into a table of int values. - [mes.fnGetAssetStateEvents](https://docs.kanoa.ai/tableValuedFunctions/fnGetAssetStateEvents.md): Returns asset state events with mode and time window overlap information. - [mes.fnGetModeEventData](https://docs.kanoa.ai/tableValuedFunctions/fnGetModeEventData.md): Returns production mode event data for a given asset within a time range. - [mes.fnGetOEEMetrics](https://docs.kanoa.ai/tableValuedFunctions/fnGetOEEMetrics.md): Returns calculated OEE metrics from raw counts and durations. - [mes.fnGetOrderCount](https://docs.kanoa.ai/tableValuedFunctions/fnGetOrderCount.md): Returns total quantity completed for a given work order using mode event data. - [mes.fnGetRunTimesAndCounts](https://docs.kanoa.ai/tableValuedFunctions/fnGetRunTimesAndCounts.md): Returns runtime, downtime, and counter totals for a given asset within a time range. - [qds.fnGetAttributeTolerances](https://docs.kanoa.ai/tableValuedFunctions/fnGetAttributeTolerances.md): Returns tolerance limits for a given attribute, resolving by priority. Disabled tolerances are skipped, so the best-fit enabled one applies. - [mes.spAdminDeleteAssetWithHistory](https://docs.kanoa.ai/storedProcedures/spAdminDeleteAssetWithHistory.md): Recursively deletes an asset and its descendant hierarchy, along with all historical records including counters, events, and linked metadata across MES, SCH, SEC, and QDS schemas. - [mes.spDeleteAsset](https://docs.kanoa.ai/storedProcedures/spDeleteAsset.md): Deletes a single asset and its associated metadata. Also deletes historical records such as state events, counters, and mode events. If child assets exist, they will be recursively deleted as well. - [mes.spDeleteMultipleAssetsWithNoHistory](https://docs.kanoa.ai/storedProcedures/spDeleteMultipleAssetsWithNoHistory.md): Deletes an asset and all of its descendants as long as no historical data (state events, counters, mode events, checklist events) is found. Raises an error if historical data is detected, and instructs to use spAdminDeleteAssetWithHistory instead. - [mes.spDeleteSingleAssetWithNoHistory](https://docs.kanoa.ai/storedProcedures/spDeleteSingleAssetWithNoHistory.md): Deletes a single asset and its associated metadata if it has no historical data and no descendant assets. If history exists, raises an error instructing to use spAdminDeleteAsset. If descendants exist, instructs to use spDeleteMultipleAssetsWithNoHistory. - [mes.spGetAssetPerformanceEventByShift](https://docs.kanoa.ai/storedProcedures/spGetAssetPerformanceEventByShift.md): Combines data from production events and performance events to return summarized performance information for each shift, including target counts, runtime, coded loss minutes, and performance metrics. - [mes.spGetAssetProductionEvents](https://docs.kanoa.ai/storedProcedures/spGetAssetProductionEvents.md): Retrieves production mode events for a given asset over a date range. Optionally filters by mode, work order, or current mode. Calculates production-related metrics like counts and OEE components when applicable. - [mes.spGetAssetProductionEventsByShift](https://docs.kanoa.ai/storedProcedures/spGetAssetProductionEventsByShift.md): Returns asset production events sliced by shift. Includes mode, item, and work order data, enriched with runtime and count metrics. Also calculates OEE values per shift segment and provides raw vs. mode-specific counters. - [mes.spGetAssetProductionEventSummary](https://docs.kanoa.ai/storedProcedures/spGetAssetProductionEventSummary.md): Generates an aggregated summary of production events and performance metrics (OEE) for a given asset over a specified time window. Data is grouped by asset, mode, work order, and item, and includes summarized counters, durations, and calculated KPIs. - [mes.spGetAssetStateDataSummary](https://docs.kanoa.ai/storedProcedures/spGetAssetStateDataSummary.md): Returns a summarized breakdown of state durations for a given asset over a specified time range. Each row represents time spent in a specific state, categorized by state type, color, and label. Adjusts the start of the range to capture partial states that began prior to the provided window. - [mes.spGetAssetStateEventByCategory](https://docs.kanoa.ai/storedProcedures/spGetAssetStateEventByCategory.md): Retrieves state event durations for a specific asset, grouped by state category and type, within a given time range. Filters allow for selecting events based on duration, changed states, or only downtime-related states. - [mes.spGetAssetStateEventByShift](https://docs.kanoa.ai/storedProcedures/spGetAssetStateEventByShift.md): Retrieves state events for a specified asset and time range, categorized by shift. Events can be filtered by duration, include only changed states, or be restricted to downtime categories. Includes overlap handling between state and shift boundaries. - [mes.spGetAssetStateEventByShiftSummary](https://docs.kanoa.ai/storedProcedures/spGetAssetStateEventByShiftSummary.md): Generates a summarized report of asset state events, grouped by shift, state name, category, and type. This procedure internally uses spGetAssetStateEventByShift and rolls up event durations to provide a shift-level overview. - [mes.spGetAssetStateEvents](https://docs.kanoa.ai/storedProcedures/spGetAssetStateEvents.md): Retrieves raw asset state event data by invoking the internal table-valued function fnGetAssetStateEvents. Includes adjusted start time logic to include state changes that begin prior to the selected time window. - [mes.spGetAssetStateEventsByInterval](https://docs.kanoa.ai/storedProcedures/spGetAssetStateEventsByInterval.md): Returns a pivoted view of asset state durations broken out by hour, day, or week intervals. Retrieves state events using fnGetAssetStateEvents and bins them into time slices for visual summary analysis. Internally builds dynamic SQL to pivot the results into columns by descriptor (asset + state). - [mes.spGetAssetStateEventSummary](https://docs.kanoa.ai/storedProcedures/spGetAssetStateEventSummary.md): Summarizes state durations for a given asset within a date range, optionally filtered by event duration and type. Uses fnGetAssetStateEvents internally and performs grouping on state dimensions. - [mes.spGetDowntimeDataForReliability](https://docs.kanoa.ai/storedProcedures/spGetDowntimeDataForReliability.md): Classifies downtime states into reliability buckets such as PLANNED, SETUP, MINORSTOP, BREAKDOWN, or PROCESSFAILURE. Useful for reliability and maintenance analytics. Derives data from stateEvent, state, and associated state metadata. - [mes.spGetLotActivity](https://docs.kanoa.ai/storedProcedures/spGetLotActivity.md): Returns a history of lot activity, including movements, quantities, lot states, and operation metadata. Useful for material traceability and inventory audits. Includes JOINs on vwLot and vwLotEvent. - [mes.spGetOEEDataByInterval](https://docs.kanoa.ai/storedProcedures/spGetOEEDataByInterval.md): Generates OEE (Overall Equipment Effectiveness) and supporting metrics for an asset over a time range, aggregated by hour/day/week. Utilizes run states, counters, and mode data to derive KPIs. Performs dynamic interval grouping using recursive CTEs. - [mes.spGetOEEDataByIntervalByShift](https://docs.kanoa.ai/storedProcedures/spGetOEEDataByIntervalByShift.md): Calculates Overall Equipment Effectiveness (OEE) metrics for a given asset across shifts, aligned to time-based intervals (Hour, Day, or Week). Aggregates runtime, downtime, and counter metrics using shift windows. Ideal for tracking OEE by operational shifts. - [mes.spGetOEEDataByIntervalGroupByItem](https://docs.kanoa.ai/storedProcedures/spGetOEEDataByIntervalGroupByItem.md): Returns OEE performance indicators grouped by item over hourly, daily, or weekly intervals. Useful for analyzing item-specific efficiencies regardless of shift structure. Data includes duration, runtime, downtime, and count-based calculations for each item. - [mes.spGetOEEDataByIntervalGroupByItemAndShift](https://docs.kanoa.ai/storedProcedures/spGetOEEDataByIntervalGroupByItemAndShift.md): This procedure returns Overall Equipment Effectiveness (OEE) metrics grouped by both item and operational shift for a specified asset over a given time interval. It aligns asset run/downtime with shift windows and aggregates counter data to compute availability, performance, quality, and OEE. - [mes.spGetOEEDataByIntervalGroupByShift](https://docs.kanoa.ai/storedProcedures/spGetOEEDataByIntervalGroupByShift.md): This stored procedure calculates and returns Overall Equipment Effectiveness (OEE) metrics for a given asset over a time range, grouped by shift. It computes runtime, downtime, counter-based performance, and derives availability, performance, quality, and OEE. It aggregates the data by time intervals (hour/day/week) and shifts. - [mes.spGetOEEDataSummary](https://docs.kanoa.ai/storedProcedures/spGetOEEDataSummary.md): This stored procedure summarizes Overall Equipment Effectiveness (OEE) for a specified asset over a given date range. It aggregates production runs into one consolidated summary including runtime, downtime, and counter-based production metrics. It then applies a server-side function to compute derived OEE metrics such as availability, performance, and quality. - [mes.spGetProductionDataForReliability](https://docs.kanoa.ai/storedProcedures/spGetProductionDataForReliability.md): This stored procedure collects detailed production and reliability data for a given asset and mode across a defined time range. It calculates raw counters, availability, performance, and quality metrics, including takt time, actual rates, and loss analyses, suitable for reliability and performance dashboards. - [mes.spGetStateEvent](https://docs.kanoa.ai/storedProcedures/spGetStateEvent.md): This stored procedure returns detailed diagnostic information for a given stateEventId. It identifies the start and end timestamps, associated asset, state codes, and descriptive metadata from multiple joined views and tables. Useful for event auditing and state history analysis. - [mes.spGetWorkOrderDataSummary](https://docs.kanoa.ai/storedProcedures/spGetWorkOrderDataSummary.md): This stored procedure summarizes key production and performance metrics for a specific asset and work order within a defined date range. It calculates availability, performance, and quality KPIs using production and counter data joined with work order and item information. - [mes.spGetWorkOrders](https://docs.kanoa.ai/storedProcedures/spGetWorkOrders.md): Returns a list of work orders and associated item, asset, and status metadata. Supports extensive filtering options including asset, item, date ranges, work order status, and more. Designed for reporting and planning interfaces that need to explore or filter active and historical work orders. - [mes.spPopulateAssetHierarchy](https://docs.kanoa.ai/storedProcedures/spPopulateAssetHierarchy.md): Recomputes and populates the mes.assetHierarchy_MAT table by recursively traversing the parent-child relationships of assets. This procedure ensures asset hierarchy and metadata such as types, groups, and performance thresholds are rebuilt for efficient querying and display. - [mes.spPopulateItemClassHierarchy](https://docs.kanoa.ai/storedProcedures/spPopulateItemClassHierarchy.md): Populates the mes.itemClassHierarchy_MAT table with the full path hierarchy of item classes using a recursive CTE. Designed to improve performance of lookups and filters based on item class lineage. - [qds.spDeleteAssetId](https://docs.kanoa.ai/storedProcedures/spDeleteAssetId.md): Deletes all QDS-related records associated with a given assetId. This includes links to check sheets, events, attribute tolerances, and data sources. - [qds.spDeleteAttribute](https://docs.kanoa.ai/storedProcedures/spDeleteAttribute.md): Recursively deletes an attribute and all its descendants from the QDS schema, removing associated links, tolerances, and data sources. - [qds.spDeleteChkItem](https://docs.kanoa.ai/storedProcedures/spDeleteChkItem.md): Deletes a checklist item (chkItemId) and all its associated events and attribute links. It also nullifies any checklist item triggers that point to it. - [qds.spDeleteChkSht](https://docs.kanoa.ai/storedProcedures/spDeleteChkSht.md): Deletes a checklist (chkShtId) by first deleting associated checklist items and their dependencies, followed by deletion from multiple linking and data tables. - [qds.spDeleteChkShtEvents](https://docs.kanoa.ai/storedProcedures/spDeleteChkShtEvents.md): Removes all checklist events and linked checklist item events for a given checklist sheet. - [qds.spDeleteItemId](https://docs.kanoa.ai/storedProcedures/spDeleteItemId.md): Deletes all QDS data tied to a specific item ID, including tolerances, links, and events. - [qds.spDeleteItemSet](https://docs.kanoa.ai/storedProcedures/spDeleteItemSet.md): Removes an item set from the QDS database along with its attribute tolerances, links, and checklist references. ## Other - [Assets](https://docs.kanoa.ai/configuration/assets.md): Watch Asset Configuration Tutorial - [Attributes](https://docs.kanoa.ai/configuration/attributes.md): Kanoa MES has two built-in methods for tracking custom data: Custom Attributes and Dynamic Attributes. - [Lots](https://docs.kanoa.ai/configuration/lots.md): There are several aspects of Lot Management that can be configured... - [Materials](https://docs.kanoa.ai/configuration/materials.md): Watch Creating Items Tutorial - [Modes](https://docs.kanoa.ai/configuration/modes.md): A mode defines the intended operation of an asset. The mode is typically set by the schedule or manually set by the operator, but can also be set via - [OEE](https://docs.kanoa.ai/configuration/oee.md): Overall Equipment Effectiveness identifies the percentage of manufacturing time that is truly productive. - [Orders](https://docs.kanoa.ai/configuration/orders.md): The Orders Configuration screen defines the lifecycle states that production orders (work orders) move through in Kanoa MES. - [Check Sheets](https://docs.kanoa.ai/configuration/quality/checkSheets.md): This page has moved. See Check Sheets for check sheet - [Security Functions](https://docs.kanoa.ai/configuration/security.md): Our roles are designed to associate with any number of functions. Where the security actually happens is implemented on each view individually. - [Shifts](https://docs.kanoa.ai/configuration/shifts.md): Watch Starting Production Tutorial - [States](https://docs.kanoa.ai/configuration/states.md): While Modes represent what an asset is supposed to be doing, states show what the asset says it was actually doing. - [Themes](https://docs.kanoa.ai/configuration/themes.md): The Kanoa framework supports both light and dark modes. To switch themes, click the icon located at the top right of the header. This will open the themes menu where you can toggle between light and dark mode. - [KanoaMES Demo](https://docs.kanoa.ai/demo-help.md): Welcome to the KanoaMES demo! We have created a self-guided project that sits on top of the KanoaMES application that will take you directly to a number of chosen pages. - [Kanoa and Ignition](https://docs.kanoa.ai/getting-started/kanoa-and-ignition.md): Kanoa MES is built on and for Inductive Automation’s Ignition platform and is delivered as a combination of... - [Kanoa Ops](https://docs.kanoa.ai/getting-started/modules/ops.md):