Skip to main content
Skip table of contents

Actions

Trigger

Process triggered

Actions

Declaration (partial / complete)

// LINK TO PROCESS

→ should be linked back to websocket

event table below

WS: quantityChanged

Manual quantity change

WS: quantityChanged

Queue recalculation

WS: queueItemsPositionChanged, queueItemsTimesRecalculated

Queue change (planning queue to production queue)

WS: queueChanged

Production item assign

WS: queueItemsAdded

Move to redbox

WS: ItemMovedToRedbox, queueItemsRemoved

Move from redbox

WS: itemReturnFromRedbox, queueItemsAdded

Production item - frozen times manual change

WS: productionItemFrozen

Material instruction change

WS: notifyInstructionChanged

Queue

Websocket event

Description

Channel

Data

Websocket implemented

queueChanged

if the current queue changed (planning → production)

CODE
queues
queues/{idOld}
queues/{idNew}
CODE
{
  idOldQueue: number;
  idNewQueue: number;
}

queueItemsPositionChanged

if the position of items changed (e.g. change of sequence, new item added, item remove)

It is then compared with the items already loaded and if current.positionQueue !== websocket.positionQueue, it is then handeled

CODE
queues
queues/{id}
CODE
{
  id: number;
  queueItems: {
    id: number;
    positionQueue: number;
    entity {
      __typename
    }
  }[]
}

queueItemsTimesRecalculated

if any item has change in calculated times:

estimated/scheduled

CODE
queues
queues/{id}

To be added:

CODE
{
  id: number;
  queueItems: {
    id: number;
    estimatedTimeStart: string;
    estimatedTimeFinish: string;
    estimatedTimeProduction: string;
    scheduledTimeStart: string;
    scheduledTimeFinish: string;
    scheduledTimeProduction: string;
    positionQueue: number;
    entity {
      __typename
    }
  }[]
}

queueItemsAdded

If any item is added to the queue

CODE
queues
queues/{id}

queueItemsRemoved

If any item is removed from the queue

CODE
queues
queues/{id}

Queue item

Websocket event

Description

Channel

Data

Websocket implemented

Production item

Websocket event

Description

Channel

Data

Websocket implemented

quantityChanged

If the quantity changed

NONE
production-items
production-items/{id}

CODE
{
  id: number;
  idMaterial: number;
  quantity: number;
  quantityFinished: number;
  quantityScrap: number;
  quantityFinishChanged: number;
}

Shopfloor view

  • Production queue page / queue table / quantity column

  • Repackaging queue page / queue table / quantity column

  • Redbox page / redbox table / quantity column

  • Incomplete redbox page / redbox table / quantity column

  • Current production / quantity

productionStart

If the item is started

NONE
production-items
production-items/{id}

CODE
{
  id: number;
}

To be added:

CODE
{
  timeStart: string;
  status: {
    id: number; 
    name: string;
  }
}

Shopfloor view

  • Production queue page / queue table / status

To be added:

Production control

  • Production line / Queue / Queue table / status

productionFinish

If the item is declared

NONE
production-items
production-items/{id}

CODE
{
  id: number;
}

To be added:

CODE
{
  timeFinish: string;
  declarationLocation: string;
  productionLine: {
    id: number;
  } | null;
  status: {
    id: number; 
    name: string;
  } | null;
  user: {
    id: number;
    name: string;
    lastname: string;
  } | null;
}

Shopfloor view

  • Production queue page / queue table / status

  • Current production / popup if current item changed outside of current SV

To be added:

Shopfloor view

  • Production history / add into table

movedToRedbox

If any item is moved to redbox

CODE
production-items
production-items/{id}

To be added:

CODE
{
  id: number;
  timeRedboxInserted: string;
  productionLine: {
    id: number;
    code: string;
    title: string;
  } | null;
  reasonCode: {
    id: number;
    name: string;
    title: string;
  } | null;
}

returnedFromRedbox

If any item is returned from redbox

CODE
production-items
production-items/{id}

To be added:

CODE
{
  id: number;
  productionLine: {
    id: number;
    code: string;
    title: string;
  } | null;
}

timesFrozen

If changed after assignment or during assignment on the line

CODE
production-items
production-items/{id}

To be added:

CODE
{
  id: number;
  frozenTimeStart: string;
  frozenTImeFinish: string;
}

Material

Websocket event

Description

Channel

Data

Websocket implemented

notifyInstructionChanged

If instructions for material in queue change

CODE
materials
materials/{id}

CODE
{
  idMaterial: number;
  code: string;
  title: string;
  codeAlternative: string;
  description: string;
}

Shopfloor view

  • Shopfloor view page

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.