Add | Adds a new data line to the object. |
 SetCurrentLine | Sets the active row to a specified row number. |
 ActiveAccountCode | Sets or returns the active G/L account code to debit.
Field name: ActWorkCod. Length: 15 characters. This is a foreign key to the ChartOfAccounts object. |
 Count | Returns the total data rows in the WorkOrder_Lines object. |
 ItemCode | Sets or returns the code of the item ordered for production.
Mandatory in SAP Business One. Field name: ItemCode. Length: 20 characters. This is a foreign key to the ProductTrees object. |
 ItemDescription | Returns the item description/name.
Field name: Descript. Length: 100 characters. |
 ItemPrice | Sets or returns the item price.
Field name: Price. |
 ItemQuantity | Sets or returns the quantity of items to be produced.
Field name: Quantity. |
 ItemWarehouse | Sets or returns the warehouse where the finished product should be stored.
Field name: WhsCode. Length: 8 characters. This is a foreign key to the Warehouses object. |
 PriceCurrency | Returns the currency of the item price.
Field name: Currency. Length: 3 characters. |
 RowNumber | Returns the current available row number (starts from 1). Field name: Line_ID. |
 UserFields | Returns the UserFields object. |
 WorkSum | Sets or returns the labor price. SAP Business One adds this price to the total price (OrderTotal).
Field name: ActWorkSum. |
Â
Â