/
var
/
www
/
html
/
SugarEnt-Full-25.1.0
/
metadata
/
Upload File
HOME
<?php /* * Your installation or use of this SugarCRM file is subject to the applicable * terms available at * http://support.sugarcrm.com/Resources/Master_Subscription_Agreements/. * If you do not agree to all of the applicable terms or do not have the * authority to bind the entity as an authorized representative, then do not * install or use this SugarCRM file. * * Copyright (C) SugarCRM Inc. All rights reserved. */ $dictionary['projects_revenuelineitems'] = [ 'table' => 'projects_revenue_line_items', 'fields' => [ 'id' => [ 'name' => 'id', 'type' => 'id', ], 'rli_id' => [ 'name' => 'rli_id', 'type' => 'id', ], 'project_id' => [ 'name' => 'project_id', 'type' => 'id', ], 'date_modified' => [ 'name' => 'date_modified', 'type' => 'datetime', ], 'deleted' => [ 'name' => 'deleted', 'type' => 'bool', 'len' => '1', 'default' => '0', 'required' => false, ], ], 'indices' => [ [ 'name' => 'projects_rli_pk', 'type' => 'primary', 'fields' => [ 'id', ], ], [ 'name' => 'idx_proj_rli_product', 'type' => 'index', 'fields' => [ 'rli_id', ], ], [ 'name' => 'projects_rli_alt', 'type' => 'alternate_key', 'fields' => [ 'project_id', 'rli_id', ], ], ], 'relationships' => [ 'projects_revenuelineitems' => [ 'lhs_module' => 'Project', 'lhs_table' => 'project', 'lhs_key' => 'id', 'rhs_module' => 'RevenueLineItems', 'rhs_table' => 'revenue_line_items', 'rhs_key' => 'id', 'relationship_type' => 'many-to-many', 'join_table' => 'projects_products', 'join_key_lhs' => 'project_id', 'join_key_rhs' => 'rli_id', ], ], ];