Вы находитесь на странице: 1из 21

Sales Tracking System Tables(rows) n columns:

(linked to other table no.s)


Table name (no. of rows)
Column Names
Could b used as fk (foreign key)
1. action_master (9)
1. Action_Id pk (primary key)
2. Action_Desc
2. alerts_master (0)
1. Alert_Id pk (3)
2. Alert_Desc
3. Alert_Condition
4. Status_Id
3. alert_trans (0)
1. Alert_Id pk
(2)
2. User_Id
3. SendOn_Date
4. SendOn_Time
5. SentTo_Id
4. area_master (10)
1. P_Area_Id - pk
2. P_Area_Name
5. basemodel_master (4)
1. BaseModel_Id - pk
2. BaseModel_Name
3. Acc_Target
6. branch_master (2)
1. Branch_Id pk
(10,16,19,20,24,26,28,29,43,59,62)
2. Org_Id - fk
3. Branch_Name
4. Branch_StreetAddress
5. Branch_City
6. Branch_State
7. Branch_ZipCode
8. Branch_Country
9. Branch_Phone1
10. Branch_Phone2
11. Branch_Email
12. Branch_Fax
13. Status_Id
7. budget_master (9)
1. Budget_Id - pk

2. BaseModel_Id
3. Budget_Month
4. Budget_Year
5. Budget_Amount
8. casedetail_trans (2286)
1. Case_Id pk
2. Prospect_Id
3. Model_Id
4. Color_Id
5. FollowUp_Action_Id
6. FollowUp_Date
7. NextPlanOf_Action_Id
8. NextFollowUp_Date
9. State_Id
10. Status_Id
11. PredictedClose_Date
12. ActualClose_Date
13. Notes
14. CreatedBy
9. casedetail_trans_history (3373)
1. History_id pk
2. Case_Id
3. Prospect_Id
4. Model_Id
5. Color_Id
6. FollowUp_Action_Id
7. FollowUp_Date
8. NextPlanOf_Action_Id
9. NextFollowUp_Date
10. State_Id
11. Status_Id
12. PredictedClose_Date
13. ActualClose_Date
14. Notes
15. CreatedBy
10. cir (147) (no_pk)
1. Branch_id
2. Prospect_FName
3. Prospect_LName
4. P_StreetAddress
5. P_City
6. P_State
7. P_ZipCode
8. P_Country
9. P_Area_Name
10. P_Phone1

(9,18,60)

11. P_Phone2
12. P_Mobile
13. P_Fax
14. P_Email
15. Company_Name
16. User_Name
17. Income_Group
18. Model_Name
19. Color_Name
20. VIN_No
21. ModeOfPurchase
22. FSource_Id
23. FSource_Name
24. FleetType
25. NoOfFordCars_Owned
26. Emp_FName
27. Emp_LName
28. Qualification_Desc
29. Finance_Tenure
30. INV_NO
31. Regn_No
32. Profession_Desc
33. Industry_Desc
34. Order_id
35. Order_date
36. Model_Id
37. Color_Id
11. color_master (10)
1. Color_Id pk
(8,9,10,18,20,23,28,31,34,35,36,37,65)
2. Color_Name
12. competitor_master (0)
1. Competitor_Id pk
2. Competitor_Name
3. Dealers
4. Notes
13. customer_master (163)
1. Cust_Id pk
(24,43,60)
2. Prospect_Id
14. designation_master (7)
1. Desig_Id pk
(15,16,19,62)
2. Desig_Name
3. Desig_Desc
4. AccessTo_All_Branches - nn
5. AccessTo_All_Teams - nn
15. designation_resource_map (128)
1. Desig_Id pk
(14,16,19,62)

2. Resource_Id - pk
16. emp_master (57)
1. Emp_Id pk
(19,23,34,35,36,37,63,65)
2. Emp_code
3. Branch_Id - fk
4. Emp_FName
5. Emp_LName
6. Current_StreetAddress
7. Current_City
8. Current_State
9. Current_ZipCode
10. Current_Country
11. Current_Phone1
12. Current_Phone2
13. Current_Mobile
14. Current_Fax
15. Perm_StreetAddress
16. Perm_City
17. Perm_State
18. Perm_ZipCode
19. Perm_Country
20. Perm_Phone1
21. Perm_Phone2
22. Perm_Mobile
23. Perm_Fax
24. Email
25. Desig_Id
26. DateOf_Joining
27. DateOf_Leaving
28. AccessTo_All_Branches - nn
29. AccessTo_All_Teams - nn
30. Status_Id
17. financesource_master (19)
1. FSource_Id pk (10,23,34,35,36,37,65)
2. FSource_Name
3. FSource_Desc
4. Interest_Rate
18. h_casedetail_trans (31)
1. H_Case_Id - pk
2. Case_Id
3. Prospect_Id
4. Model_Id
5. Color_Id
6. FollowUp_Action_Id
7. FollowUp_Date
8. NextPlanOf_Action_Id

9. NextFollowUp_Date
10. State_Id
11. Status_Id
12. PredictedClose_Date
13. ActualClose_Date
14. Notes
15. CreatedBy
19. h_emp_master (2)
1. H_Emp_Id pk
2. Emp_Id
3. Emp_code
4. Branch_Id
5. Emp_FName
6. Emp_LName
7. Current_StreetAddress
8. Current_City
9. Current_State
10. Current_ZipCode
11. Current_Country
12. Current_Phone1
13. Current_Phone2
14. Current_Mobile
15. Current_Fax
16. Perm_StreetAddress
17. Perm_City
18. Perm_State
19. Perm_ZipCode
20. Perm_Country
21. Perm_Phone1
22. Perm_Phone2
23. Perm_Mobile
24. Perm_Fax
25. Email
26. Desig_Id
27. DateOf_Joining
28. DateOf_Leaving
29. AccessTo_All_Branches - nn
30. AccessTo_All_Teams - nn
31. Status_Id
20. h_inventory_master (91)
1. H_Inventory_Id - pk
2. Inventory_Id
3. Branch_Id
4. Model_Id
5. Color_Id
6. NoOf_Items

7. ReOrder_Level
8. Purchase_Month
9. Purchase_Year
21. h_map_inventory_master (962)
1. H_Map_Inventory_Id pk
2. Map_Inventory_Id
3. Inventory_Id
4. VIN_No
5. InOut_Status
6. Date_In
22. h_model_master (0)
1. H_Model_Id pk
2. Model_Id
3. Model_Name
4. Engine
5. Capacity
6. BaseModel_Id
7. DealerMargin
23. h_orderbooking_trans (70)
1. H_Order_Id pk
2. Order_Id
3. Prospect_Id
4. Emp_Id
5. Order_date
6. Subvention
7. Margin
8. Spl_Offers
9. Dsa_Payout
10. FleetAmt
11. TotalOutFlow
12. TotalInFlow
13. TotalCosttoDlrship
14. CustType
15. ModeOfPurchase
16. FSource_Id
17. Finance_Tenure
18. FleetIdentificationNo
19. ModeOfPurchase_DSA
20. FleetType
21. InsBy
22. DO_FIN_Amt
23. Cash_Date
24. Model_Id
25. Color_Id
26. VIN_Id
27. DateOf_Delivery

28. GP_NO
29. INV_NO
30. Regn_By
31. Regn_No
32. Car_Margin
33. Acc_Margin
34. EW_Margin
35. Insurance_Margin
36. Other_Margin
37. Total_Gross_Margin
38. Cost_To_Dlrship
39. Interest_Cost
40. Spl_Incentive
41. Total_Cost
42. Net_Margin
43. Company_Name
44. Status_Id
45. IT_ReqType
46. PAN
47. Remarks
48. Paper_Claimable
49. Paper_Fleet
50. C_Date
51. User_Name
24. h_prospect_master (18)
1. H_Prospect_Id pk
2. Branch_Id
3. Prospect_Id
4. Individual - nn
5. Corporate - nn
6. Cust_Id
7. Prospect_FName
8. Prospect_LName
9. Company_Name
10. P_StreetAddress
11. P_City
12. P_State
13. P_ZipCode
14. P_Country
15. P_Area_Id
16. P_Phone1
17. P_Phone2
18. P_Mobile
19. P_Fax
20. P_Email
21. NoOfVehicles_Owned

22. NoOfFordCars_Owned
23. Model_Owned
24. Income_Group
25. Industry_Id
26. Qualification_Id
27. Profession_Id
28. PlanTo_Buy_Date
29. ModelTo_Buy
30. ColorTo_Buy
31. Source_Id
32. DateOf_Enquiry
33. FollowUp_Date
34. FollowUp_Time
35. SCFVehicles_Bought
36. Notes
37. Status_Id
38. Assigned
39. CreatedBy
25. h_teammembertarget_trans (28)
1. H_TeamMemberTarget_Id pk
2. TeamMemberTarget_Id
3. Team_Id
4. TeamMemberId
5. BaseModel_Id
6. Car_Jan
7. Car_Feb
8. Car_Mar
9. Car_Apr
10. Car_May
11. Car_June
12. Car_July
13. Car_Aug
14. Car_Sep
15. Car_Oct
16. Car_Nov
17. Car_Dec
18. Acc_Jan
19. Acc_Feb
20. Acc_Mar
21. Acc_Apr
22. Acc_May
23. Acc_June
24. Acc_July
25. Acc_Aug
26. Acc_Sep
27. Acc_Oct

28. Acc_Nov
29. Acc_Dec
30. Target_Year
26. h_team_trans (0)
1. H_Team_Id pk (25,26,56,66)
2. Team_Id
3. Branch_Id
4. TeamManagerId
5. TeamLeaderId
6. Team_Name
7. Team_Type_Id
8. Status_Id
27. industry_master (20)
1. Industry_Id pk (24,43)
2. Industry_Name
3. Industry_Desc
28. inventory_master (124)
1. Inventory_Id pk (20,21,29,62)
2. Branch_Id
3. Model_Id
4. Color_Id
5. NoOf_Items
6. ReOrder_Level
7. Purchase_Month
8. Purchase_Year
29. lead_assignment_detail (2701)
1. Lead_Assign_Id pk
2. Branch_Id
3. Team_Id
4. Prospect_Id
5. Assigned_From
6. Assigned_To
30. map_inventory_master (233)
1. Map_Inventory_Id pk
(21,61)
2. Inventory_Id
3. VIN_No
4. InOut_Status
5. Date_In
31. model_color_map (104)
1. Model_Color_Map_Id pk
2. Color_Id
3. Model_Id
32. model_master (17)
1. Model_Id pk
(8,9,10,18,20,22,23,28,31,34,35,36,37,41,49,)
2. Model_Name
3. Engine

4. Capacity
5. BaseModel_Id
6. DealerMargin
33. month_master (12) (no_pk)
1. Month_Id
(can be made pk)
2. Month_Name
(can be made pk)
34. m_orderbooking_trans (0)
1. M_Order_Id pk
2. Order_Id
3. Prospect_Id
4. Emp_Id
5. Order_date
6. Subvention
7. Margin
8. Spl_Offers
9. Dsa_Payout
10. FleetAmt
11. TotalOutFlow
12. TotalInFlow
13. TotalCosttoDlrship
14. CustType
15. ModeOfPurchase
16. FSource_Id
17. Finance_Tenure
18. FleetIdentificationNo
19. ModeOfPurchase_DSA
20. FleetType
21. InsBy
22. DO_FIN_Amt
23. Cash_Date
24. Model_Id
25. Color_Id
26. VIN_Id
27. DateOf_Delivery
28. GP_NO
29. INV_NO
30. Regn_By
31. Regn_No
32. Car_Margin
33. Acc_Margin
34. EW_Margin
35. Insurance_Margin
36. Other_Margin
37. Total_Gross_Margin
38. Cost_To_Dlrship
39. Interest_Cost

40. Spl_Incentive
41. Total_Cost
42. Net_Margin
43. Company_Name
44. Status_Id
45. IT_ReqType
46. PAN
47. Remarks
48. Paper_Claimable
49. Paper_Fleet
35. orderbooking_trans (141)
1. Order_Id pk
2. Prospect_Id
3. Emp_Id
4. Order_date
5. Subvention
6. Margin
7. Spl_Offers
8. Dsa_Payout
9. FleetAmt
10. TotalOutFlow
11. TotalInFlow
12. TotalCosttoDlrship
13. CustType
14. ModeOfPurchase
15. FSource_Id
16. Finance_Tenure
17. FleetIdentificationNo
18. ModeOfPurchase_DSA
19. FleetType
20. InsBy
21. DO_FIN_Amt
22. Cash_Date
23. Model_Id
24. Color_Id
25. VIN_Id
26. DateOf_Delivery
27. GP_NO
28. INV_NO
29. Regn_By
30. Regn_No
31. Car_Margin
32. Acc_Margin
33. EW_Margin
34. Insurance_Margin
35. Other_Margin

(10,23,34,36,37,38,39,51,52,65)

36. Total_Gross_Margin
37. Cost_To_Dlrship
38. Interest_Cost
39. Spl_Incentive
40. Total_Cost
41. Net_Margin
42. Company_Name
43. Status_Id
44. IT_ReqType
45. PAN
46. Remarks
47. Paper_Claimable
48. Paper_Fleet
49. User_Name
36. orderbooking_trans_history (9) (no_pk)
1. Order_Id
(can be made pk) (10,23,34,36,37,38,39,51,52,65)
2. Prospect_Id
3. Emp_Id
4. Order_date
5. Subvention
6. Margin
7. Spl_Offers
8. Dsa_Payout
9. FleetAmt
10. TotalOutFlow
11. TotalInFlow
12. TotalCosttoDlrship
13. CustType
14. ModeOfPurchase
15. FSource_Id
16. FleetIdentificationNo
17. ModeOfPurchase_DSA
18. FleetType
19. InsBy
20. ChqNo
21. Chq_Bank
22. Chq_Date
23. Chq_Amt
24. ReceiptNo
25. DO_FIN_Amt
26. Model_Id
27. Color_Id
28. VIN_Id
29. DateOf_Delivery
30. GP_NO
31. INV_NO

32. Regn_By
33. Regn_No
34. Car_Margin
35. Acc_Margin
36. EW_Margin
37. Insurance_Margin
38. Other_Margin
39. Total_Gross_Margin
40. Cost_To_Dlrship
41. Interest_Cost
42. Spl_Incentive
43. Total_Cost
44. Net_Margin
45. Company_Name
46. Status_Id
47. IT_ReqType
48. PAN
49. User_Name
37. orderbooking_trans_old (1) (no_pk)
1. Order_Id
(can be made pk) (10,23,34,36,37,38,39,51,52,65)
2. Prospect_Id
3. Emp_Id
4. Order_date
5. Subvention
6. Margin
7. Spl_Offers
8. Dsa_Payout
9. FleetAmt
10. TotalOutFlow
11. TotalInFlow
12. TotalCosttoDlrship
13. CustType
14. ModeOfPurchase
15. FSource_Id
16. FleetIdentificationNo
17. ModeOfPurchase_DSA
18. FleetType
19. InsBy
20. ChqNo
21. Chq_Bank
22. Chq_Date
23. Chq_Amt
24. ReceiptNo
25. DO_FIN_Amt
26. Model_Id
27. Color_Id

28. VIN_Id
29. DateOf_Delivery
30. GP_NO
31. INV_NO
32. Regn_By
33. Regn_No
34. Car_Margin
35. Acc_Margin
36. EW_Margin
37. Insurance_Margin
38. Other_Margin
39. Total_Gross_Margin
40. Cost_To_Dlrship
41. Interest_Cost
42. Spl_Incentive
43. Total_Cost
44. Net_Margin
45. Company_Name
46. Status_Id
47. IT_ReqType
48. PAN
38. order_acc_map (287)
1. Order_Acc_Map_Id pk
2. Acc_Item
3. Acc_Type
4. Acc_Amount
5. Acc_Cost
6. Order_Id
39. order_payment_map (117)
1. Order_Payment_Map_Id pk
2. ChqNo
3. Chq_Bank
4. Chq_Date
5. Chq_Amt
6. ReceiptNo
7. Order_Id
40. organization_master (1)
1. Org_Id pk
(6)
2. Org_Name
3. Org_StreetAddress
4. Org_City
5. Org_State
6. Org_ZiPCode
7. Org_Country
8. Org_Phone1
9. Org_Phone2

10. Org_Fax
11. Org_Email
41. price_master (0)
1. Price_Id - pk
2. Model_Id
3. Price
4. Date_From
5. Date_To
42. profession_master (7)
1. Profession_Id pk (24,43)
2. Profession_Name
3. Profession_Desc
43. prospect_master (2638)
1. Branch_Id
2. Prospect_Id pk (8,9,13,18,23,24,29,34,35,36,37,65)
3. Individual - nn
4. Corporate - nn
5. Cust_Id
6. Prospect_FName
7. Prospect_LName
8. Company_Name
9. P_StreetAddress
10. P_City
11. P_State
12. P_ZipCode
13. P_Country
14. P_Area_Id
15. P_Phone1
16. P_Phone2
17. P_Mobile
18. P_Fax
19. P_Email
20. NoOfVehicles_Owned
21. NoOfFordCars_Owned
22. Model_Owned
23. Income_Group
24. Industry_Id
25. Qualification_Id
26. Profession_Id
27. PlanTo_Buy_Date
28. ModelTo_Buy
29. ColorTo_Buy
30. Source_Id
31. DateOf_Enquiry
32. FollowUp_Date
33. FollowUp_Time

34. SCFVehicles_Bought
35. Notes
36. Status_Id
37. Assigned
38. CreatedBy
44. qualification_master (6)
1. Qualification_Id pk
(24,43)
2. Qualification_Name
3. Qualification_Desc
45. resourse_master (57)
1. Resource_Id pk
(15,54)
2. Group_English
3. Resource_Name_English
4. Link
5. Target
6. showinmenu
46. schemetype_master (4) (no_pk)
1. SchemeType_Id
(can be made pk) (49)
2. SchemeType
3. Scheme_type
47. scheme_master (6)
1. Scheme_Id pk
(48,50,51,52)
2. Scheme_Name
3. Scheme_Description
48. scheme_master_old (5) (no_pk)
1. Scheme_Id
(can be made pk) (48,50,51,52)
2. Scheme_Name
3. Scheme_Description
4. Show_Scheme_Flag
49. scheme_model_map (74) (no_pk)
1. Scheme_Model_Map_Id (can be made pk)
2. Scheme_Month_Map_Id
3. Model_Id
4. Scheme_Amount
5. SchemeType_Id
6. Show_Scheme_Flag
50. scheme_month_map (17) (no_pk)
1. Scheme_Month_Map_Id (can be made pk) (49)
2. Scheme_Id
3. Scheme_Month
4. Scheme_Year
51. scheme_order_map (202) (no_pk)
1. Scheme_Order_Map_Id
(can be made pk) (52)
2. Order_Id
3. Scheme_Id
4. Scheme_Amount

5. Scheme_Type
52. scheme_order_map_old (2) (no_pk)
1. Scheme_Order_Map_Id
(can be made pk) (51)
2. Order_Id
3. Scheme_Id
4. Scheme_Amount
53. source_master (10)
1. Source_Id pk
(24,43)
2. Source_Name
54. state_master (6)
1. State_Id pk
(8,9,18)
2. State_Desc
55. status_table (2)
1. Status_Id pk
(2,6,9,16,18,19,23,24,26,34,35,36,37,43,56,60,62,65)
2. Status_Desc
56. teammembertarget_trans (75)
1. TeamMemberTarget_Id pk
(25)
2. Team_Id
3. TeamMemberId
4. BaseModel_Id
5. Car_Jan
6. Car_Feb
7. Car_Mar
8. Car_Apr
9. Car_May
10. Car_June
11. Car_July
12. Car_Aug
13. Car_Sep
14. Car_Oct
15. Car_Nov
16. Car_Dec
17. Acc_Jan
18. Acc_Feb
19. Acc_Mar
20. Acc_Apr
21. Acc_May
22. Acc_June
23. Acc_July
24. Acc_Aug
25. Acc_Sep
26. Acc_Oct
27. Acc_Nov
28. Acc_Dec
29. Target_Year

57. teamtype_master (2)


1. Team_Type_Id pk
(26,59)
2. Team_TypeName
3. Team_Type
58. team_member_map (30)
1. Team_Member_Map_Id pk
2. Team_Id
3. Team_Member_Id
59. team_trans (11)
1. Team_Id pk
(25,26,29,56,58)
2. Branch_Id
3. TeamManagerId
4. TeamLeaderId
5. Team_Name
6. Team_Type_Id
7. Status_Id
60. tempcust (0)
1. Case_Id
2. Cust_Id pk
(13,24,43)
3. Individual - nn
4. Corporate - nn
5. Cust_FName
6. Cust_LName
7. Company_Name
8. C_StreetAddress
9. C_City
10. C_State
11. C_ZipCode
12. C_Country
13. C_Area_Id
14. C_Phone1
15. C_Phone2
16. C_Mobile
17. C_Fax
18. C_Email
19. Status_Id
20. Notes
61. tempinve (233)
1. Map_Inventory_Id pk
(21,30)
2. Inventory_Id
3. VIN_No
4. InOut_Status
5. Date_In
62. temp_emp (15) (no_pk)
1. Emp_code
(can be made pk but one cell is null) (16,19)
2. Branch_Id

3. Emp_FName
4. Emp_LName
5. Current_StreetAddress
6. Current_City
7. Current_State
8. Current_ZipCode
9. Current_Country
10. Current_Phone1
11. Current_Phone2
12. Current_Mobile
13. Current_Fax
14. Perm_StreetAddress
15. Perm_City
16. Perm_State
17. Perm_ZipCode
18. Perm_Country
19. Perm_Phone1
20. Perm_Phone2
21. Perm_Mobile
22. Perm_Fax
23. Email
24. Desig_Id
25. DateOf_Joining
26. DateOf_Leaving
27. AccessTo_All_Branches - nn
28. AccessTo_All_Teams - nn
29. Status_Id
63. user_master (57)
1. User_Id pk
(2,64)
2. Emp_Id
3. Login_Name
4. Password
64. user_resource_map (65)
1. User_Id pk
(2,63)
2. Resource_Id - pk
65. u_oredrbooking_trans (311)
1. U_Order_Id pk
2. Order_Id
3. Prospect_Id
4. Emp_Id
5. Order_date
6. Subvention
7. Margin
8. Spl_Offers
9. Dsa_Payout
10. FleetAmt

11. TotalOutFlow
12. TotalInFlow
13. TotalCosttoDlrship
14. CustType
15. ModeOfPurchase
16. FSource_Id
17. Finance_Tenure
18. FleetIdentificationNo
19. ModeOfPurchase_DSA
20. FleetType
21. InsBy
22. DO_FIN_Amt
23. Cash_Date
24. Model_Id
25. Color_Id
26. VIN_Id
27. DateOf_Delivery
28. GP_NO
29. INV_NO
30. Regn_By
31. Regn_No
32. Car_Margin
33. Acc_Margin
34. EW_Margin
35. Insurance_Margin
36. Other_Margin
37. Total_Gross_Margin
38. Cost_To_Dlrship
39. Interest_Cost
40. Spl_Incentive
41. Total_Cost
42. Net_Margin
43. Company_Name
44. Status_Id
45. IT_ReqType
46. PAN
47. Remarks
48. Paper_Claimable
49. Paper_Fleet
50. C_Date
51. User_Name
66. wholesaleretail_target (4)
1. Target_Id pk
2. BaseModel_Id
3. WholeSale_Jan
4. WholeSale_Feb

5. WholeSale_Mar
6. WholeSale_Apr
7. WholeSale_May
8. WholeSale_June
9. WholeSale_July
10. WholeSale_Aug
11. WholeSale_Sep
12. WholeSale_Oct
13. WholeSale_Nov
14. WholeSale_Dec
15. Retail_Jan
16. Retail_Feb
17. Retail_Mar
18. Retail_Apr
19. Retail_May
20. Retail_June
21. Retail_July
22. Retail_Aug
23. Retail_Sep
24. Retail_Oct
25. Retail_Nov
26. Retail_Dec
27. Target_Year

Вам также может понравиться