biuan SAP® BUSINESS ONE SDK
API Cockpits Service

Description

The CockpitsService service enables you to add, look up, update, and remove cockpits.

Source table: OCPT.

Object Model

Remarks

Note:

  • If you log on to an SAP Business One company with the cockpit enabled, and you connect to the same company via DI-API, the changes you make to the cockpits via DI-API are lost after you exit the SAP Business One application. It does not affect add/delete operations, only the update operations of the existing cockpits.
    You can update the cockpits successfully via DI-API without running the SAP Business One application that connects to the same company database.
  • If you make changes via DI-API to the database tables, the GUI of the SAP Business One application does not get updated immediately.
    To see the changes you have made via DI-API, re-open the Cockpit Management window. To open the Cockpit Management window, from the SAP Business One menu bar, choose Tools --> Cockpit --> Cockpit Management.
    Changes via DI-API are also available when you log on again to the company, or restart the SAP Business One application and connect to the company.

See Also

SAP® B1 DI-API C# definition

public class CockpitsServiceClass : ICockpitsService, CockpitsService { public extern CockpitsServiceClass(); public virtual extern CockpitParams AddCockpit( Cockpit pICockpit); public virtual extern void DeleteCockpit( CockpitParams pICockpitParams); public virtual extern Cockpit GetCockpit( CockpitParams pICockpitParams); public virtual extern CockpitsParams GetCockpitList(); public virtual extern object GetDataInterface( CockpitsServiceDataInterfaces enumMSDI); public virtual extern object GetDataInterfaceFromXMLFile( string bstrFileName); public virtual extern object GetDataInterfaceFromXMLString( string bstrXMLString); public virtual extern CockpitsParams GetTemplateCockpitList(); public virtual extern CockpitsParams GetUserCockpitList(); public virtual extern void PublishCockpit( Cockpit pICockpit); public virtual extern void UpdateCockpit( Cockpit pICockpit); }

Related information


Cockpits Service Data Interfaces CockpitsServiceDataInterfaces Enumeration
CockpitsService data interfaces.
   Parent: Cockpits Service CockpitsService Service· Table: OCPT

Cockpit Cockpit Object· Table: OCPT
Represents a cockpit, which is a personalized work center where you can view, search, organize, and perform your regular work and related activities. Source table: OCPT.
   Parent: Cockpits Service CockpitsService Service· Table: OCPT

Cockpits Params CockpitsParams Collection
A collection of CockpitParams objects.
   Parent: Cockpits Service CockpitsService Service· Table: OCPT


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