InvProductPriceManager Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

InvProductPriceManager Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

InvProductPriceManager Table

Collapse All Expand All

iVend Database Database : InvProductPriceManager Table

Description

Stores the information of Product price manager created in the system.

Properties

Creation Date

9/18/2015 10:05 AM

File Group

PRIMARY

Text File Group

PRIMARY

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

ProductPriceManagerKey

Primary Key

VarWChar

50

 

 

 

 

Id

Specify the Id of Product Price Manager

VarWChar

20

 

 

 

 

Description

Hold the description of product price manager

VarWChar

100

dbimages_tick

 

 

 

PriceListKey

Reference Key of Price List. See also PrcPriceList.

VarWChar

50

 

 

 

 

BasePriceListKey

Reference Key of Price List. See also PrcPriceList.

VarWChar

50

 

 

 

 

WarehouseKey

Reference Key of Warehouse. See also InvWarehouse.

VarWChar

50

 

 

 

 

AdjustPriceBy

Hold the Adjust Price By

Possible Values are

1. AsIs = 0,

2. Adding = 1,

3. Subtracting = 2,

4. Multiplying = 3,

5. Dividing = 4,

6. DirectAmount = 5

Integer

4

 

 

 

 

PriceMethod

Hold the price Method value

Possible values are

1. Amount = 0,

2. Percent = 1

Integer

4

 

 

 

 

PriceFactor

Hold the value od price factor

Numeric

9 (20,5)

 

 

 

 

RoundType

Hold the value of Rounding Type.

Possible values are

1. RoundUp = 0,

2. RoundDown = 1,

3. RoundToNearest = 2,

Integer

4

 

 

 

 

Rounding

Hold the values of rounding to round the price

Numeric

9 (20,5)

 

 

 

 

ReasonCodeKey

Reference Key of ReasonCode. See also CfgReasonCode.

VarWChar

50

 

 

 

 

CommentKey

Reference Key of Comment. See also CfgComment.

VarWChar

50

dbimages_tick

 

 

 

DraftMode

Value is True if the record in draft mode else false

Boolean

1

 

 

 

 

CreatedBy

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

VarWChar

50

 

 

 

 

Created

Date of creation of this record

DBTimeStamp

4

 

 

 

 

ModifiedBy

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

VarWChar

50

 

 

 

 

Modified

Date of last modification of this record

DBTimeStamp

4

 

 

 

 

IsDeleted

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

Boolean

1

 

 

 

 

SubsidiaryKey

Reference Key of Subsidiary. See also RtlSubsidiary.

VarWChar

50

dbimages_tick

((0))

 

 

RoundingOption

Value is the Rounding option for the Margin. Valid Values are :

RoundTo = 0,

EndsWith = 1

Integer

4

dbimages_tick

 

 

 

Comments

Stores comments.

VarWChar

4000

dbimages_tick

 

 

Indexes

Index

Description

Primary

Unique

PK_InvProductPriceManager

 

dbimages_tick

dbimages_tick

SQL

SET ANSI_NULLS ON

SET QUOTED_IDENTIFIER ON

CREATE TABLE [dbo].[InvProductPriceManager](

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

[Id] [nvarchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

[Description] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

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

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

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

[AdjustPriceBy] [int] NOT NULL,

[PriceMethod] [int] NOT NULL,

[PriceFactor] [decimal](20, 5) NOT NULL,

[RoundType] [int] NOT NULL,

[Rounding] [decimal](20, 5) NOT NULL,

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

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

[DraftMode] [bit] NOT NULL,

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

[Created] [datetime] NOT NULL,

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

[Modified] [datetime] NOT NULL,

[IsDeleted] [bit] NOT NULL,

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

[RoundingOption] [int] NULL,

[Comments] [nvarchar](4000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

CONSTRAINT [PK_InvProductPriceManager] PRIMARY KEY CLUSTERED

(

[ProductPriceManagerKey] 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].[InvProductPriceManager] ADD CONSTRAINT [DF__InvProduc__Subsi__6FAA73D4] DEFAULT ((0)) FOR [SubsidiaryKey]

See Also

Related Objects

iVend Database Database

 

 


© 2019 All Rights Reserved.

Send comments on this topic.