SALESORDERITEMTICKETFEE
Primary Key
Primary Key | Field Type |
---|---|
ID | uniqueidentifier |
Fields
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
AMOUNT | money | Default = 0 | ||
REFUNDEDAMOUNT | money | Default = 0 | ||
DATEADDED | datetime | Default = getdate() | ||
DATECHANGED | datetime | Default = getdate() | ||
TS | timestamp | |||
TSLONG | bigint (Computed) | yes | CONVERT(bigint, TS) |
Foreign Keys
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
SALESORDERITEMFEEID | uniqueidentifier | SALESORDERITEMFEE.ID | ||
TICKETID | uniqueidentifier | TICKET.ID | ||
ADDEDBYID | uniqueidentifier | CHANGEAGENT.ID | ||
CHANGEDBYID | uniqueidentifier | CHANGEAGENT.ID |
Indexes
Index Name | Fields | Unique | Primary | Clustered |
---|---|---|---|---|
IX_SALESORDERITEMTICKETFEE_DATEADDED | DATEADDED | yes | ||
IX_SALESORDERITEMTICKETFEE_DATECHANGED | DATECHANGED | |||
PK_SALESORDERITEMTICKETFEE | ID | yes | yes | |
UIX_SALESORDERITEMTICKETFEE_SALESORDERITEMFEEID_TICKETID | SALESORDERITEMFEEID, TICKETID | yes |
Triggers
Trigger Name | Description |
---|---|
TR_SALESORDERITEMTICKETFEE_AUDIT_UPDATE | |
TR_SALESORDERITEMTICKETFEE_AUDIT_DELETE |