InvProductGrossMargin Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

InvProductGrossMargin Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

InvProductGrossMargin Table

Collapse All Expand All

iVend Database Database : InvProductGrossMargin Table

Description

Stores the master data for the product gross margin

Properties

Creation Date

9/18/2015 10:05 AM

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

ProductGrossMarginKey

Primary Key

VarWChar

50

 

 

 

 

Id

Specify the Id of Product Gross Margin

VarWChar

20

 

 

 

 

Description

Hold the description of product gross margin

VarWChar

100

dbimages_tick

 

 

 

PriceListKey

Reference Key of Price List. See also PrcPriceList.

VarWChar

50

dbimages_tick

 

 

 

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)

 

 

 

 

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

 

 

Indexes

Index

Description

Primary

Unique

PK_InvProductGrossMargin

 

dbimages_tick

dbimages_tick

SQL

SET ANSI_NULLS ON

SET QUOTED_IDENTIFIER ON

CREATE TABLE [dbo].[InvProductGrossMargin](

[ProductGrossMarginKey] [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 NULL,

[RoundType] [int] NOT NULL,

[Rounding] [decimal](20, 5) NOT 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,

CONSTRAINT [PK_InvProductGrossMargin] PRIMARY KEY CLUSTERED

(

[ProductGrossMarginKey] 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].[InvProductGrossMargin] ADD CONSTRAINT [DF__InvProduc__Subsi__709E980D] DEFAULT ((0)) FOR [SubsidiaryKey]

See Also

Related Objects

iVend Database Database

 

 


© 2019 All Rights Reserved.

Send comments on this topic.