📚 SAP Business One SDK Help

Territories Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a record to the object table in SAP Business One company 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 Properties

Public Property BrowserRetrieves the DataBrowser object.
Public Property DescriptionSets or returns the territory name.

Mandatory property.

Length: 200 characters.
Public Property InactiveSets or returns a valid value of BoYesNoEnum type that specifies whether or not the territory is inactive.
Public Property LocationIndexSets or returns the territory location order in the hierarchal relationship (first, after specific territory, or last).

Mandatory property.

Public Property ParentSets or returns the parent territory (in case of a child territory).

Mandatory field in SAP Business One only in case of a child territory.

Public Property TerritoryIDReturns the ID number (key) of the territory. SAP Business One creates a sequential number for each territory that you add.
Public Property UserFieldsReturns the UserFields object.

See Also