Páginas filhas
  • 01-Habilitar os Processos Agendados

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

Objetivo: Configurar os Processos Agendados das integrações. Com esta configuração os processos serão habilitados em “Administração > Processos Agendados”. Estes processos serão responsáveis para buscar ou enviar informações para o RM. Os processos agendados são: Sincronização do Centro de Custo (RM), Sincronização de Cliente/Fornecedor (RM), Sincronização de Contas de Custeio (Natureza Orçamentária) – RM, Sincronização de Locais de Estoque (RM), Sincronização de Movimentações (RM), Sincronização de Produto (RM) e Sincronização de Tabelas de Classificação (RM).

Editar o arquivo services_client  que se encontra no diretório “.....\PIMSMulticultivos\config\”instancia”\pimsmc_client”, e efetuar as seguintes inclusões:

Adicionar as seguintes instruções, abaixo do módulo “<provider name="enaltarex"”

<provider name="warehouseProcessIntegration" class="br.agr.proxima.geoagricola.smarterp.facade.WarehouseErpProcessExecutor" active="true">

<services>

<service name="warehouseIntegration" method="execute" />

<service name="WarehouseProcess" schedule="0 0/60 * * * ?" durable="true" cluster-name="PIMSGRAOS" group-name="PRX">

<chain>

<call service="persistence://apontamentoagricola.warehouseProcessIntegration.warehouseIntegration" />

</chain>

</service>

</services>

</provider>

<provider name="classificationTableProcessIntegration" class="br.agr.proxima.geoagricola.smarterp.facade.ClassificationTableProcessExecutor" active="true">

<services>

<service name="classificationTableIntegration" method="execute" />

<service name="ClassificationTableProcess" schedule="0 0/60 * * * ?" durable="true" cluster-name="PIMSGRAOS" group-name="PRX">

<chain>

<call service="persistence://apontamentoagricola.classificationTableProcessIntegration.classificationTableIntegration" />

</chain>

</service>

</services>

</provider>

<provider name="movementProcessIntegration" class="br.agr.proxima.geoagricola.smarterp.facade.MovementProcessExecutor" active="true">

<services>

<service name="movementIntegration" method="execute" />

<service name="MovementProcess" schedule="0 0/60 * * * ?" durable="true" cluster-name="PIMSGRAOS" group-name="PRX">

<chain>

<call service="persistence://apontamentoagricola.movementProcessIntegration.movementIntegration" />

</chain>

</service>

</services>

</provider>

<provider name="clearRmIntegrationLogs" class="br.agr.proxima.geoagricola.rmsincronizacaodados.log.ClearRmLogsExecutor" active="true">

<services>

<service name="clearLogs" method="execute" />

<service name="ClearRmIntegrationLogs" schedule="0 3 * * * ?" durable="true" cluster-name="PIMSGRAOS" group-name="PRX">

<chain>

<call service="persistence://apontamentoagricola.clearRmIntegrationLogs.clearLogs" />

</chain>

</service>

</services>

</provider>

<provider name="customerVendorProcessIntegration" class="br.agr.proxima.geoagricola.smarterp.facade.CustomerVendorProcessExecutor" active="true">

<services>

<service name="customerVendorIntegration" method="execute" />

<service name="CustomerVendorProcess" schedule="0 0/60 * * * ?" durable="true" cluster-name="PIMSGRAOS" group-name="PRX">

<chain>

<call service="persistence://apontamentoagricola.customerVendorProcessIntegration.customerVendorIntegration" />

</chain>

</service>

</services>

</provider>

<provider name="costCenterProcessIntegration" class="br.agr.proxima.geoagricola.smarterp.facade.CostCenterProcessExecutor" active="true">

<services>

<service name="costCenterIntegration" method="execute" />

<service name="CostCenterProcess" schedule="0 0/60 * * * ?" durable="true" cluster-name="PIMSGRAOS" group-name="PRX">

<chain>

<call service="persistence://apontamentoagricola.costCenterProcessIntegration.costCenterIntegration" />

</chain>

</service>

</services>

</provider>

<provider name="financialBudgetaryNatures" class="br.agr.proxima.geoagricola.smarterp.facade.FinancialBudgetaryNaturesProcessExecutor" active="true">

<services>

<service name="financialBudgetaryNaturesIntegration" method="execute" />

<service name="FinancialBudgetaryNaturesProcess" schedule="0 0/60 * * * ?" durable="true" cluster-name="PIMSGRAOS" group-name="PRX">

<chain>

<call service="persistence://apontamentoagricola.financialBudgetaryNatures.financialBudgetaryNaturesIntegration" />

</chain>

</service>

</services>

</provider>

<provider name="productProcessIntegration" class="br.agr.proxima.geoagricola.smarterp.facade.ProductProcessExecutor" active="true">

<services>

<service name="productIntegration" method="execute" />

<service name="ProductProcess" schedule="0 0/60 * * * ?" durable="true" cluster-name="PIMSGRAOS" group-name="PRX">

<chain>

<call service="persistence://apontamentoagricola.productProcessIntegration.productIntegration" />

</chain>

</service>

</services>

</provider>

Para assumir as alterações será necessário parar e subir a aplicação do Totvs Agro Multicultivos.