Add or Update Routing position and parallel positions
Example: Add Routing position with 2 parallel tool positions
POST WorkorderRouting
{"DocEntry":6002514,"LineNumber":10,"LineNumber2":20,"Position":"20a","udf1":255,"Time":7,
"Parallel":[
{"Position":20,"ResourceId":"S55"},{"Position":25,"ResourceId":"T1"}
]}
Close Routing position
PUT WorkorderRouting(4002,10,10)
{"Closed":true}
Change Resource
// replace resource in routing position, time reservation and pool list
PUT WorkorderRouting(4002,10,10)
{"ResourceId":"ATP1"}
Only POST:
Property |
Type |
Description |
---|---|---|
DocEntry |
Edm.Number |
Work order number |
LineNumber |
Edm.Number |
Work order position |
LineNumber2 |
Edm.Number |
Routing position |
Standard properties
Property |
Type |
Field |
Description |
---|---|---|---|
Active |
Edm.Boolean |
AKTIV |
Activate or Deactivate this position If you deactivate it, the system delete all DateTimes for the process |
BitmapName |
Edm.String |
BITMAPNAME |
Icon for Desctop view |
Booked |
Edm.Boolean |
Mark position as booked |
|
CatalogId |
Edm.String |
AG_ID |
The Catalog Id (template) Note: Please use this at first parameter, because this overwrite all other properties |
ClockMandatory |
Edm.Boolean |
BDE |
Define, if time receipt mandatory for this position |
Closed |
Edm.Boolean |
ABGKZ |
Close Routing position Call userEvent CloseOperation, CloseOperationEnd Or userEvent ReopenOperation, ReopenOperationEnd |
Color |
Edm.Number |
COLORID |
Color for Desctop view |
CosstElementLabor |
Edm.String |
TNTIMETYPE_ID |
|
CostCenter |
Edm.String |
KSTST_ID |
Cost Center |
CostElementMachine |
Edm.String |
THTIMETYPE_ID |
|
CostElementMaschineLabor |
Edm.String |
TIMETYPE_ID |
|
CostElementPersonell |
Edm.String |
PTIMETYPE_ID |
|
Costelementsetup |
Edm.String |
TRTIMETYPE_ID |
|
Description |
Edm.String |
BEZ |
Routing Work Description |
IddleTimeStart/End |
Edm.Date |
Define Start and End Date for idle period |
|
IdleTime |
Edm.Number |
TL |
|
InspectionPlanId |
Edm.String |
QS_ID |
Inspection Plan Id (Quality Control) |
Instructions |
Edm.String |
ANWEISUNG |
Additional Description |
LaborTime |
Edm.Number |
TNAPLATZ |
Second Duration time |
MachineLaborTime |
Edm.Number |
TEAPLATZ |
Main Duration time Note: all times will be overwritten, if a parallel resource - tool with "define time" is defined. |
MachineTime |
Edm.Number |
THAPLATZ |
Third Duration time |
MasterLineNumber |
Edm.Number |
MASTER_POS_ID |
link to master position. If defined, this is the slave position |
NumberOfPlaySlips |
Edm.Boolean |
||
Picture1 .. Picture3 |
Edm.String |
PICTURE1...3 |
Up to 3 Pictures |
Position |
Edm.String |
POS_TEXT |
Position as Text |
ProcessingTimeStart/End |
Edm.Date |
Define Start and End Date Time for Processing |
|
Reserved |
Edm.Boolean |
Mark position as reserved (only info) |
|
ResourceId |
Edm.String |
APLATZ_ID |
The used Resource. Mandatory Note: Please use this as first parameter, BUT after Catalog Id |
RoutingType |
Edm.String |
AGTYP |
Routing Type |
RUoM |
Edm.String |
RM_ME_ID |
Define Unit of Measurement for time receipt for this routing position |
RUoMFactor |
Edm.Decimal |
RM_FACTOR |
Define factor for time receipt Uom to production UoM from Work order Position |
SetupForCalculator |
Edm.Number |
TRAPLATZ |
The setup time for price calculation |
SetupForSchedule |
Edm.Number |
TR2APLATZ |
The setup time for time calculation |
ShortVariant |
Edm.String |
ShortVariant |
Short Variant A-Z |
ShortVariantFilter |
Edm.String |
SHORTVARIANTDEF |
|
SortId |
Edm.Number |
SortId |
Sort Number |
StartFix |
Edm.Boolean |
ANFZEIT_FIX |
Protect the start time of the routing position |
StartTime |
Edm.Date |
GESAMT_ANFZEIT |
Define Date Time for the start of Routing Position |
TimesPer |
Edm.Number |
MENGE_JE |
Define Times Per |
TimesUnit |
Edm.Number |
MENGE_ZEITJE |
Define Times Unit: 1=Minute, 60=Hours |
TransferTimeStart/End |
Edm.Date |
Define Start and End Date Time for Transfer process |
|
UseFactor |
Edm.Number |
NUTZEN |
|
WageGroup |
Edm.String |
LOHNGRUPPE |
|
WorkSteps |
Edm.Number |
ANZAHL |