DTW Production Instructions - Rows
API Work Order Lines


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.

Object Model


Mandatory fields in SAP Business One: ItemCode.

To display the form in the application:

  • Select Production --> Work Order.

Note: The properties SerialNumbers and BatchNumbers were removed from this object because they are not supported. If you have an add-on from the previous version 6.5 that includes these properties, a compilation error will occur, therefore you must remove these properties from your add-on.

See Also

SAP® B1 DI-API C# definition

public class WorkOrder_LinesClass : IWorkOrder_Lines, WorkOrder_Lines { public virtual string ActiveAccountCode { get; set; } public virtual int Count { get; } public virtual string ItemCode { get; set; } public virtual string ItemDescription { get; } public virtual double ItemPrice { get; set; } public virtual double ItemQuantity { get; set; } public virtual string ItemWarehouse { get; set; } public virtual string PriceCurrency { get; set; } public virtual int RowNumber { get; } public virtual SAPbobsCOM.UserFields UserFields { get; } public virtual double WorkSum { get; set; } public extern WorkOrder_LinesClass(); public virtual extern void Add(); public virtual extern void SetCurrentLine(int LineNum); }

Related information

Work Orders WorkOrders Object· Table: OWKO
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...

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