init
This commit is contained in:
13
custom/Extension/modules/accounts/Ext/Vardefs/ecminvoiceouts_accounts.php
Executable file
13
custom/Extension/modules/accounts/Ext/Vardefs/ecminvoiceouts_accounts.php
Executable file
@@ -0,0 +1,13 @@
|
||||
<?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'
|
||||
);
|
||||
?>
|
||||
Reference in New Issue
Block a user