I work on one project, users actively use PDF templates in CRM, the fact is that I need to get the field value in the SalesOrderPDFContoller.php file: I used this code:$this->focusColumnValue('input_name')
; So I should get the value from the Products module, but instead of the value i get 0.
$this->focusColumnValue() is used to get Salesorder field value not Product value.
If you know the Product id you can use :
$recordModel = Vtiger_Record_Model::getInstanceById($id, 'Product');
$your_input = $recordModel->get('input_name') ;