<< Click to Display Table of Contents >> Navigation: iVend Database Database > Views > vwAnalytics_POS View |
Navigation: iVend Database Database > Views >
iVend 6.6 Database Help
vwAnalytics_POS View
Collapse All Expand All
iVend Database Database : vwAnalytics_POS View |
Properties
Creation Date |
4/13/2015 12:00 PM |
Is Schema Bound |
|
Encrypted |
|
Ansi Nulls |
Columns
|
Column Name |
Description |
Datatype |
Length |
Allow Nulls |
Default |
Formula |
|
Id |
|
VarWChar |
20 |
|
|
|
|
POSKey |
|
BigInt |
8 |
|
|
|
|
POSId |
|
VarWChar |
20 |
|
|
|
|
POS |
|
VarWChar |
100 |
|
|
|
|
StoreKey |
|
BigInt |
8 |
|
|
|
|
DepartmentKey |
|
BigInt |
8 |
|
|
|
Objects that vwAnalytics_POS depends on
|
Database Object |
Object Type |
Description |
Dep Level |
Table |
Stores the site information. Enterprise always has the site id as 1. System Table Warning : Should not be modified directly |
1 |
||
Table |
Contains details about all POS defined in the system. |
1 |
||
Table |
Contains the details of Stores defined in the system. |
1 |
View Definition
CREATE VIEW [dbo].[vwAnalytics_POS] as SELECT P.Id, P.POSKey, P.Id POSId, P.Description POS, P.StoreKey, P.DepartmentKey FROM RtlPOS P INNER JOIN (SELECT TOP 1 SiteId from CfgSiteInformation) As T5 on 1=1 LEFT OUTER JOIN RtlStore T6 ON T5.SiteId = t6.SiteId WHERE P.StoreKey = CASE WHEN T5.SiteId =1 THEN P.StoreKey ELSE T6.StoreKey END |
See Also
© 2019 All Rights Reserved.
Send comments on this topic.