2 if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
3 /*********************************************************************************
4 * SugarCRM is a customer relationship management program developed by
5 * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
7 * This program is free software; you can redistribute it and/or modify it under
8 * the terms of the GNU Affero General Public License version 3 as published by the
9 * Free Software Foundation with the addition of the following permission added
10 * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
11 * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
12 * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
14 * This program is distributed in the hope that it will be useful, but WITHOUT
15 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16 * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
19 * You should have received a copy of the GNU Affero General Public License along with
20 * this program; if not, see http://www.gnu.org/licenses or write to the Free
21 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
24 * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
25 * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
27 * The interactive user interfaces in modified source and object code versions
28 * of this program must display Appropriate Legal Notices, as required under
29 * Section 5 of the GNU Affero General Public License version 3.
31 * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
32 * these Appropriate Legal Notices must retain the display of the "Powered by
33 * SugarCRM" logo. If the display of the logo is not reasonably feasible for
34 * technical reasons, the Appropriate Legal Notices must display the words
35 * "Powered by SugarCRM".
36 ********************************************************************************/
43 global $sugar_demodata;
44 $sugar_demodata['users'][0] = array(
45 'id' => 'seed_jim_id',
46 'last_name' => 'Brennan',
47 'first_name' => 'Jim',
49 'title' => 'VP Sales',
52 'reports_to_name' => null,
53 'email' => 'jim@example.com'
57 $sugar_demodata['users'][] = array(
58 'id' => 'seed_sarah_id',
59 'last_name' => 'Smith',
60 'first_name' => 'Sarah',
61 'user_name' => 'sarah',
62 'title' => 'Sales Manager West',
64 'reports_to' => 'seed_jim_id',
65 'reports_to_name' => 'Brennan, Jim',
66 'email' => 'sarah@example.com'
69 $sugar_demodata['users'][] = array(
70 'id' => 'seed_sally_id',
71 'last_name' => 'Bronsen',
72 'first_name' => 'Sally',
73 'user_name' => 'sally',
74 'title' => 'Senior Account Rep',
76 'reports_to' => 'seed_sarah_id',
77 'reports_to_name' => 'Smith, Sarah',
78 'email' => 'sally@example.com'
81 $sugar_demodata['users'][] = array(
82 'id' => 'seed_max_id',
83 'last_name' => 'Jensen',
84 'first_name' => 'Max',
86 'title' => 'Account Rep',
88 'reports_to' => 'seed_sarah_id',
89 'reports_to_name' => 'Smith, Sarah',
90 'email' => 'tom@example.com'
94 $sugar_demodata['users'][] = array(
95 'id' => 'seed_will_id',
96 'last_name' => 'Westin',
97 'first_name' => 'Will',
98 'user_name' => 'will',
99 'title' => 'Sales Manager East',
101 'reports_to' => 'seed_jim_id',
102 'reports_to_name' => 'Brennan, Jim',
103 'email' => 'will@example.com'
106 $sugar_demodata['users'][] = array(
107 'id' => 'seed_chris_id',
108 'last_name' => 'Olliver',
109 'first_name' => 'Chris',
110 'user_name' => 'chris',
111 'title' => 'Senior Account Rep',
113 'reports_to' => 'seed_will_id',
114 'reports_to_name' => 'Westin, Will',
115 'email' => 'chris@example.com'
119 $sugar_demodata['teams'][] = array(
121 'description' => 'This is the team for the East',
125 $sugar_demodata['teams'][] = array(
127 'description' => 'This is the team for the West',
132 $sugar_demodata['last_name_array'] = array(
18974 $sugar_demodata['first_name_array'] = array(
21251 $sugar_demodata['company_name_array'] = array(
21253 "2 Big Consolidation Corp",
21256 "3rd Round Funding",
21258 "A 99 Capital Inc",
21259 "A B Drivers Limited",
21260 "A B Hammer Group Inc",
21261 "A.D. Arts & Crafts Inc",
21262 "A.D. Importing Company Inc",
21268 "Anytime Air Support Inc",
21270 "B Rubble Group Inc",
21271 "B.C. Investing International",
21272 "B.C. Reporting Ltd",
21273 "B.H. Edwards Inc",
21274 "Big Dog Marketing",
21278 "Chandler Logistics Inc",
21279 "Cloud Cover Trust",
21282 "CUMBERLAND TRAILS",
21283 "DD Furniture Inc",
21285 "Doggie Diner Co Ltd",
21286 "Do-Over Investing",
21287 "Draft Diversified Energy Inc",
21288 "First National S/B",
21289 "Gifted Holdings AG",
21290 "Green Tractor Group Limited",
21292 "Income Free Investing LP",
21293 "International Art Inc",
21294 "Itty-Bitty Conglomerate Inc",
21295 "J.K.M. Corp (HA)",
21298 "JJ Resources Inc",
21303 "Kings Royalty Trust",
21305 "L Smith & Daughters",
21306 "Lexington Shores Corp",
21307 "Max Holdings Ltd",
21308 "MISSISSIPPI BANKS",
21309 "MMM Mortuary Corp",
21310 "MTM Investment Bank F S B",
21311 "Nimble Technologies Inc",
21312 "NW Bridge Construction",
21315 "Overhead & Underfoot Ltd.",
21317 "Powder Puff Suppliers",
21318 "Pullman Cart Company",
21321 "Rhyme & Reason Inc",
21324 "RRR Advertising Inc.",
21325 "S Cane Sweeteners Ltd",
21327 "Slender Broadband Inc",
21328 "Smallville Resources Inc",
21329 "South Sea Plumbing Products",
21331 "Spend Thrift Inc",
21332 "Spindle Broadcast Corp.",
21333 "Start Over Trust",
21334 "Super Star Holdings Inc",
21336 "T-Cat Media Group Inc",
21340 "Trait Institute Inc",
21341 "Tri-State Medical Corp",
21343 "EEE Endowments LTD",
21349 "XY&Z Funding Inc",
21352 $sugar_demodata['street_address_array'] = array(
21353 "123 Anywhere Street",
21357 "67321 West Siam St.",
21358 "48920 San Carlos",
21359 "777 West Filmore",
21361 "111 Silicon Valley Road",
21362 "321 University Ave.",
21365 $sugar_demodata['city_array'] = array(
21385 $sugar_demodata['case_seed_names'] = array(
21386 'Having Trouble Plugging It In',
21387 'System is Performing Too Fast',
21388 'Need assistance with large customization',
21389 'Need to Purchase Additional Licenses',
21390 'Warning message when using the wrong browser'
21392 $sugar_demodata['note_seed_names_and_Descriptions'] = array(
21393 array('More Account Information','This could turn into a 3,000 user opportunity'),
21394 array('Call Information','We had a call. The call went well.'),
21395 array('Birthday Information','The Owner was born in October'),
21396 array('Holliday Gift','The holliday gift was appreciated. Put them on the list for next year as well.')
21398 $sugar_demodata['call_seed_data_names'] = array(
21399 'Get More information on the proposed deal',
21401 'Bad time, will call back',
21402 'Discuss Review Process'
21406 $sugar_demodata['titles'] = array(
21410 "Director Operations",
21419 $sugar_demodata['task_seed_data_names'] = array(
21420 'Assemble catalogs',
21421 'Make travel arrangements',
21425 'Send a follow-up letter',
21429 'Call to schedule meeting',
21430 'Setup evaluation',
21431 'Get demo feedback',
21432 'Arrange introduction',
21433 'Escalate support request',
21434 'Close out support request',
21436 'Arrange reference call',
21437 'Schedule training',
21438 'Send local user group information',
21439 'Add to mailing list',
21441 $sugar_demodata['meeting_seed_data_descriptions'] = 'Meeting to discuss project plan and hash out the details of implementation';
21444 $sugar_demodata['meeting_seed_data_names'] = array(
21445 'Follow-up on proposal',
21446 'Initial discussion',
21450 'Introduce all players',
21452 $sugar_demodata['meeting_seed_data_descriptions'] = 'Meeting to discuss project plan and hash out the details of implementation';
21455 $sugar_demodata['email_seed_data_subjects'] = array(
21456 'Follow-up on proposal',
21457 'Initial discussion',
21461 'Introduce all players',
21463 $sugar_demodata['email_seed_data_descriptions'] = 'Meeting to discuss project plan and hash out the details of implementation';
21466 $sugar_demodata['primary_address_state'] = 'CA';
21467 $sugar_demodata['billing_address_state']['east'] = 'NY';
21468 $sugar_demodata['billing_address_state']['west'] = 'CA';
21469 $sugar_demodata['primary_address_country'] = 'USA';
21473 $sugar_demodata['manufacturer_seed_data_names'] = array(
21475 'Wally\'s Widget World'
21479 $sugar_demodata['shipper_seed_data_names'] = array(
21483 //productcategories
21484 $sugar_demodata['category_ext_name'] = ' Widgets';
21485 $sugar_demodata['product_ext_name'] = ' Gadget';
21487 $sugar_demodata['productcategory_seed_data_names'] = array(
21490 'Stationary Widgets',
21495 $sugar_demodata['producttype_seed_data_names']= array(
21501 $sugar_demodata['taxrate_seed_data'][] = array(
21502 'name' => '8.25 - Cupertino, CA',
21506 $sugar_demodata['currency_seed_data'][] = array(
21508 'conversion_rate' => 0.9,
21509 'iso4217' => 'EUR',
21514 $sugar_demodata['producttemplate_seed_data'][] = array(
21515 'name' => 'TK 1000 Desktop',
21516 'tax_class' => 'Taxable',
21517 'cost_price' => 500.00,
21518 'cost_usdollar' => 500.00,
21519 'list_price' => 800.00,
21520 'list_usdollar' => 800.00,
21521 'discount_price' => 800.00,
21522 'discount_usdollar' => 800.00,
21523 'pricing_formula' => 'IsList',
21524 'mft_part_num' => 'XYZ7890122222',
21525 'pricing_factor' => '1',
21526 'status' => 'Available',
21528 'date_available' => '2004-10-15',
21529 'qty_in_stock' => '72',
21532 $sugar_demodata['producttemplate_seed_data'][] = array(
21533 'name' => 'TK 1000 Desktop',
21534 'tax_class' => 'Taxable',
21535 'cost_price' => 600.00,
21536 'cost_usdollar' => 600.00,
21537 'list_price' => 900.00,
21538 'list_usdollar' => 900.00,
21539 'discount_price' => 900.00,
21540 'discount_usdollar' => 900.00,
21541 'pricing_formula' => 'IsList',
21542 'mft_part_num' => 'XYZ7890123456',
21543 'pricing_factor' => '1',
21544 'status' => 'Available',
21546 'date_available' => '2004-10-15',
21547 'qty_in_stock' => '65',
21550 $sugar_demodata['producttemplate_seed_data'][] = array(
21551 'name' => 'TK m30 Desktop',
21552 'tax_class' => 'Taxable',
21553 'cost_price' => 1300.00,
21554 'cost_usdollar' => 1300.00,
21555 'list_price' => 1700.00,
21556 'list_usdollar' => 1700.00,
21557 'discount_price' => 1625.00,
21558 'discount_usdollar' => 1625.00,
21559 'pricing_formula' => 'ProfitMargin',
21560 'mft_part_num' => 'ABCD123456890',
21561 'pricing_factor' => '20',
21562 'status' => 'Available',
21564 'date_available' => '2004-10-15',
21565 'qty_in_stock' => '12',
21568 $sugar_demodata['producttemplate_seed_data'][] = array(
21569 'name' => 'Reflective Mirror Widget',
21570 'tax_class' => 'Taxable',
21571 'cost_price' => 200.00,
21572 'cost_usdollar' => 200.00,
21573 'list_price' => 325.00,
21574 'list_usdollar' => 325.00,
21575 'discount_price' => 266.50,
21576 'discount_usdollar' => 266.50,
21577 'pricing_formula' => 'PercentageDiscount',
21578 'mft_part_num' => '2.0',
21579 'pricing_factor' => '20',
21580 'status' => 'Available',
21582 'date_available' => '2004-10-15',
21583 'qty_in_stock' => '65',
21586 $sugar_demodata['contract_seed_data'][] = array(
21587 'name' => 'IT Tech Support for Moon Base',
21588 'reference_code' => 'EMP-9802',
21589 'total_contract_value' => '500600.01',
21590 'start_date' => '2010-05-15',
21591 'end_date' => '2020-05-15',
21592 'company_signed_date' => '2010-03-15',
21593 'customer_signed_date' => '2010-03-16',
21594 'description' => 'This is a sub-contract for a very large, very hush-hush project on the moon of Endor.',
21597 $sugar_demodata['contract_seed_data'][] = array(
21598 'name' => 'Ion Engines for Empire',
21599 'reference_code' => 'EMP-7277',
21600 'total_contract_value' => '333444.34',
21601 'start_date' => '2010-05-15',
21602 'end_date' => '2020-05-15',
21603 'company_signed_date' => '2010-03-15',
21604 'customer_signed_date' => '2010-03-16',
21605 'description' => 'In competition with Sienar Fleet Systems for this one.',
21608 $sugar_demodata['project_seed_data']['audit'] = array(
21609 'name' => 'Create new project plan for audit',
21610 'description' => 'Annual audit coming up next month.',
21611 'estimated_start_date' => '2007-11-01',
21612 'estimated_end_date' => '2007-12-31',
21613 'status' => 'Draft',
21614 'priority' => 'medium',
21617 $sugar_demodata['project_seed_data']['audit']['project_tasks'][] = array(
21618 'name' => 'Communicate to stakeholders',
21619 'date_start' => '2007/11/1',
21620 'date_finish' => '2007/11/8',
21621 'description' => 'Schedule individual meetings with Will, Max, and Sarah.',
21623 'duration_unit' => 'Days',
21624 'percent_complete' => 100,
21627 $sugar_demodata['project_seed_data']['audit']['project_tasks'][] = array(
21628 'name' => 'Create draft of the plan',
21629 'date_start' => '2007/11/5',
21630 'date_finish' => '2007/11/20',
21631 'description' => 'Schedule individual meetings with Will, Max, and Sarah.',
21632 'duration' => '12',
21633 'duration_unit' => 'Days',
21634 'percent_complete' => 38,
21637 $sugar_demodata['project_seed_data']['audit']['project_tasks'][] = array(
21638 'name' => 'Field work for collecting data.',
21639 'date_start' => '2007/11/5',
21640 'date_finish' => '2007/11/13',
21641 'description' => 'We need to get approval from all stakeholders on the plan',
21642 'duration' => '17',
21643 'duration_unit' => 'Days',
21644 'percent_complete' => 75,
21647 $sugar_demodata['project_seed_data']['audit']['project_tasks'][] = array(
21648 'name' => 'Create draft of the plan',
21649 'date_start' => '2007/11/12',
21650 'date_finish' => '2007/11/19',
21651 'description' => 'Schedule the meeting with the head of business units to solicit help.',
21653 'duration_unit' => 'Days',
21654 'percent_complete' => 0,
21657 $sugar_demodata['project_seed_data']['audit']['project_tasks'][] = array(
21658 'name' => 'Gather data from meetings',
21659 'date_start' => '2007/11/20',
21660 'date_finish' => '2007/11/20',
21661 'description' => 'Need to organize the data and put it in the right spreadsheet.',
21663 'duration_unit' => 'Days',
21664 'percent_complete' => 0,