PrcPriceMatrix Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

PrcPriceMatrix Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

PrcPriceMatrix Table

Collapse All Expand All

iVend Database Database : PrcPriceMatrix Table

Description

Defines the list of products that are associated with each price list. It is also integrated through ERP.

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

10230

Data Space Used

2,000.00 KB

Index Space Used

1,032.00 KB

Columns

 

Column Name

Description

Datatype

Length

Allow Nulls

Default

Formula

Primary Key

PriceMatrixKey

Primary Key

VarWChar

50

 

 

 

 

PriceListKey

Reference key of price list. See also PriceList

VarWChar

50

 

 

 

 

ProductKey

Reference key of product. See also Product

VarWChar

50

 

 

 

 

Price

Price of product

Numeric

9 (20,5)

 

 

 

 

Created

Date of creation of this record

DBTimeStamp

4

 

 

 

 

Modified

Date of last modification of this record

DBTimeStamp

4

 

 

 

 

CreatedBy

Reference of user who has created this record. See also Security User

VarWChar

50

 

 

 

 

ModifiedBy

Reference of user who has modified this record. See also Security User

VarWChar

50

 

 

 

 

IsDeleted

Value is True if the record has been deleted from the system. Record is always Soft Deleted

Boolean

1

 

 

 

 

FromDate

Date From which the Price List would get applied

DBTimeStamp

4

dbimages_tick

 

 

 

ToDate

Date Till which the Price List would be available

DBTimeStamp

4

dbimages_tick

 

 

 

CurrencyKey

Refernce key of currency, in which payment would be accepted

VarWChar

50

 

((0))

 

 

Price1

FUTURE USE

Numeric

9 (20,5)

dbimages_tick

 

 

 

CurrencyKey1

FUTURE USE

VarWChar

50

dbimages_tick

 

 

 

Price2

FUTURE USE

Numeric

9 (20,5)

dbimages_tick

 

 

 

CurrencyKey2

FUTURE USE

VarWChar

50

dbimages_tick

 

 

Indexes

Index

Description

Primary

Unique

IX_PrcPriceMatrix

 

 

 

PK_PrcPriceMatrix

 

dbimages_tick

dbimages_tick

Objects that depend on PrcPriceMatrix

 

Database Object

Object Type

Description

Dep Level

GetMobileReplicationData procedure

GetMobileReplicationData

Stored Procedure

 

1

GetUOMPriceMatrix procedure

GetUOMPriceMatrix

Stored Procedure

 

1

Integration_InventoryItemPrice procedure

Integration_InventoryItemPrice

Stored Procedure

 

1

InventoryCount_Save procedure

InventoryCount_Save

Stored Procedure

 

1

Trg_ReplicationTransactionMobile trigger

Trg_ReplicationTransactionMobile

Trigger

 

1

uspGetItemPrice procedure

uspGetItemPrice

Stored Procedure

 

1

uspGetItemSpecialPrice procedure

uspGetItemSpecialPrice

Stored Procedure

Determines the price of the Product for the customer specified and other parameters

1

SQL

SET ANSI_NULLS ON

SET QUOTED_IDENTIFIER ON

CREATE TABLE [dbo].[PrcPriceMatrix](

[PriceMatrixKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

[PriceListKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

[ProductKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

[Price] [numeric](20, 5) NOT NULL,

[Created] [datetime] NOT NULL,

[Modified] [datetime] NOT NULL,

[CreatedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

[ModifiedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

[IsDeleted] [bit] NOT NULL,

[FromDate] [datetime] NULL,

[ToDate] [datetime] NULL,

[CurrencyKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

[Price1] [numeric](20, 5) NULL,

[CurrencyKey1] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[Price2] [numeric](20, 5) NULL,

[CurrencyKey2] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

CONSTRAINT [PK_PrcPriceMatrix] PRIMARY KEY CLUSTERED

(

[PriceMatrixKey] ASC

)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]

) ON [PRIMARY]

ALTER TABLE [dbo].[PrcPriceMatrix] ADD CONSTRAINT [DF_PrcPriceMatrix_CurrencyKey] DEFAULT ((0)) FOR [CurrencyKey]

See Also

Related Objects

iVend Database Database

 

 


© 2019 All Rights Reserved.

Send comments on this topic.