biuan SAP® BUSINESS ONE SDK
API Service Call Activities / Delete
Delete Method

Description

Deletes the current line.

Returns a result value that indicates success or failure.

Syntax

Visual Basic
Public Sub Delete() 

Remarks

You cannot delete a line if the service call is closed.

Example

Deleting service call activity (C#)
SAPbobsCOM.ServiceCalls oSrvCall; // Delete service call activity if(oSrvCall.GetByKey(1) == true) { oSrvCall.Activities.SetCurrentLine(1); oSrvCall.Activities.Delete(); oSrvCall.Update(); }

See Also

Related information


Service Call Activities ServiceCallActivities Object· Table: SCL5
ServiceCallActivities is a child object of the ServiceCalls object in the Service module. The service call activities are associated with the Activities with Business Partners table. Source table: SCL5.
   Parent: Service Calls ServiceCalls Object· Table: OSCL


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