Allow to add or change parallel resources.
All properties (see Get) are supported.
Add/Change:
Follow example add or update the parallel resource position. If no Parallel type is defined, then the system save this as Tool
POST RoutingParallel
{"RoutingId":"0815","LineNumber":10,"LineNumber2":20,"ResourceId":"s55"}
For creating a new position: don't define Linenumber 2
POST RoutingParallel
{"RoutingId":"0815","LineNumber":10,"ResourceId":"s55"}
The system will return follow properties
{
"value": "0815",
"LineNumber": 10,
"LineNumber2": 20
}
You can do this while creating routing position. In this case you add or replace the parallel resources
POST RoutingLine
{"RoutingId":"0815","ResourceId":"1800","Description":"MyRoutingPosition",
"RoutingParallel":[
{"ResourceId":"s55","UDF2":"test","description":"my Text"},
{"ParallelType":"A","ResourceId":"1300","description":"my Work on resource 1300"}
]
}
Or on header Level
{"RoutingId":"0815",
"lines":[{
"ResourceId":"1800","Description":"MyRoutingPosition",
"RoutingParallel":[
{"ResourceId":"s55","UDF2":"test","description":"my Text"},
{"ParallelType":"A","ResourceId":"1300","description":"my Work on resource 1300"}
]
}]
}
Properties
Only Post:
Property |
Type |
Description |
|---|---|---|
RoutingId |
Edm.String |
The id of routing (normal the itemcode) |
LineNumber |
Edm.Number |
Routing Position |
LineNumber2 |
Edm.Number |
Parallel Position |
General properties:
Property |
Type |
Field |
Only Wo |
Description |
||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
Position |
Edm.Number |
Pos2_id |
the visible Position Number |
|||||||||
ParallelType |
Edm.String(1) |
RESOURCENTYP |
Define the resource type
|
|||||||||
Description |
Edm.String |
BEZ |
The description of resource (normal the name of the resource, but you can overwrite it |
|||||||||
Active |
Edm.Boolean |
AKTIV |
Define if entry is active Only one tool with this flag can be active. If you activate this flag, the system disable automatically the flag for all other entries with active "DefineLeadTime" and save the time in main routing position
Example: Activate the tool as main tool: PUT WorkorderRoutingParallel(6002510,10,10,1)
|
|||||||||
Alternative |
Edm.Boolean |
ALTERNATIV |
Define as alternative resource position |
|||||||||
ResourceId |
Edm.String |
WKZ_ID |
The resource id (tool or resource) |
|||||||||
SetupTime |
Edm.Number |
TRAPLATZ |
Define setup time |
|||||||||
MachineLaborTime |
Edm.Number |
TEAPLATZ |
Define the Machine/Labor time |
|||||||||
TimesUnit |
Edm.Number |
MENGE_ZEITJE |
Define times Unit 1=Minute, 60=Hour |
|||||||||
UseFactor |
Edm.Number |
NUTZEN |
Define Use Factor |
|||||||||
WorkSteps |
Edm.Number |
ANZAHL |
Define Work steps |
|||||||||
ScrapPercent |
Edm.Number |
MENGEAUSSCHUSS |
Define Scrap in percent |
|||||||||
IdleTime |
Edm.Number |
LIEGEZEIT |
Define Idle Time |
|||||||||
ResourceOptimisation |
Edm.Boolean |
OPTIMIZED_ID |
Define Resource Optimisation |
|||||||||
AllowManualChanges |
Edm.Boolean |
ALLOW_MANUAL_CHANGE |
Define if manual changes allowed |
|||||||||
IgnoreOwnResourcePrice |
Edm.Boolean |
IgnoreOwnResourcePrice |
Define, if own resource price as to be ignored |
|||||||||
acquisitioncost |
Edm.Number |
KST |
x |
Cost of resource |
||||||||
CostInputIn |
Edm.Number |
KOSTENJE |
x |
Cost per minute (1) or hour(60) |
||||||||
ProductionLifeUnits |
Edm.Number |
BETRIEBSDAUER |
x |
Production life in units |
||||||||
DefineLeadTime |
Edm.Boolean |
BESTIMMT_ZEIT |
x |
Only Tool Note: if this is active, the system overwrite always defined Times in Routing position. |
||||||||
CapacityPlanning |
Edm.Boolean |
KAPAPLANUNG |
x |
Check in capacity planning |
||||||||
ViewInAps |
Edm.Boolean |
APSVIEW |
x |
Show in APS |
||||||||
UDF1 ... UDF15 |
Edm.String |
Define UDF1, UDF2 .... UDF15 |