Vous êtes sur la page 1sur 22

AVANZA Solutions

Magic Screen
Logical Data Model
Version 1.0

MS LDM Version: 1.0

Document #: DEV-001-REP-028

Document Information Document Title: Document File Name: Issued By: Created Date: Reviewed By: Approved By: Status: MS Data Dictionary MS_Data_Dictionary.doc Muhammad Asif Baloch 22/02/2010 Muhammad Asif Baloch Document

Revision History Revision Date Author(s) Description

Avanza Solutions (Pvt.) Ltd, All rights reserved

MS LDM Version: 1.0

Document #: DEV-001-REP-028

Table of Contents
1. Introduction.................................................................................................1 1.1 Purpose..................................................................................................1 1.2 Scope ...................................................................................................1 1.3 Reference Documents..............................................................................1 2. Magic Screen Logical Data Model....................................................................2

Avanza Solutions (Pvt.) Ltd, All rights reserved

MS LDM Version: 1.0

Document #: DEV-001-REP-028

1. Introduction
1.1 Purpose
This document contains the data dictionary for the Magic Screen applications database.

1.2 Scope
This document is aimed to highlight the main definitions and transactions of the MS data which are part of Magic Screen.

1.3 Reference Documents


The document is aimed for the database administrators and users to achieve their task more efficiently and effectively for understanding that Magic Screen database details.

Avanza Solutions (Pvt.) Ltd, All rights reserved

MS LDM Version: 1.0

Document #: DEV-001-REP-028

2. Magic Screen Logical Data Model


The following tables can be used to better understand MS database:
Table Name Columns Name Data Type Siz e Allo w Null Default Value Relationship (Table[Columns]) Description

Data Source: Magic Screen Portlet: Upsell history Usage: Highly Active table. Query join with Upsell Bulk extract table based on UPSH_CAMP_ID, UPSH_COMM_ID and UPSH_OCC_ID Reporting: Yes Query Types: Selects and Inserts Select Query Criteria: 1. MSISDN Archiving Required: Yes PROV_HISTORY Surrogate Key for identification of a record. UPSH_ID numeric 18 ++1 [PROVH_UPSH_ID] Being generated using an Oracle Sequence UPSH_MSISDN Varchar 20 Customer cell phone number UPSH_CAMP_ID UPSH_COMM_ID UPSH_OCC_ID UPSH_TEMPL_ID UPSH_USER_ID (FK) UPSH_USR_MGR_ID (FK) UPSH_USR_DPT_ID (FK) UPSH_DATE UPSH_NOTES UPSH_CALL_GEN_ID UPBNS_CALC_ID (FK) UPSH_CURR_POINTS UPSH_CURR_PRIORIT Y UPSLA_ID (FK) PROD_INTRNL_ID (FK) Numeric Numeric Numeric Numeric Numeric Numeric Numeric Date Varchar Varchar Numeric Numeric Numeric Numeric Numeric 100 30 10 18 10 10 10 15 15 15 5 10 10 10

Up sell History


SYSDATE

Campaign Id Communication Id Occurrence Id Template Id from TEMPLATE_CAMP Table User internal id from Users table. For indication of user who did the up sell User internal id from Users table. For indication of manager for a user who did the up sell Department Id from Department table. For indication of department/team the user belongs to. Upsell Date and Time value Notes entered by an agent at the time of up sell. Call Genesys ID being passed from ADT(For future use) Bonus Formula calculation id from UPSEL_BNS_PNT_CALC table Points for the product at the time of up sell Priority of campaign at the time of up sell Upsell Action Id from UPSEL_ACTION table. Possible values Accept/Reject Product internal id from PRODUCTS table.

Avanza Solutions (Pvt.) Ltd, All rights reserved

MS LDM Version: 1.0

Document #: DEV-001-REP-028

Data Source: Magic Screen Portlet: Products Activation/Deactivation Usage: Highly Active table. Reporting: Yes Query Types: Selects, Inserts and Updates Select Query Criteria: 1. PROVH_MSISDN 2. PROVH _MSISDN, PROVH_UPDTD_STATUS Update Query Criteria: 1. PROVH_MSISDN, PROVH_TRANS_CODE Archiving Required: Yes Surrogate Key for identification of a record. PROV_HIST_ID numeric 18 ++1 Being generated using an Oracle Sequence PROVH_MSISDN Varchar 20 Customer cell phone number Unique Transaction code. Being generated from PROVH_TRANS_CODE Numeric 18 ++1 sequence. This transaction code is also being shared with prov system Call Genesys ID being passed from ADT(For PROVH_CALL_GEN_ID Varchar 30 future use) Error code from ERR_CODE table. This error PROVH_INIT_STATUS Varchar 10 code is returned from Prov system PROVH_INIT_DATE Date 10 DateTime at the time of provisiong SYSDATE Error code from ERR_CODE table. This error PROVH_UPDTD_STATU Varchar 10 code is returned from Prov system. This status S is updated during bulk fetch. PROVH_UPDATED_DA Date 10 DateTime at the time of updating status SYSDATE TE PROVH_USER_ID Numeric 10 User internal id from Users table. PROVH_UPSH_ID PROVH_REQ_TYPE Numeric Numeric 18 10

PROV_HISTORY

CAMP_PRIORITY

PROD_INTRNL_ID Numeric 10 Data Source: Magic Screen Admin Screen(Lookup table for Campaign priorities) Portlet: NA Usage: Normal Reporting: Yes Query Types: Selects, Inserts and Updates Select Query Criteria: CP_CAMP_ID Update Query Criteria: CP_CAMP_ID TEMPLATE_CAMP CP_INTRNL_ID (PK) Numeric 15 ++1 [CP_INTRNL_ID] CP_CAMP_ID Numeric 15

Upsell history id from PROV_HISTORY table Request type id from REQ_TYPE table. Possible values Activate or De Activate Product internal id from PRODUCTS table.

Surrogate key generated using a sequence

Campaign id manually input from MS Admin screen Campaign priority manually input from MS CP_PRIORITY Numeric 10 Admin screen DateTime value at the time of creation of CP_CREATED_DATE Date 10 SYSDTAE campaign priority DateTime value at the time of updating of CP_UPDATED_DATE Date 10 SYSDTAE campaign priority PROD_INTRNL_ID Numeric 10 Product internal id from PRODUCTS table. Data Source: Magic Screen Admin Screen(Lookup table for Products codes and names) Portlet: NA Usage: NA Reporting: Yes Query Types: Selects, Inserts and Updates Select Query Criteria: Product Internal Id Update Query Criteria: PROD_CODE and PROD_INTRNL_ID PROD_INTRNL_ID(PK) Numeric 10 ++1 UPSELL_HISTORY Surrogate key generated using a sequence [PROD_INTRNL_ID] PROV_HISTORY

PRODUCTS

Avanza Solutions (Pvt.) Ltd, All rights reserved

MS LDM Version: 1.0

Document #: DEV-001-REP-028

[PROD_INTRNL_ID] CAMP_PRIORITY [PROD_INTRNL_ID] PROD_CODE PROD_NAME PROD_POINTS Numeric Varchar Numeric 10 50 18

UPSEL_ACTION

PROD_DESC varchar 100 PROD_EXCLSVE_INTR Numeric 10 NL_ID PROD_CREATED_DAT Date 8 Product creation date time value E PROD_UPDATED_DAT Date 8 Product creation date time value E Data Source: Magic Screen Admin Screen(Lookup table for Upselling Action (Accept/Reject)) Portlet: NA Usage: Low Reporting: Yes Query Types: Selects, Inserts and Updates Select Query Criteria: UPSLA_ID Update Query Criteria: UPSLA_ID UPSELL_HISTORY UPSLA_ID(PK) Numeric 10 ++1 Surrogate key generated using a sequence [UPSLA_ID] UPSLA_NAME Varchar 30

Unique product code which will be added manually from MS admin screen Product name against each product code Product points which will be used in points calculation for commissioning Product description Product internal id in case if a product is mutually exclusive with another product

Possible values (Accept/Reject)

REQ_TYPE

Data Source: Magic Screen Admin Screen(Lookup table for provisioning history, possible values (Activate/De Activate)) Portlet: NA Usage: Low Reporting: Yes Query Types: Selects, Inserts and Updates Select Query Criteria: RT_ID Update Query Criteria: RT_ID PROV_HISTORY RT_ID(PK) Numeric 10 ++1 Surrogate key generated using a sequence [PROVH_REQ_TYPE] RT_DESC Varchar 50

Request Type description

Te

REQ_TYPE Data Source: Magic Screen Admin Screen(Lookup table for Templates used in Upselling) Portlet: NA

Avanza Solutions (Pvt.) Ltd, All rights reserved

MS LDM Version: 1.0

Document #: DEV-001-REP-028

Usage: Low Reporting: Yes Query Types: Selects, Inserts and Updates Select Query Criteria: Template_Id Update Query Criteria: Template_Id Template_Id(PK) Template_Title Template_Message Numeric Varchar CLOB CLOB CHAR CHAR CHAR CHAR CHAR CHAR CHAR CHAR 10 100 NA NA 1 1 1 1 1 1 1 1

++1

TEMPLATE_CAMP [TEMPLATE_ID]

Surrogate key generated using a sequence Template Title visible on portlet Details message in the template For future use For future use For future use For future use For future use For future use For future use For future use For future use

mplate TEMPLATE_CAMP

Template_Message_ar Template_Is_Complaint Template_Is_Sales Template_Is_EForm Template_Is_SMS Template_Is_Email Template_Is_Fax Template_Is_Letter Template_Is_Campaign

Template_Is_MessageCe CHAR 1 For future use nter Data Source: Magic Screen Admin Screen(Lookup table for Templates and Campaigns relationship table) Portlet: NA Usage: Low Reporting: Yes Query Types: Selects, Inserts and Updates Select Query Criteria: Template_Id, CP_INTRNL_ID Update Query Criteria: Template_Id, CP_INTRNL_ID Template_Id(PK) CP_INTRNL_ID(PK) TC_CRTD_DATE TC_UPDATED_DATE Numeric Numeric Date Date 10 15 10 10

FK from TEMPLATE table. FK from CAMP_PRIORITY table SYSDATE SYSDATE Creation date and time value Updating date and time vaue

SCRIPT

Data Source: Magic Screen Admin Screen(Lookup table for Agent scripting) Portlet: Agent Scripting Usage: Normal Reporting: No Query Types: Selects, Inserts and Updates Select Query Criteria: Script_Id, Node_Id Update Query Criteria: Script_Id, Node_Id Script_Id(PK) Node_Id(FK) Script_Description Numeric Numeric Text 10 10
CL OB

++1

Surrogate key generated using a sequence Foreign key from NODE table. Descriptive Script vallue

Avanza Solutions (Pvt.) Ltd, All rights reserved

MS LDM Version: 1.0

Document #: DEV-001-REP-028

NODE

Data Source: Magic Screen Admin Screen(Lookup table for Nodes (Agent Scripting Trees)) Portlet: Agent Scripting Usage: Normal Reporting: No Query Types: Selects, Inserts and Updates Select Query Criteria: Node_Id Update Query Criteria: Node_Id [SCRIPT] Node_Id Numeric 10 ++1 Surrogate key generated using a sequence Node_Id Node_Name_Arabic Node_Name Parent_Id Varchar Varchar Numeric 100 100 10

For future use Tree Name Parent Tree node if any

ERROR_CODES

Data Source: Magic Screen Admin Screen(Lookup table for Error codes returned from Provisioning system) Portlet: NA Usage: Normal Reporting: Yes Query Types: Selects, Inserts and Updates Select Query Criteria: ERR_CODE Update Query Criteria: ERR_CODE [PROV_HISTORY] PROVH_INIT_STATU ERR_CODE(PK) Numeric 10 S Unique Error codes returned from Prov system PROVH_UPDTD_STA TUS ERR_DESC ERROR_TYPE Varchar Varchar 200 20

Name/Desc of error Business or Application

USAGE_TYPE

Data Source: Magic Screen Admin Screen (Lookup table for Usage Type. This mapping will be used in Used VAS portlets) Portlet: NA Usage: Normal Reporting: Yes Query Types: Selects, Inserts and Updates Select Query Criteria: UT_ID Update Query Criteria: UT_ID UT_ID(PK) UT_NAME UT_PROD_NAME Numeric Varchar Varchar 10 100 100

++1

Surrogate key generated using a sequence Usage type name Usage type product name

PRO

Data Source: Magic Screen Admin Screen (Lookup table for provisioning system status. Up, Down etc.) Portlet: NA Usage: Normal

Avanza Solutions (Pvt.) Ltd, All rights reserved

MS LDM Version: 1.0

Document #: DEV-001-REP-028

V_SYS_STATUS

Reporting: Yes Query Types: Selects, Inserts and Updates Select Query Criteria: PSS_ID Update Query Criteria: PSS_ID PSS_ID(PK) PSS_STATUS Numeric Varchar 10 30

++1

[PROV_SYSTEM_LO G] PSL_STATUS

Surrogate key generated using a sequence

PROV_SYSTEM_LOG

Data Source: Magic Screen (Prov system log maintained for the status of availability of prov system) Portlet: NA Usage: High Reporting: Yes Query Types: Inserts Select Query Criteria: NA Update Query Criteria: NA Archiving Required: Yes PSL_ID(PK) PSL_INIT_DATE PSL_END_DATE PSL_STATUS (FK) Numeric Date Date Numeric 18 10 10 10

++1

Surrogate key generated using a sequence

Prov system status id as FK from PROV_SYS_STATUS table

UPSEL_BNS_PNT_CALC

Data Source: Magic Screen Admin Screen (Lookup table for bonus calculation formula will be used during upselling or for reporting.) Portlet: NA Usage: Normal Reporting: Yes Query Types: Inserts, Updates and Select Select Query Criteria: UPBNS_CALC_ID Update Query Criteria: UPBNS_CALC_ID [UPSELL_HISTORY] UPBNS_CALC_ID(PK) Numeric 10 ++1 Surrogate key generated using a sequence UPBNS_CALC_ID UPBNS_CALC_COND_ Varchar 10 Operator 1 in bonus calc formula OPR_1 UPBNS_CALC_COND_ Varchar 10 Operator 2 in bonus calc formula OPR_2 UPBNS_CALC_UPS_TH Numeric 18 Threshold value after which bonus is valid RSHLD UPBNS_CALC_COND_P Varchar 10 Percentage to be used in bonus calc formula ERC UPBNS_CALC_CRTD_D Date 10 Formula created date ATE UPBNS_CALC_UPDATE Date 10 Formula updated date D_DATE UPBNS_CALC_NAME Varchar 50 Formula Name

Avanza Solutions (Pvt.) Ltd, All rights reserved

MS LDM Version: 1.0

Document #: DEV-001-REP-028

USER_UPSELL_POINTS

Data Source: Magic Screen (Used for agent points calculated during upsell) Portlet: NA Usage: High Reporting: Yes Query Types: Inserts and Updates Select Query Criteria: NA Update Query Criteria: UUP_USER_ID and UUP_CREATED_DATE Archiving Required: Yes UUP_ID(PK) UUP_USER_ID(FK) UUP_UPSL_PTS UUP_BONUS_PTS UUP_TOT_UPSL_PTS UUP_CREATED_DATE UUP_UPDATED_DATE Numeric Numeric Numeric Numeric Numeric Date Date 10 10 18 18 10 10 10

++1

Surrogate key generated using a sequence User internal Id as FK from Users table. Upsel points with increment of each upsel points during upselling Bonus points calculation during upsell if applicable Total upsel points including bonus points Points calculation start date Points calculation update date

PORTLETS

Data Source: Magic Screen (Lookup table for portlets) Portlet: NA Usage: Low Reporting: No Query Types: Selects, Inserts and Updates Select Query Criteria: PORTLET_ID Update Query Criteria: PORTLET_ID PORTLET_ID(PK) PORTLET_TITLE PORTLET_WIDTH PORTLET_HEIGHT PORTLET_POSITION PORTLET_URL PORTLET_IS_VISIBLE PORTLET_IS_DEFAULT PORTLET_NUM_ROWS PORTLET_NUM_COLM S PORTLET_ICON_CLAS S Numeric Varchar Numeric Numeric Numeric Varchar CHAR CHAR Numeric Numeric Varchar 10 50 10 10 10 100 1 1 10 10 20

++1

Surrogate key generated using a sequence Title of a portlet Portlet width (For future use) Portlet Height (For future use) Portlet Position Portlet URL If portlet will be visible of hidden (For future use) If portlet is default (For future use) Number of rows in portlet (For future use) Number of columns in portlet (For future use) Portlet icon class

Avanza Solutions (Pvt.) Ltd, All rights reserved

MS LDM Version: 1.0

Document #: DEV-001-REP-028

PORTLET_IS_SRCHABL E PORTLET_IS_REFRSH ABLE

CHAR CHAR

1 1

If portlet will be used for searching using MSISDN (For future use) If portlet is refreshable. (For future use)

UPSELL_CALENDAR

Data Source: Magic Screen Admin Screen(Lookup table for commissioning calendar) Portlet: NA Usage: Low Reporting: No Query Types: Selects, Inserts and Updates Select Query Criteria: UC_ID Update Query Criteria: UC_ID UC_ID(PK) UC_START_DTAE UC_END_DATE Numeric Date Date 10 10 10

++1

Surrogate key generated using a sequence Calendar Start Date Calendar End Date

Data Source: Magic Screen Admin Screen(Lookup table for Magic Screen configurations) Portlet: NA Usage: Normal Reporting: No Query Types: Selects, Inserts and Updates Select Query Criteria: MC_ID Update Query Criteria: MC_ID

MSCONFIG

MC_ID MC_NAME MC_VALUE

Numeric Varchar Varchar

5 100 50

++1

Surrogate key generated using a sequence

Users

Data Source: Magic Screen Admin Screen(Lookup table for Magic Screen users) Portlet: NA Usage: High Reporting: Yes Query Types: Selects, Inserts and Updates Select Query Criteria: User_Internal_Id, User_Id Update Query Criteria: User_Internal_Id, User_Id User_Internal_Id (PK) Numeric 10 ++1 Audit_Log
[audit_log_user_intrenal _id]

Surrogate key generated using a sequence

Call [Call_Officer_Id]

Avanza Solutions (Pvt.) Ltd, All rights reserved

MS LDM Version: 1.0

Document #: DEV-001-REP-028

User_Permissions [User_Internal_id] User_Roles [User_Roles_ User_Internal_id] User_Upsell_Points [uup_user_id] Upsell_History [UPSH_User_id] Upsell_History [UPSH_Usr_MGR_Id] Prov_History [PROVH_User_Id] User_Id User_Logged_In User_Name User_Password User_Email User_Passivate User_Internal_City_Id (FK) User_Internal_Departm ent_Id (FK) User_User_Status_Id User_Is_First_Login User_Incorrect_Login_Co unt User_Passivate_Reason User_Last_Login Varchar char Varchar Varchar Varchar char Numeric Numeric Numeric Numeric Numeric Varchar Date 100 1 100 100 249 1 10 10 10 10 10 500 8


0 0 1/1/1900 City [City_Id] Department [Department_id]

User Id use to Login in ADT Possible values 0 or 1 User Name User Password encrypted User Email Address User disabled Use City_id as FK Use Department_id as FK User current status, logged in, logged out etc. 1 for first time log into ADT otherwise 0 Required to prompt Change Password 1 means not properly logged in User last login date time Date & Time when user last logged in Date when User Account created User Genesys Password

Permission

User_CreatedOn Date 8 User_Password_For_Ge Varchar 50 User_Id nesis Data Source: Magic Screen Admin Screen(Lookup table for permissions of users) Portlet: NA Usage: High Reporting: Yes Query Types: Selects, Inserts and Updates Select Query Criteria: Permission_Id Update Query Criteria: Permission_Id Role_Permissions [Role_Permissions_Pe rmission_Id]

Permission_Id (PK) Permission_Name Permission_Description

Numeric
nvarchar nvarchar

10 200 200

++1

Surrogate key generated using a sequence Name of Permission Description of Permission

Avanza Solutions (Pvt.) Ltd, All rights reserved

10

MS LDM Version: 1.0

Document #: DEV-001-REP-028

Data Source: Magic Screen Admin Screen(Lookup table for users Roles) Portlet: NA Usage: Normal Reporting: Yes Query Types: Selects, Inserts and Updates Select Query Criteria: Role_Id Update Query Criteria: Role_Id Role_Permissions Role_Id (PK) Numeric 10 ++1 [Role_Permissions_Role_
Id]

Role

Surrogate key generated using a sequence Name of Role Description of Role

Role_Name Role_Description

nvarchar nvarchar

30 50

ROLE_PERMISSIONS

Data Source: Magic Screen Admin Screen(Lookup table for Roles permissions) Portlet: NA Usage: Normal Reporting: No Query Types: Selects, Inserts and Updates Select Query Criteria: Role_Permission_Role_Id,Role_Permission_Permission_Id Update Query Criteria: Role_Permission_Role_Id,Role_Permission_Permission_Id Role_Permissions_Role Numeric 10 _Id (PK) Role_Permissions_Per mission_Id (PK) Mandatory Numeric bit 10 1

FK from Roles table FK from Permissions table

Determine the necessity of Permission for the Role. 1 for mandatory otherwise 0

User_Permissions

Data Source: Magic Screen Admin Screen(Lookup table for users permissions) Portlet: NA Usage: Normal Reporting: Yes Query Types: Selects, Inserts and Updates Select Query Criteria: User_Internal_Id, Permission_Id Update Query Criteria: User_Internal_Id,Permission_Id User_Internal_id (PK) Permissions_Id (PK) Mandatory Numeric Numeric char 10 10 1

Users [User_Internal_id]

Table use to track users permissions Use User_Internal_id as FK. Contains Permission id FK from Permissions table Determine the necessity of Permission for the Role. 1 for mandatory otherwise 0

Avanza Solutions (Pvt.) Ltd, All rights reserved

11

MS LDM Version: 1.0

Document #: DEV-001-REP-028

User_Role

Data Source: Magic Screen Admin Screen(Lookup table for users and their roles) Portlet: NA Usage: Normal Reporting: Yes Query Types: Selects, Inserts and Updates Select Query Criteria: User_Internal_Id, Permission_Id Update Query Criteria: User_Internal_Id,Permission_Id User_Roles_User_Inter nal_Id (PK) User_Roles_Role_Id (PK) Numeric Numeric 10 10

Users [User_Internal_id] Role [Role_id]

Table use to maintain relationship b/w User and Role Use User_Internal_id as FK. Use Role_id as FK

General_Marketing_Message

Data Source: Magic Screen Admin Screen(Lookup table for Marketing message (For future use)) Portlet: NA Usage: Normal Reporting: No Query Types: Selects, Inserts and Updates Select Query Criteria: General_Marketing_Message_Id Update Query Criteria: General_Marketing_Message_Id General_Marketing_Me Numeric 10 ++1 Surrogate key generated using a sequence ssages_Id (PK) General_Marketing_Mes datetim 8 Start Date of Marketing Message sages_Start_Date e General_Marketing_Mes sages_End_Date General_Marketing_Mes sages_Description General_Marketing_Mes sages_StartTime General_Marketing_Mes sages_EndTime Channel datetim e
nvarchar

8
100 0

End Date of Marketing Message Marketing Text Start Time of Marketing Message End Time of Marketing Message Determine inbound, outbound or Email channel

datetim e datetim e Numeric

8 8 10

Audit_Log

Data Source: Magic Screen Admin Screen(Audit log for logging of changes in admin module) Portlet: NA Usage: High Reporting: Yes Query Types: Inserts Select Query Criteria: NA Update Query Criteria: NA Archiving Required: No Audit_Log_Internal_Id Numeric 18 ++1 Surrogate key generated using a sequence (PK) Audit_Log_Module_Nam nvarchar 50 Module Name like User Management etc e nvarchar Audit_Log_Sub_Module_ 50 Sub Module like Users, Role

Avanza Solutions (Pvt.) Ltd, All rights reserved

12

MS LDM Version: 1.0

Document #: DEV-001-REP-028

Name Audit_Log_User_Internal _Id Audit_Log_Date Audit_Log_Time

Numeric datetim e datetim e

10 8 8

Users [User_Internal_id]

Use User_Internal_id as FK User who perform change Date when any change performed Time when any change performed Description of Action/Change occured

Department

Audit_Log_Action_Descri text 16 ption Data Source: Magic Screen Admin Screen(Lookup table for users departments) Portlet: NA Usage: High Reporting: Yes Query Types: Selects, Inserts and Updates Select Query Criteria: Deprtment_Id Update Query Criteria: Deprtment_Id Users Department_Id (PK) Numeric 10 ++1 [User_Internal_Depart ment_id] Department_Description
nvarchar

Surrogate key generated using a sequence Description about the Department

50

Business Data: Lookup table for table mappings [For future use] Portlet: NA Table_Mapping_Id (PK) Numeric 10 ++1

Surrogate key generated using a sequence Name of the table mapped Alias of the table in English Alias of the table in Arabic

Table_Mapping

Table_Mapping_Name Table_Mapping_Alias Table_Mapping_Alias_Ar abic

nvarchar nvarchar nvarchar

250 250 250

Table

Business Data: Lookup table for table columns mappings [For future use] Portlet: NA Table_Fields_Mapping_ Numeric 10 ++1 Id (PK)

Surrogate key generated using a sequence

Avanza Solutions (Pvt.) Ltd, All rights reserved

13

MS LDM Version: 1.0

Document #: DEV-001-REP-028

_Fields_Mapping

Table_Fields_Mapping_T able_Name Table_Fields_Mapping_C olumn_Name Table_Fields_Mapping_C olumn_Alias Table_Fields_Mapping_C ol_Datatype Table_Fields_Mapping_C ol_Length Table_Fields_Mapping_C olumn_Alias_ar Table_Fields_Mapping_C olumn_Grid Table_Fields_Mapping_C olumn_Link

nvarchar nvarchar nvarchar nvarchar nvarchar nvarchar

200 200 200 50 10 200 1 1

Name of the mapped table Field name of the mapped table Field Alias of the mapped table in English Field datatype of the mapped table Field size of the mapped table Field alias of the mapped table in Arabic 1 for field show in grid, otherwise 0 1 means field treated as hyperlink

char char

Template

Data Source: Magic Screen Admin Screen(Lookup table for templates to be used in Upselling) Portlet: NA Usage: High Reporting: Yes Query Types: Selects, Inserts and Updates Select Query Criteria: Template_Id Update Query Criteria: Template_Id Template_Id (PK) Numeric 10 ++1 Surrogate key generated using a sequence Template_Title Template_Message Template_Message_ar Template_Is_Email Template_Is_MessageCe nter varchar text text char char 50 16 16 1 1

Title of the Template Template message Template message in Arabic 1 for template use for email 1=Template for Message Center and 0 = vice versa

User_Manager

Data Source: Magic Screen Admin Screen(Lookup table for users and their managers relationship) Portlet: NA Usage: Normal Reporting: Yes Query Types: Selects, Inserts and Updates Select Query Criteria: User_Manager_User_Internal_Id Update Query Criteria: User_Manager_User_Manager_Id User_Manager_User_In Numeric 10 FK from Users table ternal_Id (PK) User_Manager_User_M Numeric 10 FK from Users table anager_Id(PK)

Data Source: Magic Screen Admin Screen(For history of users departments and roles)

Avanza Solutions (Pvt.) Ltd, All rights reserved

14

MS LDM Version: 1.0

Document #: DEV-001-REP-028

ser_Role_Dept_History

Portlet: NA Usage: Normal Reporting: Yes Query Types: Inserts Select Query Criteria: NA Update Query Criteria: NA User_Internal_Id(FK) Numeric User_Dept_Role_Id(FK) User_Dept_Id(FK) User_Dpt_Role_Crtd_Dat e Numeric Numeric Date

10 10 10 10

FK from Users table FK from Roles table FK from Department table

CUST_HANDSET

Data Source: External System(Customer handset information, imported in MS as BULK from external system) Strategy: Replace Old Data Portlet: Customer Handset Usage: High Reporting: No Query Types: Select Select Query Criteria: MSISDN Update Query Criteria: NA CUSTHSET_MSISDN Varchar 20 MSISDN CUSTHSET_HANDSET Varchar 100

Handset information

UPSELLING

Data Source: External System(Upselling information, imported in MS as BULK from external system) Strategy: Append Portlet: Upselling Usage: High Reporting: No Query Types: Select Select Query Criteria: UPSEL_MSISDN, UPSEL_CAMP_ID,UPSEL_COMM_ID,UPSEL_OCC_ID,UPSEL_END_DATE Update Query Criteria: NA UPSEL_MSISDN Varchar 20 MSISDN UPSEL_CAMP_ID Numeric 15 Campaign Id

Avanza Solutions (Pvt.) Ltd, All rights reserved

15

MS LDM Version: 1.0

Document #: DEV-001-REP-028

UPSEL_PROD_NAME UPSEL_COMM_ID UPSEL_OCC_ID UPSEL_START_DATE UPSEL_END_DATE

Varchar Numeric Numeric Date Date

100 15 15 10 10

Product Name Communication Id Occurrence Id Start Date End Date

CLM_HIST_CAMP

Data Source: External System(CLM historical campaigns imported in MS as BULK from external system) Strategy: Append Portlet: CLM Historical Campaign Usage: High Reporting: No Query Types: Select Select Query Criteria: CMLH_MSISDN, CLMH_END_DATE Update Query Criteria: NA CMLH_MSISDN Varchar 20 MSISDN CLMH_CAMP_ID CLMH_COMM_ID CLMH_CAMP_OFFER CLMH_START_DATE CLMH_END_DATE CLMH_IS_RUN CLMH_BON_UNTS Numeric Numeric Varchar Date Date Char Varchar 15 15 500 10 10 1 20

Campaign Id Communication Id Campaign Offer Campaign Start Date Campaign End Date Indication flag if campaign is running Bonus units

CLM_RUNING_CAMP

Data Source: External System(CLM running campaigns imported in MS as BULK from external system) Strategy: Replace Portlet: CLM Running Campaign Usage: High Reporting: No Query Types: Select Select Query Criteria: CMLR_MSISDN, CLMR_END_DATE Update Query Criteria: NA CLMR_MSISDN Varchar 20 MSISDN CLMR_CAMP_ID CLMR_COMM_ID CLMR_CAMP_OFFER CLMR_START_DATE CLMR_END_DATE CLMR_IS_RUN Numeric Numeric Varchar Date Date Char 15 15 500 10 10 1

Campaign Id Communication Id Campaign Offer Campaign Start Date Campaign End Date Indication flag if campaign is running

Avanza Solutions (Pvt.) Ltd, All rights reserved

16

MS LDM Version: 1.0

Document #: DEV-001-REP-028

Data Source: External System(Customer data being fetched from CRM at real time) Strategy: Replace Portlet: Customer Usage: High Reporting: No Query Types: Insert, Update and Select Select Query Criteria: CUST_MSISDN Update Query Criteria: CUST_MSISDN CUST_MSISDN Varchar 20 CUST_NAME Varchar Varchar Varchar Varchar Varchar Varchar Varchar Varchar Varchar Varchar Varchar Varchar Varchar 100 50 30 20 50 100 50 20 20 20 20 20 20

MSISDN Customer Name Package Plan Customer Document Number Customer Status Customer Segment Customer Address Customer Revenue Profile Customer Credit Limit Customer Outstanding Amount Customer Chase able Amount Customer Bonus Min Account Customer Feature X promotion Customer SMS bonus Account

CUSTOMER

CUST_PACK_PLAN CUST_DOC_NO CUST_STATUS CUST_SEGMENT CUST_ADDRESS CUST_REV_PROFILE CUST_CRDT_LMT CUST_OUTSTAND_AM T CUST_CHASEBLE_AMT CUST_BONUS_MIN_AC C CUST_FEAT_X_PROMO CUST_SMS_BONS_AC C

CUST_USAGE_HIST

Data Source: External System(Customer Usage History imported in MS using BULK fetch from external system) Strategy: Replace Portlet: Customer Usage History Usage: High Reporting: No Query Types: Select Select Query Criteria: CUST_USGH_MSISDN Update Query Criteria: NA CUST_USGH_MSISDN Varchar 20 Customer MSISDN CUST_USGH_COL_1 CUST_USGH_COL_2 CUST_USGH_COL_3 CUST_USGH_COL_4 CUST_USGH_COL_5 CUST_USGH_COL_6 CUST_USGH_COL_7 CUST_USGH_COL_8 CUST_USGH_COL_9 CUST_USGH_COL_10 CUST_USGH_COL_11 CUST_USGH_COL_12 Varchar Varchar Varchar Varchar Varchar Varchar Varchar Varchar Varchar Varchar Varchar Varchar 50 50 50 50 50 50 50 50 50 50 50 50

Customer Usage History Column 1 Customer Usage History Column 2 Customer Usage History Column 3 Customer Usage History Column 4 Customer Usage History Column 5 Customer Usage History Column 6 Customer Usage History Column 7 Customer Usage History Column 8 Customer Usage History Column 9 Customer Usage History Column 10 Customer Usage History Column 11 Customer Usage History Column 12

Avanza Solutions (Pvt.) Ltd, All rights reserved

17

MS LDM Version: 1.0

Document #: DEV-001-REP-028

CUST_USGH_COL_13 CUST_USGH_COL_14 CUST_USGH_COL_15

Varchar Varchar Varchar

50 50 50

Customer Usage History Column 13 Customer Usage History Column 14 Customer Usage History Column 15

USED_VAS

Data Source: External System(Customer Used VAS) Strategy: Replace Portlet: Customer Used VAS Usage: High Reporting: No Query Types: Select Select Query Criteria: CUST_USGH_MSISDN Update Query Criteria: NA UV_MSISDN Varchar 20 UV_USAGE_TYPE Varchar 100

Customer MSISDN Customer Usage Type

Avanza Solutions (Pvt.) Ltd, All rights reserved

18

MS LDM Version: 1.0

Document #: DEV-001-REP-028

Avanza Solutions (Pvt.) Ltd, All rights reserved

Vous aimerez peut-être aussi