Simple way to create a work order.
The Post command uses ue_api_wo to create a work order.
Return value returnCode with the Work order as string
Note: It's not possible to define Bill Of Material Lines or Routing lines. Beas will define this always related to the master data definitions.
If Beas is running in service mode, the variant system will not work with the user interface.
Example: workorder creation examples
Note: Property names are not the same as in GET format (compatibility reason).
Property |
Type |
DB field |
Description |
|
---|---|---|---|---|
AdditionalText |
String(100) |
zusatztext |
additional text |
|
ApsStatus |
Boolean |
apsstatus |
Define APS Status |
|
BaseEntry |
String |
auftrag, auftragint, auftragpos |
|
|
CalcStart |
Date |
anfzeit |
Set the calculate start date time |
|
CardCode |
String(20) |
knd_id |
Business partner ID if set, then city, street etc. Set other information after definition of cardCode The ID must not exist as a business partner |
|
CardName |
String(50) |
kndname |
Name of business partner Name |
|
Color |
number |
colornr |
define color for this line |
|
Confirmed |
Boolean |
set as confirmed (only POST) |
||
DeliveryDate |
Date |
lfgdat |
Define delivery date (date) |
|
DocDate |
Date |
beldat |
Date of the Work order |
|
DocEntry |
Number |
belnr_id |
(not changeable) |
|
DocNum |
String(20) |
auftrag |
order number for work order (char) |
|
EndDate |
Date |
endzeit |
set end date and time of work order |
|
Information2 |
String(100) |
information2 |
Information Page Project (textfield) |
|
Invisible |
boolean |
unvisible |
make work order invisible |
|
Line |
String |
BEAS_FTPOS.* |
Define Work order positions (the assemblies) as object-Array [{...}] |
|
Locked |
Boolean |
sperrung |
set lock flag |
|
OrderBitmap |
String(50) |
bitmapclose |
set bitmap |
|
PlanningOrder |
boolean |
plannedOrder |
set Order as "Planned order" |
|
PrintStatus |
Boolean |
druckkz |
set print status |
|
Priority |
String(20) |
prio_id |
Priority from Work order |
|
PrjCode |
String(20) |
prjuid |
Project Activity - Uid (beas_prj_line.prjuid) |
|
PrjId |
Number |
projekt |
Project |
|
ProductionTypeId |
String(20) |
typ |
Type from Work order (only, if you create a new work order. To change an Existing Work order, use typchange) |
|
ÜrojectUser1 |
String(20) |
projectuser1 |
Project User 1 (ousr.u_name) |
|
ProjectUser2 |
String(20) |
projectuser2 |
Project User 2 (ousr.u_name) |
|
ScheduleAutomatically |
boolean |
timecalculate |
activate automatic time calculation |
|
StartDate |
Date |
anfzeit |
set start date and time of work order |
|
StartStructure |
Date |
startzeit_structure |
set structure start date (for calculation) |
|
Udf1 ... Udf15 |
String(50) |
udf1 ... udf15 |
UserDefined Fields |
|
WorkorderStatus |
String(20) |
status_id |
set status |