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 |
Description |
---|---|---|
SortId |
Edm.Number |
Sort Number |
ShortVariant |
Edm.String |
Short Variant A-Z |
Position |
Edm.String |
Position as Text |
Description |
Edm.String |
Routing Work Description |
Instructions |
Edm.String |
Additional Description |
CatalogId |
Edm.String |
The Catalog Id (template) Note: Please use this at first parameter, because this overwrite all other properties |
RoutingType |
Edm.String |
Routing Type |
CostCenter |
Edm.String |
Cost Center |
ResourceId |
Edm.String |
The used Resource. Mandatory Note: Please use this as first parameter, BUT after Catalog Id |
BitmapName |
Edm.String |
Icon for Desctop view |
Color |
Edm.Number |
Color for Desctop view |
ClockMandatory |
Edm.Boolean |
Define, if time receipt mandatory for this position |
RUoMFactor |
Edm.Decimal |
Define factor for time receipt Uom to production UoM from Work order Position |
RUoM |
Edm.String |
Define Unit of Measurement for time receipt for this routing position |
SetupForCalculator |
Edm.Number |
The setup time for price calculation |
SetupForSchedule |
Edm.Number |
The setup time for time calculation |
MachineLaborTime |
Edm.Number |
Main Duration time |
LaborTime |
Edm.Number |
Second Duration time |
MachineTime |
Edm.Number |
Third Duration time |
TimesPer |
Edm.Number |
Define Times Per |
TimesUnit |
Edm.Number |
Define Times Unit: 1=Minute, 60=Hours |
UseFactor |
Edm.Number |
|
WorkSteps |
Edm.Number |
|
IdleTime |
Edm.Number |
|
InspectionPlanId |
Edm.String |
Inspection Plan Id (Quality Control) |
WageGroup |
Edm.String |
|
CostElementLabor |
Edm.String |
|
CostElementMachine |
Edm.String |
|
CostElementPErsonell |
Edm.String |
|
MasterLineNumber |
Edm.Number |
link to master position. If defined, this is the slave position |
Picture1 .. Picture3 |
Edm.String |
Up to 3 Pictures |
ShortVariantFilter |
Edm.String |
|
StartFix |
Edm.Boolean |
Protect the start time of the routing position |
StartTime |
Edm.Date |
Define Date Time for the start of Routing Position |
TransferTimeStart/End |
Edm.Date |
Define Start and End Date Time for Transfer process |
ProcessingTimeStart/End |
Edm.Date |
Define Start and End Date Time for Processing |
IddleTimeStart/End |
Edm.Date |
Define Start and End Date for idle period |
Reserved |
Edm.Boolean |
Mark position as reserved (only info) |
Booked |
Edm.Boolean |
Mark position as booked |
NumberOfPlaySlips |
Edm.Boolean |
|
Active |
Edm.Boolean |
Activate or Deactivate this position If you deactivate it, the system delete all DateTimes for the process |
Closed |
Edm.Boolean |
Close Routing position Call userEvent CloseOperation, CloseOperationEnd Or userEvent ReopenOperation, ReopenOperationEnd |