Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This structure represents the unique key fields associated with identifying a Currencycurrency. Currences can be identified by CurrencyCode or CurrencyUid. When specifying a PwsCurrencyRef as an input to a web service, you may specify one or both the CurrencyCode and/or CurrencyUid. However, if you do specify both, they must both refer to the same Currency currency or the Currency currency reference will not be considered valid. When a PwsCurrencyRef is returned in the response to a web service, both the CurrencyCode and CurrencyUid will be populated, and guaranteed to refer to a single Currencycurrency.


Format


Panel
titlePwsCurrencyRef
  • PwsCurrencyRef
    • CurrencyCode: String
    • CurrencyId: Int32
    • CurrencyUid: Int64


Elements


Element

Data Type

Required?

Default

Description

Sample Data

CurrencyCode

String

 The Currency Code

CultureId

Int32

On Insert: No

On Update: No

 

The currency code is a unique identifier for a

Currency.

currency

USD

CurrencyId

Int32

 The Currency

CultureName

String

On Insert: Yes

On Update: Yes (if CultureUid is not supplied) 

 

The currency Id is a unique identifier for a

Currency

currency. For internal use only.

 

CurrencyUid

CultureUid

Int64

 The Currency

On Insert: No

On Update: Yes (if CultureName is not supplied)

 

The currency Uid is a unique and immutable identifier for a

Currency.

currency

1152921504606851838

Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
                     <CurrencyIdentity>
                        <CurrencyCode>USD</CurrencyCode>
                        <CurrencyId i:nil="true"/>
                        <CurrencyUid>1152921504606851838</CurrencyUid>
                     </CurrencyIdentity>