biuan SAP® BUSINESS ONE SDK
DTW Administration / Setup / General / Territories
API Territories

Description

Territories is a business object that represents the territory segmentation. This object is part of the Business Partners module. Territories are segments of the market that are defined by attributes such as geographical locations, product lines, and so on.

This object enables you to:

  • Add a territory segmentation.
  • Retrieve a territory segmentation by its key.
  • Update a territory segmentation.
  • Remove a territory segmentation.
  • Save the object in XML format.

Source table: OTER.

Object Model

Remarks

Mandatory fields in SAP Business One: Description, LocationIndex, and Parent (only in case of a child territory).

To display the form in the application:

  • Select Administration --> Setup --> General --> Define Territories.

See Also

SAP® B1 DI-API C# definition

public class TerritoriesClass : ITerritories, Territories { public virtual DataBrowser Browser { get; } public virtual string Description { get; set; } public virtual BoYesNoEnum Inactive { get; set; } public virtual int LocationIndex { get; set; } public virtual int Parent { get; set; } public virtual int TerritoryID { get; } public virtual SAPbobsCOM.UserFields UserFields { get; } public extern TerritoriesClass(); public virtual extern int Add(); public virtual extern string GetAsXML(); public virtual extern bool GetByKey( int lID); public virtual extern int Remove(); public virtual extern void SaveToFile( string FileName); public virtual extern void SaveXML( ref string FileName); public virtual extern int Update(); }

Related information


Customer Equipment Cards CustomerEquipmentCards Object· Table: OINS
CustomerEquipmentCards is a business object that represents the customer equipment cards in the Services module. This object enables you to: Add a customer equipment card. Retrieve a customer equipment card by its key. Update a customer...



SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Icons by Icons8 Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates