POST

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

SortId

Edm.Number

SortId

Sort Number

ShortVariant

Edm.String

ShortVariant

Short Variant A-Z

Position

Edm.String

POS_TEXT

Position as Text

Description

Edm.String

BEZ

Routing Work Description

Instructions

Edm.String

ANWEISUNG

Additional Description

CatalogId

Edm.String

AG_ID

The Catalog Id (template)

Note: Please use this at first parameter, because this overwrite all other properties
if resource changed: see ResourceId

RoutingType

Edm.String

AGTYP

Routing Type

CostCenter

Edm.String

KSTST_ID

Cost Center

ResourceId

Edm.String

APLATZ_ID

The used Resource. Mandatory

Note: Please use this as first parameter, BUT after Catalog Id
If this not an new entry, the system replace all entries in time reservations and pool list, but without new calculation

BitmapName

Edm.String

BITMAPNAME

Icon for Desctop view

Color

Edm.Number

COLORID

Color for Desctop view

ClockMandatory

Edm.Boolean

BDE

Define, if time receipt mandatory for this position

RUoMFactor

Edm.Decimal

RM_FACTOR

Define factor for time receipt Uom to production UoM from Work order Position

RUoM

Edm.String

RM_ME_ID

Define Unit of Measurement for time receipt for this routing position

SetupForCalculator

Edm.Number

TRAPLATZ

The setup time for price calculation

SetupForSchedule

Edm.Number

TR2APLATZ

The setup time for time calculation

MachineLaborTime

Edm.Number

TEAPLATZ

Main Duration time

Note: all times will be overwritten, if a parallel resource - tool with "define time" is defined.

LaborTime

Edm.Number

TNAPLATZ

Second Duration time

MachineTime

Edm.Number

THAPLATZ

Third Duration time

TimesPer

Edm.Number

MENGE_JE

Define Times Per

TimesUnit

Edm.Number

MENGE_ZEITJE

Define Times Unit: 1=Minute, 60=Hours

UseFactor

Edm.Number

NUTZEN


WorkSteps

Edm.Number

ANZAHL


IdleTime

Edm.Number

TL


InspectionPlanId

Edm.String

QS_ID

Inspection Plan Id (Quality Control)

WageGroup

Edm.String

LOHNGRUPPE


Costelementsetup

Edm.String

TRTIMETYPE_ID


CostElementMaschineLabor

Edm.String

TIMETYPE_ID


CosstElementLabor

Edm.String

TNTIMETYPE_ID


CostElementMachine

Edm.String

THTIMETYPE_ID


CostElementPersonell

Edm.String

PTIMETYPE_ID


MasterLineNumber

Edm.Number

MASTER_POS_ID

link to master position. If defined, this is the slave position

Picture1 .. Picture3

Edm.String

PICTURE1...3

Up to 3 Pictures

ShortVariantFilter

Edm.String

SHORTVARIANTDEF


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

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

AKTIV

Activate or Deactivate this position

If you deactivate it, the system delete all DateTimes for the process
and delete time reservations and pool informations

Closed

Edm.Boolean

ABGKZ

Close Routing position

Call userEvent CloseOperation, CloseOperationEnd

Or userEvent ReopenOperation, ReopenOperationEnd
 
if closed, the system delete all reserved times and pool informations.