You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
2.4 KiB

<?xml version="1.0" encoding="UTF-8"?>
<report-form xmlns="http://www.davinti.com.br/vitruvio/form/report" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.davinti.com.br/vitruvio/form/report vitruvio-report-form.xsd">
<form formKey="formDadosPassagem" width="100%">
<name>Auditoria</name>
<description>Auditoria</description>
<components>
<VerticalLayout width="100%" margin="true" spacing="true">
<Panel width="100%" caption="Parâmetros do relatório">
<VerticalLayout width="100%" spacing="true" margin="true">
<HorizontalLayout spacing="true" width="100%">
<DBSearchField id="auditoria" caption="Auditoria" required="true" requiredMessage="É obrigatório informar uma auditoria" type="number" width="100%" searchViewRows="10" searchViewWidth="95%" searchViewHeight="90%">
<datasource>
<freeQuery connection-key="Vitruvio">
Select chave_auditoria, titulo from auditoria
</freeQuery>
</datasource>
<key-field>CHAVE_AUDITORIA</key-field>
<caption-field>TITULO</caption-field>
<columns>
<column name="CHAVE_AUDITORIA" caption="Código" expand-ratio="0.2"/>
<column name="TITULO" caption="Descrição" expand-ratio="1.0"/>
</columns>
<filterProperties>
<value>CHAVE_AUDITORIA</value>
<value>TITULO</value>
</filterProperties>
</DBSearchField>
</HorizontalLayout>
<TextArea type="string" id="sqlinv" caption="SQL Inventario" width="100%" rows="6" required="false"
requiredMessage="Código Produto" visible="false" />
</VerticalLayout>
</Panel>
</VerticalLayout>
</components>
</form>
</report-form>