cancel
Showing results for 
Search instead for 
Did you mean: 

Inherits a DI class

Former Member
0 Kudos

Hy,

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?

thanks

Accepted Solutions (1)

Accepted Solutions (1)

former_member185703
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.

Regards,

Frank

Answers (0)