Primary Key | Field Type |
---|---|
![]() |
uniqueidentifier |
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
money | Default = 0 | Amount subject to value added tax in base currency. | |
![]() |
money | Default = 0 | Amount of value added tax in base currency. | |
![]() |
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. |
![]() |
money | Default = 0 | Amount subject to value added tax in organization currency. | |
![]() |
money | Default = 0 | Amount of value added tax in organization currency. | |
![]() |
money | Default = 0 | Amount subject to value added tax in transaction currency. | |
![]() |
money | Default = 0 | Amount of value added tax in transaction currency. |
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
uniqueidentifier | FINANCIALTRANSACTION.ID | Primary Key. | |
![]() |
uniqueidentifier | ![]() |
VATTAXRATE.ID | Value added tax rate to used. |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | ![]() |
CURRENCY.ID | The base currency associated with this revenue. |
![]() |
uniqueidentifier | ![]() |
CURRENCYEXCHANGERATE.ID | The exchange rate used to convert to organization amount. |
![]() |
uniqueidentifier | ![]() |
CURRENCY.ID | The transaction currency associated with this revenue. |
![]() |
uniqueidentifier | ![]() |
CURRENCYEXCHANGERATE.ID | The exchange rate used to convert from transaction amount to base amount. |
Index Name | Field(s) | Unique | Primary | Clustered |
---|---|---|---|---|
![]() |
DATEADDED | ![]() |
||
![]() |
DATECHANGED | |||
![]() |
VATTAXRATEID | |||
![]() |
ID | ![]() |
![]() |
Trigger Name | Description |
---|---|
![]() |
|
![]() |
|
![]() |