InvProductCost Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

InvProductCost Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

InvProductCost Table

Collapse All Expand All

iVend Database Database : InvProductCost Table

Description

Store the historical cost of the product.

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

ProductCostKey

Primary key for the table

VarWChar

50

 

 

 

 

InventoryItemKey

Reference key for the Inventory item

VarWChar

50

 

 

 

 

EffectiveDate

Value is the date from which the product cost will get effective

DBTimeStamp

4

 

 

 

 

Cost

Value is the cost of the product

Numeric

9 (20,5)

 

 

 

 

ProductKey

Reference key for the product

VarWChar

50

 

 

 

 

WarehouseKey

Reference key for the warehouse

VarWChar

50

 

 

 

 

Created

Date of creation of this record

DBTimeStamp

4

 

 

 

 

Modified

Date of last modification of this record

DBTimeStamp

4

dbimages_tick

 

 

 

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

dbimages_tick

 

 

 

IsDeleted

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

Boolean

1

 

((0))

 

 

SubsidiaryKey

Reference key of the Subsidiary. See also Subsidiary

VarWChar

50

dbimages_tick

((0))

 

Indexes

Index

Description

Primary

Unique

PK_InvProductCost

 

dbimages_tick

dbimages_tick

Objects that depend on InvProductCost

 

Database Object

Object Type

Description

Dep Level

BreakBuildKit procedure

BreakBuildKit

Stored Procedure

 

1

Daily_ProductCost function

Daily_ProductCost

User Defined Function

 

1

DailySaleSummary function

DailySaleSummary

User Defined Function

 

1

GetMobileReplicationData procedure

GetMobileReplicationData

Stored Procedure

 

1

vw_GrossProfit view

vw_GrossProfit

View

 

1

vw_InventoryCost view

vw_InventoryCost

View

 

1

vw_ProductCost view

vw_ProductCost

View

 

1

SQL

SET ANSI_NULLS ON

SET QUOTED_IDENTIFIER ON

CREATE TABLE [dbo].[InvProductCost](

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

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

[EffectiveDate] [datetime] NOT NULL,

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

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

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

[Created] [datetime] NOT NULL,

[Modified] [datetime] NULL,

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

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

[IsDeleted] [bit] NOT NULL,

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

CONSTRAINT [PK_InvProductCost] PRIMARY KEY CLUSTERED

(

[ProductCostKey] 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].[InvProductCost] ADD CONSTRAINT [DF_InvProductCost_IsDeleted] DEFAULT ((0)) FOR [IsDeleted]

ALTER TABLE [dbo].[InvProductCost] ADD CONSTRAINT [DF__InvProduc__Subsi__7C9A5A9E] DEFAULT ((0)) FOR [SubsidiaryKey]

See Also

Related Objects

iVend Database Database

 

 


© 2019 All Rights Reserved.

Send comments on this topic.