Showing results for 
Search instead for 
Did you mean: 

Inherits a DI class

Former Member
0 Kudos


When i Inherits a UserTablesMDClass like this :


Public Class MySample

Inherits SAPbobsCOM.UserTablesMDClass


End Class


i have an error message : my application is failed on the instruction :

Dim MyClassSample = New MySample

'ClassFactory don't provide the request class'

Have you an idea?


Accepted Solutions (1)

Accepted Solutions (1)

Active Contributor
0 Kudos

Hi francis,

Unfortunately the APIs in SAP Business One SDK are not prepared for inheritance. So, basically you can generate a class that has the same interface, but on the inside you will have to call the appropriate method etc. of the DI object your class should hold as a member.

Sorry for the inconvenience.



Answers (0)