File size: 8,955 Bytes
8097001
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
<?xml version='1.0' encoding='UTF-8'?>
<log>
  <object-types>
    <object-type name="Invoice">
      <attributes>
        <attribute name="is_blocked" type="string"/>
      </attributes>
    </object-type>
    <object-type name="Payment">
      <attributes/>
    </object-type>
    <object-type name="Purchase Order">
      <attributes>
        <attribute name="po_product" type="string"/>
        <attribute name="po_quantity" type="string"/>
      </attributes>
    </object-type>
    <object-type name="Purchase Requisition">
      <attributes>
        <attribute name="pr_product" type="string"/>
        <attribute name="pr_quantity" type="string"/>
      </attributes>
    </object-type>
  </object-types>
  <event-types>
    <event-type name="Approve Purchase Requisition">
      <attributes>
        <attribute name="pr_approver" type="string"/>
      </attributes>
    </event-type>
    <event-type name="Change PO Quantity">
      <attributes>
        <attribute name="po_editor" type="string"/>
      </attributes>
    </event-type>
    <event-type name="Create Purchase Order">
      <attributes>
        <attribute name="po_creator" type="string"/>
      </attributes>
    </event-type>
    <event-type name="Create Purchase Requisition">
      <attributes>
        <attribute name="pr_creator" type="string"/>
      </attributes>
    </event-type>
    <event-type name="Insert Invoice">
      <attributes>
        <attribute name="invoice_inserter" type="string"/>
      </attributes>
    </event-type>
    <event-type name="Insert Payment">
      <attributes>
        <attribute name="payment_inserter" type="string"/>
      </attributes>
    </event-type>
    <event-type name="Remove Payment Block">
      <attributes>
        <attribute name="invoice_block_rem" type="string"/>
      </attributes>
    </event-type>
    <event-type name="Set Payment Block">
      <attributes>
        <attribute name="invoice_blocker" type="string"/>
      </attributes>
    </event-type>
  </event-types>
  <objects>
    <object id="R1" type="Invoice">
      <attributes>
        <attribute name="is_blocked" time="1970-01-01T00:00:00Z">No</attribute>
      </attributes>
      <objects>
        <relationship object-id="P1" qualifier="Payment from invoice"/>
      </objects>
    </object>
    <object id="R2" type="Invoice">
      <attributes>
        <attribute name="is_blocked" time="1970-01-01T00:00:00Z">No</attribute>
      </attributes>
      <objects>
        <relationship object-id="P2" qualifier="Payment from invoice"/>
      </objects>
    </object>
    <object id="R3" type="Invoice">
      <attributes>
        <attribute name="is_blocked" time="1970-01-01T00:00:00Z">No</attribute>
        <attribute name="is_blocked" time="2022-02-03T07:30:00">Yes</attribute>
        <attribute name="is_blocked" time="2022-02-03T23:30:00">No</attribute>
      </attributes>
      <objects>
        <relationship object-id="P3" qualifier="Payment from invoice"/>
      </objects>
    </object>
    <object id="P1" type="Payment">
      <attributes/>
    </object>
    <object id="P2" type="Payment">
      <attributes/>
    </object>
    <object id="P3" type="Payment">
      <attributes/>
    </object>
    <object id="PO1" type="Purchase Order">
      <attributes>
        <attribute name="po_product" time="1970-01-01T00:00:00Z">Cows</attribute>
        <attribute name="po_quantity" time="1970-01-01T00:00:00Z">500</attribute>
        <attribute name="po_quantity" time="2022-01-13T12:00:00">600</attribute>
      </attributes>
      <objects>
        <relationship object-id="R1" qualifier="Invoice from PO"/>
        <relationship object-id="R2" qualifier="Invoice from PO"/>
      </objects>
    </object>
    <object id="PO2" type="Purchase Order">
      <attributes>
        <attribute name="po_product" time="1970-01-01T00:00:00Z">Notebooks</attribute>
        <attribute name="po_quantity" time="1970-01-01T00:00:00Z">1</attribute>
      </attributes>
      <objects>
        <relationship object-id="R3" qualifier="Maverick buying"/>
      </objects>
    </object>
    <object id="PR1" type="Purchase Requisition">
      <attributes>
        <attribute name="pr_product" time="1970-01-01T00:00:00Z">Cows</attribute>
        <attribute name="pr_quantity" time="1970-01-01T00:00:00Z">500</attribute>
      </attributes>
      <objects>
        <relationship object-id="PO1" qualifier="PO from PR"/>
      </objects>
    </object>
  </objects>
  <events>
    <event id="e1" type="Create Purchase Requisition" time="2022-01-09T15:00:00">
      <attributes>
        <attribute name="pr_creator">Mike</attribute>
      </attributes>
      <objects>
        <relationship object-id="PR1" qualifier="Regular placement of PR"/>
      </objects>
    </event>
    <event id="e2" type="Approve Purchase Requisition" time="2022-01-09T16:30:00">
      <attributes>
        <attribute name="pr_approver">Tania</attribute>
      </attributes>
      <objects>
        <relationship object-id="PR1" qualifier="Regular approval of PR"/>
      </objects>
    </event>
    <event id="e3" type="Create Purchase Order" time="2022-01-10T09:15:00">
      <attributes>
        <attribute name="po_creator">Mike</attribute>
      </attributes>
      <objects>
        <relationship object-id="PR1" qualifier="Created order from PR"/>
        <relationship object-id="PO1" qualifier="Created order with identifier"/>
      </objects>
    </event>
    <event id="e4" type="Change PO Quantity" time="2022-01-13T12:00:00">
      <attributes>
        <attribute name="po_editor">Mike</attribute>
      </attributes>
      <objects>
        <relationship object-id="PO1" qualifier="Change of quantity"/>
      </objects>
    </event>
    <event id="e5" type="Insert Invoice" time="2022-01-14T12:00:00">
      <attributes>
        <attribute name="invoice_inserter">Luke</attribute>
      </attributes>
      <objects>
        <relationship object-id="PO1" qualifier="Invoice created starting from the PO"/>
        <relationship object-id="R1" qualifier="Invoice created with identifier"/>
      </objects>
    </event>
    <event id="e6" type="Insert Invoice" time="2022-01-16T11:00:00">
      <attributes>
        <attribute name="invoice_inserter">Luke</attribute>
      </attributes>
      <objects>
        <relationship object-id="PO1" qualifier="Invoice created starting from the PO"/>
        <relationship object-id="R2" qualifier="Invoice created with identifier"/>
      </objects>
    </event>
    <event id="e7" type="Insert Payment" time="2022-01-30T23:00:00">
      <attributes>
        <attribute name="payment_inserter">Robot</attribute>
      </attributes>
      <objects>
        <relationship object-id="R1" qualifier="Payment for the invoice"/>
        <relationship object-id="P1" qualifier="Payment inserted with identifier"/>
      </objects>
    </event>
    <event id="e8" type="Insert Payment" time="2022-01-31T22:00:00">
      <attributes>
        <attribute name="payment_inserter">Robot</attribute>
      </attributes>
      <objects>
        <relationship object-id="R2" qualifier="Payment for the invoice"/>
        <relationship object-id="P2" qualifier="Payment created with identifier"/>
      </objects>
    </event>
    <event id="e9" type="Insert Invoice" time="2022-02-02T09:00:00">
      <attributes>
        <attribute name="invoice_inserter">Mario</attribute>
      </attributes>
      <objects>
        <relationship object-id="R3" qualifier="Invoice created with identifier"/>
      </objects>
    </event>
    <event id="e10" type="Create Purchase Order" time="2022-02-02T17:00:00">
      <attributes>
        <attribute name="po_creator">Mario</attribute>
      </attributes>
      <objects>
        <relationship object-id="R3" qualifier="Purchase order created with maverick buying from"/>
        <relationship object-id="PO2" qualifier="Purhcase order created with identifier"/>
      </objects>
    </event>
    <event id="e11" type="Set Payment Block" time="2022-02-03T07:30:00">
      <attributes>
        <attribute name="invoice_blocker">Mario</attribute>
      </attributes>
      <objects>
        <relationship object-id="R3" qualifier="Payment block due to unethical maverick buying"/>
      </objects>
    </event>
    <event id="e12" type="Remove Payment Block" time="2022-02-03T23:30:00">
      <attributes>
        <attribute name="invoice_block_rem">Mario</attribute>
      </attributes>
      <objects>
        <relationship object-id="R3" qualifier="Payment block removed ..."/>
      </objects>
    </event>
    <event id="e13" type="Insert Payment" time="2022-02-28T23:00:00">
      <attributes>
        <attribute name="payment_inserter">Robot</attribute>
      </attributes>
      <objects>
        <relationship object-id="R3" qualifier="Payment for the invoice"/>
        <relationship object-id="P3" qualifier="Payment inserted with identifier"/>
      </objects>
    </event>
  </events>
</log>