update help elma

This commit is contained in:
2025-05-27 21:32:35 +04:00
parent a6b05d6789
commit 898b22bf32
4500 changed files with 89372 additions and 120699 deletions

View File

@ -1,20 +1,19 @@
<!DOCTYPE html>
<html lang="ru">
<html lang="en">
<head>
<title>Настройка полей контракта</title>
<title>Work with contract fields</title>
<meta name="generator" content="Help+Manual" />
<meta name="keywords" content="" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Вся работа в Контракте ведётся с элементами добавленных в него источников — приложений ELMA365 из любых разделов и решений. Чтобы добавить источник и настроить отображение его..." />
<meta name="description" content="When you work with a contract, you work with items from source apps added to it. These can be BRIX apps from any workspaces or solutions. To add a new source and configure the..." />
<meta name="picture" content="" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Cправка по Low-code платформе ELMA365" />
<meta property="og:url" content="https://elma365.com/ru/help" />
<meta property="og:image" content="" />
<meta property="og:site_name" content="ELMA365" />
<meta property="og:title" content="Full documentation for BRIX365 platform. Low-code developer guide. User guide. Admin guide. Developer guide." />
<meta property="og:url" content="https://brix365.com/en/help" />
<meta property="og:image" content="" />
<link rel="icon" href="favicon.png" type="image/png" />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet" />
@ -24,7 +23,6 @@
<link rel="stylesheet" href="./article.css" />
<link rel="stylesheet" href="./glossary.css" />
<link rel="stylesheet" href="./theme.css" />
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="helpman_settings.js"></script>
<script type="text/javascript" src="helpman_topicinit.js"></script>
@ -36,16 +34,16 @@
</head>
<body>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-M6ETBEC1R9"></script><script>window.dataLayer=window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date()); gtag('config', 'G-M6ETBEC1R9');</script>
<script>!function(e,t,c,n,r,a,m){e.ym=e.ym||function(){(e.ym.a=e.ym.a||[]).push(arguments)},e.ym.l=1*new Date;for(var s=0;s<document.scripts.length;s++)if(document.scripts[s].src===n)return;a=t.createElement(c),m=t.getElementsByTagName(c)[0],a.async=1,a.src=n,m.parentNode.insertBefore(a,m)}(window,document,"script","https://mc.yandex.ru/metrika/tag.js"),ym(83179930,"init",{clickmap:!0,trackLinks:!0,accurateTrackBounce:!0,webvisor:!0})</script><noscript><div><img alt=""src=https://mc.yandex.ru/watch/83179930 style=position:absolute;left:-9999px></div></noscript>
<header class="header elma-365">
<div class="container">
<a class="header__logo" href="https://elma365.com/ru/help">
<img src="./logo.svg" alt="header logo">
<a class="header__logo" href="https://brix365.com/en/help">
<img src="./logo-en.svg" alt="header logo">
</a>
<!-- <div class="hero__search-form" id="search-panel">
<form class="search-form" onsubmit="ym(83179930,'reachGoal','poisk')">
<form class="search-form" onsubmit="ym(83180416,'reachGoal','poisk')">
<label class="search-form__label">
<span id="reset-search" class="search__icon"></span>
<input class="search-form__input" type="text">
@ -65,7 +63,7 @@
</div>
<div class="header__navi">
<ul class="header__list"><li><span class="solution-select"><span class="solution-select__selected"></span><svg width="7" height="4" viewBox="0 0 7 4" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L3.5 3.5L6 1" stroke="white" stroke-linecap="round" stroke-linejoin="round"/></svg><ul class="solution-select__list"><li><a class="project-link" href="https://elma365.com/ru/help/platform/get-trial.html">Платформа</a></li><li><a class="project-link" href="https://elma365.com/ru/help/ecm/ecm-functions.html">ECM</a></li><li><a class="project-link" href="https://elma365.com/ru/help/crm/crm_overview.html">CRM</a></li><li><a class="project-link" href="https://elma365.com/ru/help/service/service-functions.html">Service</a></li><li><a class="project-link" href="https://elma365.com/ru/help/projects/projects-functions.html">Проекты</a></li><li><a class="project-link" href="https://elma365.com/ru/help/business_solutions/-elma365-store.html">Бизнес-решения</a></li></ul></span></li><li><a href="https://api.elma365.com/ru/"target="_blank">API</a></li><li><a href="https://tssdk.elma365.com/"target="_blank">SDK</a></li><li><a href="https://community.elma365.com/" target="_blank">Community</a></li><li><a href="https://elma-academy.com/ru/" target="_blank">Академия</a></li><li><a href="https://elma365.com/ru/" target="_blank">Сайт ELMA365</a></li></ul>
<ul class="header__list"><li><span class="solution-select"><span class="solution-select__selected"></span><svg width="7" height="4" viewBox="0 0 7 4" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L3.5 3.5L6 1" stroke="white" stroke-linecap="round" stroke-linejoin="round"/></svg><ul class="solution-select__list"><li><a class="project-link" href="https://brix365.com/en/help/platform/get-trial.html">Platform</a></li><li><a class="project-link" href="https://brix365.com/en/help/ecm/ecm-functions.html">ECM</a></li><li><a class="project-link" href="https://brix365.com/en/help/crm/crm_overview.html">CRM</a></li><li><a class="project-link" href="https://brix365.com/en/help/service/service-functions.html">Service</a></li><li><a class="project-link" href="https://brix365.com/en/help/projects/projects-functions.html">Projects</a></li><li><a class="project-link" href="https://brix365.com/en/help/business_solutions/-elma365-store.html">Business Solutions</a></li></ul></span></li><li><a href="https://api.brix365.com/en/" target="_blank">API</a></li><li><a href="https://tssdk.brix365.com/" target="_blank">SDK</a></li></ul>
</div>
@ -80,8 +78,8 @@
<aside class="sidebar" id="sidebar">
<div class="sidebar__header">
<a class="header__logo" href="https://elma365.com/ru/help">
<img src="./logo-light.svg">
<a class="header__logo" href="https://brix365.com/en/help">
<img src="./logo-light-en.svg">
</a>
<span class="sidebar__close elma-365-close" id="close"></span>
</div>
@ -94,15 +92,15 @@
<div class="article-inner">
<div class="content">
<header class="article__header">
<div class="article__bread" style="display:flex; gap:10px;">
<div class="article__bread" style="display:flex; gap:10px;">
<span id="subcategory" class="search-res__item-category search-res__item-category_subcategory subcategory article__badge"></span>
<div class="topic__breadcrumbs">
<p>Low-code дизайнер &gt; <a href="contract.html">Контракт</a> / Настройка полей контракта</p>
<p>Low-code designer &gt; <a href="contract.html">Contract</a> / Work with contract fields</p>
</div>
</div>
<div class="topic__title"><h1 class="p_Heading1"><span class="f_Heading1">Настройка полей контракта</span></h1>
<div class="topic__title"><h1 class="p_Heading1"><span class="f_Heading1">Work with contract fields</span></h1>
</div>
</header>
@ -111,37 +109,36 @@
<a href="#h1-article" class="scroll-top"></a>
</div>
<!-- Placeholder for topic body. -->
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px;">Вся работа в </span><span style="font-size: 15px; font-weight: bold;">Контракте</span><span style="font-size: 15px;"> ведётся с элементами добавленных в него <a href="add-contract-source.html" class="topiclink">источников</a> — приложений ELMA365 из любых разделов и решений. Чтобы добавить источник и настроить отображение его элементов на странице контракта, необходимо связать его поля с полями созданного контракта. После этого в </span><span style="font-size: 15px; font-weight: bold;">Поля контракта</span><span style="font-size: 15px;"> будут передаваться значения полей его источников. В дальнейшем вы сможете использовать их в бизнес-процессах и скриптах как переменные. </span></p>
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px;">В контракте используется два вида полей: </span></p>
<p style="line-height: 1.20; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">When you work with a contract, you work with items from <a href="add-contract-source.html" class="topiclink">source apps</a> added to it. These can be BRIX apps from any workspaces or solutions. To add a new source and configure the way its fields are displayed on a contracts page, you need to match the source apps fields with the contracts fields. After that, values of the apps fields will be passed to the contract</span><span style="font-family: Inter;">s</span><span style="font-size: 15px; font-family: Inter; font-weight: bold;"> </span><span style="font-size: 15px; font-family: Inter;">fields. You will be able to use them as variables in business processes and scripts.</span></p>
<p style="line-height: 1.20; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">There are two groups of fields used in contracts:</span></p>
<ul style="list-style-type:disc">
<li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-weight: bold;">Системные поля</span><span style="font-size: 15px;"> — свойства, добавленные в контракт по умолчанию. Это поля, присутствующие в любом созданном в ELMA365 приложении: </span><span style="font-size: 15px; font-weight: bold;">Идентификатор</span><span style="font-size: 15px;">, </span><span style="font-size: 15px; font-weight: bold;">Дата создания</span><span style="font-size: 15px;">, </span><span style="font-size: 15px; font-weight: bold;">Автор</span><span style="font-size: 15px;">, </span><span style="font-size: 15px; font-weight: bold;">Дата изменения</span><span style="font-size: 15px;">, </span><span style="font-size: 15px; font-weight: bold;">Редактор</span><span style="font-size: 15px;">, </span><span style="font-size: 15px; font-weight: bold;">Дата удаления</span><span style="font-size: 15px;">, </span><span style="font-size: 15px; font-weight: bold;">Название</span><span style="font-size: 15px;">. А также добавленное только в контракт поле </span><span style="font-size: 15px; font-weight: bold;">Ссылка на оригинальный элемент</span><span style="font-size: 15px;">. С его помощью элемент в контракте связывается с элементом в приложении-источнике. Это поле удобно использовать, чтобы обращаться к оригинальному элементу в бизнес-процессах и скриптах. </span></li></ul>
<p style="line-height: 1.28; margin: 0 0 11px 36px;"><span style="font-size: 15px;">Системные поля нельзя удалить. При добавлении в контракт источника системные поля будут связываться друг с другом автоматически.</span></p>
<li style="line-height: 1.20; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-family: Inter; font-weight: bold;">System fields</span><span style="font-family: Inter;">. These are properties added to each contract by default. Most of them correspond to fields that exist in each BRIX app: </span><span style="font-family: Inter; font-weight: bold;">ID</span><span style="font-family: Inter;">, </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Created on</span><span style="font-size: 15px; font-family: Inter;">, </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Author</span><span style="font-size: 15px; font-family: Inter;">, </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Changed</span><span style="font-size: 15px; font-family: Inter;">, </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Editor</span><span style="font-size: 15px; font-family: Inter;">, </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Deleted</span><span style="font-size: 15px; font-family: Inter;">, and </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Name</span><span style="font-size: 15px; font-family: Inter;">. There is also a special field added only to contracts: </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Link to original</span><span style="font-size: 15px; font-family: Inter;">. This field helps to link the contract item with the original app item. This field is convenient when you need to access the original app item in business processes or scripts.</span></li></ul>
<p style="line-height: 1.20; margin: 0 0 11px 34px;"><span style="font-family: Inter;">System fields cannot be deleted. When you add a new source to the contract, the apps and the contracts system fields are matched automatically.</span></p>
<ul style="list-style-type:disc">
<li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-weight: bold;">Пользовательские поля</span><span style="font-size: 15px;"> </span>— свойства, которые добавляются вручную в контекст контракта. Они передают в контракт другие поля источника, помимо системных. Обратите внимание, для корректной связи полей контракта и источника их<span style="font-size: 15px;"> <a href="360009707032.html" class="topiclink">типы</a> должны совпадать. </span>Перед добавлением нового источника убедитесь, что в нём созданы все поля, которые соответствуют по типу каждому из полей контракта. Иначе подключить приложение к контракту невозможно.</li></ul>
<h2 class="p_Heading2"><a id="add-fields" class="hmanchor"></a><span class="f_Heading2">Добавить поля контракта</span></h2>
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px;">Добавить пользовательские поля в контракт можно ещё на этапе его создания при открытии окна </span><span style="font-size: 15px; font-weight: bold;">Настройки формы</span><span style="font-size: 15px;">. Если вы пропустили этот шаг или вам понадобилось изменить свойства контракта, вы можете сделать это в настройках контрактов. </span></p>
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px;">При добавлении полей учитывайте, что поле такого же типа должно присутствовать во всех приложениях, с которыми планируется работать в контракте. </span>Иначе подключить приложение к контракту невозможно.</p>
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px;">Чтобы открыть настройки: </span></p>
<li style="line-height: 1.20; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-family: Inter; font-weight: bold;">Custom fields</span><span style="font-family: Inter;">. To let other app properties (apart from system fields) be passed to the contract, you need to add fields to link them to the contracts context. Note that to let contract and source fields be properly matched and linked, their <a href="360009707032.html" class="topiclink">types</a> need to be the same. Before you add a new source, make sure the app includes fields that can be matched with each field of the contract. Otherwise, it will be impossible to link the app to the contract.</span></li></ul>
<h2 class="p_Heading2"><span class="f_Heading2">Add contract fields</span></h2>
<p style="line-height: 1.20; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">You can add custom fields to a contract while creating it, in the </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Form Settings </span><span style="font-size: 15px; font-family: Inter;">window. If you skipped this step or if you need to change the contracts properties, you can do it in contract settings</span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">.</span></p>
<p style="line-height: 1.20; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">When you add fields, keep in mind that each source app that is going to be linked with the contract needs to include a field of the same type for each field of the contract. Otherwise, it will be impossible to link them.</span></p>
<p style="line-height: 1.20; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">To open the contract settings:</span></p>
<ol style="list-style-type:upper-roman">
<li value="1" style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px;">Нажмите значок шестерёнки справа от названия контракта.</span></li><li value="2" style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px;">В открывшемся меню настроек выберите пункт </span><span style="font-size: 15px; font-weight: bold;">Поля контракта</span><span style="font-size: 15px;">. </span></li><li value="3" style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px;">Откроется окно </span><span style="font-size: 15px; font-weight: bold;">Настройки контрактов</span><span style="font-size: 15px;"> со списком всех добавленных в контракт свойств. Нажмите кнопку </span><span style="font-size: 15px; font-weight: bold;">+Добавить</span><span style="font-size: 15px;">. </span></li></ol>
<p style="line-height: 1.28; margin: 0 0 11px 36px;"><img alt="contract-fields-1" width="785" height="682" style="margin:0;width:785px;height:682px;border:none" src="contract-fields-1.png"/></p>
<ol style="list-style-type:upper-roman" start="4">
<li value="4" style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px;">В открывшемся окне выберите </span><span style="font-size: 15px; font-weight: bold;">Тип</span><span style="font-size: 15px; font-weight: bold; color: #ff0000;">*</span><span style="font-size: 15px;"> свойства, укажите </span><span style="font-size: 15px; font-weight: bold;">Отображаемое имя</span><span style="font-size: 15px; font-weight: bold; color: #ff0000;">*</span><span style="font-size: 15px;">. При необходимости укажите настройки, отличающиеся в зависимости от выбранного <a href="360009707032.html" class="topiclink">типа свойства</a>. </span></li><li value="5" style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px;">Нажмите кнопку </span><span style="font-size: 15px; font-weight: bold;">Создать</span><span style="font-size: 15px;">. Если нужно добавить ещё одно поле, нажмите кнопку </span><span style="font-size: 15px; font-weight: bold;">Создать и новое</span><span style="font-size: 15px;">. </span></li></ol>
<p style="line-height: 1.28; margin: 0 0 11px 35px;"><span style="font-size: 15px;">Поле отобразится в общем списке свойств. </span></p>
<ol style="list-style-type:upper-roman" start="6">
<li value="6" style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;">Включите для свойства опцию <a href="360028941112.html#search" class="topiclink">Поиск и сортировка</a>, чтобы искать по нему элементы на странице контракта. Для полей типа строка также доступна опция <a href="360028941112.html#full_text_search" class="topiclink">Полнотекстовый поиск</a>. </li></ol>
<p class="p_Normal">Созданное в контракте свойство добавится в контекст источника. Если в нём уже присутствует свойство с аналогичным названием и типом, поля контракта и источника автоматически свяжутся.</p>
<p class="p_Normal">Обратите внимание, если в контекст источника добавлено свойство с аналогичным названием, но другим типом, связь контракта и источника будет утеряна. Перейдите в <a href="add-contract-source.html#choose-source" class="topiclink">настройки источников контракта</a> и восстановите связь вручную, сопоставив поля одинаковых типов.</p>
<p class="p_Normal">Чтобы удалить свойство из контракта, выделите его в списке, в правом верхнем углу нажмите кнопку <span style="font-weight: bold;">Удалить</span> и подтвердите действие. Для системных полей опция удаления не доступна.</p>
<h3 class="p_Heading3"><a id="use-case" class="hmanchor"></a><span class="f_Heading3">Пример связывания полей</span></h3>
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px;">Рассмотрим работу с полями контракта и источника на примере.</span></p>
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px;">Предположим, вы создали контракт </span><span style="font-size: 15px; font-weight: bold;">Документы с контрагентами</span><span style="font-size: 15px;"> и хотите связать его с приложениями </span><span style="font-size: 15px; font-weight: bold;">Исходящие договоры</span><span style="font-size: 15px;"> и </span><span style="font-size: 15px; font-weight: bold;">Входящие счета</span><span style="font-size: 15px;">.</span></p>
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px; font-weight: bold;">Контракт</span><span style="font-size: 15px;"> является пустым интерфейсом, в который передаются элементы других приложений. Чтобы настроить связь контракта и его источника, вам необходимо добавить пользовательские свойства в контекст контракта. В них будут передаваться данные из приложений, например, информация о контрагенте или сумме. Обратите внимание, чтобы источник подключился к контракту корректно, для каждого поля источника, которое вы хотите передать, необходимо создать схожее по типу свойство в контракте.</span></p>
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px;">Перейдите в </span><span style="font-size: 15px; font-weight: bold;">Настройки контракта &gt; Поля контракта</span><span style="font-size: 15px;">, как описано выше. Нажмите кнопку </span><span style="font-size: 15px; font-weight: bold;">+Добавить</span><span style="font-size: 15px;"> и создайте свойство с названием </span><span style="font-size: 15px; font-weight: bold;">Компания</span><span style="font-size: 15px;"> и типом <a href="360009707032.html#app" class="topiclink">Приложение</a>. В его настройках выберите приложение <a href="360012584980.html" class="topiclink">Компании</a> из раздела </span><span style="font-size: 15px; font-weight: bold;">CRM</span><span style="font-size: 15px;">. Таким же образом добавьте свойство </span><span style="font-size: 15px; font-weight: bold;">Сумма</span><span style="font-size: 15px;"> с типом <a href="360009707032.html" class="topiclink">Деньги</a>.</span></p>
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px;">Теперь вы можете перейти в </span><span style="font-size: 15px; font-weight: bold;">Настройки источников</span><span style="font-size: 15px;"> и добавить приложения </span><span style="font-size: 15px; font-weight: bold;">Исходящие договоры</span><span style="font-size: 15px;"> и </span><span style="font-size: 15px; font-weight: bold;">Входящие счета</span><span style="font-size: 15px;">. При добавлении источников свяжите поле контракта </span><span style="font-size: 15px; font-weight: bold;">Компания</span><span style="font-size: 15px;"> с полем </span><span style="font-size: 15px; font-weight: bold;">Контрагент</span><span style="font-size: 15px;"> из обоих приложений. В поле </span><span style="font-size: 15px; font-weight: bold;">Сумма</span><span style="font-size: 15px;"> передайте значения полей </span><span style="font-size: 15px; font-weight: bold;">Сумма договора</span><span style="font-size: 15px;"> и </span><span style="font-size: 15px; font-weight: bold;">Сумма счёта</span><span style="font-size: 15px;">.</span></p>
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px;">Поля контракта и источника, совпадающие по названию и типу, будут связываться автоматически.</span></p>
<p class="p_Normal"><span style="font-size: 15px;">Вы можете создать в контракте дополнительное свойство типа </span><span style="font-size: 15px; font-weight: bold;">Приложение</span><span style="font-size: 15px;">, чтобы записать в него значение поля </span><span style="font-size: 15px; font-weight: bold;">Тип договора</span><span style="font-size: 15px;"> из приложения </span><span style="font-size: 15px; font-weight: bold;">Исходящие договоры</span><span style="font-size: 15px;">. Однако, в этом случае связь контракта с приложением </span><span style="font-size: 15px; font-weight: bold;">Входящие счета</span> может быть утеряна, если в этом источнике есть поле с таким же названием, но другим типом. На странице <span style="font-weight: bold;">Настройки источников</span> название такого источника будет отмечено красным шрифтом.</p>
<p class="p_Normal">Если совпадений по названию нет, в приложении <span style="font-weight: bold;">Входящие счета</span> автоматически создастся новое поле.</p>
<li value="1" style="line-height: 1.20; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">Click the gear icon to the right of the contracts name.</span></li><li value="2" style="line-height: 1.20; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">In the menu that opens, select </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Contract Fields</span><span style="font-size: 15px; font-family: Inter;">.</span></li><li value="3" style="line-height: 1.20; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">The </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Contract Settings</span><span style="font-size: 15px; font-family: Inter;"> page with a list of all added properties opens. Click </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">+Add</span><span style="font-size: 15px; font-family: Inter;">.</span></li></ol>
<p style="line-height: 1.20; margin: 0 0 11px 34px;"><img alt="set-up-contract-fields-1" width="739" height="506" style="margin:0;width:739px;height:506px;border:none" src="set-up-contract-fields-1.png"/></p>
<ol style="list-style-type:upper-roman">
<li value="4" style="line-height: 1.20; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">In the window that opens, select the </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Type</span><span style="font-size: 15px; font-family: Inter; font-weight: bold; color: #ff0000;">*</span><span style="font-size: 15px; font-family: Inter;"> property and specify the </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Display Name</span><span style="font-size: 15px; font-family: Inter; font-weight: bold; color: #ff0000;">*</span><span style="font-size: 15px; font-family: Inter;">. Specify other field settings that may vary depending on the <a href="360009707032.html" class="topiclink">property type</a>.</span></li><li value="5" style="line-height: 1.20; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">Click </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Create</span><span style="font-size: 15px; font-family: Inter;">. If you need to add another field, click </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Create &amp; Add New</span><span style="font-size: 15px; font-family: Inter;">. The new field will be displayed in the list of properties.</span></li><li value="6" style="line-height: 1.20; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">Enable the <a href="360028941112.html#searchandsortbyfield" class="topiclink">Search and sort by field</a> option option for the property to search for items on the contract page by it. The <a href="360028941112.html#fulltextsearch" class="topiclink">Full text search</a> option is also available for fields of string type.</span></li></ol>
<p style="line-height: 1.20; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">The new field will be displayed in the list of properties. To delete a property, select it in the list, click the </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Delete</span><span style="font-size: 15px; font-family: Inter;"> button above the list on the right, and confirm the operation. Note that you cannot delete system fields from a contract.</span><a id="searchingbycontractfields" class="hmanchor"></a></p>
<p style="line-height: 1.20; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">The property created in the contract is added to the source context. If it already contains a property with the same name and type, the contract and source fields will be automatically linked.</span></p>
<p style="line-height: 1.20; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">Please note, that if a property with the same name but a different type is added to the source context, the contract-source link will be lost. Go to the <a href="add-contract-source.html#create-source" class="topiclink">contract source settings</a> and manually re-establish the link by matching fields of the same type.</span></p>
<p style="line-height: 1.20; margin: 0 0 11px 0;"><span style="font-size: 15px;">To delete a property from a contract, select it in the list, click the Delete button above the list on the right, and confirm the operation. Note that you cannot delete system fields from a contract.</span></p>
<h2 class="p_Heading2"><span class="f_Heading2">Example of mapping field</span></h2>
<p style="line-height: 1.20; margin: 0 0 11px 0;"><span style="font-size: 15px;">Lets consider an example of how contract fields and source fields interact.</span></p>
<p style="text-align: justify; line-height: 1.20; margin: 0 0 11px 0;">Lets say you created the <span style="font-weight: bold;">Contractor Documents </span>contract, and you want to link it with two apps, <span style="font-weight: bold;">Outgoing Contracts</span> and <span style="font-weight: bold;">Incoming Invoices</span>.</p>
<p style="text-align: justify; line-height: 1.20; margin: 0 0 11px 0;">A <span style="font-weight: bold;">Contract</span> is an empty interface that items from other apps are passed to. To link a contract with apps, you need to add custom properties to the contracts context. Data from apps, such as contractor or amount information, will be passed to them. Please note, that an app cannot be properly linked with a contract if the contract doesnt include fields of the same type.</p>
<p style="text-align: justify; line-height: 1.20; margin: 0 0 11px 0;">Go to <span style="font-weight: bold;">Contract Settings</span> <span style="font-weight: bold;">&gt; Contract Fields</span> as described above. Click <span style="font-weight: bold;">+Add</span> and create a property with the name <span style="font-weight: bold;">Company</span> and <span style="color: #0000ff;"><a href="360009707032.html#app" class="topiclink">App</a></span> type. In its settings, select the <span style="color: #0000ff;"><a href="360012584980.html" class="topiclink">Companies</a></span> app from the <span style="font-weight: bold;">CRM</span> workspace. Add the <span style="font-weight: bold;">Amount</span> property with the <span style="color: #0000ff;"><a href="360009707032.html" class="topiclink">Money</a></span> type in the same way.</p>
<p style="text-align: justify; line-height: 1.20; margin: 0 0 11px 0;">Now you can go to <span style="font-weight: bold;">Source Settings</span> and add the <span style="font-weight: bold;">Outgoing Contracts</span> and <span style="font-weight: bold;">Incoming Invoices </span>apps to the contract. As you add these source apps, match the <span style="font-weight: bold;">Company</span> contract field with the <span style="font-weight: bold;">Contractor </span>field from both apps. Then link the <span style="font-weight: bold;">Amount</span> field with the <span style="font-weight: bold;">Contract amount </span>and<span style="font-weight: bold;"> Invoice amount </span>fields.</p>
<p style="text-align: justify; line-height: 1.20; margin: 0 0 11px 0;">Contract and source fields that match in name and type will be linked automatically.</p>
<p style="text-align: justify; line-height: 1.20; margin: 0 0 11px 0;">You can create an additional property of <span style="font-weight: bold;">App</span> type in the contract to write the value of the <span style="font-weight: bold;">Contract type</span> field from the <span style="font-weight: bold;">Outgoing Contracts</span> app into it. However, in this case, the contracts link with the <span style="font-weight: bold;">Incoming Invoices</span> app may be lost if this source has a field with the same name but a different type. On the <span style="font-weight: bold;">Source Settings</span> page, this source will be highlighted in red.</p>
<p style="text-align: justify; line-height: 1.20; margin: 0 0 11px 0;">If there is no name match, a new field will be automatically created in the <span style="font-weight: bold;">Incoming Invoices</span> app.</p>
<p style="text-align: justify; line-height: 1.20; margin: 0 0 11px 0;"><span style="font-size: 13px; color: #000000;">&nbsp;</span></p>
<div class="bottom-nav">
@ -158,7 +155,7 @@
</div>
<!-- добавляет на страницу строку блок Была ли статья полезной? -->
<div class="feedback-wrap"><div class="feedback" id="feedback"><span><b>Была ли статья полезной?</b></span><form action="" method="POST" class="feedback-form" id="feedback-form"><div class="feedback__popup feedback__popup-response" id="feedback__popup_thx">Спасибо за ваш отзыв!</div><div id="feedback-success-popup"><div class="wrap"><button type="button" class="feedback-popup-close">×</button><svg width="44" height="44" viewBox="0 0 44 44" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_212_2187)"><path d="M22 0.6875C10.2294 0.6875 0.6875 10.2294 0.6875 22C0.6875 33.7706 10.2294 43.3125 22 43.3125C33.7706 43.3125 43.3125 33.7706 43.3125 22C43.3125 10.2294 33.7706 0.6875 22 0.6875ZM22 40.5625C11.8023 40.5625 3.4375 32.3078 3.4375 22C3.4375 11.8024 11.6922 3.4375 22 3.4375C32.1977 3.4375 40.5625 11.6922 40.5625 22C40.5625 32.1976 32.3078 40.5625 22 40.5625ZM34.1713 16.933L18.6613 32.3186C18.257 32.7197 17.604 32.7171 17.203 32.3128L9.82283 24.873C9.42176 24.4686 9.42434 23.8157 9.82867 23.4146L10.5609 22.6884C10.9652 22.2873 11.6181 22.2899 12.0192 22.6942L17.9468 28.6697L31.9926 14.7366C32.3969 14.3356 33.0498 14.3382 33.4509 14.7425L34.1772 15.4747C34.5783 15.879 34.5757 16.532 34.1713 16.933Z" fill="#27AE60"></path></g><defs><clipPath id="clip0_212_2187"><rect width="44" height="44" fill="white"></rect></clipPath></defs></svg><p>Ваш отзыв успешно отправлен!</p><span>Спасибо за обратную связь.</span></div></div><div class="feedback__popup" id="feedback__popup_why"><button type="button" class="feedback-popup-close">×</button><div class="feedback__popup-header">Уточните, почему:</div><input type="radio" name="category" id="bad_recommendation" value="bad_recommendation"><label for="bad_recommendation">Рекомендации не помогли</label><input type="radio" name="category" id="difficult_text" value="difficult_text"><label for="difficult_text">Текст трудно понять</label><input type="radio" name="category" id="no_answer" value="no_answer"><label for="no_answer">Нет ответа на мой вопрос</label><input type="radio" name="category" id="bad_header" value="bad_header"><label for="bad_header">Содержание статьи не соответствует заголовку</label><input type="radio" name="category" id="other_reason" value="other_reason"><label for="other_reason">Другая причина</label></div><div class="feedback__popup" id="feedback__popup-other"><button type="button" class="feedback-popup-close">×</button> <div class="feedback__popup-header">Расскажите, что вам не понравилось в статье:</div><textarea class="feedback__textarea" name="other" id=""></textarea><input type="submit" class="feedback__other-btn" value="Отправить"></div><div class="feedback-form__btn-group"><input type="radio" name="useful" id="feedback__useful_yes" value="true"><label for="feedback__useful_yes"><img src="like.svg"/><span class="feedback-form__btn-group_yes-btn">Да</span></label><input type="radio" name="useful" id="feedback__useful_no" value="false"><label for="feedback__useful_no"><img src="dislike.svg"/><span class="feedback-form__btn-group_no-btn">Нет</span></label></div><select name="category"><option disabled>Выберите вариант</option><option value="bad_recommendation" selected>Рекомендации не помогли</option><option value="difficult_text">Текст трудно понять</option><option value="no_answer">Нет ответа на мой вопрос</option><option value="bad_header">Содержание статьи не соответствует заголовку</option><option value="other_reason">Другая причина</option></select><input type="submit"></form></div></div>
<div class="feedback" id="feedback"><div class="feedback-help"><span><b>Was this helpful?</b></span><form action="" method="POST" class="feedback-form" id="feedback-form"><div class="feedback__popup feedback__popup-response" id="feedback__popup_thx" style="display: none;">Thanks for your feedback!</div><div class="feedback__popup" id="feedback__popup_why" style="display: none;"><div class="feedback__popup-header">Please specify why:</div><input type="radio" name="category" id="bad_recommendation" value="bad_recommendation"><label for="bad_recommendation">Recommendations did not help me</label><input type="radio" name="category" id="difficult_text" value="difficult_text"><label for="difficult_text">Article is hard to understand</label><input type="radio" name="category" id="no_answer" value="no_answer"><label for="no_answer">Didn`t answer my question</label><input type="radio" name="category" id="bad_header" value="bad_header"><label for="bad_header">Content does not match the topic</label><input type="radio" name="category" id="other_reason" value="other_reason"><label for="other_reason">Other</label></div><div class="feedback__popup" id="feedback__popup-other" style="display: none;"><div class="feedback__popup-header">How we can improve it?</div><textarea class="feedback__textarea" name="other" id=""></textarea><input type="submit" class="feedback__other-btn" value="Submit"></div><div class="feedback-form__btn-group"><input type="radio" name="useful" id="feedback__useful_yes" value="true"><label for="feedback__useful_yes"><img src="like.svg" class="small-img" alt="like"><spanclass="feedback-form__btn-group_yes-btn">Yes</spanclass="feedback-form__btn-group_yes-btn"></label><input type="radio" name="useful" id="feedback__useful_no" value="false"><label for="feedback__useful_no"><img src="dislike.svg" class="small-img" alt="dislike"><spanclass="feedback-form__btn-group_no-btn">No</spanclass="feedback-form__btn-group_no-btn"></label></div><select name="category"><option disabled="">Please specify why</option><option value="bad_recommendation" selected="">Recommendations did not help me</option><option value="difficult_text">Article is hard to understand</option><option value="no_answer">Didn`t answer my question</option><option value="bad_header">Content does not match the topic</option><option value="other_reason">Other</option></select><input type="submit"></form></div><div class="found_typo"><p style="margin: 0px; margin-top: 16px !important;"><span><b>Found a typo?</b></span> Select it and press <i>Ctrl+Enter</i> to send us feedback</p></div></div>
</section>
</div>
@ -166,7 +163,7 @@
<input type="checkbox" />
<div class="article__arrow"></div>
<div class="table-of-contents elma365-right" id="toc2Content">
<h3 class="h3-toc">В этой статье</h3>
<h3 class="h3-toc">In this topic</h3>
<nav id="toc2"></nav>
</div>
</aside>
@ -177,63 +174,30 @@
<div class="footer-container">
<div class="footer-mobile">
<ul class="footer-mobile__list"><li><a href="https://api.elma365.com/ru/" target="_blank">API</a></li><li><a href="https://tssdk.elma365.com/" target="_blank">TS SDK</a></li><li><a href="https://community.elma365.com/" target="_blank">Community</a></li><li><a href="https://elma-academy.com/ru/elma365" target="_blank">Академия</a></li></ul><ul class="footer-mobile__list"><li><a href="https://elma365.com/ru/help/platform/get-trial.html">Платформа</a></li><li><a href="https://elma365.com/ru/help/ecm/ecm-functions.html">ECM</a></li><li><a href="https://elma365.com/ru/help/service/service-functions.html">Service</a></li><li><a href="https://elma365.com/ru/help/projects/projects-functions.html">Проекты</a></li></ul>
<ul class="footer-mobile__list"><li><a href="https://brix365.com/en/" target="_blank">BRIX</a></li><li><a href="https://tssdk.brix365.com/en/latest/" target="_blank">SDK</a></li><li><a href="https://api.brix365.com/en/" target="_blank">API</a></li></ul><ul class="footer-mobile__list"><li><a href="https://brix365.com/en/help/platform/get-trial.html">Platform</a></li><li><a href="https://brix365.com/en/help/ecm/ecm-functions.html">ECM</a></li><li><a href="https://brix365.com/en/help/service/service-functions.html">Service</a></li><li><a href="https://brix365.com/en/help/projects/projects-functions.html">Projects</a></li></ul>
</div>
<div class="container">
<div class="footer-wrap">
<div><span class="mobile-question-popup">Отправить фидбэк</span><form method="POST" action class="question__popup question-xs" id="question__popup"><div class="question-wrap"><span class="close"></span><span class="title">Задать вопрос</span><label for="help_question" style="display: none;"></label><textarea name="help_question" id="help_question"></textarea><input type="submit" value="Отправить"></div></form><div class="hidden fade-in question-success-xs">Ваш фидбэк отправлен.</div></div>
<div class="footer-flex-b">
<div class="footer-top">
<span class="footer-copy">&copy; 2025
ELMA365
</span>
<a href="https://navigator.sk.ru/orn/1122971" target="_blank">
<img src="sk-resident.svg" alt="sk icon" class="footer-img" width="117" height="34">
</a>
</div>
<div class="footer-line">
<div class="footer-line-copy">
<span class="footer-copy">&copy; 2025
ELMA365
</span>
</div>
<ul class="footer-list">
<li class="footer-item"><a href="https://elma365.com/ru/" target="_blank" class="footer-link" style="color: #0D4A75;"><img src="browse.svg" alt="browse icon" class="footer-img">elma365.com</a></li><li class="footer-item"><a href="https://www.youtube.com/user/ELMABPM" target="_blank" class="footer-link"><img src="yt.svg" alt="youtube icon" class="footer-img"></a></li><li class="footer-item"><a href="https://vk.com/elma_bpm" target="_blank" class="footer-link"><img src="vk.svg" alt="vk icon" class="footer-img"></a></li><li class="footer-item"><a href="https://t.me/elmaday" target="_blank" class="footer-link"><img src="tg.svg" alt="telegram icon" class="footer-img"></a></li><li class="footer-item"><a href="https://dzen.ru/elma" target="_blank" class="footer-link"><img src="dzen.svg" alt="dzen icon" class="footer-img"></a></li>
<li class="footer-item">
<a href="https://navigator.sk.ru/orn/1122971" target="_blank">
<img src="sk-resident.svg" alt="sk icon" class="footer-img" width="117" height="34">
</a>
</li>
</ul>
</div>
</div>
<div class="footer-wrap">
<div><span class="mobile-question-popup">Send feedback</span><form method="POST" action class="question__popup question-xs" id="question__popup"><div class="question-wrap"><span class="close"></span><span class="title">Ask a question</span><label for="help_question" style="display: none;"></label><textarea name="help_question" id="help_question"></textarea><input type="submit" value="Send"></div></form><div class="hidden fade-in question-success-xs">Sent</div></div>
<div class="footer-flex-b">
<span class="footer-copy">&copy; 2025 BRIX</span>
<ul class="footer-list">
<li class="footer-item">
<a href="#" class="arrow-top" style="display: block;"></a>
</li>
</ul>
</div>
</div>
<a href="#" class="arrow-top"></a>
</div>
</footer>
<!-- <script type="text/javascript" src="jquery1.min.js"></script>-->
<iframe name="hmnavigation" style="display:none!important"></iframe>
<!--<script src="./jquery-ui.js"></script> -->
<script src="./jquery-ui.min.js"></script>
<script src="./jquery-ui.js"></script>
<!--script src="//cdn.jsdelivr.net/npm/featherlight@1.7.14/release/featherlight.min.js" type="text/javascript" charset="utf-8"></script-->
<script src="./jquery.tocify.min.js"></script>
<script src="./TypoReporter.min.js"></script>