📚 SAP Business One SDK Help

DeleteReportType Method
See Also 
pIReportType
The key of the report type to be deleted.

Description

Deletes an existing report type.

Syntax

Visual Basic
Public Sub DeleteReportType( _
   ByVal pIReportType As ReportType _
) 

Parameters

pIReportType
The key of the report type to be deleted.

Remarks

Before the deletion of the report type, you should delete all layouts related to the ReportType object.

The deletion of a layout cannot be completed when the layout is the default layout of a ReportType object. Use the UpdateReportType method to reset the DefaultReportLayout property to null.

See Also