GPS Based M-Reporting Documentation - MGR
GPS Based M-Reporting Documentation - MGR
GPS Based M-Reporting Documentation - MGR
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Sequence No. 1
Screen-shot
But further complete structure of MR and MGR is based on ID entered by the user.
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Since all users will not be shifted to android application at a time, another table is
used to validate user’s registration done via Android application.
Table name: centaur_android.android_user_registration
Systems also checks whether fare chart doctor relation is saved by MR for current
month and only then proceed further. Applicable only to MR.
Fare chart doctor relation is one time activity manage by MR via separate
Portal.
Details GPS based Application is not applicable to Kashmir & Nepal Field Force (MR,MGR)
NEPAL and KASHMIR will be on web based application and rest of the India will be
on Android application.
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Sequence No. 2
Screen Name Background Process one (Applicable to MR and MGR combined)
Purpose To check Report date and password expiry.
Determines Whether current report or previous locked opened report and password expiry.
Screen-shot
Input size, type, Not applicable
validation
Whenever sales Admin Dept. has opened previous day’s report then MR/MGR can
report without GPS as person cannot visit particular location again.
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Sequence No. 3
Screen Name Initial menu
Purpose To bifurcate GPS and Non GPS Activities
Determines
Screen-shot
On clicking Other Activity, only non GPS related activities are available.
Details
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Sequence No. 4
Screen Name Background Process two (Only for MGR)
Purpose Systems checks following conditions and do not allow to proceeds if either of the
condition fails :
- MR selected for Today’s joint work are active (i.e. working with organization)
- Vacancy under him is not filled for more than 40 days.
- TP is not entered.
- Today’s TP is locked.
- Today’s TP is not approved.
- Deviation request is not approved.
- Comments on Subordinate’s report are not entered.
- Sample Consignments not confirmed.
- Company Property Format
- Enter Vacancy Planner
- Update family details for Mediclaim purpose.
- Enter Manager To-Do List
- Red File
Determines Controls mentioned in “purpose” above.
Screen-shot
Dependency If above all conditions are fulfilled then only “Daily Report” option is available for reporting.
Connectivity Whether to initiate Call entry.
Database.Table used Table Name Fields Access
centaurERPsndStatistic.statistic_lvl Empcde, yymm, desn_cde Read
with read,write,view centaurFieldFormats.hrd_cases empcde
access Read
centaurERPsndStatistic.statistic_rep_mst Empcde, manager, yymm, Read
grp, desn_cde
centaurERPsndStatistic.statistic_vf Vaccode, fillcode,vacname Read
centaurERPpayroll.candidate repl_empl_cd Read
centaurERPsndStatistic.statistic_emp_mst empcde,empnme,dt_joining Read
centaurdata.tpmgr empl_code,locked, tpdate, Read
tpdevreq,deviated_tpworktype
centaurdata.actuali Empcde, antec_date, comment, Read
antec_other,storedate
centaurdata.dfrmain Dfrdate, comment, empcde, Read
status, storedate
centaurdata.promotdata pm_no,lrdate, empcde, STATUS Read
centaurFieldFormats.leaving_emp login_id Read
centaurFieldFormats.exclude_for_property Empcde Read
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Today’s TP is locked – If locked from centaurdata.tpmgr is “Y” then TP for that day is locked.
Today’s TP is not approved - if tpstatus field of centaurdata.tpmgr table is “1” then MGR’S TP
is not approved.
Deviation request is not approved : If tpdevreq field of centaurdata.tpmgr table is=1 and
deviated_tpworktype!=’’ then MGR has entered deviation which is not approved by
his Manager.
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Enter Vacancy Planner : If planner of vacancy code under him is not found in
centaurFieldMatrix.matrix_br for current month.
Red File – Manager’s who are working in organisation for more than 4 months, take
HQ names and subordinates working under him from centaurERPsndStatistic.statistic_rep_mst
Table and then check cumulative %ach from centaurERPsndAnalysis.statistic_fieldforce
table for each HQ & each Manager working under him.
If %Ach for any HQ or subordinate is less than 95% then ask him to enter Red file Details.
Details Only after fulfilling above conditions Manager can enter Daily Report.
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Sequence No. 5
Screen Name Main Menu
Purpose To select desired activity
Determines Main Menu
Screen-shot
Dependency
Connectivity
Database.Table used Table Name Fields Access
centaurERPsndStatistic.statistic_lvl empcde,empnme,hq,state, Read
with read,write,view
desn_cde,design,grp
access centaurdata.mobile_no mobile_no Read
centaurdata.tpmgr empl_code,tpdevreq,deviated_from1, Read
deviated_to1,deviated_type1,
deviated_from2,deviated_to2,
deviated_type1,deviated_tpworktype,
tpfrom1,tpto1,tptype1,tpfrom2,
tpto2,tptype2,tpworktype,
tpdate,tpstatus,tpdevreq
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
From – To Place: is taken from centaurdata.tpmgr table fields tpfrom1 & tpto1/
deviated_from1 & deviated_to1 where tpdate is equal to above DFR date.
Places (from-to) from deviated_from1 & deviated_to1 is considered only when
tpdevreq=2 that is approved deviation.
From – To Place (interior) : is taken from centaurdata.tpmgr table fields tpfrom2 &
tpto2/ deviated_from2 & deviated_to2 where tpdate is equal to above DFR date.
Places (from-to) from deviated_from2 & deviated_to2s is considered only when
tpdevreq=2 that is approved deviation.
Above all information is only display. After that user will choose option from given
dropdown.
Details
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Sequence No. 6
Screen Name Daily Report
Purpose To enter daily report.
Determines Doctor’s call entry
Screen-shot
Dependency
Connectivity
Database.Table used
with read,write,view
access
PHP path/file mobile_mgr_dfr.php
name,class,function….
Process Flow Under Daily report there are sub-menus as below.
Manager has to enter details from all sub-menus mentioned below for single Doctor
call entry. First 4 options are compulsory.
Call Entry
In-Clinic
Experience & Lesson
Today’s Work
Vacancy
Gap Observed
Stockist Details
For HO
Details
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Subordinates’ Combo – Employee code (char 4) + Employee Name (char 30) + Designation (char 4) + HQ
Input size, type, (char 15)
validation Text Box (Size 10) for entering Doctor name for searching
Search Dr. – Button
Doctor Combo – Doctor Name (Char 151) + right 5 char of Doctor Code + “[ Geotagged ]“ (If Geo
tagging is already done)
Whether Corporate Dr.( Y/N ) – Check Box
Detailing Through PCC (Y/N) ? – Combo Box (Yes , No)
Input – Combo (Promoional Input Name Char 40) + Stock Units (Int 20)
Units – Text Box (Size 5)
If Non Rxers then Whether Dr. is Visited >25 Times and There is no Responce ( Y/N )- Check box
Reason – Textarea
Auto Mail – Combo Box (PMT / CRM / Medical)
P3 Brand Approval – Combo (Approve / Reject)
P3 Brand Remark - Textarea
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Process Flow On selecting call entry, subordinate’s combo will appear which shows subordinate’s
codes with name who are selected for joint work.
System checks, once doctor call is saved successfully then again same doctor will
not be displayed in drop down list as shown in Image 1.
If doctors latitude, longitude are rectified for correct geo position then system does
not display those doctors in drop down list, because we expect MGR to visit same
location 3 times and also rectify 3 times which we call it as three iteration after which
IT HELP DESK
Confirms doctors new geo position.
GPS Functionality :
As we are having multiple divisions and MGR from each division visit same doctor at different places that
means there is overlap in Doctors.
Systems keeps on attempting for almost 60 seconds to get accurate GPS signal and accuracy of signal
which should be less than 25 otherwise system display message that he is not within the desired accuracy.
If timestamp that is last GPS signal fetched by users handset is greater than 5 minutes older, then system
diverts user to JavaScript google map from licensed google maps API. We also show overlay transparent
circle indicating 100 meters radius for clinic and 220 meters radius in case of hospital. We also show red
colour pointer indicating user’s current position.
System checks selected MR’s code in empcde field from centaurERPcrm.doctors_address table and read
latitude, longitude field in front of MR code. In case of multiple_clinic=’Y’, system checks lat-lon in front of
MR code first and then it checks for rest of the divisions assuming Doctor is having multiple clinics.
Then system checks for second clinic if available in front of logged in MR’s code.
Ultimately, system tries to find out user’s nearest matching location as per conditions given below.
Example of multiple_clinic=’Y’ : If logged in MR is ‘SQ82’ then, all lat-lon will be matched. If logged in MR is
‘AE06’ then, all lat-lon and only his second clinic will be matched. If logged in MR is ‘SI07’ then, only lat-lon
in front of MR code will be matched and since this is hospital doctor he will get 220 meters radius for
reporting.
Example of multiple_clinic=’N’ and second clinic that is second_clinc_lat and second_clinic_lng are not
empty : If logged in MR is ‘B239’ then, only lat-lon will be matched and if logged in MR is ‘P908’ then, lat-
lon and second clinic lat-lon will be matched.
If user’s current location is not matched with any of the above combination then system will give the
message as shown in Image 1.
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Tables along with field names which are used for saving data are given below
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Details
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Input size, type, Doctor combo: Doctor Name (Char 151) + right 5 char of Doctor Code
validation Activity Combo : char 35
In-Clinic Intaraction : text area
Dependency
Connectivity
Database.Table used
Table Name Fields Access
with read,write,view
centaurdata.mobile_inclinic Drcode,antec_date, Read/Write
access empcde
centaurdata.mobile_actuali_drs Drcode,antec_date,drcode Read
centaurdata.drchart Drname,drcode,empcde Read
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Table Field
Table Name Input Field Remark
Name
empcde Login id Insert
antec_date dfrdate Insert
selected doctor
drcode code Insert
centaurdata.mobile_inclinic activity selected activity Insert
inc_int entered by user Insert
device_type "M" Insert
storedate server date Insert
TIME server time Insert
Details
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Input size, type, MR combo : work with 1 and work with 2 MR visible for selection
validation At : char (50)
We made : char (2)
Remark : text area.
Dependency
Connectivity
Database.Table used
Table Name Fields Access
with read,write,view
centaurERPsndStatistic.statistic_rep_mst Empcde, yymm, grp, Read
access desn_cde
centaurERPsndStatistic.statistic_lvl empcde,empnme,design,hq, Read
yymm
PHP path/file Mgr_experience.php
name,class,function…. Save_mgr_experience.php
Call_class.php
Process Flow
Following tables are used
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Process Flow In doctor combo only those doctors are visible which is entered by manager thru
call entry. If today’s work already done, then those doctors are not visible for
selection.
Details
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Dependency
Connectivity
Database.Table used
Table Name Fields Access
with read,write,view
centaurdata.mobile_vacancy Vaccode, antec_date,empcde, Read
access status, plan_fill
centaurERPsndStatistic.statistic_lvl yymm,empcde,empnme,design, Read
dt_joining,hq,grp,dt_joining
centaurERPsndStatistic.statistic_vf vaccode Read
centaurERPpayroll.candidate repl_empl_cd, Read
PHP path/file Vacancy_class.php
name,class,function…. Vacancy.php
Save_vacancy.php
Process Flow
Vacancy under manager which are not yet filled are shown in combo.
Summary of vacancy is also shown.
Details are save in following table.
Details
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Input size, type, Stockist : combo code (4 char), name (40 char)
validation Near expairy brand : combo product Name (60 char)
High Inventary Product : combo product Name (60 char)
Plan for the Month : text area
Dependency
Connectivity
Database.Table used
Table Name Fields Access
with read,write,view
centaurERPsndStatistic.statistic_sm stock_cde, distcde, yymm, Read
access empcde,
centaurERPsndStatistic.statistic_dmr Distcde, yymm, empcde, Read
centaurERPmasters.statistic_superstk Distcde, stock_cde, stockist, Read
centaurERPmasters.dist_mst Distcde, distnme Read
centaurERPsndStatistic.statistic_lvl Yymm, grp,hq, empcde Read
centaurdata.mobile_hqprd mktg_p_cde, hq, grp, Read
centaurERPmasters.prod_mst p_cde,p_name Read
PHP path/file Stockist.php
name,class,function…. Save_stockist.php
Stockist_class.php
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Process Flow
Only those stockist are visible which are attached to the work with 1, work with 2
MR.
If state = NEPAL then stockists are shown from centaurERPsndStatistic.statistic_smr
table
else stockists are shown from centaurERPsndStatistic.statistic_dmr table.
Near expairy brands and High inventory brands are taken from
centaurdata.mobile_hqprd tables.
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Input size, type, Recommendation for HO followup give DR details : text area
validation Campaign/support from HO : Text area
Auto Mail : COMBO
Dependency
Connectivity
Database.Table used
with read,write,view
access
PHP path/file for_ho.php
name,class,function…. for_ho_class.php
fave_for_ho.php
Process Flow Tada stored in following table
Details
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Call Entry
In-Clinic
Experience & Lesson
Today’s Work
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Table Field
Table Name Input Field Remark
Name
empcde login id Insert
antec_date DFR date Insert
p_cde product code Insert
centaurdata.actuali_brand drcode doctor Code Insert
ww work with Subordinate Insert
sampled sample qty Insert
storedate server date Insert
Table Field
Table Name Input Field Remark
Name
freeze "Y" Update
centaurdata.mobile_actuali
remarks Entered by user Update
Table Field
Table Name Input Field Remark
Name
antec_date Dfrdate Insert
antectype1 work type 1 as per TP Insert
antectype2 Work type 2 as per TP Insert
workedwith1 working with 1 as pe TP Insert
workedwith2 working with 2 as pe TP Insert
from1 from 1 as per TP Insert
from2 from 2 as per TP Insert
to1 to1 as per TP Insert
centaurdata.actuali
to2 to2 as per TP Insert
STATUS status as per TP Insert
storedate server date Insert
empcde login Id Insert
antec_other Working status Insert
from_mobile "Y" Insert
freeze "Y" Insert
remarks Entered by user Insert
Table Field
Table Name Input Field Remark
Name
Details
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Details
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Sequence No. 7
Screen Name Saved Calls
Purpose Display Call Details
Determines
Screen-shot
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
device_type,input,
input_units,storedate,
drs_from,device_details,
call_time,time_srno,
latitude,longitude,
altitude,altitudeaccuracy,
heading,speed,
accuracy,TIMESTAMP,
timestamp_datetime,
meter_diff_matched_with,
app_latitude,app_longitude,
remark,dr_address,
detailing_ppc,ocupol_oint
centaurERPcrm.rectify_latitude_longitude Drcode, login_date, login_by, Read
updated_in_dfr,reason, active
centaurdata.mobile_dfrdrs Drcode, dfrdate,empcde, Read
drcode,yn
centaurdata.mobile_actuali_brand p_cde,sampled, Read
drcode,antec_date
centaurERPmasters.prom_mst ls_name Read
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
For HO: Todays For HO details are shown from centaurdata.mobile_for_ho table.
Details
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Sequence No. 8
Screen Name Geocoding Addresses (MR/MGR)
Purpose To tag doctors geo-position
Determines DFR entry
Screen-shot
Input size, type, Employee combo employee name(150) and right(5) char of drcode
validation Cick to save Geo-Position Button
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
MAP: geocoded area of the doctor 100 meters for clinic and 220 for hospital is shown in
form of circle and MR/MGR’S current position shown in form of Red Pointer.s
Click to save Geo-Position: if main clinic latitude , longitude not found in
centaurERPcrm.doctors_address table then system allow to tag doctor’s Geo-position.
Details
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Sequence No. 9
Screen Name Comments on Subordinates
Purpose DFR entry
Determines
Screen-shot Manager Comments on MR Report Manager comments on Manager Report
Input size, type, Employee: combo employee code (char 4), employee name (30)
validation Select Date: combo employee code (char 4), dfrdate (date DD/MM/YYYY)
Comments : text area
RCPA and competitor information: text area.
In clinic interaction as remarsk by MR : text area.
Opportunity identified being right or wrong : text area.
Biggest rxer and opportunity every day : text area.
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Dependency
Connectivity Call entry
Database.Table used
with read,write,view Table Name Fields Access
centaurdata.actuali empcde,antec_date, Read
access
antec_other
centaurdata.dfrmain empcde,dfrdate,status Read
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Balance unit of sample and gifts is show here to know qty in hand from
centaurdata.samples_stock table
System will not allow manager to report if two day’s back report are pending for
comments.
If subordinate’s comments are pending Call entry option is not visible to manager.
After click on save comments button system sent mail to subordinate with comments
details.
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
For MR
Table Field
Table Name Input Field Remark
Name
comment Entered by user Update
remark5 Entered by user Update
remark8 Entered by user Update
remark10 Entered by user Update
centaurdata.dfrmain
remark20 Entered by user Update
commentby login id Update
commentdt server date Update
commentstatus "1" Update
For MGR
Table Field
Table Name Input Field Remark
Name
comment entered by user update
commentby login Id update
centaurdata.actuali
commentdt server date update
commentstatus "1" update
Details
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Sequence No. 10
Screen Name Alerts for You
Purpose Give message regarding activities.
Current activities are mentioned blow. These may stop or new activities may come.
Determines -
Screen-shot
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Post CME not done – If post CME details are not found in cycle_cme_advance
Table for cme id from centaurFieldFormats.precme_main for mgr_code as Logged in
User.
Subordinate's TP is not approved – If tpstatus field from TP file is zero then TP is not
approved.
If subordinate is MR then TP file is centaurdata.tp and if manager then TP file is
centaurdata.tpmgr
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Details
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Sequence No. 11
Screen Name Team Status
Purpose To View today’s working status of subordinates.
Determines Work started by every subordinates, number of calls done.
Screen-shot
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
From –To – Subordinates current working patch derived from centaurdata.tp for MR
and from centaurdata.tpmgr for managers.
Day Started – If atleast one doctor call is saved then day is started.
Details
Confidential Document
Sequence No. 12
Screen Name Team’s Today’s Report View
Centaur Pharmaceuticals Pvt Ltd
Purpose To View today’s whole report of subordinates.
Determines Doctor wise details.
Screen-shot MR’s Report Manager’s Report
Input size, type, Subordinate’s combo – Code (char 4) +’-‘+ name (char 30) + ‘-
validation ‘+designation (char 4)
Dependency -
Connectivity -
Database.Table used Table Name Fields Access
centaurERPsndStatistic.statistic_rep_mst Yymm,manager,empcde,grp Read
with read,write,view
access
centaurERPsndStatistic.statistic_lvl Empcde,yymm, Read
grp,empnme,desn_cde,state,design
centaurdata.samples_stock p_cde,units,value,empcde,yymm Read
centaurERPmasters.prom_mst show_in_ereporting, ls_cde,ls_name Read
centaurERPmasters.prod_mst P_cde,p_name Read
centaurdata.mobile_dfrmain empcde,dfrdate, Read
ww1,ww2,from1,from2,
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
to1,to2,STATUS,type1,type2,
centaurdata.mobile_dfrdrs empcde,dfrdate, Read
drcode,me,yn,
ww_mgr,dfrtime,
dr_activity,
centaurdata.mobile_dfrbrands Dedtailed,dfrdate,empcde,drcode Read
centaurdata.mobile_detailing_products dr_type, dfrdate,empcde,drcode Read
centaurdata.mobile_dfrchemist Dfrtime, chemist, stkcde, Read
rcpa_drcode,dfrdate,empcde
centaurERPmasters.dist_mst Distnme,distcde Read
centaurdata.mobile_actuali workedwith1, workedwith2, Read
antec_other, from1,to1, from2,to2,
antectype1
Sample Units : Sum of units from centaurdata.samples_stock where yymm = current month
and empcde= selected subordinate and left(p_cde,1) not equal to “S” and “L” and “G”.
Gift Units : Sum of units from centaurdata.samples_stock where yymm = current month and
empcde= selected subordinate and left(p_cde,1) equal to “G”
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Doctor Name: Take drcode from centaurdata.mobile_dfrdrs table for above dfrdate.
Take drname FROM centaurdata.drchart table for drcode. Check if this doctor’s geo
location is rectified in centaurERPcrm.rectify_latitude_longitude table. If record found then
show message “Rectified Entry updated by system”.
Product wise details are shown for each doctor from centaurdata.mobile_dfrbrands
Table using key empcde+dfrdate+drcode
After product wise details chemist and stockist details are shown.
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
MANAGER”S REPORT
Sample Units : Sum of units from centaurdata.samples_stock where yymm = current month
and empcde= selecsted subordinate and left(p_cde,1) not equal to “S” and “L” and “G”.
Gift Units : Sum of units from centaurdata.samples_stock where yymm = current month and
empcde= selected subordinate and left(p_cde,1) equal to “G”
Call Entry : Doctor wise details are shown from centaurdata.mobile_actuali_drs table.
Rectified entries are shown from centaurERPcrm.rectify_latitude_longitude table. Fields
taken are as follows:
Doctor Name – code : Field drcode . Take drname from centaurdata.drchart for doctor
name
DFR Time : dfrtime
CorpoDr : corporate_drs
Detailing PCC : detailing_ppc
Input Name : input. Take product name from centaurERPmasters.prom_mst table.
Unit Given : input_units
Non Rxers Reason : reason
Non Rxers Automail : automail_dept
In Clinic : In clinic details are shown from centaurdata.mobile_inclinic table. Fields taken
are as follows:
Doctor Name – code – Field drcode . Take drname from centaurdata.drchart for doctor
name
Activity- activity
In Clinic Interaction- inc_int
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Today's Work : Details are taken from centaurdata.mobile_todays_work table. Field names
are as follows:
Chemist Name : chemist_name
Pob : chemist_pob
Mthly Business of Counter : chemist_mth_business
Centaur Monthly Business : centaur_mth_business
RCPA Doctor : drcode Take drname from centaurdata.drchart for doctor name
MKTG Feedback : mktg_feedback
Vacancy : Details are taken from centaurdata.mobile_vacancy table. Fields used are as
follows:
vacancy Code & Name : vaccode
Status : status
Planning to Fill : plan_fill
Stockiest Details : Details are taken from centaurdata.mobile_stockist Table. Fields used
are as follows:
Stockist Name : stk_name
Near Expairy Brand: near_expairy. Take product short name from
centaurERPmasters.prod_mst table.
High Inventory Product: high_inventary. Take product short name from
centaurERPmasters.prod_mst table.
Plan for the month : plan_month
For HO : Details are taken from centaurdata.mobile_for_ho table. Fields used are as
follows:
Recommendation for HO followup give DR details : recommendation
Campaign/support from HO : campain_details
Auto Mail : auto_mail
Details
Confidential Document
Sequence No. 13
Screen Name TP Approval & View (MR)
Centaur Pharmaceuticals Pvt Ltd
Purpose To approve MR’s tour plan
Determines
Screen-shot
Input size, type, Select employee: combo employee code (char 4) , employee name (char
validation 30),year/month (char 6),cummulatiove achievement (int 12.00)
Date combo (DD/MM/YYYY)
Status combo varchar 100
Place from combo basetown 30 char and desttown 30 char and type 4 char
Place to combo basetown 30 char and desttown 30 char and type 4 char
Type combo (char 4)
Aimed for Conversion text box integer 2
Prev button
Next button
Save button
Approve button
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
tptype1,tpfrom2,
tpto2,tptype2,
tpmanager1,tpmanager2,
tpworktype,
aimedconv,locked
centaurERPmasters.statistic_runctl yyyy,chr_month Read
Process Flow If MR tour plan is approved by manager then only View is available to manager.
Before approve MR Tour Plan Manager can make necessary changes in MR tour plan
If Manager made changes in MR tour plan then same process/logic applicable which
is shown in MR tour plan in GPS based M-reporting Documentation – MR.doc sequence
No. 14
Confidential Document
Sequence No. 14
Screen Name TP Entry, Approval & View (MGR)
Centaur Pharmaceuticals Pvt Ltd
Purpose
Determines
Screen-shot Screen 1 Screen 2
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
HOLIDAY are derived from holiday master . State wise holiday list
available in centaurERPadmin1819.holiday table
if tpstatus=0 in centaurdata.tpmgr table then system should not allow to approve the
Tour Plan. Alert message (“TP Not Yet Submitted”);
If tp_submited=’N’ in centaurdata.tpmgr table then system should not allow to approve the
Tour Plan. Alert message (“TP Not Yet Submitted”);
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
After approving tour Plan or Submission of Tour Plan automail goes to upper manager.
Table Field
Table Name Input Field Remark
Name
empl_code Selected employee Insert
tpdate selected by user Insert
tpfrom1 selected by user Insert
tpto1 selected by user Insert
tpfrom2 selected by user Insert
tpto2 selected by user Insert
tptype1 selected by user Insert
tptype2 selected by user Insert
tpmanager1 selected by user Insert
centaurdata.tpmgr
tpmanager2 selected by user Insert
tpworktype selected by user Insert
tpstoredate selected by user Insert
locked if late TP entry then "Y" Insert
tpanalysis_over Insert
drcode1 selected by user Insert
drcode2 selected by user Insert
dr1_remark selected by user Insert
dr2_remark selected by user Insert
Details
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Sequence No. 15
Screen Name TP Deviation – Under Process
Purpose
Determines
Screen-shot
Input size, type,
validation
Dependency
Connectivity
Database.Table used
with read,write,view
access
PHP path/file
name,class,function….
Process Flow
Details
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Sequence No. 16
Screen Name TP Deviation Approval (MR)– Under Process
Purpose
Determines
Screen-shot
Input size, type,
validation
Dependency
Connectivity
Database.Table used
with read,write,view
access
PHP path/file
name,class,function….
Process Flow
Details
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Sequence No. 17
Screen Name TP Deviation Approval (MGR)– Under Process
Purpose
Determines
Screen-shot
Input size, type,
validation
Dependency
Connectivity
Database.Table used
with read,write,view
access
PHP path/file
name,class,function….
Process Flow
Details
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Sequence No. 18
Screen Name Dr Info.
Purpose To view doctor details and activity related information.
Determines High/low potential doctors
Screen-shot
Dependency
Connectivity
Database.Table Fields Access
centaurdata.farechart_doctor_relation empcde,yymm,drcode,baset Read
used with
own,desttown
read,write,view centaurdata.drchart drcode,drname,hcname,hca Read
access ddline1,hcaddline2,hcaddline
3.dr_town,dr_city,patients,stat
e,pin,
birth_day,birth_mth,birth_year,
anniv_day,anniv_mth,anniv_y
ear,product_units,value_pm
centaurdata.dfrdrs dfrdate Read
centaurdata.dfrmain ww1,ww2 Read
centaurERPsndStatistic.statistic_lvl empnme Read
centaurFieldFormats.precme_detail cme_id Read
centaurFieldFormats.precme_main cme_date Read
centaurFieldFormats.precrmact_detail activity_id, drcode Read
centaurFieldFormats.precrmact_detail pre_entered_date, Read
centaurFieldFormats.postcpr_drdetail cpr_id,drcode Read
centaurFieldFormats.precpr_main conf_fdate Read
centaurFieldMatrix.matrix_br v_pattern,p_cde,p_shrt, Read
month,year, drcode,empcde
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Sequence No. 19
Screen Name Conversions Under You
Purpose To view conversion details.
Determines Doctor Started Prescribing Centaur’s Brand
Screen-shot
Dependency -
Connectivity -
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Details
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Sequence No. 20
Screen Name View Sample Stock
Purpose To view current stock (Sample / Promotional Inputs) in hand.
Determines
Screen-shot
Dependency
Connectivity Sample stock
Database.Table used Fields Access
centaurdata.samples_stock p_cde, units, value, empcde, Read
with read,write,view
yymm
access centaurERPmasters.prod_mst p_name,p_shrt Read
centaurERPmasters.prom_mst show_in_ereporting Read
PHP path/file mobile_mgr_stock.php
name,class,function
….
Process Flow Show Product wise Units in stock.
Details
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Sequence No. 21
Screen Name Expense Details
Purpose To View monthly expense details.
Determines Monthly expenses
Screen-shot
Dependency -
Connectivity -
Database.Table used Tables Fields Access
centaurERPmasters.statistic_runctl Yymm,chr_month Read
with read,write,view
centaurERPadmin1819.expmandt ext_cde, received_date Read
access centaurERPadmin1819.expenses Empcde,yymm, ext_cde, Read
entry_type, month,year,
approveddate, clexpenses,
mgrexpenses, fin_exp, touradv,
hopmt_tadvance, pay_mark,
chqddno, chqdddt
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Sequence No. 22
Screen Name Change Password
Purpose
Determines
Screen-shot
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Pressvious
centaurERPmasters.login_id old_password Password Update
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Sequence No. 23
Screen Name Bulletin
Purpose To flash Bulletin to MR/MGR
Determines
Screen-shot
Dependency
Connectivity
Database.Table used Fields Access
centaurdata.mobile_bulletine from_date,to_date,grp,bulletine Read
with read,write,view
_details
access
PHP path/file We have hardcoded. Now created a table to store a bulletin
name,class,function
….
Process Flow Group wise bulletin stored in centaurdata.mobile_bulletine table. on basis of from_date
and to_date and grp system should flash bulletin
Details
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document
Centaur Pharmaceuticals Pvt Ltd
Confidential Document