Interruption
Property |
Description |
Table |
BEAS_APLATZ_STILLSTAND |
Primary key |
ResourceId/c,DocEntry/i |
$transaction |
no |
$branch |
no |
$mask |
no |
Name |
Type |
Description |
|
ResourceId |
Edm.String(20) |
|
|
DocEntry |
Edm.Int32 |
|
|
ResourceType |
Edm.String(20) |
|
|
ReasonId |
Edm.String(20) |
|
|
Description |
Edm.String(255) |
|
|
StartDateTime |
Edm.DateTimeOffset |
|
|
EndDateTime |
Edm.DateTimeOffset |
|
|
StatusId |
Edm.Int32 |
|
|
Closed |
Edm.Boolean |
|
|
DontStopTimeCounter |
Edm.Boolean |
|
|
PersonnelId |
Edm.String(20) |
|
|
PersonnelName |
Edm.String(100) |
|
|
StopByPersonnelId |
Edm.String(20) |
|
|
StopByPersonnelName |
Edm.String(100) |
|
|
BaseType |
Edm.String(20) |
|
|
BaseDocEntry |
Edm.Int32 |
|
|
BaseLineNumber |
Edm.Int32 |
|
|
BaseLineNumber2 |
Edm.Int32 |
|
|
UDF1 |
Edm.String(100) |
|
|
UDF2 |
Edm.String(100) |
|
|
UDF3 |
Edm.String(100) |
|
|
UDF4 |
Edm.String(100) |
|
Join to Entiy Object |
Relation |
Resource |
ResourceId |
Tool |
ToolId=ResourceId |
With the following post command an interruption can be started or create a new one if the "InterruptionId" is set to 0. This command is based on "ue_interruption".
post Interruption "action":"start", "ResourceId":"1500", "ResourceType":"resource", "InterruptionId":0, "InterruptionReasonId":"cleaning", "ReasonInfo":"my text for the reason", "Udf1":"", "Udf2":"", "Udf3":"", "Udf4":"", "PersonnelId":"", "PersonnelId_end":"", "BaseType":"", "PlanId":"", "DateTime_From":"", "DateTime_To":"", "StatusId":"", "BaseDocNum":"", "BaseLine":"", "BaseLine2":"", "MaintenanceNr":"", }
Returnsyes { "DocEntry": 123, "BaseType": "mtc", "BaseDocNum": 456 }
Example: { "action":"start", "ResourceId":"1500", "ResourceType":"resource", "InterruptionReasonId":"typ1", "ReasonInfo":"my text for the reason", "PersonnelId":"3", "DateTime_From":"2019/05/27 10:00", "DateTime_To":""
}
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
With the following post command a started interruption can be stopped. This command is based on "ue_interruption".
post Interruption }
Returns
{ "DocEntry": 123 }
|
||||||||||||