📚 SAP Business One SDK Help

ProductTrees Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a record to the object table in SAP Business One company database.
Public Method CancelCancels a record from the object table.
Public Method CloseCloses a record of the object in SAP Business One database.
Public Method GetAsXMLReturns the object from XML data, which is stored as string in a buffer.
Public Method GetByKeyRetrieves and sets the values of the object's properties by the object's absolute key from the Company database.
Public Method RemoveDeletes a record from the object table.
Public Method SaveToFileSave the object to a file as XML data.
Public Method SaveXMLSaves the object data to XML formatted data.
Public Method UpdateUpdates the object data in the company database.
Public Method UpdateFromXMLmethod UpdateFromXML

Public Properties

Public Property AttachmentEntrySets or returns the Attachment Entry.

Field name: AtcEntry.

Public Property BrowserReturns the DataBrowser object.
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 HideBOMComponentsInPrintoutproperty HideBOMComponentsInPrintout
Public Property ItemsReturns the ProductTrees_Lines object.
Public Property PlanAvgProdSizeproperty PlanAvgProdSize
Public Property PriceListproperty PriceList
Public Property ProductDescriptionThe descritpion of the product.

Field name: Name.

Length: 200 characters.

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

Field: Project.

Length: 20 characters.

Public Property QuantitySets or returns the items quantity.

Field name: BaseQty.

Public Property StagesReturns the ProductTrees_Stages child object.
Public Property TreeCodeSets or returns BaseQtythe product tree code.

Mandatory property.

Field name: Code.

Length: 20 characters.

This is a foreign key to the Items object.

Public Property TreeTypeSets or returns a valid value of BoItemTreeTypes type that specifies the product tree type of the item (also known as bill of material type).

Field name: TreeType.

Mandatory property.

Public Property UserFieldsReturns the UserFields object.
Public Property Warehouseproperty Warehouse

See Also