Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:start:developers [2016/07/07 16:37]
admin [Добавить тип поля для запроса значений от пользователя Add a FieldType for Request Values from User]
en:start:developers [2016/07/07 16:38]
admin [Использование настраиваемых полей инвентаризации use custom Inventory Fields]
Line 286: Line 286:
 \Workflow\Fieldtype::​register('​[IndividualNameA]',​ '​\Workflow\Plugins\Fieldtypes\[IndividualNameA]'​);​ \Workflow\Fieldtype::​register('​[IndividualNameA]',​ '​\Workflow\Plugins\Fieldtypes\[IndividualNameA]'​);​
 </​Code>​ </​Code>​
-==== Использование настраиваемых полей инвентаризации ​use custom Inventory Fields ====+==== use custom Inventory Fields ====
  
-Если вы используете настраиваемые поля в Задаче ​Inventory, ​такие как СчетКоммерческое предложението значения этих полей будут очищены при выполнении любого другого Бизнес-Процесса и вы не сможете взаимодействовать с ними из Дизайнера Бизнес-Процессов,​ если версия вашего vTiger ниже ​600.0825. \\+If you implement custom fields in your Inventory ​Recordslike InvoiceQuotesthe values will be deleted during any workflows and you couldn'​t interact with this values from Workflow Designer before version ​600.0825. \\ 
 +With this version, you could create a file named “InventoryFields.inc.php” directly into the “extends” directory. ​ \\ 
 +This file will not be overwritten during updates of the module.
  
-С этой версией вы сможете создавать файлы с именем “InventoryFields.inc.php” прямо в директории “extends”. \\ +In this file you could configure the fields you create and want to keep during Workflows. \\ 
-Эти файлы не будут переписаны во время обновления. +This file MUST have the following structure \\ 
- +Because this file will be included during every Workflow execution in the Inventory ​Modulesyou should proceed with caution \\ 
-В этом файле вы можете настраивать создаваемые вами поля и сохранять их при выполнении Бизнес-Процессов. \\ +Every Error in this file could make it impossible to execute any workflows.
-Этот файл **ОБЯЗАТЕЛЬНО ДОЛЖЕН** иметь следующую структуру:​ \\ +
-По той причине,​ что этот файл будет включен в каждое выполнение Бизнес-Процесса во всех модулях ​Inventory, ​вы должны вносить изменения осторожно. \\ +
-Любая ошибка в этом файле сделает выполнение любого Бизнес-Процесса невозможным.+
  
 <​Code>​ <​Code>​
Line 318: Line 317:
 <tr> <tr>
 <td style="​padding:​5px;​background-color:#​D8D8D8">​tableCol</​td>​ <td style="​padding:​5px;​background-color:#​D8D8D8">​tableCol</​td>​
-<td style="​padding:​5px;">​Это имя колонки в таблице ​vtiger_inventoryproductrel. ​Не используется для чтения из БДно подходит для использования как уникальное имя</td>+<td style="​padding:​5px;">​This is the name of the column in the vtiger_inventoryproductrel ​tableWon't be used to read from database ​but will be a good and unique name</td>
 </tr> </tr>
 <tr> <tr>
 <td style="​padding:​5px;​background-color:#​D8D8D8;">​FieldNameWithoutProductIndex</​td>​ <td style="​padding:​5px;​background-color:#​D8D8D8;">​FieldNameWithoutProductIndex</​td>​
-<td style="​padding:​5px;">​Это код значения в ProductsArray. ​Вы используете это значение в функции ​“getAssociatedProducts”</​td>​+<td style="​padding:​5px;">​This is the Key of the value in the ProductsArray. ​You use this value in the “getAssociatedProducts” ​function</td>
 </tr> </tr>
 <tr> <tr>
 <td style="​padding:​5px;​background-color:#​D8D8D8;">​Testvalue</​td>​ <td style="​padding:​5px;​background-color:#​D8D8D8;">​Testvalue</​td>​
-<td style="​padding:​5px;">​Является названием этого полякоторое будет показано в настройках Задачи</td>+<td style="​padding:​5px;">​The label of this fieldwhich will be shown on task configurations</td>
 </tr> </tr>
 </​table>​ </​table>​
 </​html>​ </​html>​