Difference between revisions of "Purchasing.ShipMethod (table)"
| Line 12: | Line 12: | ||
| + | === Columns === | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
| Line 18: | Line 19: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
| − | | '''Description | + | | '''Description |
|- valign="top" | |- valign="top" | ||
| Line 25: | Line 26: | ||
| not null | | not null | ||
| | | | ||
| − | | Primary key for ShipMethod records. | + | | Primary key for ShipMethod records. |
|- valign="top" | |- valign="top" | ||
| Name | | Name | ||
| Line 31: | Line 32: | ||
| not null | | not null | ||
| | | | ||
| − | | Shipping company name. | + | | Shipping company name. |
|- valign="top" | |- valign="top" | ||
| ShipBase | | ShipBase | ||
| Line 37: | Line 38: | ||
| not null | | not null | ||
| ((0.00)) | | ((0.00)) | ||
| − | | Minimum shipping charge. | + | | Minimum shipping charge. |
|- valign="top" | |- valign="top" | ||
| ShipRate | | ShipRate | ||
| Line 43: | Line 44: | ||
| not null | | not null | ||
| ((0.00)) | | ((0.00)) | ||
| − | | Shipping charge per pound. | + | | Shipping charge per pound. |
|- valign="top" | |- valign="top" | ||
| rowguid | | rowguid | ||
| Line 49: | Line 50: | ||
| not null | | not null | ||
| (newid()) | | (newid()) | ||
| − | | ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample. | + | | ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample. |
|- valign="top" | |- valign="top" | ||
| ModifiedDate | | ModifiedDate | ||
| Line 55: | Line 56: | ||
| not null | | not null | ||
| (getdate()) | | (getdate()) | ||
| − | | Date and time the record was last updated. | + | | Date and time the record was last updated. |
|} | |} | ||
| + | === Primary Key === | ||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''Primary Key | ||
| + | | '''Columns | ||
| + | |- | ||
| + | | PK_ShipMethod_ShipMethodID | ||
| + | | ShipMethodID | ||
| + | |} | ||
| + | === Indexes === | ||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''Index | ||
| + | | '''Type | ||
| + | | '''Columns | ||
| + | |||
| + | |- | ||
| + | | AK_ShipMethod_Name | ||
| + | | Unique | ||
| + | | Name | ||
| + | |- | ||
| + | | AK_ShipMethod_rowguid | ||
| + | | Unique | ||
| + | | rowguid | ||
| + | |} | ||
| + | === Check Constraints === | ||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''Check Constraint | ||
| + | | '''Expression | ||
| + | | '''Description | ||
| + | |||
| + | |- | ||
| + | | CK_ShipMethod_ShipBase | ||
| + | | ([ShipBase]>(0.00)) | ||
| + | | Check constraint [ShipBase] > (0.00) | ||
| + | |- | ||
| + | | CK_ShipMethod_ShipRate | ||
| + | | ([ShipRate]>(0.00)) | ||
| + | | Check constraint [ShipRate] > (0.00) | ||
| + | |} | ||
| + | |||
| + | === Detail Tables === | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
| Line 76: | Line 120: | ||
|} | |} | ||
| − | + | === References === | |
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
| Line 87: | Line 131: | ||
| Type | | Type | ||
| [[dbo.Name_(type)|dbo.Name]] | | [[dbo.Name_(type)|dbo.Name]] | ||
| + | |||
| + | |- | ||
| + | | Schema | ||
| + | | Schema | ||
| + | | [[Purchasing_(schema)|Purchasing]] | ||
|} | |} | ||
| + | |||
| + | |||
== wikivalues == | == wikivalues == | ||
Revision as of 23:07, 2 February 2010
Contents
wikibot
| Table | Purchasing.ShipMethod |
| Description | Shipping company lookup table. |
Columns
| Column | Data Type | Nullable | Default | Description |
| ShipMethodID | int | not null | Primary key for ShipMethod records. | |
| Name | dbo.Name | not null | Shipping company name. | |
| ShipBase | money | not null | ((0.00)) | Minimum shipping charge. |
| ShipRate | money | not null | ((0.00)) | Shipping charge per pound. |
| rowguid | uniqueidentifier | not null | (newid()) | ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample. |
| ModifiedDate | datetime | not null | (getdate()) | Date and time the record was last updated. |
Primary Key
| Primary Key | Columns |
| PK_ShipMethod_ShipMethodID | ShipMethodID |
Indexes
| Index | Type | Columns |
| AK_ShipMethod_Name | Unique | Name |
| AK_ShipMethod_rowguid | Unique | rowguid |
Check Constraints
| Check Constraint | Expression | Description |
| CK_ShipMethod_ShipBase | ([ShipBase]>(0.00)) | Check constraint [ShipBase] > (0.00) |
| CK_ShipMethod_ShipRate | ([ShipRate]>(0.00)) | Check constraint [ShipRate] > (0.00) |
Detail Tables
| Detail Table | Column | Referencing Column |
| Purchasing.PurchaseOrderHeader | ShipMethodID | ShipMethodID |
| Sales.SalesOrderHeader | ShipMethodID | ShipMethodID |
References
| Dependency Type | Object Type | Referenced Object |
| Data Type | Type | dbo.Name |
| Schema | Schema | Purchasing |
wikivalues
| Table Values | Purchasing.ShipMethod |
| ShipMethodID | Name | ShipBase | ShipRate |
| 1 | XRQ - TRUCK GROUND | 3.95 | 0.99 |
| 2 | ZY - EXPRESS | 9.95 | 1.99 |
| 3 | OVERSEAS - DELUXE | 29.95 | 2.99 |
| 4 | OVERNIGHT J-FAST | 21.95 | 1.29 |
| 5 | CARGO TRANSPORT 5 | 8.99 | 1.49 |
automatically generated
| Table | Purchasing.ShipMethod |
| Description | Shipping company lookup table. |
| Column | Data Type | Nullable | Default | Description / PK / Index |
| ShipMethodID | int | not null | Primary key for ShipMethod records. PK_ShipMethod_ShipMethodID | |
| Name | Name | not null | Shipping company name. AK_ShipMethod_Name | |
| ShipBase | money | not null | (0.00) | Minimum shipping charge. |
| ShipRate | money | not null | (0.00) | Shipping charge per pound. |
| rowguid | uniqueidentifier | not null | (NEWID()) | ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample. AK_ShipMethod_rowguid |
| ModifiedDate | datetime | not null | (GETDATE()) | Date and time the record was last updated. |
| Detail Table | Column | Referencing Column |
| Purchasing.PurchaseOrderHeader | ShipMethodID | ShipMethodID |
| Sales.SalesOrderHeader | ShipMethodID | ShipMethodID |
| Dependency Type | Object Type | Referenced Object |
| Data Type | Type | dbo.Name |
| Schema | Schema | Purchasing |