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

Description

Deletes the current line.

Returns a result value that indicates success or failure.

Syntax

Visual Basic
Public Sub Delete() 

Example

Deleting service call inventory expense (C#)
SAPbobsCOM.ServiceCalls oSrvCall; // Delete service call expense if (oSrvCall.GetByKey(2) == true) { oSrvCall.Expenses.SetCurrentLine(1); oSrvCall.Expenses.Delete(); oSrvCall.Update(); }

See Also

Related information


Bo Stck Trn Dir BoStckTrnDir Enumeration
Specifies the direction of moving items, related to the service call, to or from the technician.
   Parent: Service Call Inventory Expenses ServiceCallInventoryExpenses Object· Table: SCL4

Bo Svc Epx Doc Types BoSvcEpxDocTypes Enumeration
Specifies the document type for Service Call Inventory Expenses.
   Parent: Service Call Inventory Expenses ServiceCallInventoryExpenses Object· Table: SCL4

Bo Svc Exp Part Types BoSvcExpPartTypes Enumeration
Specifies the type of the replacing part used for closing the service call.
   Parent: Service Call Inventory Expenses ServiceCallInventoryExpenses Object· Table: SCL4

Service Call Inventory Expenses ServiceCallInventoryExpenses Object· Table: SCL4
ServiceCallInventoryExpenses is a child object of the ServiceCalls object in the Service module. Source table: SCL4.
   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