Primary Key | Field Type |
---|---|
![]() |
uniqueidentifier |
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
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(100) | Default = '' | Stores the name of the item | |
![]() |
tinyint | Default = 0 | Whether the item is designated for sale or use | |
![]() |
nvarchar(7) (Computed) | ![]() |
CASE [DISPOSITIONCODE] WHEN 0 THEN N'To use' WHEN 1 THEN N'To sell' END | Provides a translation for the 'DISPOSITIONCODE' field. |
![]() |
int | Default = 0 | The number of units of the item issued. | |
![]() |
money | Default = 0 | The value assessed to each unit of the item | |
![]() |
money | Default = 0 | The value assessed to each unit of the item in the organization currency. | |
![]() |
money | Default = 0 | The value assessed to each unit of the item in the transaction currency. |
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
uniqueidentifier | REVENUEPAYMENTMETHOD.ID | Primary Key. | |
![]() |
uniqueidentifier | ![]() |
GIFTINKINDSUBTYPECODE.ID | Stores the subtype for a gift in kind. |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | ![]() |
CURRENCY.ID | The base currency associated with this record. |
![]() |
uniqueidentifier | ![]() |
CURRENCYEXCHANGERATE.ID | The exchange rate used to calculate the organization amount. |
![]() |
uniqueidentifier | ![]() |
CURRENCY.ID | The transaction currency associated with this record. |
![]() |
uniqueidentifier | ![]() |
CURRENCYEXCHANGERATE.ID | The exchange rate used to calculate the base amount. |
Index Name | Field(s) | Unique | Primary | Clustered |
---|---|---|---|---|
![]() |
BASECURRENCYID | |||
![]() |
BASEEXCHANGERATEID | |||
![]() |
DATEADDED | ![]() |
||
![]() |
DATECHANGED | |||
![]() |
ORGANIZATIONEXCHANGERATEID | |||
![]() |
TRANSACTIONCURRENCYID | |||
![]() |
ID | ![]() |
![]() |
Trigger Name | Description |
---|---|
![]() |
|
![]() |
|
![]() |
Referenced by | Field |
---|---|
![]() |
GIFTINKINDPAYMENTMETHODDETAILID |
![]() |
GIFTINKINDPAYMENTMETHODDETAILID |