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 ********************************************************************************/
42 global $sugar_demodata;
43 $sugar_demodata['users'][0] = array(
44 'id' => 'seed_jim_id',
45 'last_name' => 'ブレナン',
46 'first_name' => 'ジーム',
48 'title' => 'Sales Manager West',
51 'reports_to_name' => null,
52 'email' => 'jim@example.com'
56 $sugar_demodata['users'][] = array(
57 'id' => 'seed_sarah_id',
59 'first_name' => 'サーラー',
60 'user_name' => 'sarah',
61 'title' => 'Sales Manager West',
63 'reports_to' => 'seed_jim_id',
64 'reports_to_name' => 'ブレナン, ジーム',
65 'email' => 'sarah@example.com'
68 $sugar_demodata['users'][] = array(
69 'id' => 'seed_sally_id',
70 'last_name' => 'ブロンソン',
71 'first_name' => 'サーリー',
72 'user_name' => 'sally',
73 'title' => 'Senior Account Rep',
75 'reports_to' => 'seed_sarah_id',
76 'reports_to_name' => 'スミス, サーラー',
77 'email' => 'sally@example.com'
80 $sugar_demodata['users'][] = array(
81 'id' => 'seed_max_id',
82 'last_name' => 'ジェンソン',
83 'first_name' => 'マクス',
85 'title' => 'Account Rep',
87 'reports_to' => 'seed_sarah_id',
88 'reports_to_name' => 'スミス、サーラー',
89 'email' => 'tom@example.com'
93 $sugar_demodata['users'][] = array(
94 'id' => 'seed_will_id',
95 'last_name' => 'ウエストン',
96 'first_name' => 'ウイル',
97 'user_name' => 'will',
98 'title' => 'Sales Manager East',
100 'reports_to' => 'seed_jim_id',
101 'reports_to_name' => 'ブレナン, ジーム',
102 'email' => 'will@example.com'
105 $sugar_demodata['users'][] = array(
106 'id' => 'seed_chris_id',
107 'last_name' => 'オリバー',
108 'first_name' => 'クリス',
109 'user_name' => 'chris',
110 'title' => 'Senior Account Rep',
112 'reports_to' => 'seed_will_id',
113 'reports_to_name' => 'ウエストン, ウイル',
114 'email' => 'chris@example.com'
118 $sugar_demodata['teams'][] = array(
119 'name' => 'East イースト',
120 'description' => 'これは東のためのチームです。',
124 $sugar_demodata['teams'][] = array(
125 'name' => 'West イースト',
126 'description' => 'Westウエスト", "これは西のためのチームです。 ',
132 $sugar_demodata['company_name_array'] = array(
137 "Fabriqué Interationål",
138 "Életriqué Géneråle",
141 "Berufskolleg für Elektrotechnik",
149 $sugar_demodata['last_name_array'] = array(
154 "Väestörekisterikeskus",
183 $sugar_demodata['first_name_array'] = array(
216 $sugar_demodata['company_name_array'] = array(
221 "Fabriqué Interationål",
222 "Életriqué Géneråle",
225 "Berufskolleg für Elektrotechnik",
233 $sugar_demodata['street_address_array'] = array(
236 "2 Penultimate Loop",
241 "678 Rue St. Angoulême",
255 $sugar_demodata['city_array'] = array (
277 $sugar_demodata['case_seed_names'] = array(
282 '間違ったブラウザを使用する場合の警告メッセージ'
284 $sugar_demodata['note_seed_names_and_Descriptions'] = array(
285 array('お客様情報の追加','3,000人のお客様にコンタクトすること'),
286 array('コール情報','再コールにより電話。いい話になった。'),
287 array('誕生日','担当者は10月生まれ'),
288 array('お歳暮','お歳暮は歓迎される。来年のためにリスト化すること。')
290 $sugar_demodata['call_seed_data_names'] = array(
299 $sugar_demodata['titles'] = array(
303 "Director Operations",
310 $sugar_demodata['task_seed_data_names'] = array(
312 'Make travel arrangements',
316 'Send a follow-up letter',
320 'Call to schedule meeting',
323 'Arrange introduction',
324 'Escalate support request',
325 'Close out support request',
327 'Arrange reference call',
329 'Send local user group information',
330 'Add to mailing list',
334 $sugar_demodata['meeting_seed_data_names'] = array(
335 'Follow-up on proposal',
336 'Initial discussion',
340 'Introduce all players',
342 $sugar_demodata['meeting_seed_data_descriptions'] = 'Meeting to discuss project plan and hash out the details of implementation';
345 $sugar_demodata['email_seed_data_subjects'] = array(
346 'Follow-up on proposal',
347 'Initial discussion',
351 'Introduce all players',
353 $sugar_demodata['email_seed_data_descriptions'] = 'Meeting to discuss project plan and hash out the details of implementation';
356 $sugar_demodata['primary_address_state'] = 'CA';
357 $sugar_demodata['billing_address_state']['east'] = 'NY';
358 $sugar_demodata['billing_address_state']['west'] = 'CA';
359 $sugar_demodata['primary_address_country'] = 'USA';
362 $sugar_demodata['manufacturer_seed_data_names'] = array(
364 'Wally\'s Widget World'
368 $sugar_demodata['shipper_seed_data_names'] = array(
373 $sugar_demodata['category_ext_name'] = ' Widgets';
374 $sugar_demodata['product_ext_name'] = ' Gadget';
375 $sugar_demodata['productcategory_seed_data_names'] = array(
378 'Stationary Widgets',
383 $sugar_demodata['producttype_seed_data_names']= array(
389 $sugar_demodata['taxrate_seed_data'][] = array(
390 'name' => '8.25 - Cupertino, CA',
394 $sugar_demodata['currency_seed_data'][] = array(
396 'conversion_rate' => 0.9,
402 $sugar_demodata['producttemplate_seed_data'][] = array(
403 'name' => 'TK 1000 Desktop',
404 'tax_class' => 'Taxable',
405 'cost_price' => 500.00,
406 'cost_usdollar' => 500.00,
407 'list_price' => 800.00,
408 'list_usdollar' => 800.00,
409 'discount_price' => 800.00,
410 'discount_usdollar' => 800.00,
411 'pricing_formula' => 'IsList',
412 'mft_part_num' => 'XYZ7890122222',
413 'pricing_factor' => '1',
414 'status' => 'Available',
416 'date_available' => '2004-10-15',
417 'qty_in_stock' => '72',
420 $sugar_demodata['producttemplate_seed_data'][] = array(
421 'name' => 'TK 1000 Desktop',
422 'tax_class' => 'Taxable',
423 'cost_price' => 600.00,
424 'cost_usdollar' => 600.00,
425 'list_price' => 900.00,
426 'list_usdollar' => 900.00,
427 'discount_price' => 900.00,
428 'discount_usdollar' => 900.00,
429 'pricing_formula' => 'IsList',
430 'mft_part_num' => 'XYZ7890123456',
431 'pricing_factor' => '1',
432 'status' => 'Available',
434 'date_available' => '2004-10-15',
435 'qty_in_stock' => '65',
438 $sugar_demodata['producttemplate_seed_data'][] = array(
439 'name' => 'TK m30 Desktop',
440 'tax_class' => 'Taxable',
441 'cost_price' => 1300.00,
442 'cost_usdollar' => 1300.00,
443 'list_price' => 1700.00,
444 'list_usdollar' => 1700.00,
445 'discount_price' => 1625.00,
446 'discount_usdollar' => 1625.00,
447 'pricing_formula' => 'ProfitMargin',
448 'mft_part_num' => 'ABCD123456890',
449 'pricing_factor' => '20',
450 'status' => 'Available',
452 'date_available' => '2004-10-15',
453 'qty_in_stock' => '12',
456 $sugar_demodata['producttemplate_seed_data'][] = array(
457 'name' => 'Reflective Mirror Widget',
458 'tax_class' => 'Taxable',
459 'cost_price' => 200.00,
460 'cost_usdollar' => 200.00,
461 'list_price' => 325.00,
462 'list_usdollar' => 325.00,
463 'discount_price' => 266.50,
464 'discount_usdollar' => 266.50,
465 'pricing_formula' => 'PercentageDiscount',
466 'mft_part_num' => '2.0',
467 'pricing_factor' => '20',
468 'status' => 'Available',
470 'date_available' => '2004-10-15',
471 'qty_in_stock' => '65',
474 $sugar_demodata['contract_seed_data'][] = array(
475 'name' => 'IT Tech Support for Moon Base',
476 'reference_code' => 'EMP-9802',
477 'total_contract_value' => '500600.01',
478 'start_date' => '2010-05-15',
479 'end_date' => '2020-05-15',
480 'company_signed_date' => '2010-03-15',
481 'customer_signed_date' => '2010-03-16',
482 'description' => 'This is a sub-contract for a very large, very hush-hush project on the moon of Endor.',
485 $sugar_demodata['contract_seed_data'][] = array(
486 'name' => 'Ion Engines for Empire',
487 'reference_code' => 'EMP-7277',
488 'total_contract_value' => '333444.34',
489 'start_date' => '2010-05-15',
490 'end_date' => '2020-05-15',
491 'company_signed_date' => '2010-03-15',
492 'customer_signed_date' => '2010-03-16',
493 'description' => 'In competition with Sienar Fleet Systems for this one.',
496 $sugar_demodata['project_seed_data']['audit'] = array(
497 'name' => 'Create new project plan for audit',
498 'description' => 'Annual audit coming up next month.',
499 'estimated_start_date' => '2007-11-01',
500 'estimated_end_date' => '2007-12-31',
502 'priority' => 'medium',
505 $sugar_demodata['project_seed_data']['audit']['project_tasks'][] = array(
506 'name' => 'Communicate to stakeholders',
507 'date_start' => '2007/11/1',
508 'date_finish' => '2007/11/8',
509 'description' => 'Schedule individual meetings with Will, Max, and Sarah.',
511 'duration_unit' => 'Days',
512 'percent_complete' => 100,
515 $sugar_demodata['project_seed_data']['audit']['project_tasks'][] = array(
516 'name' => 'Create draft of the plan',
517 'date_start' => '2007/11/5',
518 'date_finish' => '2007/11/20',
519 'description' => 'Schedule individual meetings with Will, Max, and Sarah.',
521 'duration_unit' => 'Days',
522 'percent_complete' => 38,
525 $sugar_demodata['project_seed_data']['audit']['project_tasks'][] = array(
526 'name' => 'Field work for collecting data.',
527 'date_start' => '2007/11/5',
528 'date_finish' => '2007/11/13',
529 'description' => 'We need to get approval from all stakeholders on the plan',
531 'duration_unit' => 'Days',
532 'percent_complete' => 75,
535 $sugar_demodata['project_seed_data']['audit']['project_tasks'][] = array(
536 'name' => 'Create draft of the plan',
537 'date_start' => '2007/11/12',
538 'date_finish' => '2007/11/19',
539 'description' => 'Schedule the meeting with the head of business units to solicit help.',
541 'duration_unit' => 'Days',
542 'percent_complete' => 0,
545 $sugar_demodata['project_seed_data']['audit']['project_tasks'][] = array(
546 'name' => 'Gather data from meetings',
547 'date_start' => '2007/11/20',
548 'date_finish' => '2007/11/20',
549 'description' => 'Need to organize the data and put it in the right spreadsheet.',
551 'duration_unit' => 'Days',
552 'percent_complete' => 0,