Skip to Content
author's profile photo Former Member
Former Member

Inherits a DI class

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jan 05, 2005 at 11:29 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.