📚 SAP Business One SDK Help

ProductTrees_Lines Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a new data line to the object.
Public Method DeleteDeletes the current line.

Returns a result value that indicates success or failure.

Public Method SetCurrentLineSets the active row to a specified row number.

Public Properties

Public Property AdditionalQuantityproperty AdditionalQuantity
Public Property ChildNumproperty ChildNum
Public Property CommentSets or returns comments for the item in the product tree line.

Field name: Comment.

Length: 254 characters.

Public Property CountReturns the total item rows.
Public Property CurrencySets or returns the bill of materials currency.

Field name: Currency.

Length: 3 characters.

Sets or returns the price currency used in the document row.

Field name: Currency.

Length: 3 characters.

Public Property DistributionRuleThe distribution rule for allocating costs and revenues (both direct and indirect) to one or more cost centers.

This is a foreign key to the DistributionRule object.

Field name: OcrCode

Public Property DistributionRule2Multiple distribution rules for allocating costs and revenues (both direct and indirect) to one or more cost centers.

Field name: OcrCode2

Public Property DistributionRule3Multiple distribution rules for allocating costs and revenues (both direct and indirect) to one or more cost centers.

Field name: OcrCode3

Public Property DistributionRule4Multiple distribution rules for allocating costs and revenues (both direct and indirect) to one or more cost centers.

Field name: OcrCode4

Public Property DistributionRule5Multiple distribution rules for allocating costs and revenues (both direct and indirect) to one or more cost centers.

Field name: OcrCode5

Public Property InventoryUOMReturns the Unit of Measurement for the item in the product tree line (for example: box, case, piece).

Field name: Uom.

Length: 5 characters.

Public Property IssueMethodSets or returns a valid value of BoIssueMethod that determines Specifies the methods for issuing items from the inventory:
  • Backflash (automatic)
  • Manual.

Field name: IssueMthd.

Public Property ItemCodeSets or returns the component item code.

Field name: Code.

Length: 254 characters.

This is a foreign key to the Items object.

Sets or returns the item code in the inventory. The item code must be unique.

Mandatory property.

Length: 20 characters.

Public Property ItemNameproperty ItemName
Public Property ItemTypeproperty ItemType
Public Property LineTextproperty LineText
Public Property ParentItemSets or returns the code of the parent item (product tree).

Field name: Father.

Length: 20 characters.

This is a foreign key to the ProductTrees object.

Public Property PriceSets or returns the item price before taxation.

Field name: Price.

Public Property PriceListSets or returns the price list key of the item.

Field name: PriceList.

This is a foreign key to the PriceLists object.

Public Property ProjectThe project that relates to the bill of materials.

Field: Project.

Length: 20 characters.

Public Property QuantitySets or returns the items quantity in the bill of material.

Field name: Quantity.

Public Property StageIDproperty StageID
Public Property UserFieldsReturns the UserFields object.
Public Property VisualOrderproperty VisualOrder
Public Property WarehouseSets or returns the Warehouse identification key.

Field name: Warehouse.

Length: 8 characters.

This is a foreign key to the Warehouses object.

Public Property WipAccountproperty WipAccount

See Also