Eventos: | ID | Conteúdo do objeto no 2º parâmetro |
---|
CREATED_ORDER / CREATE_VALID_ORDER | Bloco de código |
---|
title | Exemplo do conteúdo |
---|
linenumbers | true |
---|
collapse | true |
---|
| {
"startDate":"20180326 17:56",
"observation":"observação da ordem de serviço",
"inputs":[
{
"sublot":"",
"location":"",
"task":"0",
"serialNumber":"",
"destiny":"A",
"code":"007",
"type":"P",
"warehouse":"01",
"date":"20180321 17:56",
"amount":1,
"isDone":true,
"unity":"PC",
"lot":"",
"note":"observação insumo"
}
],
"plan":"LOCAL",
"counter":[
{
"datetime":"20170128 10:00",
"value":370
}
],
"service":"CORG2",
"endDate":"20180326 17:56",
"equipment":"EMPILHADEIRA 002",
"code":"000000",
"type":"C",
"checklist":[
{
"worker":"1008",
"isDone":true,
"task":"0",
"step":"MOTOLE"
}
]
} |
| FINISHED_ORDER / FINISH_VALID_ORDER
| Bloco de código |
---|
title | Exemplo do conteúdo |
---|
linenumbers | true |
---|
collapse | true |
---|
| {
"startDate":"20180326 17:56",
"observation":"observ finaliza",
"plan":"000000",
"order":"001008",
"json":"{\"startDate\":\"20180326 17:56\",\"observation\":\"teste stj\",\"inputs\":[{\"amount\":1,\"isDone\":true,\"unity\":\"PC\",\"task\":\"0\",\"destiny\":\"A\",\"code\":\"007\",\"type\":\"P\",\"warehouse\":\"01\",\"date\":\"20180321 17:56\",\"note\":\"teste observação insumo\"}],\"plan\":\"000000\",\"counter\":[{\"datetime\":\"20170128 10:00\",\"value\":370}],\"service\":\"CORG2\",\"endDate\":\"20180326 17:56\",\"equipment\":\"EMPILHADEIRA 002\",\"code\":\"001008\",\"type\":\"C\",\"checklist\":[{\"worker\":\"1008\",\"isDone\":true,\"task\":\"0\",\"step\":\"MOTOLE\"}]}",
"counter":[
{
"value":370,
"datetime":"20180326 18:03"
}
],
"hourCounter":"18:03",
"endDate":"20180326 17:56",
"fault":"01"
} |
| COUNTER_VALID_FINISH | Bloco de código |
---|
title | Exemplo do conteúdo |
---|
collapse | true |
---|
| {
"startDate":"20180326 17:55",
"observation":"444",
"plan":"000000",
"order":"001007",
"json":"{\"startDate\":\"20180326 17:55\",\"observation\":\"teste\",\"inputs\":[{\"amount\":1,\"isDone\":true,\"unity\":\"PC\",\"task\":\"0\",\"destiny\":\"A\",\"code\":\"005\",\"type\":\"P\",\"warehouse\":\"01\",\"date\":\"20180326 17:55\",\"note\":\"teste\"}],\"plan\":\"000000\",\"counter\":[{\"datetime\":\"20180104 08:05\",\"value\":1000}],\"service\":\"CORG2\",\"endDate\":\"20180326 17:55\",\"equipment\":\"EMPGEN001\",\"code\":\"001007\",\"type\":\"C\",\"checklist\":[]}",
"counter":[
{
"value":1001,
"datetime":"20180326 18:06"
}
],
"hourCounter":"18:06",
"endDate":"20180326 17:55",
"fault":"01"
} |
| CANCEL_VALID | Bloco de código |
---|
title | Exemplo do conteúdo |
---|
collapse | true |
---|
| {
"message":"observação da ordem de serviço", //observação
"plan":"000000", //código do plano da ordem
"order":"001006" //código da ordem de serviço
} |
| UPDATE_VALID_ORDER | Bloco de código |
---|
title | Exemplo do conteúdo |
---|
collapse | true |
---|
| {
"plan":"000000",
"code":"007822",
"counter":[
],
"type":"C",
"equipment":"100002",
"service":"COR1",
"observation":"",
"startDate":"20190708 09:00",
"endDate":"20190708 10:58",
"checklist":[
],
"inputs":[
{
"code":"S001",
"task":"0",
"amount":3,
"date":"20190708 10:00",
"destiny":"A",
"warehouse":"01",
"isDone":true,
"unity":"LT",
"type":"P",
"note":"",
"lot":"",
"sublot":"",
"location":"",
"serialNumber":""
},
{
"code":"S001",
"task":"0",
"amount":1.33,
"date":"20190708 09:00",
"destiny":"A",
"warehouse":"01",
"warehouseRequest":"",
"warehouseItem":"",
"isDone":false,
"unity":"LT",
"type":"P",
"note":"",
"lot":"",
"sublot":"",
"location":"",
"serialNumber":""
},
{
"code":"000036",
"task":"0",
"amount":1.33,
"startDate":"20190708 09:38",
"endDate":"20190708 10:58",
"isDone":false,
"unity":"H",
"type":"M",
"percent":0,
"note":""
}
]
}
|
|
|