ConsolidatedInventory.mtd
18.4 KB
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
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
{
"$type": "Sungero.Metadata.EntityMetadata, Sungero.Metadata",
"NameGuid": "18776c4f-9a49-4aa8-82fc-47143ed3dde5",
"Name": "ConsolidatedInventory",
"Actions": [
{
"NameGuid": "2bf4f8e1-2be3-4f9d-a997-099c95334e67",
"Name": "ShowCaseFiles",
"ActionArea": "Card",
"GenerateHandler": true,
"LargeIconName": "Action_ShowCaseFiles_large_2bf4f8e12be34f9da997099c95334e67.png",
"SmallIconName": "Action_ShowCaseFiles_small_2bf4f8e12be34f9da997099c95334e67.png"
},
{
"NameGuid": "e715274c-94be-41df-b501-09ecf230a951",
"Name": "ShowAnnualSections",
"ActionArea": "Card",
"GenerateHandler": true,
"LargeIconName": "Action_AnnualSection_large_e715274c94be41dfb50109ecf230a951.png",
"SmallIconName": "Action_AnnualSection_small_e715274c94be41dfb50109ecf230a951.png"
},
{
"NameGuid": "773604ae-8cf4-4fb7-9a0f-8caa2a20a38c",
"Name": "CreateAnnualSection",
"ActionArea": "Card",
"GenerateHandler": true,
"LargeIconName": "Action_CreateAnnualSection_large_773604ae8cf44fb79a0f8caa2a20a38c.png",
"SmallIconName": "Action_CreateAnnualSection_small_773604ae8cf44fb79a0f8caa2a20a38c.png"
},
{
"NameGuid": "e160422b-aef4-4bfa-bdd3-811d8f1b746f",
"Name": "CloseInventory",
"ActionArea": "Card",
"GenerateHandler": true,
"LargeIconName": "Action_CloseInventory_large_e160422baef44bfabdd3811d8f1b746f.png",
"SmallIconName": "Action_CloseInventory_small_e160422baef44bfabdd3811d8f1b746f.png"
},
{
"NameGuid": "71f297eb-0e6c-4998-8444-8c19ff63a1e5",
"Name": "ReopenInventory",
"ActionArea": "Card",
"GenerateHandler": true,
"LargeIconName": "Action_ReopenInventory_large_71f297eb0e6c499884448c19ff63a1e5.png",
"SmallIconName": "Action_ReopenInventory_small_71f297eb0e6c499884448c19ff63a1e5.png"
}
],
"BaseGuid": "04581d26-0780-4cfd-b3cd-c2cafc5798b0",
"CanBeNavigationPropertyType": true,
"Code": "ConsInventory",
"CreationAreaMetadata": {
"NameGuid": "f7766750-eee2-4fcd-8003-5c06a90d1f44",
"Name": "CreationArea",
"Buttons": [],
"IsAncestorMetadata": true
},
"ExtraSearchProperties": [],
"FilterPanel": {
"NameGuid": "b0125fbd-3b91-4dbb-914a-689276216404",
"Name": "FilterPanel",
"Controls": [],
"IsAncestorMetadata": true
},
"Forms": [
{
"$type": "Sungero.Metadata.StandaloneFormMetadata, Sungero.Metadata",
"NameGuid": "7dfd2774-d9d8-4b82-9dc9-7fee464a2b56",
"Name": "Card",
"Controls": [
{
"$type": "Sungero.Metadata.ControlGroupMetadata, Sungero.Metadata",
"NameGuid": "3844cdae-d662-4010-b568-3269d9ec0c7a",
"Name": "ControlGroup",
"ColumnDefinitions": [
{
"Percentage": 50.0
},
{
"Percentage": 50.0
}
]
},
{
"$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
"NameGuid": "0ee2034b-33b3-4752-a4e8-dae5ac056538",
"Name": "Name",
"ColumnNumber": 0,
"ColumnSpan": 2,
"DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.StringEditorToStringBinder",
"ParentGuid": "3844cdae-d662-4010-b568-3269d9ec0c7a",
"PropertyGuid": "f556a6bf-8cf5-417d-ab1d-4146a3cc0e44",
"RowNumber": 0,
"RowSpan": 1,
"Settings": []
},
{
"$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
"NameGuid": "1f47f7db-07c2-4b83-b6e4-addd5d7b1ba0",
"Name": "BusinessUnit",
"ColumnNumber": 0,
"ColumnSpan": 1,
"DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.DropDownEditorToNavigationBinder",
"ParentGuid": "3844cdae-d662-4010-b568-3269d9ec0c7a",
"PropertyGuid": "9544272d-7c29-4676-a578-cb11a4f4ca47",
"RowNumber": 4,
"RowSpan": 1,
"Settings": []
},
{
"$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
"NameGuid": "fcb51369-6b86-4102-84a0-9430d0979ed1",
"Name": "Number",
"ColumnNumber": 0,
"ColumnSpan": 1,
"DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.NumericEditorToIntAndDoubleBinder",
"ParentGuid": "3844cdae-d662-4010-b568-3269d9ec0c7a",
"PropertyGuid": "fe975186-b405-4e25-9543-493b8394828f",
"RowNumber": 3,
"RowSpan": 1,
"Settings": []
},
{
"$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
"NameGuid": "75de14c1-f1b3-4600-b361-abb5171cf632",
"Name": "Type",
"ColumnNumber": 0,
"ColumnSpan": 2,
"DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.DropDownEditorToEnumerationBinder",
"ParentGuid": "3844cdae-d662-4010-b568-3269d9ec0c7a",
"PropertyGuid": "dd50f586-0cb5-4948-af0d-c84aa6628d5d",
"RowNumber": 2,
"RowSpan": 1,
"Settings": []
},
{
"$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
"NameGuid": "ae7a4454-b3b1-4162-84eb-48e157781066",
"Name": "CasesNumber",
"ColumnNumber": 1,
"ColumnSpan": 1,
"DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.NumericEditorToIntAndDoubleBinder",
"ParentGuid": "3844cdae-d662-4010-b568-3269d9ec0c7a",
"PropertyGuid": "8c7cb90a-ed20-470c-937b-2e73fe2e304a",
"RowNumber": 3,
"RowSpan": 1,
"Settings": []
},
{
"$type": "Sungero.Metadata.ControlGroupMetadata, Sungero.Metadata",
"NameGuid": "bc2ba8e1-3264-4c9a-aac1-57c451316556",
"Name": "Notes",
"ColumnNumber": 0,
"ColumnSpan": 2,
"GroupType": "WithTitleNoBorder",
"ParentGuid": "3844cdae-d662-4010-b568-3269d9ec0c7a",
"RowNumber": 5,
"RowSpan": 1
},
{
"$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
"NameGuid": "89ecc45c-e0dd-42c3-a678-29488591db81",
"Name": "Note",
"ColumnNumber": 0,
"ColumnSpan": 1,
"DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.TextEditorToTextBinder",
"HeaderLocation": "None",
"ParentGuid": "bc2ba8e1-3264-4c9a-aac1-57c451316556",
"PropertyGuid": "72f008f3-e729-4635-b74c-8bed127944bf",
"RowNumber": 0,
"RowSpan": 1,
"Settings": [
{
"Name": "Height",
"Value": 60
},
{
"Name": "NeedExpand",
"Value": true
}
]
},
{
"$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
"NameGuid": "e5630e1e-3267-47d2-8611-d79f4c888feb",
"Name": "Control",
"ColumnNumber": 0,
"ColumnSpan": 2,
"DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.DropDownEditorToNavigationBinder",
"ParentGuid": "3844cdae-d662-4010-b568-3269d9ec0c7a",
"PropertyGuid": "e4a52587-d4a7-44bb-a907-c28f5f736ae1",
"RowNumber": 1,
"RowSpan": 1,
"Settings": []
},
{
"$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
"NameGuid": "9298fd41-16b4-4992-b795-df51e58f6394",
"Name": "Status",
"ColumnNumber": 1,
"ColumnSpan": 1,
"DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.DropDownEditorToEnumerationBinder",
"ParentGuid": "3844cdae-d662-4010-b568-3269d9ec0c7a",
"PropertyGuid": "1dcedc29-5140-4770-ac92-eabc212326a1",
"RowNumber": 4,
"RowSpan": 1,
"Settings": []
}
]
}
],
"HandledEvents": [
"BeforeSaveServer",
"SavingServer",
"CreatedServer",
"RefreshClient"
],
"IconResourcesKeys": [],
"OperationsClass": "",
"Overridden": [
"IsAutoCreated"
],
"Properties": [
{
"$type": "Sungero.Metadata.EnumPropertyMetadata, Sungero.Metadata",
"NameGuid": "1dcedc29-5140-4770-ac92-eabc212326a1",
"Name": "Status",
"IsAncestorMetadata": true,
"IsEnabled": false,
"Overridden": [
"IsShowedInList",
"IsEnabled",
"IsVisibility"
]
},
{
"$type": "Sungero.Metadata.StringPropertyMetadata, Sungero.Metadata",
"NameGuid": "f556a6bf-8cf5-417d-ab1d-4146a3cc0e44",
"Name": "Name",
"Code": "Name",
"IsDisplayValue": true,
"IsEnabled": false,
"IsQuickSearchAllowed": true,
"IsRequired": true,
"ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.StringEditorToStringBinder",
"PreviousPropertyGuid": "1dcedc29-5140-4770-ac92-eabc212326a1"
},
{
"$type": "Sungero.Metadata.IntegerPropertyMetadata, Sungero.Metadata",
"NameGuid": "fe975186-b405-4e25-9543-493b8394828f",
"Name": "Number",
"Code": "Number",
"IsEnabled": false,
"ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.NumericEditorToIntAndDoubleBinder",
"PreviousPropertyGuid": "dd50f586-0cb5-4948-af0d-c84aa6628d5d"
},
{
"$type": "Sungero.Metadata.EnumPropertyMetadata, Sungero.Metadata",
"NameGuid": "dd50f586-0cb5-4948-af0d-c84aa6628d5d",
"Name": "Type",
"Code": "Type",
"DirectValues": [
{
"NameGuid": "998c9b18-7f7c-4d6c-9272-f99ccffd89ed",
"Name": "Permanent",
"Code": "Permanent"
},
{
"NameGuid": "5c85bf76-d1be-4a63-9014-d0ca1828d4d8",
"Name": "Temporary",
"Code": "Temporary"
},
{
"NameGuid": "02dba9c0-b12b-4acd-b942-36f52af24aba",
"Name": "Personnel",
"Code": "Personnel"
},
{
"NameGuid": "41040b63-5069-4129-b8a1-d9bbe1213fe4",
"Name": "ElectronicPerm",
"Code": "ElectronicPerm"
},
{
"NameGuid": "d451dd61-696b-409b-a78d-59a244ec9081",
"Name": "ElectronicTemp",
"Code": "ElectronicTemp"
}
],
"HandledEvents": [
"ValueInputClient"
],
"IsRequired": true,
"ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.DropDownEditorToEnumerationBinder",
"PreviousPropertyGuid": "e4a52587-d4a7-44bb-a907-c28f5f736ae1"
},
{
"$type": "Sungero.Metadata.NavigationPropertyMetadata, Sungero.Metadata",
"NameGuid": "9544272d-7c29-4676-a578-cb11a4f4ca47",
"Name": "BusinessUnit",
"Code": "BusinessUnit",
"EntityGuid": "eff95720-181f-4f7d-892d-dec034c7b2ab",
"FlatListInStandaloneLookup": true,
"IsRequired": true,
"ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.DropDownEditorToNavigationBinder",
"PreviousPropertyGuid": "fe975186-b405-4e25-9543-493b8394828f"
},
{
"$type": "Sungero.Metadata.IntegerPropertyMetadata, Sungero.Metadata",
"NameGuid": "8c7cb90a-ed20-470c-937b-2e73fe2e304a",
"Name": "CasesNumber",
"Code": "CasesNumber",
"IsEnabled": false,
"ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.NumericEditorToIntAndDoubleBinder",
"PreviousPropertyGuid": "9544272d-7c29-4676-a578-cb11a4f4ca47"
},
{
"$type": "Sungero.Metadata.StringPropertyMetadata, Sungero.Metadata",
"NameGuid": "72f008f3-e729-4635-b74c-8bed127944bf",
"Name": "Note",
"CanBeSearch": false,
"Code": "Note",
"IsQuickSearchAllowed": true,
"Length": 1000,
"ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.StringEditorToStringBinder",
"PreviousPropertyGuid": "8c7cb90a-ed20-470c-937b-2e73fe2e304a"
},
{
"$type": "Sungero.Metadata.NavigationPropertyMetadata, Sungero.Metadata",
"NameGuid": "e4a52587-d4a7-44bb-a907-c28f5f736ae1",
"Name": "Fund",
"Code": "Fund",
"EntityGuid": "b2226f1c-1480-4b8b-8fac-fa23278ae3ac",
"FlatListInStandaloneLookup": true,
"HandledEvents": [
"ValueInputClient"
],
"IsRequired": true,
"ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.DropDownEditorToNavigationBinder",
"PreviousPropertyGuid": "f556a6bf-8cf5-417d-ab1d-4146a3cc0e44"
}
],
"PublicFunctions": [
{
"Name": "AddCaseFilesDialog",
"Parameters": [
{
"Name": "consolidatedInventory",
"ParameterType": "global::DirRX.Storage.IConsolidatedInventory",
"ParameterTypeFullName": "DirRX.Storage.IConsolidatedInventory, Sungero.Domain.Interfaces"
}
],
"Placement": "Client",
"ReturnType": "global::System.String",
"ReturnTypeFullName": "System.String"
},
{
"Name": "GetAnnualSections",
"IsRemote": true,
"Parameters": [
{
"Name": "consolidatedInventory",
"ParameterType": "global::DirRX.Storage.IConsolidatedInventory",
"ParameterTypeFullName": "DirRX.Storage.IConsolidatedInventory, Sungero.Domain.Interfaces"
}
],
"Placement": "Shared",
"ReturnType": "global::System.Linq.IQueryable<global::DirRX.Storage.IAnnualSection>",
"ReturnTypeFullName": "System.Linq.IQueryable"
},
{
"Name": "GetCaseFiles",
"IsRemote": true,
"Parameters": [
{
"Name": "consolidatedInventory",
"ParameterType": "global::DirRX.Storage.IConsolidatedInventory",
"ParameterTypeFullName": "DirRX.Storage.IConsolidatedInventory, Sungero.Domain.Interfaces"
}
],
"Placement": "Shared",
"ReturnType": "global::System.Linq.IQueryable<global::DirRX.LongTermArchive.ICaseFile>",
"ReturnTypeFullName": "System.Linq.IQueryable"
},
{
"Name": "GetCaseFilesByYear",
"Parameters": [
{
"Name": "consolidatedInventory",
"ParameterType": "global::DirRX.Storage.IConsolidatedInventory",
"ParameterTypeFullName": "DirRX.Storage.IConsolidatedInventory, Sungero.Domain.Interfaces"
},
{
"Name": "year",
"ParameterType": "global::System.Int32",
"ParameterTypeFullName": "System.Int32"
}
],
"Placement": "Shared",
"ReturnType": "global::System.Linq.IQueryable<global::DirRX.LongTermArchive.ICaseFile>",
"ReturnTypeFullName": "System.Linq.IQueryable"
},
{
"Name": "UpdateConsolidatedInventory",
"Parameters": [
{
"Name": "consolidatedInventory",
"ParameterType": "global::DirRX.Storage.IConsolidatedInventory",
"ParameterTypeFullName": "DirRX.Storage.IConsolidatedInventory, Sungero.Domain.Interfaces"
}
],
"Placement": "Shared",
"ReturnType": "void",
"ReturnTypeFullName": "System.Void"
}
],
"PublicStructures": [],
"ResourcesKeys": [
"ConsolidatedInventory",
"WarningOnlyArchivistCanAddCaseFiles",
"WarningCanNotUpdateCaseFile",
"WarningCaseFilesNotFound",
"WarningOnlyArchivistCanRemoveCaseFiles",
"WarningCaseListIsEmpty",
"CreateAnnualSectionDialogCaseFileNotFoundWarning",
"CreateAnnualSectionDialogTitle",
"CreateAnnualSectionDialogYearLabel",
"WarningCaseFilesTooMuch",
"CreateAnnualSectionDialogYearCaseFileNotFoundWarning",
"NameTemplate",
"ErrorConsolidatedInventoryAlreadyExists",
"CreateAnnualSectionDialogAlreadyExists",
"ApprovedAnnualSectionExist",
"ReformAnnualSectionMessage",
"CaseFileCantBeRemoved",
"AnnualSectionCreatingConfirm"
],
"RibbonCardMetadata": {
"NameGuid": "48449c84-9dc2-4f91-a1dc-406fd3e76b5d",
"Name": "RibbonCard",
"Categories": [],
"Elements": [
{
"$type": "Sungero.Metadata.RibbonActionButtonMetadata, Sungero.Metadata",
"NameGuid": "214d81d6-f33f-43e3-acb8-bed9ad9a3bd7",
"Name": "ShowCaseFiles",
"ActionGuid": "2bf4f8e1-2be3-4f9d-a997-099c95334e67",
"ButtonSize": "Large",
"Index": 0,
"ParentGuid": "827b8ea0-b9c3-4e04-accf-3429d439716b"
},
{
"$type": "Sungero.Metadata.RibbonActionButtonMetadata, Sungero.Metadata",
"NameGuid": "52c0915e-c9e6-4fbc-bafc-9dbfbb8249da",
"Name": "CreateAnnualSection",
"ActionGuid": "773604ae-8cf4-4fb7-9a0f-8caa2a20a38c",
"ButtonSize": "Large",
"Index": 2,
"ParentGuid": "827b8ea0-b9c3-4e04-accf-3429d439716b"
},
{
"$type": "Sungero.Metadata.RibbonActionButtonMetadata, Sungero.Metadata",
"NameGuid": "1d51473e-66c5-4030-b489-4fc847045f92",
"Name": "CloseInventory",
"ActionGuid": "e160422b-aef4-4bfa-bdd3-811d8f1b746f",
"ButtonSize": "Large",
"Index": 0,
"ParentGuid": "198746cd-9603-40e9-a630-b5ebf0beafb5"
},
{
"$type": "Sungero.Metadata.RibbonActionButtonMetadata, Sungero.Metadata",
"NameGuid": "244f9da9-8c3f-46bf-b295-af7698f812da",
"Name": "ReopenInventory",
"ActionGuid": "71f297eb-0e6c-4998-8444-8c19ff63a1e5",
"ButtonSize": "Large",
"Index": 1,
"ParentGuid": "198746cd-9603-40e9-a630-b5ebf0beafb5"
},
{
"$type": "Sungero.Metadata.RibbonActionButtonMetadata, Sungero.Metadata",
"NameGuid": "fdfbffd3-f9e6-4948-a57c-2399ca8e288b",
"Name": "AnnualSection",
"ActionGuid": "e715274c-94be-41df-b501-09ecf230a951",
"ButtonSize": "Large",
"Index": 3,
"ParentGuid": "827b8ea0-b9c3-4e04-accf-3429d439716b"
}
],
"Groups": [
{
"NameGuid": "827b8ea0-b9c3-4e04-accf-3429d439716b",
"Name": "ConsInventoryGroup",
"IconName": null,
"Index": 21,
"ParentGuid": "21a31627-5f58-4416-8c4a-90f538ee2e57",
"SmallIconName": null
},
{
"NameGuid": "198746cd-9603-40e9-a630-b5ebf0beafb5",
"Name": "Actions",
"IconName": null,
"Index": 22,
"ParentGuid": "21a31627-5f58-4416-8c4a-90f538ee2e57",
"SmallIconName": null
}
],
"IsAncestorMetadata": true,
"Pages": [],
"RibbonKind": "Card"
},
"RibbonCollectionMetadata": {
"NameGuid": "aba4a794-3157-4958-bf26-158411f89370",
"Name": "RibbonCollection",
"Categories": [],
"Elements": [],
"Groups": [],
"IsAncestorMetadata": true,
"Pages": []
},
"Versions": [
{
"Type": "EntityMetadata",
"Number": 11
}
]
}