Welcome Guest, you are in: Login

devio dbscript ScrewTurn Wiki

RSS RSS

Navigation





Search the wiki
»

PoweredBy

Page History: Sales SalesPerson (table)

Compare Page Revisions



« Older Revision - Back to Page History - Newer Revision »


Page Revision: 2010/01/09 18:04


wikibot

TableSales.SalesPerson
DescriptionSales representative current information.

ColumnData TypeNullableDefaultDescription / PK / Index
SalesPersonIDintnot null Primary key for SalesPerson records.
PK_SalesPerson_SalesPersonID
TerritoryIDintnull Territory currently assigned to. Foreign key to SalesTerritory.SalesTerritoryID.
SalesQuotamoneynull Projected yearly sales.
Bonusmoneynot null((0.00))Bonus due if quota is met.
CommissionPctsmallmoneynot null((0.00))Commision percent received per sale.
SalesYTDmoneynot null((0.00))Sales total year to date.
SalesLastYearmoneynot null((0.00))Sales total of previous year.
rowguiduniqueidentifiernot null(newid())ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.
AK_SalesPerson_rowguid
ModifiedDatedatetimenot null(getdate())Date and time the record was last updated.



RelationColumnReferenced Column
HumanResources.EmployeeSalesPersonIDEmployeeID
Sales.SalesTerritoryTerritoryIDTerritoryID

Detail TableColumnReferencing Column
Sales.SalesOrderHeaderSalesPersonIDSalesPersonID
Sales.SalesPersonQuotaHistorySalesPersonIDSalesPersonID
Sales.SalesTerritoryHistorySalesPersonIDSalesPersonID
Sales.StoreSalesPersonIDSalesPersonID

Reference TypeObject TypeReferencing ObjectChild TypeChild Object
SelectViewSales.vSalesPerson
SelectViewSales.vSalesPersonSalesByFiscalYears
UpdateTableSales.SalesOrderHeaderTriggeruSalesOrderHeader

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