|
<< Click to Display Table of Contents >> Navigation: iVend Database Database > Tables > TrxTransactionSalesPerson Table |
Navigation: iVend Database Database > Tables >
iVend 6.6 Database Help
TrxTransactionSalesPerson Table
Collapse All Expand All
iVend Database Database : TrxTransactionSalesPerson Table |
Description
Defines a list of all the users to whom a certain commission has been given as a part of a transaction.
Properties
Creation Date |
4/13/2015 12:00 PM |
File Group |
PRIMARY |
Text File Group |
|
System Object |
|
Published for Replication |
|
Rows |
0 |
Data Space Used |
0.00 KB |
Index Space Used |
0.00 KB |
Columns
|
Column Name |
Description |
Datatype |
Length |
Allow Nulls |
Default |
Formula |
|
TransactionSalesPersonKey |
System generated Primary Key |
VarWChar |
50 |
|
|
|
|
TransactionKey |
Reference Key of Transaction |
VarWChar |
50 |
|
|
|
|
Percentage |
The percentage of commission given to the sales person |
Numeric |
9 (20,5) |
|
|
|
|
UserKey |
Reference Key of User, the sales person who made the transaction. See also User |
VarWChar |
50 |
|
|
|
|
SourceKey |
Value is the key of the source selected. |
VarWChar |
50 |
|
|
|
|
Type |
Signifies the type of line item on which the sales person is applied. Valid values are: Transaction = 0 Sale = 1 Order = 2 Layaway = 3 Quotation = 4 |
Integer |
4 |
|
|
|
Indexes
Index |
Description |
Primary |
Unique |
|
|
|
|
|
|
|
|
|
|
|
Objects that depend on TrxTransactionSalesPerson
|
Database Object |
Object Type |
Description |
Dep Level |
|
Stored Procedure |
|
1 |
|
|
User Defined Function |
|
1 |
|
|
Stored Procedure |
|
1 |
|
|
View |
|
1 |
|
|
View |
|
1 |
SQL
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [dbo].[TrxTransactionSalesPerson]( [TransactionSalesPersonKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [TransactionKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [Percentage] [decimal](20, 5) NOT NULL, [UserKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [SourceKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [Type] [int] NOT NULL, CONSTRAINT [PK_TrxTransactionSalesPerson] PRIMARY KEY CLUSTERED ( [TransactionSalesPersonKey] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] |
See Also
© 2019 All Rights Reserved.
Send comments on this topic.