TrxTransactionSalesPerson Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

TrxTransactionSalesPerson Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

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

dbimages_boolean-false

Published for Replication

dbimages_boolean-false

Rows

0

Data Space Used

0.00 KB

Index Space Used

0.00 KB

Columns

 

Column Name

Description

Datatype

Length

Allow Nulls

Default

Formula

Primary Key

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

IX_TrxTransactionSalesPerson

 

 

 

IX_TrxTransactionSalesPerson_1

 

 

 

PK_TrxTransactionSalesPerson

 

dbimages_tick

dbimages_tick

Objects that depend on TrxTransactionSalesPerson

 

Database Object

Object Type

Description

Dep Level

Integration_Transaction procedure

Integration_Transaction

Stored Procedure

 

1

rptSalesTransactionDataWithSalesPerson function

rptSalesTransactionDataWithSalesPerson

User Defined Function

 

1

SalesAnalysisbySalesPersons procedure

SalesAnalysisbySalesPersons

Stored Procedure

 

1

vwAnalytics_Sales view

vwAnalytics_Sales

View

 

1

vwAnalytics_SalesPerson view

vwAnalytics_SalesPerson

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

Related Objects

iVend Database Database

 

 


© 2019 All Rights Reserved.

Send comments on this topic.