-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAcctsConsOpptysOCRs.yml
81 lines (81 loc) · 1.97 KB
/
AcctsConsOpptysOCRs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
- object: Account
fields:
name:
fake: company
BillingStreet:
fake: street_address
BillingCity:
fake: city
BillingState:
fake: state
BillingPostalCode:
fake: postalcode
BillingCountry: United States
ShippingCountry: United States
Phone:
fake: phone_number
Fax:
fake: phone_number
Description:
fake: catch_phrase
NumberOfEmployees:
random_number:
min: 1
max: 500000
friends:
- object: Contact
count: 2
fields:
count: 1 # 1 contact for each Account
fields:
AccountId:
reference: Account
Salutation:
fake: prefix
FirstName:
fake: first_name
LastName:
fake: last_name
Email:
fake: email
Phone:
fake: phone_number
MobilePhone:
fake: phone_number
Title:
fake: job
Birthdate:
fake.date_between:
start_date: -60y
end_date: -25y
friends:
- object: Opportunity
count:
random_number:
min: 1
max: 2
fields:
StageName:
random_choice:
Prospecting: 50%
Qualification: 50%
CloseDate: 2023-01-01
ContactId:
reference: Contact
AccountId:
reference: Account
Name: ${{Contact.FirstName}} ${{Contact.LastName}} Opportunity
friends:
- object: OpportunityContactRole
fields:
OpportunityId:
reference: Opportunity
ContactId:
reference: Contact
Role:
random_choice:
Business User: 20%
Decision Maker: 20%
Economic Buyer: 20%
Economic Decision Maker: 20%
Evaluator: 20%