cancel
Showing results for 
Search instead for 
Did you mean: 

GetBusinessObjectXmlSchema for oOrders and other documents

Former Member
0 Kudos

Hi All,

The following:

<i>Dim _xmlSchema As String = SboCompany.GetBusinessObjectXmlSchema(SAPbobsCOM.BoObjectTypes.oOrders)</i>

Gives me an error "Additional information: Object reference not set to an instance of an object."

When using the 2005 DI API. Any ideas why? It works fine for other objects such as oBusinessPartners.

Thanks.

/Bruno

Accepted Solutions (1)

Accepted Solutions (1)

nicola_martella2
Participant
0 Kudos

Hi Bruno.

If you have instantiated SboCompany you have not problem. I have tried and works.

Ciao. Nicola

Former Member
0 Kudos

My error was elsewhere in the code. Thanks.

Answers (0)