Documentation

Products extends CRMEntity
in package

Table of Contents

$column_fields  : mixed
$customFieldTable  : mixed
Mandatory table for supporting custom fields.
$def_basicsearch_col  : mixed
$default_order_by  : mixed
$default_sort_order  : mixed
$list_fields_name  : mixed
$mandatory_fields  : mixed
$relationFields  : array<string|int, string>
$search_fields  : mixed
$search_fields_name  : mixed
$tab_name  : mixed
$tab_name_index  : mixed
$table_index  : mixed
$table_name  : mixed
setRelationTables()  : mixed
Function to get the relation tables for related modules.

Properties

$column_fields

public mixed $column_fields = []

$customFieldTable

Mandatory table for supporting custom fields.

public mixed $customFieldTable = ['vtiger_productcf', 'productid']

$def_basicsearch_col

public mixed $def_basicsearch_col = 'productname'

$default_order_by

public mixed $default_order_by = ''

$default_sort_order

public mixed $default_sort_order = 'ASC'

$list_fields_name

public mixed $list_fields_name = ['Product Name' => 'productname', 'Part Number' => 'productcode', 'Commission Rate' => 'commissionrate', 'Qty/Unit' => 'qty_per_unit', 'Unit Price' => 'unit_price']

$mandatory_fields

public mixed $mandatory_fields = ['createdtime', 'modifiedtime', 'productname', 'assigned_user_id']

$relationFields

public array<string|int, string> $relationFields = []

$search_fields

public mixed $search_fields = ['Product Name' => ['products' => 'productname'], 'Part Number' => ['products' => 'productcode'], 'Unit Price' => ['products' => 'unit_price']]

$search_fields_name

public mixed $search_fields_name = []

$tab_name

public mixed $tab_name = ['vtiger_crmentity', 'vtiger_products', 'vtiger_productcf']

$tab_name_index

public mixed $tab_name_index = ['vtiger_crmentity' => 'crmid', 'vtiger_products' => 'productid', 'vtiger_productcf' => 'productid', 'vtiger_seproductsrel' => 'productid']

$table_index

public mixed $table_index = 'productid'

$table_name

public mixed $table_name = 'vtiger_products'

Methods

setRelationTables()

Function to get the relation tables for related modules.

public setRelationTables([mixed $secmodule = false ]) : mixed
Parameters
$secmodule : mixed = false
Return values
mixed

Search results