📚 SAP Business One SDK Help

WorkOrder_Lines Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a new data line to the object.
Public Method SetCurrentLineSets the active row to a specified row number.

Public Properties

Public Property ActiveAccountCodeSets 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.

Public Property CountReturns the total data rows in the WorkOrder_Lines object.
Public Property ItemCodeSets 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.

Public Property ItemDescriptionReturns the item description/name.

Field name: Descript.

Length: 100 characters.

Public Property ItemPriceSets or returns the item price.

Field name: Price.

Public Property ItemQuantitySets or returns the quantity of items to be produced.

Field name: Quantity.

Public Property ItemWarehouseSets 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.

Public Property PriceCurrencyReturns the currency of the item price.

Field name: Currency.

Length: 3 characters.

Public Property RowNumberReturns the current available row number (starts from 1).

Field name: Line_ID.

Public Property UserFieldsReturns the UserFields object.
Public Property WorkSumSets or returns the labor price. SAP Business One adds this price to the total price (OrderTotal).

Field name: ActWorkSum.

See Also