Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8859

Extrange character returned by GetLastError function

$
0
0

Hi Experts,

 

I am having a problem when I generate a Transfer of Stock by DI API. The problem is related to the message obtained from the GetLastError () function that introduces arabic characters as shown below:

 

Quantity falls into negative inventory [الرسالة 131-149]

 

where the text in Arabic reads "message"

 

Regardless if I set the language by

 

oCompany.language = SAPbobsCOM.BoSuppLangs.ln_Spanish_La;
//oCompany.language = SAPbobsCOM.BoSuppLangs.ln_English;

and

 

Thread.CurrentThread.CurrentCulture = new CultureInfo ("es-MX");

at the start of the program the result is the same.

 

Any idea?

 

Greetings !!


Viewing all articles
Browse latest Browse all 8859

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>