Skip to main content
CM

CurrencyInfo

PX.Objects.CM.ExtensionsRelease 2025.2

Stores currency and exchange rate information for a particular document or transaction. Usually, there is an individual record of this type for each document or transaction that involves monetary amounts and supports multi-currency. The documents store a link to their instance of CurrencyInfo in the CuryInfoID field, such as GLTran.CuryInfoID. The exchange rate data for objects of this type is either entered by user or obtained from the CurrencyRate records. Records of this type are either created automatically by the CurrencyInfoAttribute or explicitly inserted by the application code (such as in AR.ARReleaseProcess). User must not be aware of existence of these records.

Field NameTypeDisplay NameForeign Key
BaseCalc
bit-
Description:When "true", indicates that the system must calculate the amounts in the base currency for the related document or transaction. Otherwise the changes in the amounts expressed in the currency of the document won't result in an update to the amounts in base currency. Defaults to "true".
BaseCuryID API
nvarchar(5)Base Currency ID-
Description:Identifier of the base Currency. Defaults to the base currency of the company.
BasePrecisionNonexistent in DB
short?-
Description:The number of digits after the decimal point used in operations with the amounts associated with this Currency Info object and expressed in its base currency. The value of this field is taken from the CurrencyList.DecimalPlaces field of the record associated with the base currency of this object.
CuryEffDate API
datetimeEffective Date-
Description:The date, starting from which the specified rate is considered current. Defaults to the current business date.
CuryIDDefault Navigation
nvarcharCurrencyCurrency
Description:Identifier of the Currency of this Currency Info object. Defaults to the base currency of the company.
CuryInfoID
bigint-
Description:Key field. Database identity. Unique identifier of the Currency Info object.
CuryMultDiv
char(1)Mult Div-
Description:The operation required for currency conversion: Divide or Multiply. Allowed values are: ""M"" - Multiply, ""D"" - Divide. Defaults to ""M"".
CuryPrecisionNonexistent in DB
short?-
Description:The number of digits after the decimal point used in operations with the amounts associated with this Currency Info object and expressed in its currency. The value of this field is taken from the CurrencyList.DecimalPlaces field of the record associated with the currency of this object.
CuryRate
decimal-
Description:The currency rate. For the purposes of conversion the value of this field is used together with the operation selected in the CuryMultDiv field. Defaults to "1.0".
CuryRateTypeID API Default Navigation
nvarchar(6)Curr. Rate Type IDCurrencyRateType
Description:The identifier of the Rate Type associated with this object. Corresponds to the CurrencyRateType.CuryRateTypeID field.
DisplayCuryIDNonexistent in DB
stringCurrency ID-
Description:The read-only property providing the Currency for display in the User Interface.
ModuleCodeNonexistent in DB
string-
Description:Identifier of the module, to which the Currency Info object belongs. The value of this field affects the choice of the default Rate Type: for ""CA"" the Rate Type is taken from the CMSetup.CARateTypeDflt, for ""AP"" the Rate Type is taken from the CMSetup.APRateTypeDflt, for ""AR"" the Rate Type is taken from the CMSetup.ARRateTypeDflt, for ""GL"" the Rate Type is taken from the CMSetup.GLRateTypeDflt.
RecipRate
decimal-
Description:The inverse of the exchange rate, which is calculated automatically.
SampleCuryRate API Nonexistent in DB
decimal?Curr. Rate-
Description:The exchange rate used for calculations and determined by the values of the CuryMultDiv, CuryRate and RecipRate fields.
SampleRecipRate API Nonexistent in DB
decimal?Reciprocal Rate-
Description:The inverse of the SampleCuryRate. This value is also determined by the values of the CuryMultDiv, CuryRate and RecipRate fields.
tstamp
timestamp-
Description:No description available