Welcome Guest, you are in: Login

devio dbscript ScrewTurn Wiki

RSS RSS

Navigation





Search the wiki
»

PoweredBy

Page History: Sales SalesOrderHeaderSalesReason (table)

Compare Page Revisions



« Older Revision - Back to Page History - Current Revision


Page Revision: 2010/06/24 01:10


wikibot

TableSales.SalesOrderHeaderSalesReason
DescriptionCross-reference table mapping sales orders to sales reason codes.

Columns

ColumnData TypeNullableDefaultDescription
SalesOrderIDintnot null Primary key. Foreign key to SalesOrderHeader.SalesOrderID.
SalesReasonIDintnot null Primary key. Foreign key to SalesReason.SalesReasonID.
ModifiedDatedatetimenot null(getdate())Date and time the record was last updated.

Primary Key

Primary KeyColumns
PK_SalesOrderHeaderSalesReason_SalesOrderID_SalesReasonIDSalesOrderID, SalesReasonID

Foreign Keys

RelationColumnReferenced Column
Sales.SalesOrderHeaderSalesOrderIDSalesOrderID
Sales.SalesReasonSalesReasonIDSalesReasonID

References

Dependency TypeObject TypeReferenced Object
SchemaSchemaSales

ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam.