cancel
Showing results for 
Search instead for 
Did you mean: 

DI Server xml schemas

Former Member
0 Kudos

I am using the xml schema for various Business Objects provided to us in the schema folder as a reference, but I was wondering if I needed to include all of the xml tags in the schema if some of the values will be set to null. Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Ty,

How are you? the "exchange rate is not updated" exception keeps occurring every now and then. is there something I am missing in my SOAP schema? or else where? Thanks

Former Member
0 Kudos

Hi!

The error you mention happens when you try to enter a document with a date where there is no exchange rate defined for the currency you have used.

FOA
Advisor
Advisor
0 Kudos

You will find how to solve your problem in the following thread:

Regards,

Felipe

Answers (1)

Answers (1)

Former Member
0 Kudos

You don't have to send the whole thing. But, you must send all of the elements that are marked as mandatory in the object.

Former Member
0 Kudos

Is there any way to know which fields are mandatory for an object (ie oPurchaseInvoices) without going to the database table?

Former Member
0 Kudos

I break out the helpfile for the DI api. RefDI.chm I believe. In that file, you will have a list of all of the objects in SBO. Each object has details on it's properties and methods. Even though you are using SOAP and the DI server your data eventually goes through the same com layer as if you had used the DI com component as a reference in your project. Therefore, the same rules will generally apply.

Former Member
0 Kudos

Thanks, that is a good point! it is kind of strange though that only one field in that BO (document) is mandatory. I filled in all of the mandatory fields but I am getting an error labeled "env:Receiver -10 Exchange rate not updated , 'USD' 18 1 AddObject Add invoice ". Have you ever seen this before? Thanks for your help.

Former Member
0 Kudos

Sounds like you are working against the demo database or at least have multiple currencies setup. If you log into the SBO client, see if the exchange rate window pops up.

Former Member
0 Kudos

I am working against a dev database. The exchange rate window does not show up when I log in. Is there any way I can update that through the client if that is the problem?

Former Member
0 Kudos

Thanks, I was able to enter the invoice.