biuan SAP® BUSINESS ONE SDK
API Work Orders

Description

WorkOrders is a business object that represents the work orders in the Inventory and Production module. This object is applicable only if work orders are already exist in the Company database.

From release 2005, this object is replaced by the ProductionOrders object.

Source table: OWKO.

Object Model

Remarks

To display the form in the application (release 2004 only):

  • Select Production --> Work Order.

See Also

SAP® B1 DI-API C# definition

public class WorkOrdersClass : IWorkOrders, WorkOrders { public virtual string ActiveAccountCode { get; set; } public virtual DataBrowser Browser { get; } public virtual BoYesNoEnum Canceled { get; } public virtual string Comment { get; set; } public virtual int ContactPerson { get; set; } public virtual string CustomerRefNo { get; set; } public virtual DateTime ExpectedCompletionDate { get; set; } public virtual int FinancialPeriod { get; } public virtual DateTime GenerationTime { get; set; } public virtual int InstructionNumber { get; } public virtual string JournalRemarks { get; set; } public virtual WorkOrder_Lines Lines { get; } public virtual DateTime OrderDate { get; set; } public virtual string OrdererCode { get; set; } public virtual string OrdererName { get; set; } public virtual int OrderNum { get; } public virtual double OrderTotal { get; } public virtual int PriceListNum { get; set; } public virtual string ReceiverName { get; set; } public virtual int Series { get; set; } public virtual BoWorkOrderStat Status { get; set; } public virtual string TotalCurrency { get; } public virtual SAPbobsCOM.UserFields UserFields { get; } public virtual DateTime WorkFinishDate { get; set; } public virtual DateTime WorkStartDate { get; set; } public virtual double WorkSum { get; set; } public extern WorkOrdersClass(); public virtual extern int Add(); public virtual extern int Cancel(); public virtual extern string GetAsXML(); public virtual extern bool GetByKey(int WkoKey); public virtual extern void SaveToFile( string FileName); public virtual extern void SaveXML( ref string FileName); public virtual extern int Update(); }

Related information


Work Order Lines WorkOrder_Lines Object· Table: WKO1
WorkOrder_Lines is child object of the WorkOrders object that represents a collection of parent items in a work order. The parent item is connected to its bill of material. Source table: WKO1.
   Parent: Work Orders WorkOrders Object· Table: OWKO

Bo Work Order Stat BoWorkOrderStat Enumeration
Specifies the work order status.
   Parent: Work Orders WorkOrders Object· Table: OWKO


SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Icons by Icons8 Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates