CusCustomerAddress Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

CusCustomerAddress Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

CusCustomerAddress Table

Collapse All Expand All

iVend Database Database : CusCustomerAddress Table

Description

Defines the address details for each customer

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

CustomerAddressKey

System generated Primary key of the table.

VarWChar

50

 

 

 

 

CustomerKey

Refers to the customer.See also Customer

VarWChar

50

 

 

 

 

AddressKey

Refers to the customer's address.See also address

VarWChar

50

 

 

 

 

AddressType

Refers to the type of address

Valid values are:

None = 0 BillingAddress = 1 ShippingAddress = 2

Integer

4

 

 

 

 

IsDefault

Flag to mark the default address of the customer.

Boolean

1

 

 

 

Indexes

Index

Description

Primary

Unique

IX_CusCustomerAddress

 

 

 

PK_CusCustomerAddress

 

dbimages_tick

dbimages_tick

Objects that depend on CusCustomerAddress

 

Database Object

Object Type

Description

Dep Level

rptSalesTransactionData function

rptSalesTransactionData

User Defined Function

 

1

SQL

SET ANSI_NULLS ON

SET QUOTED_IDENTIFIER ON

CREATE TABLE [dbo].[CusCustomerAddress](

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

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

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

[AddressType] [int] NOT NULL,

[IsDefault] [bit] NOT NULL,

CONSTRAINT [PK_CusCustomerAddress] PRIMARY KEY CLUSTERED

(

[CustomerAddressKey] 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.