Files
crm.e5.pl/custom/Extension/modules/accounts/Ext/Vardefs/ecminvoiceouts_accounts.php
2024-04-27 09:23:34 +02:00

13 lines
485 B
PHP
Executable File

<?php
$dictionary['Account']['fields']['ecminvoiceouts'] = array (
'name' => 'ecminvoiceouts',
'type' => 'link',
'relationship' => 'ecminvoiceouts_account',
'source' =>'non-db',
);
$dictionary['Account']['relationships']['ecminvoiceouts_account'] = array (
'lhs_module' => 'Accounts', 'lhs_table' => 'accounts', 'lhs_key' => 'id',
'rhs_module' => 'EcmInvoiceOuts', 'rhs_table' => 'ecminvoiceouts', 'rhs_key' => 'parent_id',
'relationship_type' => 'one-to-many'
);
?>