DTW Business Partners / Activity Locations
API Activity Locations


ActivityLocations is a business object that represents activity locations in the Business Partners module.

This object enables you to:

  • Add a location for an activity (for example, meeting room, address name, and so on).
  • Retrieve an activity location by its key.
  • Update an activity location.
  • Save the object in XML format.

Source table: OCLO.

Object Model


To display the form in the application:

  1. Select Business Partners --> Activities.
  2. In the Location text box of the General tab, select Define New.

See Also

SAP® B1 DI-API C# definition

public class ActivityLocationsClass : IActivityLocations, ActivityLocations { public virtual DataBrowser Browser { get; } public virtual int Code { get; } public virtual string Name { get; set; } public virtual SAPbobsCOM.UserFields UserFields { get; } public extern ActivityLocationsClass(); public virtual extern int Add(); public virtual extern string GetAsXML(); public virtual extern bool GetByKey( int lID); public virtual extern void SaveToFile( string FileName); public virtual extern void SaveXML( ref string FileName); public virtual extern int Update(); }

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