Primary Key | Field Type |
---|---|
![]() |
uniqueidentifier |
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
decimal(20, 8) | Default = 0 | The rate to use when performing the conversion. | |
![]() |
datetime | The date for which the exchange rate is valid. | ||
![]() |
time | The time for which the exchange rate is valid. | ||
![]() |
tinyint | Default = 0 | The type of the exchange rate. | |
![]() |
int | Default = 0 | ||
![]() |
datetime | Default = getdate() | Indicates the date this record was added. | |
![]() |
datetime | Default = getdate() | Indicates the date this record was last changed. | |
![]() |
timestamp | Timestamp. | ||
![]() |
bigint (Computed) | ![]() |
CONVERT(bigint, TS) | Numeric representation of the timestamp. |
![]() |
nvarchar(9) (Computed) | ![]() |
CASE [TYPECODE] WHEN 0 THEN N'Corporate' WHEN 1 THEN N'Daily' END | Provides a translation for the 'TYPECODE' field. |
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
uniqueidentifier | BATCH.ID | FK to BATCH | |
![]() |
uniqueidentifier | CURRENCY.ID | The currency from which the conversion is taking place. | |
![]() |
uniqueidentifier | CURRENCY.ID | The currency to which the conversion is taking place. | |
![]() |
uniqueidentifier | ![]() |
CURRENCYEXCHANGERATESOURCECODE.ID | The source for the exchange rate. |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | TIMEZONEENTRY.ID | The time zone for which the exchange rate is valid. |
Index Name | Field(s) | Unique | Primary | Clustered |
---|---|---|---|---|
![]() |
BATCHID | |||
![]() |
DATEADDED | ![]() |
||
![]() |
DATECHANGED | |||
![]() |
ID | ![]() |
![]() |
Trigger Name | Description |
---|---|
![]() |
|
![]() |
Referenced by | Field |
---|---|
![]() |
BATCHCURRENCYEXCHANGERATEID |
![]() |
ID |