| Field Name | Data Type | Size | Original Type | Default | Nullable | Description | Check |
|---|---|---|---|---|---|---|---|
| SalesReasonID | int identity | int | Not null | Primary key for SalesReason records. | |||
| Name | Name | nvarchar(50) | Not null | Sales reason description. | |||
| ReasonType | Name | nvarchar(50) | Not null | Category the sales reason belongs to. | |||
| ModifiedDate | datetime | getdate() | Not null | Date and time the record was last updated. |
The object has no extended properties.
| Primary Key Name | Field Name |
|---|---|
| PK_SalesReason_SalesReasonID | SalesReasonID |
| Index Name | Description | Clustered | Unique | Fields |
|---|---|---|---|---|
| PK_SalesReason_SalesReasonID | Clustered index created by a primary key constraint. | Yes | Yes | SalesReasonID |
| Name | Description | Type | Enabled |
|---|---|---|---|
| uSalesReason | AFTER UPDATE trigger setting the ModifiedDate column in the SalesReason table to the current date. | after Update | Yes |
| Object Name | Type | Field Name |
|---|---|---|
| Sales.uSalesReason | trigger | N/A |