Created
January 14, 2019 06:29
-
-
Save muffik/2fe6da5f493e52777e982295eac9ffc1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<parts> | |
<options> | |
<option id="show-linked-documents" title="Показать связанные документы"></option> | |
<option id="download-print-form" title="Выгрузить печатную форму" enable="true"></option> | |
<option id="print-form-with-signature" title="Выгрузить ЮЗЭД с ЭП" enable="eq(this['download-print-form'], true)"></option> | |
<option id="download-edo" title="Выгрузить ЭДО"></option> | |
<option id="reg-filter" type="REGISTRY" title="Выгрузка на основе реестра из УС"></option> | |
<option id="download-registry" title="Сформировать и выгрузить реестр по операции"></option> | |
<option id="download-with-grouping" title="Выгрузить с группировкой по корзинам"></option> | |
<option id="forward-enable-when" value-field="and(or(eq(this['download-print-form'],true),eq(this['download-edo'],true)), or( (this['reg-filter'] != null), this['userSelection'] == true ))"></option> | |
</options> | |
<ui-orderby> | |
<rule title="Номер документа" name-prefix="${LbEdfDocumentNumber}-">LbEdfDocumentNumber</rule> | |
<rule title="Контрагент" name-prefix="${LbEdfContragentName}-">LbEdfContragentName</rule> | |
<rule title="Дата документа" name-prefix="${String.format('%tF',LbEdfDocumentDate)}-">LbEdfDocumentDate</rule> | |
</ui-orderby> | |
<columns> | |
<column title="Вид документа"> | |
<formatter for="@rootDownload">${LbEdfDocumentKindTitle_replaced}</formatter> | |
<formatter for="printForm">Печатная форма</formatter> | |
<formatter for="docFlowPackage">Архив ЭДО</formatter> | |
<formatter for="linked-documents-download">${?LbEdfDocumentKindTitle_replaced} ${?TargetDocumentKind:-Нет данных}</formatter> | |
<formatter for="linkedPrintForm">Печатная форма</formatter> | |
<formatter for="linkedDocFlowPackage">Архив ЭДО</formatter> | |
</column> | |
<column title="Номер документа"> | |
<formatter for="@rootDownload">${LbEdfDocumentNumber}</formatter> | |
<formatter for="printForm"></formatter> | |
<formatter for="docFlowPackage"></formatter> | |
<formatter for="linked-documents-download">${LbEdfDocumentNumber}</formatter> | |
<formatter for="linkedPrintForm"></formatter> | |
<formatter for="linkedDocFlowPackage"></formatter> | |
</column> | |
<column title="Дата документа"> | |
<formatter for="@rootDownload">${?LbEdfDocumentDate:date:dd.MM.yyy:-}</formatter> | |
<formatter for="printForm"></formatter> | |
<formatter for="docFlowPackage"></formatter> | |
<formatter for="linked-documents-download">${?LbEdfDocumentDate:date:dd.MM.yyy:-}</formatter> | |
<formatter for="linkedPrintForm"></formatter> | |
<formatter for="linkedDocFlowPackage"></formatter> | |
</column> | |
<column title="Статус документа"> | |
<formatter for="@rootDownload">${?LbEdfDocStatusTitle_replaced:-Нет данных}</formatter> | |
<formatter for="printForm"></formatter> | |
<formatter for="docFlowPackage"></formatter> | |
<formatter for="linked-documents-download">${?LbEdfDocStatusTitle_replaced:-Нет данных}</formatter> | |
<formatter for="linkedPrintForm"></formatter> | |
<formatter for="linkedDocFlowPackage"></formatter> | |
</column> | |
<column title="Штрихкод"> | |
<formatter for="@rootDownload">${?LbEdfBarcode}</formatter> | |
<formatter for="printForm"></formatter> | |
<formatter for="docFlowPackage"></formatter> | |
<formatter for="linked-documents-download">${?LbEdfBarcode}</formatter> | |
<formatter for="linkedPrintForm"></formatter> | |
<formatter for="linkedDocFlowPackage"></formatter> | |
</column> | |
</columns> | |
<generate-registries> | |
<generate-registry content-name="Реестр выгруженных документов.xls" active-when="O['download-registry']==true" | |
template-path="config:${rootdir}/metadata/bulk/download/template/register_download_template.xls"/> | |
</generate-registries> | |
<node> | |
<filters> | |
<filter name="reg-filter" from-option="reg-filter"/> | |
</filters> | |
<static-node id="printForm" title="Печатная форма" content-name="PrintForm:@{?VersionSeries}" | |
jndi-content="ejb/${appName}-UzdoContentResolverServiceRemote" | |
active-when="O['download-print-form']==true && $['VersionSeries']!=empty"> | |
</static-node> | |
<static-node id="docFlowPackage" title="Архив ЭДО" content-name="DocFlowPackage:@{?VersionSeries}" | |
jndi-content="ejb/${appName}-UzdoContentResolverServiceRemote" | |
active-when="O['download-edo']==true && $['VersionSeries']!=empty"> | |
</static-node> | |
<node id="linked-documents-download" title="Связанные документы" no-content="true" | |
active-when="O['show-linked-documents']==true && $['VersionSeries']!=empty" search="cesearch:alias:uzdo_links_search" | |
filter="SourceDocumentVsid" filter-value="VersionSeries"> | |
<static-node id="linkedPrintForm" title="Печатная форма" | |
content-name="PrintForm:@{?VersionSeries}:@{?SourceSystemCode}:@{?LbEdfDocStatus}:@{?TargetDocId}:0['print-form-with-signature']" | |
jndi-content="ejb/${appName}-UzdoContentResolverServiceRemote" | |
active-when="O['download-print-form']==true && $['VersionSeries']!=empty"> | |
</static-node> | |
<static-node id="linkedDocFlowPackage" title="Архив ЭДО" | |
content-name="DocFlowPackage:@{?VersionSeries}:@{?SourceSystemCode}:@{?LbEdfDocStatus}:@{?TargetDocId}" | |
jndi-content="ejb/${appName}-UzdoContentResolverServiceRemote" | |
active-when="O['download-edo']==true && $['VersionSeries']!=empty"> | |
</static-node> | |
</node> | |
</node> | |
</parts> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment