DTW Business Partners / Activity Types
API Activity Types


ActivityTypes is a business object that represents activity types in the Business Partners module.

This object enables you to:

  • Add a type for an activity.
  • Retrieve an activity type by its key.
  • Update an activity type.
  • Save the object in XML format.

Source table: OCLT.

Object Model


To display the form in the application:

  1. Select Business Partners --> Activities.
  2. In the Type text box of the Activity master data, select Define New.

See Also

SAP® B1 DI-API C# definition

public class ActivityTypesClass : IActivityTypes, ActivityTypes { public virtual DataBrowser Browser { get; } public virtual int Code { get; } public virtual string Name { get; set; } public virtual SAPbobsCOM.UserFields UserFields { get; } public extern ActivityTypesClass(); 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