Ignore:
Timestamp:
Jul 7, 2015, 12:12:12 AM (9 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/FormClasses.php

    r740 r742  
    3030      'Shortcut' => array('Type' => 'String', 'Caption' => 'Kód', 'Default' => ''),
    3131      'Sequence' => array('Type' => 'TDocumentLineSequenceListLine', 'Caption' => 'Čísleníky', 'Default' => ''),
     32        'Codes' => array('Type' => 'TDocumentLineCodeList', 'Caption' => 'Kódy', 'Default' => ''),
    3233    ),
    3334  ),
     
    4344      'Operations' => array('Type' => 'TFinanceOperationListDocumentLine', 'Caption' => 'Finanční operace', 'Default' => ''),
    4445      'Invoices' => array('Type' => 'TFinanceInvoiceListDocumentLine', 'Caption' => 'Faktury', 'Default' => ''),
     46    ),
     47  ),
     48  'DocumentLineCode' => array(
     49    'Title' => 'Kód dokladových řad',
     50    'Table' => 'DocumentLineCode',
     51    'DefaultSortColumn' => 'Name',
     52    'Items' => array(
     53      'DocumentLine' => array('Type' => 'TDocumentLine', 'Caption' => 'Dokladová řada', 'Default' => ''),
     54      'Name' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => ''),     
    4555    ),
    4656  ),
     
    164174    'Filter' => '1',
    165175  ),
    166   'TStockSerialNumberListStock' => array(
     176  'TDocumentLineCode' => array(
     177    'Type' => 'Reference',
     178    'Table' => 'DocumentLineCode',
     179    'Id' => 'Id',
     180    'Name' => 'Name',
     181    'Filter' => '1',
     182  ),
     183        'TStockSerialNumberListStock' => array(
    167184    'Type' => 'ManyToOne',
    168185    'Table' => 'StockSerialNumber',
     
    210227    'Table' => 'FinanceInvoice',
    211228    'Id' => 'Id',
    212     'Name' => 'BillCode',
     229    'Name' => '(SELECT `DocumentLineCode`.`Name` FROM `DocumentLineCode` WHERE `Id`=`FinanceInvoice`.`BillCode`)',
    213230    'Filter' => '1',
    214231  ),
     
    217234    'Table' => 'FinanceOperation',
    218235    'Id' => 'Id',
    219     'Name' => 'BillCode',
     236    'Name' => '(SELECT `DocumentLineCode`.`Name` FROM `DocumentLineCode` WHERE `Id`=`FinanceOperation`.`BillCode`)',
    220237    'Filter' => '1',
    221238  ),
     
    241258    'Filter' => '1',
    242259  ),
    243   'TUserCustomerRelListUser' => array(
     260  'TDocumentLineCodeList' => array(
     261    'Type' => 'ManyToOne',
     262    'Table' => 'DocumentLineCode',
     263    'Id' => 'Id',
     264    'Ref' => 'DocumentLine',
     265    'Filter' => '1',
     266  ),
     267        'TUserCustomerRelListUser' => array(
    244268    'Type' => 'ManyToOne',
    245269    'Table' => 'UserCustomerRel',
Note: See TracChangeset for help on using the changeset viewer.