POST

Add Work order position to an existing work order.

 

POST WorkorderPos
 
{"DocEntry":6002222,"LineNumber":120,"ItemCode":"FP",Quantity:3}

 

Note: Currently, the system does not return error messages or result codes.

 

 

Follow properties available:

 

Note: Property names are not the same as in GET format (compatibility reason).
 

Property

Columnname

Description

baseentry

auftragint,auftragpos,itemcode, basetype, docentry, basedocnum, baseline, vri, shortvariant, project, lieferdatum, itemname

set baseentryinformation. This function set base-Information, Deliverydate, base-Itemcode, Variant, Project, Itemname
object=baseentry=<basedocentry>=<baselinenum>

 

Only Customer Order ("K") and Pre-Invoice (V)

baseentrybyorder

basetype, docentry, basedocnum, baseline

baseentrybyorder=<basetype>=<docentry>=<docnum>=<linenum>

set the base-Reference with one Line

basetype

basetype, auftragherkunft

set the base-type
K=Customer Order
V=PreInvoice

P=Project

M=Maintenance




basedocnum

basedocnum, auftragint

set the base-docnum

baseline

baseline, auftragpos

set the base-linenum 1

baseline2

baseline2

set the base-linenum 2 (example Workorder - bom-Position)

itemcode

itemcode

the itemcode

only if you create a new workorder

quantity

menge_verbrauch

menge

Quantity in production unit

convert automatically to inventory unit

only if you create a new workorder

 

Quantity < 0 not allowed. In this case the system replace this with 0 and mark work order as "wrong". Quantity =0 allowed.

bom / stlitemcode

stlitemcode

Optional: bom id for using

routingid

routingid

Optional: routing for using

drawingnumber

u_znr


version

u_beas_ver

Use Item Version number

udf1...udf15

udf1 ... udf15


orderquantity

menge_bestellt

quantity from order in whs-unit

itemname

itemname


deliverydate

lieferdatum


startstructure

startzeit_strukutr

date of start date from complete structure

startdate

startzeit

planed start date

calcstart

anfzeit

calculated start date and time

calcend

endzeit

calculated end date and time

additionaltext

zusatztext


batchnum

charge_id

only a informatino

price

vkpreis


din

din


group

gruppe


matchcode

match


rawmaterial

wst_id





variant, vri

vri

Number from Variant

shortvariant

shortvariant

Char A..Z from shortvariant

whscode

whscode

Warehouse-Code Workorder

prjcode

project

Project-Id

prjuid

prjuid

Link to Project-Activity