moy_sklad 1.0.0.rc10 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  <?xml version="1.0"?>
2
- <paymentIn readMode="NONE" changeMode="NEIGHBOUR" updated="2013-11-23T15:44:07" updatedBy="string" name="string" stateUuid="string" targetAgentUuid="string" sourceAgentUuid="string" targetStoreUuid="string" sourceStoreUuid="string" applicable="true" projectUuid="string" contractUuid="string" moment="2006-08-19T19:27:14+02:00" targetAccountUuid="string" sourceAccountUuid="string" payerVat="false" retailStoreUuid="string" currencyUuid="string" rate="1.051732E7" vatIncluded="true" created="2017-05-15T08:41:13" createdBy="string" employeeUuid="string" expenseItemUuid="string" incomingDate="2013-12-21T12:32:42+01:00" incomingNumber="string" paymentPurpose="string" vatSum="1.051732E7" commissionReportUuid="string" customerOrderUuid="string" factureOutUuid="string" invoiceOutUuid="string" purchaseReturnUuid="string">
2
+ <paymentIn readMode="NONE" changeMode="NEIGHBOUR" updated="2013-11-23T15:44:07" updatedBy="string" name="string" stateUuid="string" targetAgentUuid="string" sourceAgentUuid="string" targetStoreUuid="string" sourceStoreUuid="string" applicable="true" projectUuid="string" contractUuid="string" moment="2006-08-19T19:27:14+02:00" targetAccountUuid="string" sourceAccountUuid="string" payerVat="false" retailStoreUuid="string" currencyUuid="string" rate="1.051732E7" vatIncluded="true" created="2017-05-15T08:41:13" createdBy="string" expenseItemUuid="string" incomingDate="2013-12-21T12:32:42+01:00" incomingNumber="string" paymentPurpose="string" vatSum="1.051732E7" commissionReportUuid="string" customerOrderUuid="string" factureOutUuid="string" invoiceOutUuid="string" purchaseReturnUuid="string">
3
3
  <!--Optional:-->
4
4
  <accountUuid>string</accountUuid>
5
5
  <!--Optional:-->
@@ -9,7 +9,11 @@
9
9
  <!--Optional:-->
10
10
  <groupUuid>string</groupUuid>
11
11
  <!--Optional:-->
12
- <deleted>2016-01-01T20:07:42</deleted>
12
+ <ownerUid>string</ownerUid>
13
+ <!--Optional:-->
14
+ <shared>false</shared>
15
+ <!--Optional:-->
16
+ <deleted>2009-10-14T09:16:36</deleted>
13
17
  <!--Optional:-->
14
18
  <code>string</code>
15
19
  <!--Optional:-->
@@ -17,7 +21,7 @@
17
21
  <!--Optional:-->
18
22
  <description>string</description>
19
23
  <!--Zero or more repetitions:-->
20
- <attribute readMode="SELF" changeMode="PARENT" updated="2019-08-19T16:35:10" updatedBy="string" metadataUuid="string" valueText="string" valueString="string" doubleValue="1.051732E7" longValue="10" booleanValue="true" timeValue="2013-06-17T19:14:58" entityValueUuid="string" agentValueUuid="string" goodValueUuid="string" placeValueUuid="string" consignmentValueUuid="string" contractValueUuid="string" projectValueUuid="string" employeeValueUuid="string" operationUuid="string">
24
+ <attribute readMode="PARENT" changeMode="NONE" updated="2014-10-27T10:44:59" updatedBy="string" metadataUuid="string" valueText="string" valueString="string" doubleValue="1.051732E7" longValue="10" booleanValue="false" timeValue="2017-11-01T09:15:53+01:00" entityValueUuid="string" agentValueUuid="string" goodValueUuid="string" placeValueUuid="string" consignmentValueUuid="string" contractValueUuid="string" projectValueUuid="string" employeeValueUuid="string" operationUuid="string">
21
25
  <!--Optional:-->
22
26
  <accountUuid>string</accountUuid>
23
27
  <!--Optional:-->
@@ -27,9 +31,13 @@
27
31
  <!--Optional:-->
28
32
  <groupUuid>string</groupUuid>
29
33
  <!--Optional:-->
30
- <deleted>2005-09-12T10:55:02+02:00</deleted>
34
+ <ownerUid>string</ownerUid>
35
+ <!--Optional:-->
36
+ <shared>false</shared>
37
+ <!--Optional:-->
38
+ <deleted>2000-09-14T10:07:34</deleted>
31
39
  <!--Optional:-->
32
- <file readMode="NONE" changeMode="SELF" updated="2015-08-24T01:09:23" updatedBy="string" name="string" created="2015-06-18T00:07:00+02:00" filename="string" miniatureUuid="string">
40
+ <file readMode="NEIGHBOUR" changeMode="NONE" updated="2000-09-25T08:18:09" updatedBy="string" name="string" created="2015-11-05T05:47:14" filename="string" miniatureUuid="string">
33
41
  <!--Optional:-->
34
42
  <accountUuid>string</accountUuid>
35
43
  <!--Optional:-->
@@ -39,7 +47,11 @@
39
47
  <!--Optional:-->
40
48
  <groupUuid>string</groupUuid>
41
49
  <!--Optional:-->
42
- <deleted>2000-04-21T02:36:55+02:00</deleted>
50
+ <ownerUid>string</ownerUid>
51
+ <!--Optional:-->
52
+ <shared>false</shared>
53
+ <!--Optional:-->
54
+ <deleted>2017-04-19T16:38:57+02:00</deleted>
43
55
  <!--Optional:-->
44
56
  <code>string</code>
45
57
  <!--Optional:-->
@@ -47,11 +59,11 @@
47
59
  <!--Optional:-->
48
60
  <description>string</description>
49
61
  <!--Optional:-->
50
- <contents>cXVpc3F1YW0=</contents>
62
+ <contents>ZmV0YQ==</contents>
51
63
  </file>
52
64
  </attribute>
53
65
  <!--Zero or more repetitions:-->
54
- <document readMode="PARENT" changeMode="PARENT" updated="2008-08-06T16:17:00+02:00" updatedBy="string" name="string" created="2011-12-25T03:49:17" filename="string" miniatureUuid="string" emailedDate="2015-10-10T12:07:56+02:00" publicId="string" operationUuid="string">
66
+ <document readMode="NEIGHBOUR" changeMode="NONE" updated="2011-12-25T03:49:17" updatedBy="string" name="string" created="2015-10-10T12:07:56+02:00" filename="string" miniatureUuid="string" emailedDate="2018-07-19T10:02:25+02:00" publicId="string" operationUuid="string">
55
67
  <!--Optional:-->
56
68
  <accountUuid>string</accountUuid>
57
69
  <!--Optional:-->
@@ -61,7 +73,11 @@
61
73
  <!--Optional:-->
62
74
  <groupUuid>string</groupUuid>
63
75
  <!--Optional:-->
64
- <deleted>2018-07-19T10:02:25+02:00</deleted>
76
+ <ownerUid>string</ownerUid>
77
+ <!--Optional:-->
78
+ <shared>true</shared>
79
+ <!--Optional:-->
80
+ <deleted>2000-08-23T02:34:44</deleted>
65
81
  <!--Optional:-->
66
82
  <code>string</code>
67
83
  <!--Optional:-->
@@ -69,7 +85,7 @@
69
85
  <!--Optional:-->
70
86
  <description>string</description>
71
87
  <!--Optional:-->
72
- <contents>YmVsbGE=</contents>
88
+ <contents>bWFnbm8=</contents>
73
89
  </document>
74
90
  <!--Optional:-->
75
91
  <sum sum="1.051732E7" sumInCurrency="1.051732E7"/>
@@ -0,0 +1,196 @@
1
+ <?xml version="1.0"?>
2
+ <supply readMode="NONE" changeMode="NEIGHBOUR" updated="2013-11-23T15:44:07" updatedBy="string" name="string" stateUuid="string" targetAgentUuid="string" sourceAgentUuid="string" targetStoreUuid="string" sourceStoreUuid="string" applicable="true" projectUuid="string" contractUuid="string" moment="2006-08-19T19:27:14+02:00" targetAccountUuid="string" sourceAccountUuid="string" payerVat="false" retailStoreUuid="string" currencyUuid="string" rate="1.051732E7" vatIncluded="true" created="2017-05-15T08:41:13" createdBy="string" factureInUuid="string" incomingDate="2013-12-21T12:32:42+01:00" incomingNumber="string" overheadDistribution="BY_PRICE" purchaseOrderUuid="string">
3
+ <!--Optional:-->
4
+ <accountUuid>string</accountUuid>
5
+ <!--Optional:-->
6
+ <accountId>string</accountId>
7
+ <!--Optional:-->
8
+ <uuid>string</uuid>
9
+ <!--Optional:-->
10
+ <groupUuid>string</groupUuid>
11
+ <!--Optional:-->
12
+ <ownerUid>string</ownerUid>
13
+ <!--Optional:-->
14
+ <shared>false</shared>
15
+ <!--Optional:-->
16
+ <deleted>2016-02-20T15:56:29+01:00</deleted>
17
+ <!--Optional:-->
18
+ <code>string</code>
19
+ <!--Optional:-->
20
+ <externalcode>string</externalcode>
21
+ <!--Optional:-->
22
+ <description>string</description>
23
+ <!--Zero or more repetitions:-->
24
+ <attribute readMode="NONE" changeMode="ALL" updated="2018-12-28T20:51:14+01:00" updatedBy="string" metadataUuid="string" valueText="string" valueString="string" doubleValue="1.051732E7" longValue="10" booleanValue="false" timeValue="2002-11-16T10:03:57+01:00" entityValueUuid="string" agentValueUuid="string" goodValueUuid="string" placeValueUuid="string" consignmentValueUuid="string" contractValueUuid="string" projectValueUuid="string" employeeValueUuid="string" operationUuid="string">
25
+ <!--Optional:-->
26
+ <accountUuid>string</accountUuid>
27
+ <!--Optional:-->
28
+ <accountId>string</accountId>
29
+ <!--Optional:-->
30
+ <uuid>string</uuid>
31
+ <!--Optional:-->
32
+ <groupUuid>string</groupUuid>
33
+ <!--Optional:-->
34
+ <ownerUid>string</ownerUid>
35
+ <!--Optional:-->
36
+ <shared>false</shared>
37
+ <!--Optional:-->
38
+ <deleted>2006-11-29T18:20:00</deleted>
39
+ <!--Optional:-->
40
+ <file readMode="NONE" changeMode="ALL" updated="2015-06-18T00:07:00+02:00" updatedBy="string" name="string" created="2000-04-21T02:36:55+02:00" filename="string" miniatureUuid="string">
41
+ <!--Optional:-->
42
+ <accountUuid>string</accountUuid>
43
+ <!--Optional:-->
44
+ <accountId>string</accountId>
45
+ <!--Optional:-->
46
+ <uuid>string</uuid>
47
+ <!--Optional:-->
48
+ <groupUuid>string</groupUuid>
49
+ <!--Optional:-->
50
+ <ownerUid>string</ownerUid>
51
+ <!--Optional:-->
52
+ <shared>true</shared>
53
+ <!--Optional:-->
54
+ <deleted>2012-04-24T23:37:57+02:00</deleted>
55
+ <!--Optional:-->
56
+ <code>string</code>
57
+ <!--Optional:-->
58
+ <externalcode>string</externalcode>
59
+ <!--Optional:-->
60
+ <description>string</description>
61
+ <!--Optional:-->
62
+ <contents>YWM=</contents>
63
+ </file>
64
+ </attribute>
65
+ <!--Zero or more repetitions:-->
66
+ <document readMode="NONE" changeMode="PARENT" updated="2013-08-23T01:50:52" updatedBy="string" name="string" created="2016-02-07T19:34:15+01:00" filename="string" miniatureUuid="string" emailedDate="2009-04-09T23:42:38" publicId="string" operationUuid="string">
67
+ <!--Optional:-->
68
+ <accountUuid>string</accountUuid>
69
+ <!--Optional:-->
70
+ <accountId>string</accountId>
71
+ <!--Optional:-->
72
+ <uuid>string</uuid>
73
+ <!--Optional:-->
74
+ <groupUuid>string</groupUuid>
75
+ <!--Optional:-->
76
+ <ownerUid>string</ownerUid>
77
+ <!--Optional:-->
78
+ <shared>true</shared>
79
+ <!--Optional:-->
80
+ <deleted>2011-06-03T21:00:00</deleted>
81
+ <!--Optional:-->
82
+ <code>string</code>
83
+ <!--Optional:-->
84
+ <externalcode>string</externalcode>
85
+ <!--Optional:-->
86
+ <description>string</description>
87
+ <!--Optional:-->
88
+ <contents>ZXQ=</contents>
89
+ </document>
90
+ <!--Optional:-->
91
+ <sum sum="1.051732E7" sumInCurrency="1.051732E7"/>
92
+ <!--Optional:-->
93
+ <invoicesInUuid>
94
+ <!--Zero or more repetitions:-->
95
+ <invoiceInRef>string</invoiceInRef>
96
+ </invoicesInUuid>
97
+ <!--Optional:-->
98
+ <overhead sum="1.051732E7" sumInCurrency="1.051732E7"/>
99
+ <!--Optional:-->
100
+ <paymentsUuid>
101
+ <!--Zero or more repetitions:-->
102
+ <financeOutRef>string</financeOutRef>
103
+ </paymentsUuid>
104
+ <!--Zero or more repetitions:-->
105
+ <shipmentIn readMode="NEIGHBOUR" changeMode="SELF" discount="1.051732E7" quantity="1.051732E7" goodPackUuid="string" consignmentUuid="string" goodUuid="string" slotUuid="string" vat="10" countryUuid="string" gtdUuid="string" overhead="1.051732E7">
106
+ <!--Optional:-->
107
+ <accountUuid>string</accountUuid>
108
+ <!--Optional:-->
109
+ <accountId>string</accountId>
110
+ <!--Optional:-->
111
+ <uuid>string</uuid>
112
+ <!--Optional:-->
113
+ <groupUuid>string</groupUuid>
114
+ <!--Optional:-->
115
+ <ownerUid>string</ownerUid>
116
+ <!--Optional:-->
117
+ <shared>true</shared>
118
+ <!--Optional:-->
119
+ <basePrice sum="1.051732E7" sumInCurrency="1.051732E7"/>
120
+ <!--Optional:-->
121
+ <price sum="1.051732E7" sumInCurrency="1.051732E7"/>
122
+ <!--Optional:-->
123
+ <things>
124
+ <!--Zero or more repetitions:-->
125
+ <thingRef readMode="ALL" changeMode="NONE" updated="2019-03-02T07:02:08" updatedBy="string" name="string" goodUuid="string">
126
+ <!--Optional:-->
127
+ <accountUuid>string</accountUuid>
128
+ <!--Optional:-->
129
+ <accountId>string</accountId>
130
+ <!--Optional:-->
131
+ <uuid>string</uuid>
132
+ <!--Optional:-->
133
+ <groupUuid>string</groupUuid>
134
+ <!--Optional:-->
135
+ <ownerUid>string</ownerUid>
136
+ <!--Optional:-->
137
+ <shared>false</shared>
138
+ <!--Optional:-->
139
+ <deleted>2002-11-05T09:30:58</deleted>
140
+ <!--Optional:-->
141
+ <code>string</code>
142
+ <!--Optional:-->
143
+ <externalcode>string</externalcode>
144
+ <!--Optional:-->
145
+ <description>string</description>
146
+ <!--Zero or more repetitions:-->
147
+ <attribute readMode="PARENT" changeMode="SELF" updated="2017-10-14T14:43:21" updatedBy="string" metadataUuid="string" valueText="string" valueString="string" doubleValue="1.051732E7" longValue="10" booleanValue="false" timeValue="2008-11-07T03:50:41+01:00" entityValueUuid="string" agentValueUuid="string" goodValueUuid="string" placeValueUuid="string" consignmentValueUuid="string" contractValueUuid="string" projectValueUuid="string" employeeValueUuid="string" thingUuid="string">
148
+ <!--Optional:-->
149
+ <accountUuid>string</accountUuid>
150
+ <!--Optional:-->
151
+ <accountId>string</accountId>
152
+ <!--Optional:-->
153
+ <uuid>string</uuid>
154
+ <!--Optional:-->
155
+ <groupUuid>string</groupUuid>
156
+ <!--Optional:-->
157
+ <ownerUid>string</ownerUid>
158
+ <!--Optional:-->
159
+ <shared>true</shared>
160
+ <!--Optional:-->
161
+ <deleted>2015-07-31T16:52:59+02:00</deleted>
162
+ <!--Optional:-->
163
+ <file readMode="NONE" changeMode="PARENT" updated="2014-07-20T23:42:06+02:00" updatedBy="string" name="string" created="2005-05-29T11:30:53+02:00" filename="string" miniatureUuid="string">
164
+ <!--Optional:-->
165
+ <accountUuid>string</accountUuid>
166
+ <!--Optional:-->
167
+ <accountId>string</accountId>
168
+ <!--Optional:-->
169
+ <uuid>string</uuid>
170
+ <!--Optional:-->
171
+ <groupUuid>string</groupUuid>
172
+ <!--Optional:-->
173
+ <ownerUid>string</ownerUid>
174
+ <!--Optional:-->
175
+ <shared>false</shared>
176
+ <!--Optional:-->
177
+ <deleted>2010-01-19T12:43:56</deleted>
178
+ <!--Optional:-->
179
+ <code>string</code>
180
+ <!--Optional:-->
181
+ <externalcode>string</externalcode>
182
+ <!--Optional:-->
183
+ <description>string</description>
184
+ <!--Optional:-->
185
+ <contents>bW9udGlz</contents>
186
+ </file>
187
+ </attribute>
188
+ </thingRef>
189
+ </things>
190
+ </shipmentIn>
191
+ <!--Optional:-->
192
+ <purchaseReturnsUuid>
193
+ <!--Zero or more repetitions:-->
194
+ <purchaseReturnRef>string</purchaseReturnRef>
195
+ </purchaseReturnsUuid>
196
+ </supply>
@@ -1,5 +1,5 @@
1
1
  <?xml version="1.0"?>
2
- <warehouse readMode="NONE" changeMode="NEIGHBOUR" updated="2013-11-23T15:44:07" updatedBy="string" name="string" agentUuid="string" archived="true" parentUuid="string">
2
+ <warehouse readMode="NONE" changeMode="NEIGHBOUR" updated="2013-11-23T15:44:07" updatedBy="string" name="string" archived="true" parentUuid="string">
3
3
  <!--Optional:-->
4
4
  <accountUuid>string</accountUuid>
5
5
  <!--Optional:-->
@@ -9,7 +9,11 @@
9
9
  <!--Optional:-->
10
10
  <groupUuid>string</groupUuid>
11
11
  <!--Optional:-->
12
- <deleted>2006-08-19T19:27:14+02:00</deleted>
12
+ <ownerUid>string</ownerUid>
13
+ <!--Optional:-->
14
+ <shared>true</shared>
15
+ <!--Optional:-->
16
+ <deleted>2018-11-01T06:36:46+01:00</deleted>
13
17
  <!--Optional:-->
14
18
  <code>string</code>
15
19
  <!--Optional:-->
@@ -17,7 +21,7 @@
17
21
  <!--Optional:-->
18
22
  <description>string</description>
19
23
  <!--Zero or more repetitions:-->
20
- <attribute readMode="NEIGHBOUR" changeMode="ALL" updated="2017-05-15T08:41:13" updatedBy="string" metadataUuid="string" valueText="string" valueString="string" doubleValue="1.051732E7" longValue="10" booleanValue="false" timeValue="2012-09-13T15:00:34+02:00" entityValueUuid="string" agentValueUuid="string" goodValueUuid="string" placeValueUuid="string" consignmentValueUuid="string" contractValueUuid="string" projectValueUuid="string" employeeValueUuid="string" placeUuid="string">
24
+ <attribute readMode="ALL" changeMode="NEIGHBOUR" updated="2003-08-09T02:18:37+02:00" updatedBy="string" metadataUuid="string" valueText="string" valueString="string" doubleValue="1.051732E7" longValue="10" booleanValue="false" timeValue="2002-06-24T17:46:32+02:00" entityValueUuid="string" agentValueUuid="string" goodValueUuid="string" placeValueUuid="string" consignmentValueUuid="string" contractValueUuid="string" projectValueUuid="string" employeeValueUuid="string" placeUuid="string">
21
25
  <!--Optional:-->
22
26
  <accountUuid>string</accountUuid>
23
27
  <!--Optional:-->
@@ -27,9 +31,13 @@
27
31
  <!--Optional:-->
28
32
  <groupUuid>string</groupUuid>
29
33
  <!--Optional:-->
30
- <deleted>2009-10-14T09:16:36</deleted>
34
+ <ownerUid>string</ownerUid>
35
+ <!--Optional:-->
36
+ <shared>true</shared>
37
+ <!--Optional:-->
38
+ <deleted>2012-01-07T20:42:56</deleted>
31
39
  <!--Optional:-->
32
- <file readMode="PARENT" changeMode="NONE" updated="2014-10-27T10:44:59" updatedBy="string" name="string" created="2013-06-17T19:14:58" filename="string" miniatureUuid="string">
40
+ <file readMode="ALL" changeMode="ALL" updated="2018-02-04T15:35:59+01:00" updatedBy="string" name="string" created="2002-11-16T10:03:57+01:00" filename="string" miniatureUuid="string">
33
41
  <!--Optional:-->
34
42
  <accountUuid>string</accountUuid>
35
43
  <!--Optional:-->
@@ -39,7 +47,11 @@
39
47
  <!--Optional:-->
40
48
  <groupUuid>string</groupUuid>
41
49
  <!--Optional:-->
42
- <deleted>2005-09-12T10:55:02+02:00</deleted>
50
+ <ownerUid>string</ownerUid>
51
+ <!--Optional:-->
52
+ <shared>false</shared>
53
+ <!--Optional:-->
54
+ <deleted>2006-11-29T18:20:00</deleted>
43
55
  <!--Optional:-->
44
56
  <code>string</code>
45
57
  <!--Optional:-->
@@ -47,7 +59,7 @@
47
59
  <!--Optional:-->
48
60
  <description>string</description>
49
61
  <!--Optional:-->
50
- <contents>Y2FlbHVtcXVl</contents>
62
+ <contents>YXJpcw==</contents>
51
63
  </file>
52
64
  </attribute>
53
65
  <!--Optional:-->
@@ -55,7 +67,7 @@
55
67
  <!--Optional:-->
56
68
  <slots>
57
69
  <!--Zero or more repetitions:-->
58
- <slot readMode="SELF" changeMode="NEIGHBOUR" updated="2009-11-03T13:39:15+01:00" updatedBy="string" name="string" warehouseUuid="string">
70
+ <slot readMode="ALL" changeMode="NONE" updated="2014-06-27T21:41:15+02:00" updatedBy="string" name="string" warehouseUuid="string">
59
71
  <!--Optional:-->
60
72
  <accountUuid>string</accountUuid>
61
73
  <!--Optional:-->
@@ -65,7 +77,11 @@
65
77
  <!--Optional:-->
66
78
  <groupUuid>string</groupUuid>
67
79
  <!--Optional:-->
68
- <deleted>2014-06-27T21:41:15+02:00</deleted>
80
+ <ownerUid>string</ownerUid>
81
+ <!--Optional:-->
82
+ <shared>true</shared>
83
+ <!--Optional:-->
84
+ <deleted>2017-10-20T03:04:37</deleted>
69
85
  <!--Optional:-->
70
86
  <code>string</code>
71
87
  <!--Optional:-->
@@ -1,41 +1,47 @@
1
- xml.cashIn(name: name, stateUuid: stateUuid, targetAgentUuid: targetAgentUuid, sourceAgentUuid: sourceAgentUuid, targetStoreUuid: targetStoreUuid,
2
- sourceStoreUuid: sourceStoreUuid, applicable: applicable, projectUuid: projectUuid, contractUuid: contractUuid, moment: moment,
3
- targetAccountUuid: targetAccountUuid, sourceAccountUuid: sourceAccountUuid, payerVat: payerVat, retailStoreUuid: retailStoreUuid,
4
- currencyUuid: currencyUuid, rate: rate, vatIncluded: vatIncluded, employeeUuid: employeeUuid, expenseItemUuid: expenseItemUuid,
5
- incomingDate: incomingDate, incomingNumber: incomingNumber, paymentPurpose: paymentPurpose, vatSum: vatSum,
6
- commissionReportUuid: commissionReportUuid, customerOrderUuid: customerOrderUuid, factureOutUuid: factureOutUuid,
7
- invoiceOutUuid: invoiceOutUuid, purchaseReturnUuid: purchaseReturnUuid) {
1
+ xml.cashIn(readMode: readMode, changeMode: changeMode, updated: updated, updatedBy: updatedBy, name: name, stateUuid: stateUuid,
2
+ targetAgentUuid: targetAgentUuid, sourceAgentUuid: sourceAgentUuid, targetStoreUuid: targetStoreUuid, sourceStoreUuid: sourceStoreUuid,
3
+ applicable: applicable, projectUuid: projectUuid, contractUuid: contractUuid, moment: moment, targetAccountUuid: targetAccountUuid,
4
+ sourceAccountUuid: sourceAccountUuid, payerVat: payerVat, retailStoreUuid: retailStoreUuid, currencyUuid: currencyUuid, rate: rate,
5
+ vatIncluded: vatIncluded, created: created, createdBy: createdBy, expenseItemUuid: expenseItemUuid, incomingDate: incomingDate,
6
+ incomingNumber: incomingNumber, paymentPurpose: paymentPurpose, vatSum: vatSum, commissionReportUuid: commissionReportUuid,
7
+ customerOrderUuid: customerOrderUuid, factureOutUuid: factureOutUuid, invoiceOutUuid: invoiceOutUuid, purchaseReturnUuid: purchaseReturnUuid) {
8
8
 
9
9
  xml.accountUuid_ accountUuid
10
10
  xml.accountId_ accountId
11
11
  xml.uuid_ uuid
12
12
  xml.groupUuid_ groupUuid
13
+ xml.ownerUid_ ownerUid
14
+ xml.shared_ shared
13
15
  xml.deleted_ deleted
14
16
  xml.code_ code
15
17
  xml.externalcode_ externalcode
16
18
  xml.description_ description
17
19
 
18
20
  to_a(:attribute).each do |a|
19
- xml.attribute(metadataUuid: a.metadataUuid, valueText: a.valueText, valueString: a.valueString,
20
- doubleValue: a.doubleValue, longValue: a.longValue, booleanValue: a.booleanValue,
21
- timeValue: a.timeValue, entityValueUuid: a.entityValueUuid, agentValueUuid: a.agentValueUuid,
22
- goodValueUuid: a.goodValueUuid, placeValueUuid: a.placeValueUuid, consignmentValueUuid: a.consignmentValueUuid,
23
- contractValueUuid: a.contractValueUuid, projectValueUuid: a.projectValueUuid, employeeValueUuid: a.employeeValueUuid,
24
- goodUuid: a.goodUuid) {
21
+ xml.attribute(readMode: a.readMode, changeMode: a.changeMode, updated: a.updated, updatedBy: a.updatedBy, metadataUuid: a.metadataUuid,
22
+ valueText: a.valueText, valueString: a.valueString, doubleValue: a.doubleValue, longValue: a.longValue, booleanValue: a.booleanValue,
23
+ timeValue: a.timeValue, entityValueUuid: a.entityValueUuid, agentValueUuid: a.agentValueUuid, goodValueUuid: a.goodValueUuid,
24
+ placeValueUuid: a.placeValueUuid, consignmentValueUuid: a.consignmentValueUuid, contractValueUuid: a.contractValueUuid,
25
+ projectValueUuid: a.projectValueUuid, employeeValueUuid: a.employeeValueUuid, operationUuid: a.operationUuid) {
25
26
 
26
27
  xml.accountUuid_ a.accountUuid
27
28
  xml.accountId_ a.accountId
28
29
  xml.uuid_ a.uuid
29
30
  xml.groupUuid_ a.groupUuid
31
+ xml.ownerUid_ a.ownerUid
32
+ xml.shared_ a.shared
30
33
  xml.deleted_ a.deleted
31
34
 
32
35
  a.to_a(:file).each do |f|
33
- xml.file(name: f.name, created: f.created, filename: f.filename, miniatureUuid: f.miniatureUuid) {
36
+ xml.file(readMode: f.readMode, changeMode: f.changeMode, updated: f.updated, updatedBy: f.updatedBy, name: f.name, created: f.created,
37
+ filename: f.filename, miniatureUuid: f.miniatureUuid) {
34
38
 
35
39
  xml.accountUuid_ f.accountUuid
36
40
  xml.accountId_ f.accountId
37
41
  xml.uuid_ f.uuid
38
42
  xml.groupUuid_ f.groupUuid
43
+ xml.ownerUid_ f.ownerUid
44
+ xml.shared_ f.shared
39
45
  xml.deleted_ f.deleted
40
46
  xml.code_ f.code
41
47
  xml.externalcode_ f.externalcode
@@ -47,12 +53,15 @@ xml.cashIn(name: name, stateUuid: stateUuid, targetAgentUuid: targetAgentUuid, s
47
53
  end
48
54
 
49
55
  to_a(:document) do |d|
50
- xml.document(name: d.name, created: d.created, filename: d.filename, miniatureUuid: d.miniatureUuid,
51
- emailedDate: d.emailedDate, publicId: d.publicId, operationUuid: d.operationUuid) {
56
+ xml.document(readMode: d.readMode, changeMode: d.changeMode, updated: d.updated, updatedBy: d.updatedBy, name: d.name,
57
+ created: d.created, filename: d.filename, miniatureUuid: d.miniatureUuid, emailedDate: d.emailedDate,
58
+ publicId: d.publicId, operationUuid: d.operationUuid) {
52
59
  xml.accountUuid_ d.accountUuid
53
60
  xml.accountId_ d.accountId
54
61
  xml.uuid_ d.uuid
55
62
  xml.groupUuid_ d.groupUuid
63
+ xml.ownerUid_ d.ownerUid
64
+ xml.shared_ d.shared
56
65
  xml.deleted_ d.deleted
57
66
  xml.code_ d.code
58
67
  xml.externalcode_ d.externalcode
@@ -1,39 +1,44 @@
1
- xml.company(name: name, discount: discount, autoDiscount: autoDiscount, discountCardNumber: discountCardNumber,
2
- discountCorrection: discountCorrection, stateUuid: stateUuid, employeeUuid: employeeUuid,
3
- priceTypeUuid: priceTypeUuid, archived: archived, created: created, director: director,
4
- chiefAccountant: chiefAccountant, payerVat: payerVat, companyType: companyType) {
1
+ xml.company(readMode: readMode, changeMode: changeMode, updated: updated, updatedBy: updatedBy, name: name, discount: discount,
2
+ autoDiscount: autoDiscount, discountCardNumber: discountCardNumber, discountCorrection: discountCorrection, stateUuid: stateUuid,
3
+ priceTypeUuid: priceTypeUuid, archived: archived, created: created, director: director, chiefAccountant: chiefAccountant,
4
+ payerVat: payerVat, companyType: companyType) {
5
5
 
6
6
  xml.accountUuid_ accountUuid
7
7
  xml.accountId_ accountId
8
8
  xml.uuid_ uuid
9
9
  xml.groupUuid_ groupUuid
10
+ xml.ownerUid_ ownerUid
11
+ xml.shared_ shared
10
12
  xml.deleted_ deleted
11
13
  xml.code_ code
12
14
  xml.externalcode_ externalcode
13
15
  xml.description_ description
14
16
 
15
17
  to_a(:attribute).each do |a|
16
- xml.attribute(metadataUuid: a.metadataUuid, valueText: a.valueText, valueString: a.valueString,
17
- doubleValue: a.doubleValue, longValue: a.longValue, booleanValue: a.booleanValue,
18
- timeValue: a.timeValue, entityValueUuid: a.entityValueUuid, agentValueUuid: a.agentValueUuid,
19
- goodValueUuid: a.goodValueUuid, placeValueUuid: a.placeValueUuid, consignmentValueUuid: a.consignmentValueUuid,
20
- contractValueUuid: a.contractValueUuid, projectValueUuid: a.projectValueUuid, employeeValueUuid: a.employeeValueUuid,
21
- goodUuid: a.goodUuid) {
18
+ xml.attribute(readMode: a.readMode, changeMode: a.changeMode, updated: a.updated, updatedBy: a.updatedBy, metadataUuid: a.metadataUuid,
19
+ valueText: a.valueText, valueString: a.valueString, doubleValue: a.doubleValue, longValue: a.longValue, booleanValue: a.booleanValue,
20
+ timeValue: a.timeValue, entityValueUuid: a.entityValueUuid, agentValueUuid: a.agentValueUuid, goodValueUuid: a.goodValueUuid,
21
+ placeValueUuid: a.placeValueUuid, consignmentValueUuid: a.consignmentValueUuid, contractValueUuid: a.contractValueUuid,
22
+ projectValueUuid: a.projectValueUuid, employeeValueUuid: a.employeeValueUuid, operationUuid: a.operationUuid) {
22
23
 
23
24
  xml.accountUuid_ a.accountUuid
24
25
  xml.accountId_ a.accountId
25
26
  xml.uuid_ a.uuid
26
27
  xml.groupUuid_ a.groupUuid
28
+ xml.ownerUid_ a.ownerUid
29
+ xml.shared_ a.shared
27
30
  xml.deleted_ a.deleted
28
31
 
29
32
  a.to_a(:file).each do |f|
30
- xml.file(name: f.name,
33
+ xml.file(readMode: f.readMode, changeMode: f.changeMode, updated: f.updated, updatedBy: f.updatedBy, name: f.name, created: f.created,
31
34
  filename: f.filename, miniatureUuid: f.miniatureUuid) {
32
35
 
33
36
  xml.accountUuid_ f.accountUuid
34
37
  xml.accountId_ f.accountId
35
38
  xml.uuid_ f.uuid
36
39
  xml.groupUuid_ f.groupUuid
40
+ xml.ownerUid_ f.ownerUid
41
+ xml.shared_ f.shared
37
42
  xml.deleted_ f.deleted
38
43
  xml.code_ f.code
39
44
  xml.externalcode_ f.externalcode
@@ -44,28 +49,37 @@ xml.company(name: name, discount: discount, autoDiscount: autoDiscount, discoun
44
49
  }
45
50
  end
46
51
 
52
+
47
53
  xml.requisite(legalTitle: requisite.legalTitle, legalAddress: requisite.legalAddress, actualAddress: requisite.actualAddress,
48
54
  inn: requisite.inn, kpp: requisite.kpp, okpo: requisite.okpo, ogrn: requisite.ogrn, ogrnip: requisite.ogrnip,
49
55
  nomerSvidetelstva: requisite.nomerSvidetelstva, dataSvidetelstva: requisite.dataSvidetelstva) {
50
56
 
51
- xml.bankAccount(accountNumber: requisite.bankAccont.accountNumber, bankLocation: requisite.bankAccont.bankLocation,
52
- bankName: requisite.bankAccont.bankName, bic: requisite.bankAccont.bic,
53
- correspondentAccount: requisite.correspondentAccount, isDefault: requisite.bankAccont.isDefault) {
57
+ xml.bankAccount(readMode: requisite.bankAccount.readMode, changeMode: requisite.bankAccount.changeMode,
58
+ updated: requisite.bankAccount.updated, updatedBy: requisite.bankAccount.updatedBy,
59
+ accountNumber: requisite.bankAccount.accountNumber, bankLocation: requisite.bankAccount.bankLocation,
60
+ bankName: requisite.bankAccount.bankName, bic: requisite.bankAccount.bic,
61
+ correspondentAccount: requisite.bankAccount.correspondentAccount, isDefault: requisite.bankAccount.isDefault) {
62
+
54
63
  xml.accountUuid_ requisite.bankAccount.accountUuid
55
64
  xml.accountId_ requisite.bankAccount.accountId
56
65
  xml.uuid_ requisite.bankAccount.uuid
57
66
  xml.groupUuid_ requisite.bankAccount.groupUuid
67
+ xml.ownerUid_ requisite.bankAccount.ownerUid
68
+ xml.shared_ requisite.bankAccount.shared
58
69
  xml.deleted_ requisite.bankAccount.deleted
59
70
  } if requisite.bankAccount.present?
60
71
  } if requisite.present?
61
72
 
62
73
  to_a(:bankAccount).each do |b|
63
- xml.bankAccount(accountNumber: b.accountNumber, bankLocation: b.bankLocation, bankName: b.bankName, bic: b.bic,
64
- correspondentAccount: b.correspondentAccount, isDefault: b.isDefault) {
74
+ xml.bankAccount(readMode: b.readMode, changeMode: b.changeMode, updated: b.updated, updatedBy: b.updatedBy, accountNumber: b.accountNumber,
75
+ bankLocation: b.bankLocation, bankName: b.bankName, bic: b.bic, correspondentAccount: b.correspondentAccount,
76
+ isDefault: b.isDefault) {
65
77
  xml.accountUuid_ b.accountUuid
66
78
  xml.accountId_ b.accountId
67
79
  xml.uuid_ b.uuid
68
80
  xml.groupUuid_ b.groupUuid
81
+ xml.ownerUid_ b.ownerUid
82
+ xml.shared_ b.shared
69
83
  xml.deleted_ b.deleted
70
84
  }
71
85
  end
@@ -73,11 +87,15 @@ xml.company(name: name, discount: discount, autoDiscount: autoDiscount, discoun
73
87
  xml.contact(address: contact.address, phones: contact.phones, faxes: contact.faxes, mobiles: contact.mobiles, email: contact.email)
74
88
 
75
89
  to_a(:contactPerson).each do |c|
76
- xml.contactPerson(name: c.name, email: c.email, phone: c.phone, position: c.position) {
90
+ xml.contactPerson(readMode: c.readMode, changeMode: c.changeMode, updated: c.updated, updatedBy: c.updatedBy, name: c.name,
91
+ email: c.email, phone: c.phone, position: c.position) {
92
+
77
93
  xml.accountUuid_ c.accountUuid
78
94
  xml.accountId_ c.accountId
79
95
  xml.uuid_ c.uuid
80
96
  xml.groupUuid_ c.groupUuid
97
+ xml.ownerUid_ c.ownerUid
98
+ xml.shared_ c.shared
81
99
  xml.deleted_ c.deleted
82
100
  xml.code_ c.code
83
101
  xml.externalcode_ c.externalcode
@@ -86,11 +104,13 @@ xml.company(name: name, discount: discount, autoDiscount: autoDiscount, discoun
86
104
  end
87
105
 
88
106
  to_a(:agentNewsItem).each do |n|
89
- xml.agentNewsItem(moment: n.moment) {
107
+ xml.agentNewsItem(readMode: n.readMode, changeMode: n.changeMode, updated: n.updated, updatedBy: n.updatedBy, moment: n.moment) {
90
108
  xml.accountUuid_ n.accountUuid
91
109
  xml.accountId_ n.accountId
92
110
  xml.uuid_ n.uuid
93
111
  xml.groupUuid_ n.groupUuid
112
+ xml.ownerUid_ n.ownerUid
113
+ xml.shared_ n.shared
94
114
  xml.deleted_ n.deleted
95
115
  xml.text_ n.text
96
116
  }
@@ -103,11 +123,14 @@ xml.company(name: name, discount: discount, autoDiscount: autoDiscount, discoun
103
123
  }
104
124
 
105
125
  to_a(:sign).each do |s|
106
- xml.sign(name: s.name, filename: s.filename, miniatureUuid: s.miniatureUuid) {
126
+ xml.sign(readMode: s.readMode, changeMode: s.changeMode, updated: s.updated, updatedBy: s.updatedBy, name: s.name, created: s.created,
127
+ filename: s.filename, miniatureUuid: s.miniatureUuid) {
107
128
  xml.accountUuid_ s.accountUuid
108
129
  xml.accountId_ s.accountId
109
130
  xml.uuid_ s.uuid
110
131
  xml.groupUuid_ s.groupUuid
132
+ xml.ownerUid_ s.ownerUid
133
+ xml.shared_ s.shared
111
134
  xml.deleted_ s.deleted
112
135
  xml.code_ s.code
113
136
  xml.externalcode_ s.externalcode
@@ -117,11 +140,14 @@ xml.company(name: name, discount: discount, autoDiscount: autoDiscount, discoun
117
140
  end
118
141
 
119
142
  to_a(:stamp).each do |s|
120
- xml.stamp(name: s.name, filename: s.filename, miniatureUuid: s.miniatureUuid) {
143
+ xml.stamp(readMode: s.readMode, changeMode: s.changeMode, updated: s.updated, updatedBy: s.updatedBy, name: s.name, created: s.created,
144
+ filename: s.filename, miniatureUuid: s.miniatureUuid) {
121
145
  xml.accountUuid_ s.accountUuid
122
146
  xml.accountId_ s.accountId
123
147
  xml.uuid_ s.uuid
124
148
  xml.groupUuid_ s.groupUuid
149
+ xml.ownerUid_ s.ownerUid
150
+ xml.shared_ s.shared
125
151
  xml.deleted_ s.deleted
126
152
  xml.code_ s.code
127
153
  xml.externalcode_ s.externalcode