PRB: Monetary Values That Are Sent in Remote Shopping Orders to the Trading Partner Are Not Localized to the Current Culture (322765)



The information in this article applies to:

  • Microsoft BizTalk Accelerator for Suppliers, version 1.0 SR1

This article was previously published under Q322765

SYMPTOMS

The monetary values that are sent in remote shopping orders to the trading partner are not localized to the current culture.

The ConvertToDecimalCurrency function always converts the incoming currency data into US currency formatted data (XXXX.XX). For example, although you set the Japanese currency format (X,XXX,XXX - no decimal) as the currency type on AppDefault Config, the price of purchased products is formatted as US currency. (for example, 75,000 is converted to 75000.00).

CAUSE

This behavior occurs because the US locale is specified by Setlocale in the ConvertToDecimalCurrency function. Also, the ConvertToDecimalCurrency function in Std_remotebasket_lib.asp that is called when you set an item price in PunchOutOrderMessage does not consider globalization.

STATUS

This behavior is by design.

MORE INFORMATION

The monetary values that remote shopping checkout sends to the trading partner (by using either OCI or cXML protocol) are of decimal data type and are not localized.

Modification Type:MinorLast Reviewed:7/13/2004
Keywords:kbpending kbprb KB322765 kbAudDeveloper