POST

Simple way to create a work order

The Post command use ue_api_wo for creation of workorder. See all properties in ue_api_wo

beasscript-logo-small

instance bsl b
b.post=Workorder={"WorkorderPos":[{"ItemCode":"FP","Quantity":2}]}
if <b.ret_code> = -1 then
   messagebox=Error create work order : <b.ret_value> 
else
  messagebox=Work order <b.ret_value> created
end if