📚 SAP Business One SDK Help

Save Method
See Also  Example

Description

Saves the changes in the GUI to the database.

Using this interface, DI-API users can get all the changes from the GUI of cockpit application.

Syntax

Visual Basic
Public Sub Save() 

Example

Saving Cockpit UI into Database (C#)Copy Code
SAPbouiCOM.Cockpits ckpts = sbo_Application.Cockpits;  
if(ckpts.Count > 0)  
{                 
    // Get the current cockpit  
    SAPbouiCOM.Cockpit ckpt = ckpts.CurrentCockpit;  
  
    // Save the cockpit  
    ckpt.Save();  
}  
  

See Also