Skip to main content

system.kanoa.quality.schedule.assetChangeEvent

This function is part of the kanoaQDS module

Description

This function is called by a tag change event to check if any checksheets should become active in the KanoaQDS (Quality Data System). It should only be called whenever the mode or product changes on an asset.

Syntax

assetChangeEvent(stateInfo)
  • Parameters
      stateInfo: dictionary containing information about the change event
  • Returns
      None
  • Code Examples

    # Example usage
    stateInfo = {
    'changeType': 'Mode Change',
    'assetId': 123,
    'modeCode': 'xyz',
    'shiftNameId': 1,
    'itemId': 456,
    'toolingId': 789
    }

    system.kanoa.quality.schedule.assetChangeEvent(stateInfo)