cancel
Showing results for 
Search instead for 
Did you mean: 

Set VAT number using DI Server

Former Member
0 Kudos

Hello everyone,

I'm adding a new BP to SBO using the DI Server. Unfortunately, I'm unable to find how to set the VAT number for this new BP.

There's a field called <i>LicTradNum</i>, which holds the general VAT number, and there's another one called <i>VatIdUnCmp</i>, which holds the VAT number in a uniform manner.

Trying to use elements like <LicTradNum> or <VatIdUnCmp> in my SOAP message results in a validation error. Is there a trick to setting one or both of these fields?

Thank you,

Bram

Accepted Solutions (1)

Accepted Solutions (1)

former_member185703
Active Contributor
0 Kudos

Hello Bram,

I can't look into this detail currently, but I would suggest that you specify the VAT number in the B1 GUI application - and then retrieve the BP with DI Server (or DI API) and check the name of the element...

HTH,

Frank

Former Member
0 Kudos

Hello Frank,

We seem to think alike. I've created a little utility last week which allows me to do exactly that. I haven't gotten around to actually testing the import with the newly acquired information, but I will do so in the next couple of days.

I will keep you (and the other forum readers of course) posted.

Thank you,

Bram

Former Member
0 Kudos

Hello everyone,

Seemed to forget all about this forum thread, sorry. The problem was solved: <FederalTaxID>. I didn't see the tag before I upgraded to a new PL.

Regards,

Bram

former_member185703
Active Contributor
0 Kudos

Thx for remembering us, Bram

Frank

Answers (0)