project QadFinancials > class BExchangeRateType > business logic query ExchangeRateTypeByCode

Description

Returns ExchangeRateType by ExchangeRateTypeCode


Parameters


icExchangeRateTypeCodecharacterExchangeRateTypeCode


query condition


  each ExchangeRateType where
ExchangeRateType.ExchangeRateTypeCode = icExchangeRateTypeCode


query sort order


ExchangeRateType.ExchangeRateTypeCode (ascending)


query resultset tqExchangeRateTypeByCode


field namedata typedb fielddescription
tiExchangeRateType_IDintegerExchangeRateType.ExchangeRateType_IDRecord ID
tcExchangeRateTypeCodecharacterExchangeRateType.ExchangeRateTypeCodeA code identifying an exchange rate type. A number of types are predefined and required by the system.
tlExchangeRateTypeIsActivelogicalExchangeRateType.ExchangeRateTypeIsActiveIndicate if this is an active record.
api annotation:Value for this field defaults to false.
tlExchangeRateTypeIsFallBacklogicalExchangeRateType.ExchangeRateTypeIsFallBackIndicate whether the system must revert to using the accounting exchange rate when it cannot find a valid exchange rate of the type.
api annotation:Value for this field defaults to false.
tlExchangeRateTypeIsSystemlogicalExchangeRateType.ExchangeRateTypeIsSystemIndicate whether this rate type is System-Owned.
api annotation:Value for this field defaults to false.
tlExchangeRateTypeIsTillDatelogicalExchangeRateType.ExchangeRateTypeIsTillDateIndicate whether to specify the validity end dates for this rate type.
api annotation:Value for this field defaults to false.
tiExchangeRateTypeValidityintegerExchangeRateType.ExchangeRateTypeValidityThe default number of days that exchange rates of this type is valid.
api annotation:Value for this field defaults to 1.


Internal usage


QadFinancials
method BExchangeRate.DefaultValuesValidDateTill
method BExchangeRate.ValidateComponent
method BGL.ConvExchangeRateTypeCodeToID
method BRevaluation.InitInstance
method TExchangeRate.ApiGetExchangeRate
method BFRWCube.ValidateComponentAllCurrency