source: trunk/Application/FormClasses.php@ 630

Last change on this file since 630 was 628, checked in by chronos, 11 years ago
  • Odstraněno: Ladící výpisy z Fio importu.
File size: 21.7 KB
Line 
1<?php
2
3// TODO: Split all form class definitions to modules
4
5/*
6Item definition:
7Type - identifikace typu z podporovaných
8Caption - popisek, titulek položky
9Default - výchozí hodnota
10Null - hodnota nemusí být zadána
11NoInList - sloupec viditelný v seznamu
12Suffix - text za hodnotou
13Description - popis významu položky
14ReadOnly - je položky pouze pro čtení
15Required - položka je vyžadována
16*/
17
18function RegisterFormClasses($FormManager)
19{
20 $FormManager->Classes = array(
21 'Module' => array(
22 'Title' => 'Moduly',
23 'Table' => 'Module',
24 'Items' => array(
25 'Name' => array('Type' => 'String', 'Caption' => 'Systémové jméno', 'Default' => ''),
26 'Title' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => ''),
27 ),
28 ),
29 'UserCustomerRel' => array(
30 'Title' => 'Vztahy uživatel - zákazník',
31 'Table' => 'UserCustomerRel',
32 'Items' => array(
33 'User' => array('Type' => 'TUser', 'Caption' => 'Uživatel', 'Default' => ''),
34 'Customer' => array('Type' => 'TMember', 'Caption' => 'Zákazník', 'Default' => ''),
35 ),
36 ),
37 'ServiceCustomerRel' => array(
38 'Title' => 'Vztahy služba - zákazník',
39 'Table' => 'ServiceCustomerRel',
40 'Items' => array(
41 'Service' => array('Type' => 'TService', 'Caption' => 'Služba', 'Default' => ''),
42 'Customer' => array('Type' => 'TMember', 'Caption' => 'Zákazník', 'Default' => ''),
43 'Action' => array('Type' => 'TActionEnum', 'Caption' => 'Změna období', 'Default' => '', 'Null' => true),
44 'ReplaceId' => array('Type' => 'TServiceCustomerRel', 'Caption' => 'Cílová položka', 'Default' => '', 'Null' => true),
45 ),
46 ),
47 'DocumentLine' => array(
48 'Title' => 'Dokladové řady',
49 'Table' => 'DocumentLine',
50 'DefaultSortColumn' => 'Name',
51 'Items' => array(
52 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
53 'Shortcut' => array('Type' => 'String', 'Caption' => 'Kód', 'Default' => ''),
54 'Sequence' => array('Type' => 'TDocumentLineSequenceListLine', 'Caption' => 'Čísleníky', 'Default' => ''),
55 ),
56 ),
57 'DocumentLineSequence' => array(
58 'Title' => 'Čísleníky dokladových řad',
59 'Table' => 'DocumentLineSequence',
60 'DefaultSortColumn' => 'Id',
61 'Items' => array(
62 'DocumentLine' => array('Type' => 'TDocumentLine', 'Caption' => 'Dokladová řada', 'Default' => ''),
63 'FinanceYear' => array('Type' => 'TFinanceYear', 'Caption' => 'Účetní rok', 'Default' => ''),
64 'NextNumber' => array('Type' => 'Integer', 'Caption' => 'Další číslo', 'Default' => '1'),
65 'YearPrefix' => array('Type' => 'Boolean', 'Caption' => 'Rok jako přípona', 'Default' => '1'),
66 'Operations' => array('Type' => 'TFinanceOperationListDocumentLine', 'Caption' => 'Finanční operace', 'Default' => ''),
67 'Invoices' => array('Type' => 'TFinanceInvoiceListDocumentLine', 'Caption' => 'Faktury', 'Default' => ''),
68 ),
69 ),
70 'FinanceYear' => array(
71 'Title' => 'Účetní roky',
72 'Table' => 'FinanceYear',
73 'DefaultSortColumn' => 'Year',
74 'Items' => array(
75 'Year' => array('Type' => 'Integer', 'Caption' => 'Rok', 'Default' => ''),
76 'DateStart' => array('Type' => 'Date', 'Caption' => 'První den', 'Default' => ''),
77 'DateEnd' => array('Type' => 'Date', 'Caption' => 'Poslední den', 'Default' => ''),
78 'Closed' => array('Type' => 'Boolean', 'Caption' => 'Uzavřen', 'Default' => 0),
79 'Sequence' => array('Type' => 'TDocumentLineSequenceListYear', 'Caption' => 'Čísleníky', 'Default' => ''),
80 ),
81 //'AfterInsert' => array($this, 'AfterInsertFinanceYear'),
82 ),
83 'Language' => array(
84 'Title' => 'Jazyky',
85 'Table' => 'Language',
86 'DefaultSortColumn' => 'Name',
87 'Items' => array(
88 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
89 ),
90 ),
91 'UnitOfMeasure' => array(
92 'Title' => 'Měrné jednotky',
93 'Table' => 'UnitOfMeasure',
94 'DefaultSortColumn' => 'Name',
95 'Items' => array(
96 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
97 'Unit' => array('Type' => 'String', 'Caption' => 'Jednotka', 'Default' => ''),
98 ),
99 ),
100 'FinanceBillingPeriod' => array(
101 'Title' => 'Platební období',
102 'Table' => 'FinanceBillingPeriod',
103 'DefaultSortColumn' => 'Name',
104 'Items' => array(
105 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
106 'MonthCount' => array('Type' => 'Integer', 'Caption' => 'Počet měsíců', 'Default' => '0', 'Suffix' => 'měsíců'),
107 'Customers' => array('Type' => 'TCustomerListBillingPeriod', 'Caption' => 'Zákazníci', 'Default' => ''),
108 ),
109 ),
110 'Service' => array(
111 'Title' => 'Služby',
112 'Table' => 'Service',
113 'DefaultSortColumn' => 'Name',
114 'Items' => array(
115 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
116 'Category' => array('Type' => 'TServiceCategory', 'Caption' => 'Skupina', 'Default' => '', 'Null' => true),
117 'Price' => array('Type' => 'Integer', 'Caption' => 'Cena', 'Default' => '0', 'Suffix' => 'Kč'),
118 'CustomerCount' => array('Type' => 'Integer', 'Caption' => 'Počet zákazníků', 'Default' => ''),
119 'Public' => array('Type' => 'Boolean', 'Caption' => 'Veřejné', 'Default' => ''),
120 'InternetSpeedMin' => array('Type' => 'Integer', 'Caption' => 'Min. rychlost internetu', 'Default' => '0', 'Suffix' => 'kbit/s'),
121 'InternetSpeedMax' => array('Type' => 'Integer', 'Caption' => 'Max. rychlost internetu', 'Default' => '0', 'Suffix' => 'kbit/s'),
122 'UploadAsymmetry' => array('Type' => 'Integer', 'Caption' => 'Asymetrie odesílání', 'Default' => '1'),
123 'Memory' => array('Type' => 'Integer', 'Caption' => 'Paměť', 'Default' => '0', 'Suffix' => 'GB'),
124 'MemorySwap' => array('Type' => 'Integer', 'Caption' => 'Odkládací oddíl', 'Default' => '0', 'Suffix' => 'GB'),
125 'Storage' => array('Type' => 'Integer', 'Caption' => 'Úložiště', 'Default' => '0', 'Suffix' => 'GB'),
126 'CPUCount' => array('Type' => 'Integer', 'Caption' => 'Počet jader', 'Default' => '0', 'Suffix' => ''),
127 'Action' => array('Type' => 'TActionEnum', 'Caption' => 'Změna období', 'Default' => '', 'Null' => true),
128 'ReplaceId' => array('Type' => 'TService', 'Caption' => 'Cílová položka', 'Default' => '', 'Null' => true),
129 ),
130 ),
131 'Country' => array(
132 'Title' => 'Země',
133 'Table' => 'Country',
134 'DefaultSortColumn' => 'Name',
135 'Items' => array(
136 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
137 ),
138 ),
139 'NewNetworkDeviceHistory' => array(
140 'Title' => 'Vložit záznam historie zařízení',
141 'Table' => 'NetworkDeviceHistory',
142 'Items' => array(
143 'Device' => array('Type' => 'TNetworkDevice', 'Caption' => 'Zařízení', 'Default' => 0),
144 'Time' => array('Type' => 'Time', 'Caption' => 'Čas', 'Default' => 'Now'),
145 'Action' => array('Type' => 'TNetworkDeviceAction', 'Caption' => 'Akce', 'Default' => 0),
146 'Notice' => array('Type' => 'String', 'Caption' => 'Poznámka', 'Default' => ''),
147 ),
148 ),
149 'ServiceCategory' => array(
150 'Title' => 'Kategorie služeb',
151 'Table' => 'ServiceCategory',
152 'Items' => array(
153 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
154 'Items' => array('Type' => 'TServiceListServiceCategory', 'Caption' => 'Služby', 'Default' => ''),
155 ),
156 ),
157);
158
159$FormManager->FormTypes = array(
160 'TServiceCategory' => array(
161 'Type' => 'Reference',
162 'Table' => 'ServiceCategory',
163 'Id' => 'Id',
164 'Name' => 'Name',
165 'Filter' => '1',
166 ),
167 'TPriority' => array(
168 'Type' => 'Enumeration',
169 'States' => array('Nízká', 'Střední', 'Vysoká'),
170 ),
171 'TNetworkConfigurationState' => array(
172 'Type' => 'Enumeration',
173 'States' => array('Neplánováno', 'V plánu', 'Provádí se'),
174 ),
175 'TAntennaPolarity' => array(
176 'Type' => 'Enumeration',
177 'States' => array('Vertikální', 'Horizontální', 'Kruhová', 'Vertikální i horizontální'),
178 ),
179 'TNetworkDeviceState' => array(
180 'Type' => 'Enumeration',
181 'States' => array('Vyřazeno', 'Použito', 'Na skladě'),
182 ),
183 'TNetworkDeviceAction' => array(
184 'Type' => 'Enumeration',
185 'States' => array('Zakoupeno', 'Prodáno', 'Zařazeno do použití', 'Vyřazeno z použití', 'Zasláno do reklamace', 'Přijato z reklamace'),
186 ),
187 'TActionEnum' => array(
188 'Type' => 'Enumeration',
189 'States' => array('add' => 'Přidat', 'modify' => 'Upravit', 'remove' => 'Odstranit'),
190 ),
191 'TWirelessMode' => array(
192 'Type' => 'Enumeration',
193 'States' => array('Přístupový bod (AP)', 'Klient'),
194 ),
195 'TService' => array(
196 'Type' => 'Reference',
197 'Table' => 'Service',
198 'Id' => 'Id',
199 'Name' => 'Name',
200 'Filter' => '1',
201 ),
202 'TFinanceBillingPeriod' => array(
203 'Type' => 'Reference',
204 'Table' => 'FinanceBillingPeriod',
205 'Id' => 'Id',
206 'Name' => 'Name',
207 'Filter' => '1',
208 ),
209 'TMember' => array(
210 'Type' => 'Reference',
211 'Table' => 'Member',
212 'Id' => 'Id',
213 'Name' => 'Name',
214 'Filter' => '1',
215 ),
216 'TMemberListSubject' => array(
217 'Type' => 'ManyToOne',
218 'Table' => 'Member',
219 'Id' => 'Id',
220 'Ref' => 'Subject',
221 'Filter' => '1',
222 ),
223 'TModule' => array(
224 'Type' => 'Reference',
225 'Table' => 'Module',
226 'Id' => 'Id',
227 'Name' => 'Name',
228 'Filter' => '1',
229 ),
230 'TMapPosition' => array(
231 'Type' => 'Reference',
232 'Table' => 'MapPosition',
233 'Id' => 'Id',
234 'Name' => 'Name',
235 'Filter' => '1',
236 ),
237 'TUser' => array(
238 'Type' => 'Reference',
239 'Table' => 'User',
240 'Id' => 'Id',
241 'Name' => 'Name',
242 'Filter' => '1',
243 ),
244 'TFinanceSubject' => array(
245 'Type' => 'Reference',
246 'Table' => 'Subject',
247 'Id' => 'Id',
248 'Name' => 'Name',
249 'Filter' => '1',
250 ),
251 'TDocumentLine' => array(
252 'Type' => 'Reference',
253 'Table' => 'DocumentLine',
254 'Id' => 'Id',
255 'Name' => 'Name',
256 'Filter' => '1',
257 ),
258 'TBankAccount' => array(
259 'Type' => 'Reference',
260 'Table' => 'FinanceBankAccount',
261 'Id' => 'Id',
262 'Name' => 'CONCAT(`Comment`, " (", `Number`, "/", '.
263 '(SELECT `FinanceBank`.`Code` FROM `FinanceBank` WHERE `FinanceBank`.`Id`=`FinanceBankAccount`.`Bank`), ")")',
264 'Filter' => '1',
265 ),
266 'TNetworkDevice' => array(
267 'Type' => 'Reference',
268 'Table' => 'NetworkDevice',
269 'Id' => 'Id',
270 'Name' => 'Name',
271 'Filter' => '1',
272 ),
273 'TNetworkDeviceType' => array(
274 'Type' => 'Reference',
275 'Table' => 'NetworkDeviceType',
276 'Id' => 'Id',
277 'Name' => 'Name',
278 'Filter' => '1',
279 ),
280 'TNetworkInterface' => array(
281 'Type' => 'Reference',
282 'Table' => 'NetworkInterface',
283 'View' => '(SELECT NetworkInterface.*, CONCAT(NetworkDevice.Name, "-", NetworkInterface.Name) AS DeviceName FROM NetworkInterface '.
284 'LEFT JOIN NetworkDevice ON NetworkDevice.Id = NetworkInterface.Device) AS T',
285 'Id' => 'Id',
286 'Name' => 'DeviceName',
287 'Filter' => '1',
288 ),
289 'TNetworkInterfaceType' => array(
290 'Type' => 'Reference',
291 'Table' => 'NetworkInterfaceType',
292 'Id' => 'Id',
293 'Name' => 'Name',
294 'Filter' => '1',
295 ),
296 'TServiceCustomerRel' => array(
297 'Type' => 'Reference',
298 'Table' => 'ServiceCustomerRel',
299 'Id' => 'Id',
300 'Name' => 'Id',
301 'Filter' => '1',
302 ),
303 'TNetworkSegment' => array(
304 'Type' => 'Reference',
305 'Table' => 'NetworkSegment',
306 'Id' => 'Id',
307 'Name' => 'Name',
308 'Filter' => '1',
309 ),
310 'TNewsCategory' => array(
311 'Type' => 'Reference',
312 'Table' => 'NewsCategory',
313 'Id' => 'Id',
314 'Name' => 'Caption',
315 'Filter' => '1',
316 ),
317 'TCountry' => array(
318 'Type' => 'Reference',
319 'Table' => 'Country',
320 'Id' => 'Id',
321 'Name' => 'Name',
322 'Filter' => '1',
323 ),
324 'TSubject' => array(
325 'Type' => 'Reference',
326 'Table' => 'Subject',
327 'Id' => 'Id',
328 'Name' => 'Name',
329 'Filter' => '1',
330 ),
331 'TFinanceTreasury' => array(
332 'Type' => 'Reference',
333 'Table' => 'FinanceTreasury',
334 'Id' => 'Id',
335 'Name' => 'Name',
336 'Filter' => '1',
337 ),
338 'TFinanceBankAccount' => array(
339 'Type' => 'Reference',
340 'Table' => 'FinanceBankAccount',
341 'Id' => 'Id',
342 'Name' => 'Comment',
343 'Filter' => '1',
344 ),
345 'TFile' => array(
346 'Type' => 'Reference',
347 'Table' => 'File',
348 'Id' => 'Id',
349 'Name' => 'Name',
350 'Filter' => '1',
351 ),
352 'TNewsList' => array(
353 'Type' => 'ManyToOne',
354 'Table' => 'News',
355 'Id' => 'Id',
356 'Ref' => 'Category',
357 'Filter' => '1',
358 ),
359 'TTaskList' => array(
360 'Type' => 'ManyToOne',
361 'Table' => 'Task',
362 'Id' => 'Id',
363 'Ref' => 'Group',
364 'Filter' => '1',
365 ),
366 'TDeviceList' => array(
367 'Type' => 'ManyToOne',
368 'Table' => 'NetworkDevice',
369 'Id' => 'Id',
370 'Ref' => 'Member',
371 'Filter' => '1',
372 ),
373 'TInterfaceList' => array(
374 'Type' => 'ManyToOne',
375 'Table' => 'NetworkInterface',
376 'Id' => 'Id',
377 'Ref' => 'Device',
378 'Filter' => '1',
379 ),
380 'TProduct' => array(
381 'Type' => 'Reference',
382 'Table' => 'Product',
383 'Id' => 'Id',
384 'Name' => 'Name',
385 'Filter' => '1',
386 ),
387 'TTaskGroup' => array(
388 'Type' => 'Reference',
389 'Table' => 'TaskGroup',
390 'Id' => 'Id',
391 'Name' => 'Name',
392 'Filter' => '1',
393 ),
394 'TStock' => array(
395 'Type' => 'Reference',
396 'Table' => 'Stock',
397 'Id' => 'Id',
398 'Name' => 'Name',
399 'Filter' => '1',
400 ),
401 'TStockItem' => array(
402 'Type' => 'Reference',
403 'Table' => 'StockItem',
404 'Id' => 'Id',
405 'Name' => 'RegNumber',
406 'Filter' => '1',
407 ),
408 'TFinanceBank' => array(
409 'Type' => 'Reference',
410 'Table' => 'FinanceBank',
411 'Id' => 'Id',
412 'Name' => 'CONCAT(Name, " (", Code, ")")',
413 'Filter' => '1',
414 ),
415 'TUnitOfMeasure' => array(
416 'Type' => 'Reference',
417 'Table' => 'UnitOfMeasure',
418 'Id' => 'Id',
419 'Name' => 'Name',
420 'Filter' => '1',
421 ),
422 'TLanguage' => array(
423 'Type' => 'Reference',
424 'Table' => 'Language',
425 'Id' => 'Id',
426 'Name' => 'Name',
427 'Filter' => '1',
428 ),
429 'TAction' => array(
430 'Type' => 'Reference',
431 'Table' => 'Action',
432 'Id' => 'Id',
433 'Name' => 'Title',
434 'Filter' => '1',
435 ),
436 'TActionIcon' => array(
437 'Type' => 'Reference',
438 'Table' => 'ActionIcon',
439 'Id' => 'Id',
440 'Name' => 'Name',
441 'Filter' => '1',
442 ),
443 'TActionType' => array(
444 'Type' => 'Reference',
445 'Table' => 'ActionType',
446 'Id' => 'Id',
447 'Name' => 'Name',
448 'Filter' => '1',
449 ),
450 'TActionGroup' => array(
451 'Type' => 'Reference',
452 'Table' => 'ActionGroup',
453 'Id' => 'Id',
454 'Name' => 'Name',
455 'Filter' => '1',
456 ),
457 'TDirectory' => array(
458 'Type' => 'Reference',
459 'Table' => 'FileDirectory',
460 'Id' => 'Id',
461 'Name' => 'Name',
462 'Filter' => '1',
463 ),
464 'TTVGroup' => array(
465 'Type' => 'Reference',
466 'Table' => 'TVGroup',
467 'Id' => 'Id',
468 'Name' => 'Name',
469 'Filter' => '1',
470 ),
471 'TStockItemListStock' => array(
472 'Type' => 'ManyToOne',
473 'Table' => 'StockItem',
474 'Id' => 'Id',
475 'Ref' => 'Stock',
476 'Filter' => '1',
477 ),
478 'TStockItemListProduct' => array(
479 'Type' => 'ManyToOne',
480 'Table' => 'StockItem',
481 'Id' => 'Id',
482 'Ref' => 'Product',
483 'Filter' => '1',
484 ),
485 'TDocumentLine' => array(
486 'Type' => 'Reference',
487 'Table' => 'DocumentLine',
488 'Id' => 'Id',
489 'Name' => 'Name',
490 'Filter' => '1',
491 ),
492 'TFinanceYear' => array(
493 'Type' => 'Reference',
494 'Table' => 'FinanceYear',
495 'Id' => 'Id',
496 'Name' => 'Year',
497 'Filter' => '1',
498 ),
499 'TTask' => array(
500 'Type' => 'Reference',
501 'Table' => 'Task',
502 'Id' => 'Id',
503 'Name' => 'Name',
504 'Filter' => '1',
505 ),
506 'TCurrency' => array(
507 'Type' => 'Reference',
508 'Table' => 'Currency',
509 'Id' => 'Id',
510 'Name' => 'Code',
511 'Filter' => '1',
512 ),
513 'TMenuItem' => array(
514 'Type' => 'Reference',
515 'Table' => 'MenuItem',
516 'Id' => 'Id',
517 'Name' => 'Name',
518 'Filter' => '1',
519 ),
520 'TMenu' => array(
521 'Type' => 'Reference',
522 'Table' => 'Menu',
523 'Id' => 'Id',
524 'Name' => 'Name',
525 'Filter' => '1',
526 ),
527 'TFinanceInvoice' => array(
528 'Type' => 'Reference',
529 'Table' => 'FinanceInvoice',
530 'Id' => 'Id',
531 'Name' => 'BillCode',
532 'Filter' => '1',
533 ),
534 'TFinanceOperation' => array(
535 'Type' => 'Reference',
536 'Table' => 'FinanceOperation',
537 'Id' => 'Id',
538 'Name' => 'BillCode',
539 'Filter' => '1',
540 ),
541 'TPermissionGroup' => array(
542 'Type' => 'Reference',
543 'Table' => 'PermissionGroup',
544 'Id' => 'Id',
545 'Name' => 'Description',
546 'Filter' => '1',
547 ),
548 'TPermissionGroupAssignment' => array(
549 'Type' => 'Reference',
550 'Table' => 'PermissionGroupAssignment',
551 'Id' => 'Id',
552 'Name' => 'Id',
553 'Filter' => '1',
554 ),
555 'TPermissionOperation' => array(
556 'Type' => 'Reference',
557 'Table' => 'PermissionOperation',
558 'Id' => 'Id',
559 'Name' => 'Id',
560 'Filter' => '1',
561 ),
562 'TFinanceCharge' => array(
563 'Type' => 'Reference',
564 'Table' => 'FinanceCharge',
565 'Id' => 'Id',
566 'Name' => 'Id',
567 'Filter' => '1',
568 ),
569 'TDocumentLineSequenceListYear' => array(
570 'Type' => 'ManyToOne',
571 'Table' => 'DocumentLineSequence',
572 'Id' => 'Id',
573 'Ref' => 'FinanceYear',
574 'Filter' => '1',
575 ),
576 'TDocumentLineSequenceListLine' => array(
577 'Type' => 'ManyToOne',
578 'Table' => 'DocumentLineSequence',
579 'Id' => 'Id',
580 'Ref' => 'DocumentLine',
581 'Filter' => '1',
582 ),
583 'TWorkListTask' => array(
584 'Type' => 'ManyToOne',
585 'Table' => 'Work',
586 'Id' => 'Id',
587 'Ref' => 'Task',
588 'Filter' => '1',
589 ),
590 'TUserCustomerRelListUser' => array(
591 'Type' => 'ManyToOne',
592 'Table' => 'UserCustomerRel',
593 'Id' => 'Id',
594 'Ref' => 'User',
595 'Filter' => '1',
596 ),
597 'TUserCustomerRelListCustomer' => array(
598 'Type' => 'ManyToOne',
599 'Table' => 'UserCustomerRel',
600 'Id' => 'Id',
601 'Ref' => 'Customer',
602 'Filter' => '1',
603 ),
604 'TServiceCustomerRelListCustomer' => array(
605 'Type' => 'ManyToOne',
606 'Table' => 'ServiceCustomerRel',
607 'Id' => 'Id',
608 'Ref' => 'Customer',
609 'Filter' => '1',
610 ),
611 'TCustomerStockItem' => array(
612 'Type' => 'ManyToOne',
613 'Table' => 'StockItem',
614 'Id' => 'Id',
615 'Ref' => 'Location',
616 'Filter' => '1',
617 ),
618 'TPermissionUserAssignmentListUser' => array(
619 'Type' => 'ManyToOne',
620 'Table' => 'PermissionUserAssignment',
621 'Id' => 'Id',
622 'Ref' => 'User',
623 'Filter' => '1',
624 ),
625 'TPermissionGroupAssignmentListGroup' => array(
626 'Type' => 'ManyToOne',
627 'Table' => 'PermissionGroupAssignment',
628 'Id' => 'Id',
629 'Ref' => 'Group',
630 'Filter' => '1',
631 ),
632 'TPermissionGroupAssignmentListOperation' => array(
633 'Type' => 'ManyToOne',
634 'Table' => 'PermissionGroupAssignment',
635 'Id' => 'Id',
636 'Ref' => 'AssignedOperation',
637 'Filter' => '1',
638 ),
639 'TPermissionGroupAssignmentListAssignedGroup' => array(
640 'Type' => 'ManyToOne',
641 'Table' => 'PermissionGroupAssignment',
642 'Id' => 'Id',
643 'Ref' => 'AssignedGroup',
644 'Filter' => '1',
645 ),
646 'TServiceListServiceCategory' => array(
647 'Type' => 'ManyToOne',
648 'Table' => 'Service',
649 'Id' => 'Id',
650 'Ref' => 'Category',
651 'Filter' => '1',
652 ),
653 'TNetworkLinkListInterface1' => array(
654 'Type' => 'ManyToOne',
655 'Table' => 'NetworkLink',
656 'Id' => 'Id',
657 'Ref' => 'Interface1',
658 'Filter' => '1',
659 ),
660 'TNetworkLinkListInterface2' => array(
661 'Type' => 'ManyToOne',
662 'Table' => 'NetworkLink',
663 'Id' => 'Id',
664 'Ref' => 'Interface2',
665 'Filter' => '1',
666 ),
667 'TFinanceInvoiceItemListInvoice' => array(
668 'Type' => 'ManyToOne',
669 'Table' => 'FinanceInvoiceItem',
670 'Id' => 'Id',
671 'Ref' => 'FinanceInvoice',
672 'Filter' => '1',
673 ),
674 'TFinanceOperationListAccount' => array(
675 'Type' => 'ManyToOne',
676 'Table' => 'FinanceOperation',
677 'Id' => 'Id',
678 'Ref' => 'BankAccount',
679 'Filter' => '1',
680 ),
681 'TFinanceOperationListSubject' => array(
682 'Type' => 'ManyToOne',
683 'Table' => 'FinanceOperation',
684 'Id' => 'Id',
685 'Ref' => 'Subject',
686 'Filter' => '1',
687 ),
688 'TFinanceInvoiceListSubject' => array(
689 'Type' => 'ManyToOne',
690 'Table' => 'FinanceInvoice',
691 'Id' => 'Id',
692 'Ref' => 'Subject',
693 'Filter' => '1',
694 ),
695 'TMenuItemListMenu' => array(
696 'Type' => 'ManyToOne',
697 'Table' => 'MenuItem',
698 'Id' => 'Id',
699 'Ref' => 'Menu',
700 'Filter' => '1',
701 ),
702 'TMenuItemListParent' => array(
703 'Type' => 'ManyToOne',
704 'Table' => 'MenuItem',
705 'Id' => 'Id',
706 'Ref' => 'Parent',
707 'Filter' => '1',
708 ),
709 'TActionListGroup' => array(
710 'Type' => 'ManyToOne',
711 'Table' => 'Action',
712 'Id' => 'Id',
713 'Ref' => 'Group',
714 'Filter' => '1',
715 ),
716 'TFinanceOperationListTreasury' => array(
717 'Type' => 'ManyToOne',
718 'Table' => 'FinanceOperation',
719 'Id' => 'Id',
720 'Ref' => 'Treasury',
721 'Filter' => '1',
722 ),
723 'TActionListIcon' => array(
724 'Type' => 'ManyToOne',
725 'Table' => 'Action',
726 'Id' => 'Id',
727 'Ref' => 'Icon',
728 'Filter' => '1',
729 ),
730 'TActionListType' => array(
731 'Type' => 'ManyToOne',
732 'Table' => 'Action',
733 'Id' => 'Id',
734 'Ref' => 'Type',
735 'Filter' => '1',
736 ),
737 'TStockItemListStockItem' => array(
738 'Type' => 'ManyToOne',
739 'Table' => 'StockItem',
740 'Id' => 'Id',
741 'Ref' => 'Esemble',
742 'Filter' => '1',
743 ),
744 'TCustomerListBillingPeriod' => array(
745 'Type' => 'ManyToOne',
746 'Table' => 'Member',
747 'Id' => 'Id',
748 'Ref' => 'BillingPeriod',
749 'Filter' => '1',
750 ),
751 'TTVListCategory' => array(
752 'Type' => 'ManyToOne',
753 'Table' => 'TV',
754 'Id' => 'Id',
755 'Ref' => 'Category',
756 'Filter' => '1',
757 ),
758 'TFinanceOperationListDocumentLine' => array(
759 'Type' => 'ManyToOne',
760 'Table' => 'FinanceOperation',
761 'Id' => 'Id',
762 'Ref' => 'DocumentLine',
763 'Filter' => '1',
764 ),
765 'TFinanceInvoiceListDocumentLine' => array(
766 'Type' => 'ManyToOne',
767 'Table' => 'FinanceInvoice',
768 'Id' => 'Id',
769 'Ref' => 'DocumentLine',
770 'Filter' => '1',
771 ),
772);
773}
Note: See TracBrowser for help on using the repository browser.