|
|
@ -547,18 +547,143 @@ |
|
|
</connection> |
|
|
</connection> |
|
|
<order> |
|
|
<order> |
|
|
<hop> |
|
|
<hop> |
|
|
<from>Table input</from> |
|
|
|
|
|
<to>Add sequence</to> |
|
|
|
|
|
|
|
|
<from>Coletar Dados - Consinco</from> |
|
|
|
|
|
<to>Adicionar sequencias</to> |
|
|
<enabled>Y</enabled> |
|
|
<enabled>Y</enabled> |
|
|
</hop> |
|
|
</hop> |
|
|
<hop> |
|
|
<hop> |
|
|
<from>Add sequence</from> |
|
|
|
|
|
<to>Insert / Update</to> |
|
|
|
|
|
|
|
|
<from>Adicionar sequencias</from> |
|
|
|
|
|
<to>Inserir dados - Vitruvio</to> |
|
|
|
|
|
<enabled>Y</enabled> |
|
|
|
|
|
</hop> |
|
|
|
|
|
<hop> |
|
|
|
|
|
<from>Iniciar processo</from> |
|
|
|
|
|
<to>Coletar Dados - Consinco</to> |
|
|
|
|
|
<enabled>Y</enabled> |
|
|
|
|
|
</hop> |
|
|
|
|
|
<hop> |
|
|
|
|
|
<from>Adicionar data</from> |
|
|
|
|
|
<to>Adicionar Constantes</to> |
|
|
|
|
|
<enabled>Y</enabled> |
|
|
|
|
|
</hop> |
|
|
|
|
|
<hop> |
|
|
|
|
|
<from>Inserir dados - Vitruvio</from> |
|
|
|
|
|
<to>Adicionar Constantes Falha</to> |
|
|
|
|
|
<enabled>Y</enabled> |
|
|
|
|
|
</hop> |
|
|
|
|
|
<hop> |
|
|
|
|
|
<from>Adicionar Constantes Falha</from> |
|
|
|
|
|
<to>Adicionar data falha</to> |
|
|
|
|
|
<enabled>Y</enabled> |
|
|
|
|
|
</hop> |
|
|
|
|
|
<hop> |
|
|
|
|
|
<from>Adicionar data falha</from> |
|
|
|
|
|
<to>Atualizar Log 2</to> |
|
|
|
|
|
<enabled>Y</enabled> |
|
|
|
|
|
</hop> |
|
|
|
|
|
<hop> |
|
|
|
|
|
<from>Adicionar data sucesso</from> |
|
|
|
|
|
<to>Atualizar Log</to> |
|
|
|
|
|
<enabled>Y</enabled> |
|
|
|
|
|
</hop> |
|
|
|
|
|
<hop> |
|
|
|
|
|
<from>Adicionar Constantes Sucesso</from> |
|
|
|
|
|
<to>Adicionar data sucesso</to> |
|
|
|
|
|
<enabled>Y</enabled> |
|
|
|
|
|
</hop> |
|
|
|
|
|
<hop> |
|
|
|
|
|
<from>Adicionar Constantes</from> |
|
|
|
|
|
<to>Iniciar processo</to> |
|
|
|
|
|
<enabled>Y</enabled> |
|
|
|
|
|
</hop> |
|
|
|
|
|
<hop> |
|
|
|
|
|
<from>Inserir dados - Vitruvio</from> |
|
|
|
|
|
<to>Adicionar Constantes Sucesso</to> |
|
|
<enabled>Y</enabled> |
|
|
<enabled>Y</enabled> |
|
|
</hop> |
|
|
</hop> |
|
|
</order> |
|
|
</order> |
|
|
<step> |
|
|
<step> |
|
|
<name>Add sequence</name> |
|
|
|
|
|
|
|
|
<name>Adicionar Constantes</name> |
|
|
|
|
|
<type>Constant</type> |
|
|
|
|
|
<description/> |
|
|
|
|
|
<distribute>Y</distribute> |
|
|
|
|
|
<custom_distribution/> |
|
|
|
|
|
<copies>1</copies> |
|
|
|
|
|
<partitioning> |
|
|
|
|
|
<method>none</method> |
|
|
|
|
|
<schema_name/> |
|
|
|
|
|
</partitioning> |
|
|
|
|
|
<fields> |
|
|
|
|
|
<field> |
|
|
|
|
|
<name>TIPO</name> |
|
|
|
|
|
<type>Number</type> |
|
|
|
|
|
<format/> |
|
|
|
|
|
<currency/> |
|
|
|
|
|
<decimal/> |
|
|
|
|
|
<group/> |
|
|
|
|
|
<nullif>1</nullif> |
|
|
|
|
|
<length>1</length> |
|
|
|
|
|
<precision>-1</precision> |
|
|
|
|
|
<set_empty_string>N</set_empty_string> |
|
|
|
|
|
</field> |
|
|
|
|
|
<field> |
|
|
|
|
|
<name>STATUS</name> |
|
|
|
|
|
<type>Number</type> |
|
|
|
|
|
<format/> |
|
|
|
|
|
<currency/> |
|
|
|
|
|
<decimal/> |
|
|
|
|
|
<group/> |
|
|
|
|
|
<nullif>1</nullif> |
|
|
|
|
|
<length>1</length> |
|
|
|
|
|
<precision>-1</precision> |
|
|
|
|
|
<set_empty_string>N</set_empty_string> |
|
|
|
|
|
</field> |
|
|
|
|
|
</fields> |
|
|
|
|
|
<cluster_schema/> |
|
|
|
|
|
<remotesteps> |
|
|
|
|
|
<input> |
|
|
|
|
|
</input> |
|
|
|
|
|
<output> |
|
|
|
|
|
</output> |
|
|
|
|
|
</remotesteps> |
|
|
|
|
|
<GUI> |
|
|
|
|
|
<xloc>64</xloc> |
|
|
|
|
|
<yloc>64</yloc> |
|
|
|
|
|
<draw>Y</draw> |
|
|
|
|
|
</GUI> |
|
|
|
|
|
</step> |
|
|
|
|
|
<step> |
|
|
|
|
|
<name>Adicionar data</name> |
|
|
|
|
|
<type>SystemInfo</type> |
|
|
|
|
|
<description/> |
|
|
|
|
|
<distribute>Y</distribute> |
|
|
|
|
|
<custom_distribution/> |
|
|
|
|
|
<copies>1</copies> |
|
|
|
|
|
<partitioning> |
|
|
|
|
|
<method>none</method> |
|
|
|
|
|
<schema_name/> |
|
|
|
|
|
</partitioning> |
|
|
|
|
|
<fields> |
|
|
|
|
|
<field> |
|
|
|
|
|
<name>data</name> |
|
|
|
|
|
<type>system date (fixed)</type> |
|
|
|
|
|
</field> |
|
|
|
|
|
</fields> |
|
|
|
|
|
<cluster_schema/> |
|
|
|
|
|
<remotesteps> |
|
|
|
|
|
<input> |
|
|
|
|
|
</input> |
|
|
|
|
|
<output> |
|
|
|
|
|
</output> |
|
|
|
|
|
</remotesteps> |
|
|
|
|
|
<GUI> |
|
|
|
|
|
<xloc>64</xloc> |
|
|
|
|
|
<yloc>192</yloc> |
|
|
|
|
|
<draw>Y</draw> |
|
|
|
|
|
</GUI> |
|
|
|
|
|
</step> |
|
|
|
|
|
<step> |
|
|
|
|
|
<name>Adicionar sequencias</name> |
|
|
<type>Sequence</type> |
|
|
<type>Sequence</type> |
|
|
<description/> |
|
|
<description/> |
|
|
<distribute>Y</distribute> |
|
|
<distribute>Y</distribute> |
|
|
@ -586,13 +711,13 @@ |
|
|
</output> |
|
|
</output> |
|
|
</remotesteps> |
|
|
</remotesteps> |
|
|
<GUI> |
|
|
<GUI> |
|
|
<xloc>256</xloc> |
|
|
|
|
|
<yloc>80</yloc> |
|
|
|
|
|
|
|
|
<xloc>464</xloc> |
|
|
|
|
|
<yloc>64</yloc> |
|
|
<draw>Y</draw> |
|
|
<draw>Y</draw> |
|
|
</GUI> |
|
|
</GUI> |
|
|
</step> |
|
|
</step> |
|
|
<step> |
|
|
<step> |
|
|
<name>Insert / Update</name> |
|
|
|
|
|
|
|
|
<name>Atualizar Log</name> |
|
|
<type>InsertUpdate</type> |
|
|
<type>InsertUpdate</type> |
|
|
<description/> |
|
|
<description/> |
|
|
<distribute>Y</distribute> |
|
|
<distribute>Y</distribute> |
|
|
@ -603,110 +728,94 @@ |
|
|
<schema_name/> |
|
|
<schema_name/> |
|
|
</partitioning> |
|
|
</partitioning> |
|
|
<connection>GF - Vitruvio</connection> |
|
|
<connection>GF - Vitruvio</connection> |
|
|
<commit>500</commit> |
|
|
|
|
|
|
|
|
<commit>100</commit> |
|
|
<update_bypassed>N</update_bypassed> |
|
|
<update_bypassed>N</update_bypassed> |
|
|
<lookup> |
|
|
<lookup> |
|
|
<schema/> |
|
|
<schema/> |
|
|
<table>BSC_FATURAMENTO</table> |
|
|
|
|
|
<key> |
|
|
|
|
|
<name>NROEMPRESA</name> |
|
|
|
|
|
<field>CHAVE_EMPRESA</field> |
|
|
|
|
|
<condition>=</condition> |
|
|
|
|
|
<name2/> |
|
|
|
|
|
</key> |
|
|
|
|
|
<key> |
|
|
|
|
|
<name>SEQPRODUTO</name> |
|
|
|
|
|
<field>CHAVE_PRODUTO</field> |
|
|
|
|
|
<condition>=</condition> |
|
|
|
|
|
<name2/> |
|
|
|
|
|
</key> |
|
|
|
|
|
|
|
|
<table>TB_SEMAFORO</table> |
|
|
<key> |
|
|
<key> |
|
|
<name>SEQFAMILIA</name> |
|
|
|
|
|
<field>CHAVE_FAMILIA</field> |
|
|
|
|
|
<condition>=</condition> |
|
|
|
|
|
<name2/> |
|
|
|
|
|
</key> |
|
|
|
|
|
<key> |
|
|
|
|
|
<name>REFERENCIA</name> |
|
|
|
|
|
<field>REFERENCIA</field> |
|
|
|
|
|
|
|
|
<name>TIPO</name> |
|
|
|
|
|
<field>TIPO</field> |
|
|
<condition>=</condition> |
|
|
<condition>=</condition> |
|
|
<name2/> |
|
|
<name2/> |
|
|
</key> |
|
|
</key> |
|
|
<key> |
|
|
<key> |
|
|
<name>CHAVE_CATEGORIA_PAI</name> |
|
|
|
|
|
<field>CHAVE_CATEGORIA_PAI</field> |
|
|
|
|
|
|
|
|
<name>TIPO</name> |
|
|
|
|
|
<field>CHAVE</field> |
|
|
<condition>=</condition> |
|
|
<condition>=</condition> |
|
|
<name2/> |
|
|
<name2/> |
|
|
</key> |
|
|
</key> |
|
|
<key> |
|
|
|
|
|
<name>CHAVE_CATEGORIA</name> |
|
|
|
|
|
<field>CHAVE_CATEGORIA</field> |
|
|
|
|
|
<condition>=</condition> |
|
|
|
|
|
<name2/> |
|
|
|
|
|
</key> |
|
|
|
|
|
<value> |
|
|
|
|
|
<name>CHAVE_FATURAMENTO</name> |
|
|
|
|
|
<rename>BSC_FATURAMENTO_SEQ</rename> |
|
|
|
|
|
<update>N</update> |
|
|
|
|
|
</value> |
|
|
|
|
|
<value> |
|
|
|
|
|
<name>CHAVE_EMPRESA</name> |
|
|
|
|
|
<rename>NROEMPRESA</rename> |
|
|
|
|
|
<update>N</update> |
|
|
|
|
|
</value> |
|
|
|
|
|
<value> |
|
|
|
|
|
<name>CATEGORIA_PAI</name> |
|
|
|
|
|
<rename>CATEGORIAPAI</rename> |
|
|
|
|
|
<update>N</update> |
|
|
|
|
|
</value> |
|
|
|
|
|
<value> |
|
|
|
|
|
<name>CATEGORIA</name> |
|
|
|
|
|
<rename>CATEGORIA</rename> |
|
|
|
|
|
<update>N</update> |
|
|
|
|
|
</value> |
|
|
|
|
|
<value> |
|
|
<value> |
|
|
<name>CHAVE_PRODUTO</name> |
|
|
|
|
|
<rename>SEQPRODUTO</rename> |
|
|
|
|
|
<update>N</update> |
|
|
|
|
|
|
|
|
<name>STATUS</name> |
|
|
|
|
|
<rename>STATUS_SUCESSO</rename> |
|
|
|
|
|
<update>Y</update> |
|
|
</value> |
|
|
</value> |
|
|
<value> |
|
|
<value> |
|
|
<name>DESCRICAO_PRODUTO</name> |
|
|
|
|
|
<rename>DESCRICAOPRODUTO</rename> |
|
|
|
|
|
|
|
|
<name>DATA_ATUALIZACAO</name> |
|
|
|
|
|
<rename>data_sucesso</rename> |
|
|
<update>Y</update> |
|
|
<update>Y</update> |
|
|
</value> |
|
|
</value> |
|
|
<value> |
|
|
<value> |
|
|
<name>CHAVE_FAMILIA</name> |
|
|
|
|
|
<rename>SEQFAMILIA</rename> |
|
|
|
|
|
|
|
|
<name>TIPO</name> |
|
|
|
|
|
<rename>TIPO</rename> |
|
|
<update>N</update> |
|
|
<update>N</update> |
|
|
</value> |
|
|
</value> |
|
|
|
|
|
</lookup> |
|
|
|
|
|
<cluster_schema/> |
|
|
|
|
|
<remotesteps> |
|
|
|
|
|
<input> |
|
|
|
|
|
</input> |
|
|
|
|
|
<output> |
|
|
|
|
|
</output> |
|
|
|
|
|
</remotesteps> |
|
|
|
|
|
<GUI> |
|
|
|
|
|
<xloc>1056</xloc> |
|
|
|
|
|
<yloc>64</yloc> |
|
|
|
|
|
<draw>Y</draw> |
|
|
|
|
|
</GUI> |
|
|
|
|
|
</step> |
|
|
|
|
|
<step> |
|
|
|
|
|
<name>Atualizar Log 2</name> |
|
|
|
|
|
<type>InsertUpdate</type> |
|
|
|
|
|
<description/> |
|
|
|
|
|
<distribute>Y</distribute> |
|
|
|
|
|
<custom_distribution/> |
|
|
|
|
|
<copies>1</copies> |
|
|
|
|
|
<partitioning> |
|
|
|
|
|
<method>none</method> |
|
|
|
|
|
<schema_name/> |
|
|
|
|
|
</partitioning> |
|
|
|
|
|
<connection>GF - Vitruvio</connection> |
|
|
|
|
|
<commit>100</commit> |
|
|
|
|
|
<update_bypassed>N</update_bypassed> |
|
|
|
|
|
<lookup> |
|
|
|
|
|
<schema/> |
|
|
|
|
|
<table>TB_SEMAFORO</table> |
|
|
|
|
|
<key> |
|
|
|
|
|
<name>TIPO</name> |
|
|
|
|
|
<field>TIPO</field> |
|
|
|
|
|
<condition>=</condition> |
|
|
|
|
|
<name2/> |
|
|
|
|
|
</key> |
|
|
|
|
|
<key> |
|
|
|
|
|
<name>TIPO</name> |
|
|
|
|
|
<field>CHAVE</field> |
|
|
|
|
|
<condition>=</condition> |
|
|
|
|
|
<name2/> |
|
|
|
|
|
</key> |
|
|
<value> |
|
|
<value> |
|
|
<name>QUANTIDADE</name> |
|
|
|
|
|
<rename>QTDITEM</rename> |
|
|
|
|
|
<update>Y</update> |
|
|
|
|
|
</value> |
|
|
|
|
|
<value> |
|
|
|
|
|
<name>VALOR_VENDA</name> |
|
|
|
|
|
<rename>VLRITEM</rename> |
|
|
|
|
|
|
|
|
<name>STATUS</name> |
|
|
|
|
|
<rename>STATUS_FALHA</rename> |
|
|
<update>Y</update> |
|
|
<update>Y</update> |
|
|
</value> |
|
|
</value> |
|
|
<value> |
|
|
<value> |
|
|
<name>VALOR_BRUTO</name> |
|
|
|
|
|
<rename>CTOBRUTOVDA</rename> |
|
|
|
|
|
|
|
|
<name>DATA_ATUALIZACAO</name> |
|
|
|
|
|
<rename>data_falha</rename> |
|
|
<update>Y</update> |
|
|
<update>Y</update> |
|
|
</value> |
|
|
</value> |
|
|
<value> |
|
|
<value> |
|
|
<name>REFERENCIA</name> |
|
|
|
|
|
<rename>REFERENCIA</rename> |
|
|
|
|
|
<update>N</update> |
|
|
|
|
|
</value> |
|
|
|
|
|
<value> |
|
|
|
|
|
<name>CHAVE_CATEGORIA_PAI</name> |
|
|
|
|
|
<rename>CHAVE_CATEGORIA_PAI</rename> |
|
|
|
|
|
<update>N</update> |
|
|
|
|
|
</value> |
|
|
|
|
|
<value> |
|
|
|
|
|
<name>CHAVE_CATEGORIA</name> |
|
|
|
|
|
<rename>CHAVE_CATEGORIA</rename> |
|
|
|
|
|
|
|
|
<name>TIPO</name> |
|
|
|
|
|
<rename>TIPO</rename> |
|
|
<update>N</update> |
|
|
<update>N</update> |
|
|
</value> |
|
|
</value> |
|
|
</lookup> |
|
|
</lookup> |
|
|
@ -718,13 +827,13 @@ |
|
|
</output> |
|
|
</output> |
|
|
</remotesteps> |
|
|
</remotesteps> |
|
|
<GUI> |
|
|
<GUI> |
|
|
<xloc>400</xloc> |
|
|
|
|
|
<yloc>80</yloc> |
|
|
|
|
|
|
|
|
<xloc>608</xloc> |
|
|
|
|
|
<yloc>400</yloc> |
|
|
<draw>Y</draw> |
|
|
<draw>Y</draw> |
|
|
</GUI> |
|
|
</GUI> |
|
|
</step> |
|
|
</step> |
|
|
<step> |
|
|
<step> |
|
|
<name>Table input</name> |
|
|
|
|
|
|
|
|
<name>Coletar Dados - Consinco</name> |
|
|
<type>TableInput</type> |
|
|
<type>TableInput</type> |
|
|
<description/> |
|
|
<description/> |
|
|
<distribute>Y</distribute> |
|
|
<distribute>Y</distribute> |
|
|
@ -812,7 +921,7 @@ |
|
|
and Y.SEQFAMILIA = PB.SEQFAMILIA |
|
|
and Y.SEQFAMILIA = PB.SEQFAMILIA |
|
|
and H.SEQFAMILIA = A.SEQFAMILIA |
|
|
and H.SEQFAMILIA = A.SEQFAMILIA |
|
|
and H.NROSEGMENTO = V.NROSEGMENTO |
|
|
and H.NROSEGMENTO = V.NROSEGMENTO |
|
|
and DECODE(V.TIPTABELA, 'S', V.CGOACMCOMPRAVENDA, 'A', V.CGOACMCOMPRAVENDA, V.ACMCOMPRAVENDA) in ( 'S', 'I' ) |
|
|
|
|
|
|
|
|
and DECODE(V.TIPTABELA, 'S', V.CGOACMCOMPRAVENDA, 'A', V.CGOACMCOMPRAVENDA, V.ACMCOMPRAVENDA) in ( 'S', 'I' ) and 1 = 2 |
|
|
group by |
|
|
group by |
|
|
V.NROEMPRESA, |
|
|
V.NROEMPRESA, |
|
|
V.SEQPRODUTO, |
|
|
V.SEQPRODUTO, |
|
|
@ -830,12 +939,386 @@ |
|
|
</output> |
|
|
</output> |
|
|
</remotesteps> |
|
|
</remotesteps> |
|
|
<GUI> |
|
|
<GUI> |
|
|
<xloc>128</xloc> |
|
|
|
|
|
<yloc>80</yloc> |
|
|
|
|
|
|
|
|
<xloc>320</xloc> |
|
|
|
|
|
<yloc>64</yloc> |
|
|
|
|
|
<draw>Y</draw> |
|
|
|
|
|
</GUI> |
|
|
|
|
|
</step> |
|
|
|
|
|
<step> |
|
|
|
|
|
<name>Iniciar processo</name> |
|
|
|
|
|
<type>InsertUpdate</type> |
|
|
|
|
|
<description/> |
|
|
|
|
|
<distribute>Y</distribute> |
|
|
|
|
|
<custom_distribution/> |
|
|
|
|
|
<copies>1</copies> |
|
|
|
|
|
<partitioning> |
|
|
|
|
|
<method>none</method> |
|
|
|
|
|
<schema_name/> |
|
|
|
|
|
</partitioning> |
|
|
|
|
|
<connection>GF - Vitruvio</connection> |
|
|
|
|
|
<commit>100</commit> |
|
|
|
|
|
<update_bypassed>N</update_bypassed> |
|
|
|
|
|
<lookup> |
|
|
|
|
|
<schema/> |
|
|
|
|
|
<table>TB_SEMAFORO</table> |
|
|
|
|
|
<key> |
|
|
|
|
|
<name>TIPO</name> |
|
|
|
|
|
<field>TIPO</field> |
|
|
|
|
|
<condition>=</condition> |
|
|
|
|
|
<name2/> |
|
|
|
|
|
</key> |
|
|
|
|
|
<key> |
|
|
|
|
|
<name>TIPO</name> |
|
|
|
|
|
<field>CHAVE</field> |
|
|
|
|
|
<condition>=</condition> |
|
|
|
|
|
<name2/> |
|
|
|
|
|
</key> |
|
|
|
|
|
<value> |
|
|
|
|
|
<name>STATUS</name> |
|
|
|
|
|
<rename>STATUS</rename> |
|
|
|
|
|
<update>Y</update> |
|
|
|
|
|
</value> |
|
|
|
|
|
<value> |
|
|
|
|
|
<name>DATA_ATUALIZACAO</name> |
|
|
|
|
|
<rename>data</rename> |
|
|
|
|
|
<update>Y</update> |
|
|
|
|
|
</value> |
|
|
|
|
|
<value> |
|
|
|
|
|
<name>TIPO</name> |
|
|
|
|
|
<rename>TIPO</rename> |
|
|
|
|
|
<update>N</update> |
|
|
|
|
|
</value> |
|
|
|
|
|
</lookup> |
|
|
|
|
|
<cluster_schema/> |
|
|
|
|
|
<remotesteps> |
|
|
|
|
|
<input> |
|
|
|
|
|
</input> |
|
|
|
|
|
<output> |
|
|
|
|
|
</output> |
|
|
|
|
|
</remotesteps> |
|
|
|
|
|
<GUI> |
|
|
|
|
|
<xloc>192</xloc> |
|
|
|
|
|
<yloc>64</yloc> |
|
|
|
|
|
<draw>Y</draw> |
|
|
|
|
|
</GUI> |
|
|
|
|
|
</step> |
|
|
|
|
|
<step> |
|
|
|
|
|
<name>Inserir dados - Vitruvio</name> |
|
|
|
|
|
<type>InsertUpdate</type> |
|
|
|
|
|
<description/> |
|
|
|
|
|
<distribute>Y</distribute> |
|
|
|
|
|
<custom_distribution/> |
|
|
|
|
|
<copies>1</copies> |
|
|
|
|
|
<partitioning> |
|
|
|
|
|
<method>none</method> |
|
|
|
|
|
<schema_name/> |
|
|
|
|
|
</partitioning> |
|
|
|
|
|
<connection>GF - Vitruvio</connection> |
|
|
|
|
|
<commit>500</commit> |
|
|
|
|
|
<update_bypassed>N</update_bypassed> |
|
|
|
|
|
<lookup> |
|
|
|
|
|
<schema/> |
|
|
|
|
|
<table>BSC_FATURAMENTO</table> |
|
|
|
|
|
<key> |
|
|
|
|
|
<name>NROEMPRESA</name> |
|
|
|
|
|
<field>CHAVE_EMPRESA</field> |
|
|
|
|
|
<condition>=</condition> |
|
|
|
|
|
<name2/> |
|
|
|
|
|
</key> |
|
|
|
|
|
<key> |
|
|
|
|
|
<name>SEQPRODUTO</name> |
|
|
|
|
|
<field>CHAVE_PRODUTO</field> |
|
|
|
|
|
<condition>=</condition> |
|
|
|
|
|
<name2/> |
|
|
|
|
|
</key> |
|
|
|
|
|
<key> |
|
|
|
|
|
<name>SEQFAMILIA</name> |
|
|
|
|
|
<field>CHAVE_FAMILIA</field> |
|
|
|
|
|
<condition>=</condition> |
|
|
|
|
|
<name2/> |
|
|
|
|
|
</key> |
|
|
|
|
|
<key> |
|
|
|
|
|
<name>REFERENCIA</name> |
|
|
|
|
|
<field>REFERENCIA</field> |
|
|
|
|
|
<condition>=</condition> |
|
|
|
|
|
<name2/> |
|
|
|
|
|
</key> |
|
|
|
|
|
<key> |
|
|
|
|
|
<name>CHAVE_CATEGORIA_PAI</name> |
|
|
|
|
|
<field>CHAVE_CATEGORIA_PAI</field> |
|
|
|
|
|
<condition>=</condition> |
|
|
|
|
|
<name2/> |
|
|
|
|
|
</key> |
|
|
|
|
|
<key> |
|
|
|
|
|
<name>CHAVE_CATEGORIA</name> |
|
|
|
|
|
<field>CHAVE_CATEGORIA</field> |
|
|
|
|
|
<condition>=</condition> |
|
|
|
|
|
<name2/> |
|
|
|
|
|
</key> |
|
|
|
|
|
<value> |
|
|
|
|
|
<name>CHAVE_FATURAMENTO</name> |
|
|
|
|
|
<rename>BSC_FATURAMENTO_SEQ</rename> |
|
|
|
|
|
<update>N</update> |
|
|
|
|
|
</value> |
|
|
|
|
|
<value> |
|
|
|
|
|
<name>CHAVE_EMPRESA</name> |
|
|
|
|
|
<rename>NROEMPRESA</rename> |
|
|
|
|
|
<update>N</update> |
|
|
|
|
|
</value> |
|
|
|
|
|
<value> |
|
|
|
|
|
<name>CATEGORIA_PAI</name> |
|
|
|
|
|
<rename>CATEGORIAPAI</rename> |
|
|
|
|
|
<update>N</update> |
|
|
|
|
|
</value> |
|
|
|
|
|
<value> |
|
|
|
|
|
<name>CATEGORIA</name> |
|
|
|
|
|
<rename>CATEGORIA</rename> |
|
|
|
|
|
<update>N</update> |
|
|
|
|
|
</value> |
|
|
|
|
|
<value> |
|
|
|
|
|
<name>CHAVE_PRODUTO</name> |
|
|
|
|
|
<rename>SEQPRODUTO</rename> |
|
|
|
|
|
<update>N</update> |
|
|
|
|
|
</value> |
|
|
|
|
|
<value> |
|
|
|
|
|
<name>DESCRICAO_PRODUTO</name> |
|
|
|
|
|
<rename>DESCRICAOPRODUTO</rename> |
|
|
|
|
|
<update>Y</update> |
|
|
|
|
|
</value> |
|
|
|
|
|
<value> |
|
|
|
|
|
<name>CHAVE_FAMILIA</name> |
|
|
|
|
|
<rename>SEQFAMILIA</rename> |
|
|
|
|
|
<update>N</update> |
|
|
|
|
|
</value> |
|
|
|
|
|
<value> |
|
|
|
|
|
<name>QUANTIDADE</name> |
|
|
|
|
|
<rename>QTDITEM</rename> |
|
|
|
|
|
<update>Y</update> |
|
|
|
|
|
</value> |
|
|
|
|
|
<value> |
|
|
|
|
|
<name>VALOR_VENDA</name> |
|
|
|
|
|
<rename>VLRITEM</rename> |
|
|
|
|
|
<update>Y</update> |
|
|
|
|
|
</value> |
|
|
|
|
|
<value> |
|
|
|
|
|
<name>VALOR_BRUTO</name> |
|
|
|
|
|
<rename>CTOBRUTOVDA</rename> |
|
|
|
|
|
<update>Y</update> |
|
|
|
|
|
</value> |
|
|
|
|
|
<value> |
|
|
|
|
|
<name>REFERENCIA</name> |
|
|
|
|
|
<rename>REFERENCIA</rename> |
|
|
|
|
|
<update>N</update> |
|
|
|
|
|
</value> |
|
|
|
|
|
<value> |
|
|
|
|
|
<name>CHAVE_CATEGORIA_PAI</name> |
|
|
|
|
|
<rename>CHAVE_CATEGORIA_PAI</rename> |
|
|
|
|
|
<update>N</update> |
|
|
|
|
|
</value> |
|
|
|
|
|
<value> |
|
|
|
|
|
<name>CHAVE_CATEGORIA</name> |
|
|
|
|
|
<rename>CHAVE_CATEGORIA</rename> |
|
|
|
|
|
<update>N</update> |
|
|
|
|
|
</value> |
|
|
|
|
|
</lookup> |
|
|
|
|
|
<cluster_schema/> |
|
|
|
|
|
<remotesteps> |
|
|
|
|
|
<input> |
|
|
|
|
|
</input> |
|
|
|
|
|
<output> |
|
|
|
|
|
</output> |
|
|
|
|
|
</remotesteps> |
|
|
|
|
|
<GUI> |
|
|
|
|
|
<xloc>608</xloc> |
|
|
|
|
|
<yloc>64</yloc> |
|
|
|
|
|
<draw>Y</draw> |
|
|
|
|
|
</GUI> |
|
|
|
|
|
</step> |
|
|
|
|
|
<step> |
|
|
|
|
|
<name>Adicionar Constantes Falha</name> |
|
|
|
|
|
<type>Constant</type> |
|
|
|
|
|
<description/> |
|
|
|
|
|
<distribute>Y</distribute> |
|
|
|
|
|
<custom_distribution/> |
|
|
|
|
|
<copies>1</copies> |
|
|
|
|
|
<partitioning> |
|
|
|
|
|
<method>none</method> |
|
|
|
|
|
<schema_name/> |
|
|
|
|
|
</partitioning> |
|
|
|
|
|
<fields> |
|
|
|
|
|
<field> |
|
|
|
|
|
<name>TIPO</name> |
|
|
|
|
|
<type>Number</type> |
|
|
|
|
|
<format/> |
|
|
|
|
|
<currency/> |
|
|
|
|
|
<decimal/> |
|
|
|
|
|
<group/> |
|
|
|
|
|
<nullif>1</nullif> |
|
|
|
|
|
<length>1</length> |
|
|
|
|
|
<precision>-1</precision> |
|
|
|
|
|
<set_empty_string>N</set_empty_string> |
|
|
|
|
|
</field> |
|
|
|
|
|
<field> |
|
|
|
|
|
<name>STATUS_FALHA</name> |
|
|
|
|
|
<type>Number</type> |
|
|
|
|
|
<format/> |
|
|
|
|
|
<currency/> |
|
|
|
|
|
<decimal/> |
|
|
|
|
|
<group/> |
|
|
|
|
|
<nullif>0</nullif> |
|
|
|
|
|
<length>1</length> |
|
|
|
|
|
<precision>-1</precision> |
|
|
|
|
|
<set_empty_string>N</set_empty_string> |
|
|
|
|
|
</field> |
|
|
|
|
|
</fields> |
|
|
|
|
|
<cluster_schema/> |
|
|
|
|
|
<remotesteps> |
|
|
|
|
|
<input> |
|
|
|
|
|
</input> |
|
|
|
|
|
<output> |
|
|
|
|
|
</output> |
|
|
|
|
|
</remotesteps> |
|
|
|
|
|
<GUI> |
|
|
|
|
|
<xloc>608</xloc> |
|
|
|
|
|
<yloc>176</yloc> |
|
|
|
|
|
<draw>Y</draw> |
|
|
|
|
|
</GUI> |
|
|
|
|
|
</step> |
|
|
|
|
|
<step> |
|
|
|
|
|
<name>Adicionar data falha</name> |
|
|
|
|
|
<type>SystemInfo</type> |
|
|
|
|
|
<description/> |
|
|
|
|
|
<distribute>Y</distribute> |
|
|
|
|
|
<custom_distribution/> |
|
|
|
|
|
<copies>1</copies> |
|
|
|
|
|
<partitioning> |
|
|
|
|
|
<method>none</method> |
|
|
|
|
|
<schema_name/> |
|
|
|
|
|
</partitioning> |
|
|
|
|
|
<fields> |
|
|
|
|
|
<field> |
|
|
|
|
|
<name>data_falha</name> |
|
|
|
|
|
<type>system date (fixed)</type> |
|
|
|
|
|
</field> |
|
|
|
|
|
</fields> |
|
|
|
|
|
<cluster_schema/> |
|
|
|
|
|
<remotesteps> |
|
|
|
|
|
<input> |
|
|
|
|
|
</input> |
|
|
|
|
|
<output> |
|
|
|
|
|
</output> |
|
|
|
|
|
</remotesteps> |
|
|
|
|
|
<GUI> |
|
|
|
|
|
<xloc>608</xloc> |
|
|
|
|
|
<yloc>288</yloc> |
|
|
|
|
|
<draw>Y</draw> |
|
|
|
|
|
</GUI> |
|
|
|
|
|
</step> |
|
|
|
|
|
<step> |
|
|
|
|
|
<name>Adicionar Constantes Sucesso</name> |
|
|
|
|
|
<type>Constant</type> |
|
|
|
|
|
<description/> |
|
|
|
|
|
<distribute>Y</distribute> |
|
|
|
|
|
<custom_distribution/> |
|
|
|
|
|
<copies>1</copies> |
|
|
|
|
|
<partitioning> |
|
|
|
|
|
<method>none</method> |
|
|
|
|
|
<schema_name/> |
|
|
|
|
|
</partitioning> |
|
|
|
|
|
<fields> |
|
|
|
|
|
<field> |
|
|
|
|
|
<name>TIPO</name> |
|
|
|
|
|
<type>Number</type> |
|
|
|
|
|
<format/> |
|
|
|
|
|
<currency/> |
|
|
|
|
|
<decimal/> |
|
|
|
|
|
<group/> |
|
|
|
|
|
<nullif>1</nullif> |
|
|
|
|
|
<length>1</length> |
|
|
|
|
|
<precision>-1</precision> |
|
|
|
|
|
<set_empty_string>N</set_empty_string> |
|
|
|
|
|
</field> |
|
|
|
|
|
<field> |
|
|
|
|
|
<name>STATUS_SUCESSO</name> |
|
|
|
|
|
<type>Number</type> |
|
|
|
|
|
<format/> |
|
|
|
|
|
<currency/> |
|
|
|
|
|
<decimal/> |
|
|
|
|
|
<group/> |
|
|
|
|
|
<nullif>2</nullif> |
|
|
|
|
|
<length>1</length> |
|
|
|
|
|
<precision>-1</precision> |
|
|
|
|
|
<set_empty_string>N</set_empty_string> |
|
|
|
|
|
</field> |
|
|
|
|
|
</fields> |
|
|
|
|
|
<cluster_schema/> |
|
|
|
|
|
<remotesteps> |
|
|
|
|
|
<input> |
|
|
|
|
|
</input> |
|
|
|
|
|
<output> |
|
|
|
|
|
</output> |
|
|
|
|
|
</remotesteps> |
|
|
|
|
|
<GUI> |
|
|
|
|
|
<xloc>752</xloc> |
|
|
|
|
|
<yloc>64</yloc> |
|
|
|
|
|
<draw>Y</draw> |
|
|
|
|
|
</GUI> |
|
|
|
|
|
</step> |
|
|
|
|
|
<step> |
|
|
|
|
|
<name>Adicionar data sucesso</name> |
|
|
|
|
|
<type>SystemInfo</type> |
|
|
|
|
|
<description/> |
|
|
|
|
|
<distribute>Y</distribute> |
|
|
|
|
|
<custom_distribution/> |
|
|
|
|
|
<copies>1</copies> |
|
|
|
|
|
<partitioning> |
|
|
|
|
|
<method>none</method> |
|
|
|
|
|
<schema_name/> |
|
|
|
|
|
</partitioning> |
|
|
|
|
|
<fields> |
|
|
|
|
|
<field> |
|
|
|
|
|
<name>data_sucesso</name> |
|
|
|
|
|
<type>system date (fixed)</type> |
|
|
|
|
|
</field> |
|
|
|
|
|
</fields> |
|
|
|
|
|
<cluster_schema/> |
|
|
|
|
|
<remotesteps> |
|
|
|
|
|
<input> |
|
|
|
|
|
</input> |
|
|
|
|
|
<output> |
|
|
|
|
|
</output> |
|
|
|
|
|
</remotesteps> |
|
|
|
|
|
<GUI> |
|
|
|
|
|
<xloc>912</xloc> |
|
|
|
|
|
<yloc>64</yloc> |
|
|
<draw>Y</draw> |
|
|
<draw>Y</draw> |
|
|
</GUI> |
|
|
</GUI> |
|
|
</step> |
|
|
</step> |
|
|
<step_error_handling> |
|
|
<step_error_handling> |
|
|
|
|
|
<error> |
|
|
|
|
|
<source_step>Atualizar Log 2</source_step> |
|
|
|
|
|
<target_step>Inserir dados - Vitruvio</target_step> |
|
|
|
|
|
<is_enabled>Y</is_enabled> |
|
|
|
|
|
<nr_valuename/> |
|
|
|
|
|
<descriptions_valuename/> |
|
|
|
|
|
<fields_valuename/> |
|
|
|
|
|
<codes_valuename/> |
|
|
|
|
|
<max_errors/> |
|
|
|
|
|
<max_pct_errors/> |
|
|
|
|
|
<min_pct_rows/> |
|
|
|
|
|
</error> |
|
|
|
|
|
<error> |
|
|
|
|
|
<source_step>Inserir dados - Vitruvio</source_step> |
|
|
|
|
|
<target_step>Adicionar Constantes Falha</target_step> |
|
|
|
|
|
<is_enabled>Y</is_enabled> |
|
|
|
|
|
<nr_valuename/> |
|
|
|
|
|
<descriptions_valuename/> |
|
|
|
|
|
<fields_valuename/> |
|
|
|
|
|
<codes_valuename/> |
|
|
|
|
|
<max_errors/> |
|
|
|
|
|
<max_pct_errors/> |
|
|
|
|
|
<min_pct_rows/> |
|
|
|
|
|
</error> |
|
|
</step_error_handling> |
|
|
</step_error_handling> |
|
|
<slave-step-copy-partition-distribution> |
|
|
<slave-step-copy-partition-distribution> |
|
|
</slave-step-copy-partition-distribution> |
|
|
</slave-step-copy-partition-distribution> |
|
|
|