API Query Categories


QueryCategories is a business object that represents the query categories in the Queries Manager.

This object enables you to:

  • Add a query category.
  • Retrieve a query category by its key.
  • Update a query category.
  • Save the object in XML format.

Source table: OQCN.

Object Model


To display the form in the application:

  1. From the main menu, select Tools --> Queries --> Queries Manager.
  2. In the Manage Categories dialog box, click Manage Categories.

See Also

SAP® B1 DI-API C# definition

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