Oracle R12 x DFE Integration Installation procedures



Documentos relacionados
Manual de Integração Oracle R12 x DFe. Versão 1.6 Outubro/2012

Easy Linux! FUNAMBOL FOR IPBRICK MANUAL. IPortalMais: a «brainware» company Manual

Easy Linux! FUNAMBOL FOR IPBRICK MANUAL. IPortalMais: a «brainmoziware» company Manual Jose Lopes

Universidade da Beira Interior. Sistemas Distribuídos /2015 Curso: Engª Informática. Folha 11. JAX-RS: Java API for RESTful Web Services

VGM. VGM information. ALIANÇA VGM WEB PORTAL USER GUIDE June 2016

Aqui pode escolher o Sistema operativo, e o software. Para falar, faça download do Cliente 2.

Métodos Formais em Engenharia de Software. VDMToolTutorial

NOVO SISTEMA DE CORREIO ELETRONICO PARA OS DOMINIOS ic.uff.br & dcc.ic.uff.br

User Guide Manual de Utilizador

Versão: 1.0. Segue abaixo, os passos para o processo de publicação de artigos que envolvem as etapas de Usuário/Autor. Figura 1 Creating new user.

BR localization: Hotfix 002. Technical documentation Documentação Técnica Version Nov 27, de novembro de 2018

Uma solução possível para garantir, em ambiente APEX, a consistência duma estrutura ISA total e disjuntiva.

Accessing the contents of the Moodle Acessando o conteúdo do Moodle

BR localization: Hotfix 109. Technical documentation Documentação Técnica Version Oct 23, de outubro de 2018

hdd enclosure caixa externa para disco rígido

Project Management Activities

11g Wireless Broadband Router (Roteador banda-larga sem fio- Wireless G) Quick Installation Guide

Manual de Instalação

Manual de Instalação e Configuração MySQL

VGM. VGM information. ALIANÇA VGM WEB PORTAL USER GUIDE September 2016

2. Execute o arquivo com o comando a seguir: sudo./alfresco-community-4.2.b-installer-linux-x64.bin

Guia para criar aplicações simples em APEX/ Guide to create simple Apex applications (perte I)

Serviços: API REST. URL - Recurso

Manual de Instalação Versão 1.0

Criar o diagrama entidade associação do exemplo do hotel no Oracle Designer

Completing your Participant Agreement Como preencher o Contrato de Participação

SATA 3.5. hd:basic. hdd enclosure caixa externa para disco rígido

Click the + sign to add new server details. Clique no sinal de "+" para adicionar novos detalhes do servidor. Enter a friendly name for your BI Server

Criar uma aplicação JPA2 com EclipseLink e H2

Presentation: MegaVoz Contact Center Tool

Instalação e configuração do Server Core - Windows Server 2008 (Longhorn) Parte 2

MTM MANUAL DE INSTALAÇÃO DE ADEMPIERE NO LINUX DEBIAN

User Manual. Linksys PAP2 Broadband Phone Service. Linhagratuita grupo csdata

BR localization: Hotfix 003. Technical documentation Documentação Técnica Version Dec 12, de Dezembro de 2018

MySQL. Prof. César Melo. com a ajuda de vários

Intellectual Property. IFAC Formatting Guidelines. Translated Handbooks

BR localization: Hotfix 117. Technical documentation Documentação Técnica Version Fev 12, de fevereiro de 2019

para que Software Produto: Página: 6.0 Introdução O Aker Firewall não vem com Configuração do PPPoE Solução

manualdepsiquiatriainfant il manual de psiquiatria infantil

Como Mudar a Senha do Roteador Pelo IP o.1.1. Configure e Altere a Senha do seu Roteador acessando o IP Acesse o Site e Confira!

PURCHASE-TO-PAY SOLUTIONS

ONLINE SUBMISSION Revisor

2 Categorias Categories Todas as categorias de actividade são apresentadas neste espaço All activity categories are presented in this space

MT BOOKING SYSTEM BACKOFFICE. manual for management

Aceder à plataforma do concurso Accessing the call for applications platform. Submeter documentos Upload documents. Apagar documentos Delete documents

WATER MATTRESS MASSAGE SYSTEM 20439

NORMAS PARA AUTORES. As normas a seguir descritas não dispensam a leitura do Regulamento da Revista Portuguesa de Marketing, disponível em

MANUAL DE DEPLOY DFE V3 SERVIDOR DE APLICAÇÃO WEBLOGIC

Sistemas Operativos - Mooshak. 1 Mooshak. in fct.ualg.pt/. mooshak.deei.fct.ualg.pt/.

ÍNDICE PORTUGUÊS INDEX ENGLISH

Addition of Fields in Line Item Display Report Output for TCode FBL1N/FBL5N

Motor PTC Kit. Kit PTC del Motor. Kit PTC do Motor SSW-07 / SSW-08

Instalação do cliente VPN Cisco em Linux

MANUAL DE DEPLOY DFE V3 SERVIDOR DE APLICAÇÃO WEBLOGIC

PROCEDIMENTOS NECESSÁRIOS ANTES DE UTILIZAR O EQUIPAMENTO. Instalação do Rasther PC. Habilitação das Montadoras

Implementing a Data Warehouse with Microsoft SQL Server 2014 (20463)

Ativação padrão Factory Talk, via Internet

IoT-FND: Incapaz de verificar a Conexão ao base de dados. Exceção: java.sql.sqlexception: ORA-28001: a senha expirou

Scientific data repositories: the USP experience

A Aviação no Comércio Europeu de Licenças de Emissão Especificidades para pequenos emissores

How to use the system. Meike Borstelmann

Esta nota apresenta como definir o SSL VPN no roteador Vigor.

1 Criar uma entity a partir de uma web application que usa a Framework JavaServer Faces (JSF)

Curso CP100A - Google Cloud Platform Fundamentals (8h)

INSTALAR O SQL SERVER NO SERVIDOR. (É o caso da Zervan, que existe o servidor da Fernanda e queremos instalar um outro na máquina de Lilian)

Instruções de Instalação do Agente RMON2

MANUAL DE DEPLOY DFE V3 SERVIDOR DE APLICAÇÃO GLASSFISH

Para iniciar um agente SNMP, usamos o comando snmpd. Por padrão, aceita requisições na porta 161 (UDP).

Para estabelecer uma conexão através de ODBC entre uma aplicação e uma base de dados, necessitará três coisas:

Step by step to make the appointment at the Federal Police

Utilizando subversion como controle de versão

INSTALANDO E CONFIGURANDO O MY SQL

Laboratório 5. Base de Dados II 2008/2009

Integração entre o IBM HTTP SERVER, APACHE WEB Server e IBM Websphere Application Server

CODIGOS CONTROLE RS232 Matrix HDMI 4x2 Control EDID/RS232 (GB )

Tema: Oracle Weblogic Administration 11g

Guia para criar aplicações simples em APEX/ Guide to create simple Apex applications (parte II)

Para iniciar um agente SNMP, usamos o comando snmpd. Por padrão, aceita requisições na porta 161 (UDP).

Manual de Comandos Úteis OpenSSL para Certificados Digitais

Transcript name: 1. Introduction to DB2 Express-C

HISTOLOGIA E BIOLOGIA CELULAR. UMA INTRODUçãO À PATOLOGIA (EM PORTUGUESE DO BRASIL) BY ABRAHAM L. KIERSZENBAUM

Planning for and Managing Devices in the Enterprise: Enterprise Management Suite (EMS) & On-Premises Tools (20398)

Transcrição:

Oracle R12 x DFE Integration Installation procedures Version 1.6 October/2012 Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 1

Table of Contents 1. Revision... 2 2. Scope... 3 3. Audience... 3 4. Pre-Requisites... 3 5. Database Configuration... 5 5.1. Schema XXISV configuration... 5 6. Environment configuration (BPEL and OAS servers)... 6 6.1. BusinessEvent configuration... 6 6.2. Create the events... 6 6.3. Connection configuration... 10 6.3.1. Connection Pool example... 11 6.3.2. Data Sources creation example... 17 6.3.3. Connection Factory creation example... 18 6.4. Install the Integration Configuration... 20 6.5. BPEL services deploy... 24 1. Revision Data da Revisão Versão Documento Executor Assunto Revisado 03/05/2010 1.0 Alexandre Souza Document creation 03/10/2010 1.1 Alexandre Souza New requisites and document revision 16/08/2011 1.1 Alexandre Souza New instructions for seting Oracle EBS setup for integrations. Removal of instructions for creating event oracle.apps.synchro.reimpressao.reenvio 24/10/2012 1.6 Alexandre Souza Data source creation example revied. Parameter Transaction Level should be Local Transaction Only Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 2

2. Scope This document aims to list / explain the installation procedures of the integration between Oracle R12 and Synchro NFe Manager. 3. Audience IT people responsible by the installation of the integration. 4. Pre-Requisites 1. Execution Environment (both environments are approved): a. Oracle BPEL v10.1.3.1 Oracle Application Server Release 3 (10.1.3.1) b. Oracle BPEL v10.1.3.4 Oracle Application Server Release 3 (10.1.3.4) 2. Oracle Applications R12 Patches: a. 7000001 R12: SPED - BRAZILIAN SPED PHASE I (see note 753705.1) b. Localization Brazil (install the most recent localization kit available at the installation time. If needed, open a ticket at Oracle support); c. Notification architecture and views CLL (note 960846.1): i. Patch 8931153; ii. Patch 9124703; iii. Patch 9278993; iv. Patch 9315891; v. Patch 9645530; vi. Patch 9701975; vii. Patch 10096982. 3. EBS Setup: a. NFe Setup and IBGE codes for Customers/Suppliers (note 753705.1 ); i. Obs. There is not an IBGE setup for Inventory Organization, because of this we recommend a Flexfield creations in the inventory organization setup to inform the IBGE codes for each organization. b. Criação do Usuário XXISV (note 960846.1); c. Activate profile CLL_F255: Enable Business Events for ISV to Yes, to enable the notification architecture. Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 3

d. Define lookup CLL_F255_ISV_EVENTS with the following information (insert): Code: SYNCHRO Meaning: XXISV.XXISV_SYNCHRO_EVENTS Description: Tabela de eventos Synchro Tag: BPEL Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 4

Para mais informações consulte ISV Integration Solution User Guide disponível no note 960846.1. 4. DF-e Connector v 1.7 Build 01 5. Database Configuration In this section, we will describe the procedure to install the database scripts, that will create tables and scripts in the XXISV schema, according to Oracle policy for ISVs. 5.1. Schema XXISV configuration Grants: Log-in into APPS schema with a SQL tool (such as SQL*Plus, toad etc.) and run the script GRANTS.sql, located in the folder XXISV of the installation kit. This script will grant select and execute rights to the XXISV schema; Table creation: Log-in into the Oracle schema XXISV with a SQL tool (such as SQL*Plus, toad etc.) and run the script TABELAS.sql, located in the folder XXISV of the installation kit; If the customer already has the Synchro Fiscal Solution installed the following tables will also exist in the Synchro schema: o o o o EXPBR_SYN_PAR_INTEGRACAO EXPBR_SYN_PAR_PARAMETROS EXPBR_SYN_PAR_LISTA_VALORES EXPBR_SYN_PAR_VALORES In such case, drop these tables from the XXISV schema and create synonyms to the Synchro schema, instead. Please remember to grant insert, update and delete rights for these tables from the Synchro schema to the XXISV schema. Synonym creation: Log-in into the Oracle schema XXISV with a SQL tool (such as SQL*Plus, toad etc.) and run the script SINONIMOS.sql, located in the folder XXISV of the installation kit; Views creation: Log-in into the Oracle schema XXISV with a SQL tool (such as SQL*Plus, toad etc.) and run the script VIEWS.sql, located in the folder XXISV of the installation kit; Functions creation: Log-in into the Oracle schema XXISV with a SQL tool (such as SQL*Plus, toad etc.) and run the script FUNCTIONS.sql, located in the folder XXISV of the installation kit; Procedures creation: Log-in into the Oracle schema XXISV with a SQL tool (such as SQL*Plus, toad etc.) and run the script PROCEDURES.sql, located in the folder XXISV of the installation kit; Packages creation: Log-in into the Oracle schema XXISV with a SQL tool (such as SQL*Plus, toad etc.) and run the script PACKAGE.sql, located in the folder XXISV of the installation kit; Data load: Log-in into the Oracle schema XXISV with a SQL tool (such as SQL*Plus, toad etc.) and run the scripts expbr_syn_par_integracao.sql and syn_usuario.sql, located in the folder INSERTS of the integration kit; Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 5

Obs. In this same folder there is a script Inclui_sequences_conector.sql. This script should be run in the Schema where the product conector padrão was installed, only if it is Oracle Database. In caso of the data base is no Oracle, two rows should be inserted in the table NFE_SEQUENCE, as follow: NOME_TABELA VALOR NFE_CONTROLE 1 NFE_XML 1 6. Environment configuration (BPEL and OAS servers) 6.1. BusinessEvent configuration It is necessary to create new Business Events inside Oracle Application R12. The steps to do that are the following: The two events to be created are: - oracle.apps.synchro.invoice.complete - oracle.apps.synchro.reimpressao.reenvio (not used) The steps to create both events are very similar and must be done according to the following examples: Atention: It is necessary to check whether the Oracle core business events oracle.apps.cll.eb.invoice.actionsnfe e oracle.apps.cll.ra_customer_trx are enabled, please check with oracle EBS system administrator. 6.2. Create the events In the responsibility SYSADMIN, select the option Create Event Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 6

Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 7

In the next screen, inform the following data and then press the Apply buttom: Name Display Name Description Status Owner Name Owner Tag oracle.apps.synchro.invoice.complete Synchro NFe invoice complete Synchro NFe invoice complete Enabled FND FND Press the Create Subscription buttom: Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 8

In the next screen, inform the following data: System: Select the desired option (according to the customer) Source Type: Local Event Filter: oracle.apps.synchro.invoice.complete Phase: 202 Status: Enabled Rule Data: Message Action Type: Send to Agent On Error: Stop and Rolback After that, press Next : Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 9

In the next screen, add the following information: Action Out Agent: WF_BPEL_QAGENT Priority: Normal Owner Name: Oracle Workflow Owner Tag: FND Description: Subscription for enqueuing event in WF_BPEL_Q (<<event name>>) After that, press Apply. 6.3. Connection configuration It is necessary to create connections in the Application Server in order to allow BPEL to connect to the database. These connections must be created according to the following data (do not change the values written in red): Attention, described below are the connections that must be created, use the example (topic below to create the same). Ex Connection Pool = Example of Creating Connection Pool Example Datasource = creation date Sources Connection Factory = Example of Creating Connection Factory 1) Connection with XXISV Schema Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 10

Connection Pool: SynchroBpelXXISVDs Datasource: SynchroBpelXXISVDs Connection Factory to DbAdapter o Name: eis/db/synchrobpelxxisvfactory o Property xadatasourcename: jdbc/synchrobpelxxisvds 2) Connection with APPS Schema Connection Pool: SynchroBpelAPPSDs Datasource: SynchroBpelAPPSDs Connection Factory to DbAdapter and AppsAdapter o Name: eis/db/synchrobpelappsfactory o Property xadatasourcename: jdbc/synchrobpelappsds Connection Factory to AppsAdapter o Name: eis/apps/synchrobpelappsfactory o Property xadatasourcename: jdbc/synchrobpelappsds 3) Connection with DFe Connector Schema (where the connector tables are installed at) Connection Pool: SynchroBpelNfeDs Datasource: SynchroBpelNfeDs Connection Factory to DbAdapter o Name: eis/db/synchrobpelnfefactory o Property xadatasourcename: jdbc/synchrobpelnfeds 6.3.1. Connection Pool example p.s. The following images are just an example of how to create connections, the correct values are written in topic 6.3. 1) Log-in into your Oracle Application Server Control; Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 11

2) At Cluster Topology, select the SOA instance, created at the Application Server. This instance is where the BPEL application was installed at and can have any name, according to the DBA preferences at the creation moment. Is our example, its name is home : 3) At SOA instance, select Administration Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 12

4) At Administration select Services > JDBC Resources 5) At JDBC Resources > Connections Pools, press Create Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 13

6) At Create Connection Pool Application > Connection Pool Type select New Connection Pool and press Continue ; 7) At Create Connection Pool, at tab Home, fulfill the fields as below: Name: Connection Factory Class: JDBC URL: UserName: Password: Type the Connection Pool name, for exemple : NFE_CP Use the default class: oracle.jdbc.pool.oracledatasource Change the connect string according to the database information: jdbc:oracle:thin:@//<servername>:port/sid: Type the schema name: <userid> Type the schema s password: <password> Important: Please notice that Username and Password are customer specific information. Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 14

8) At the Attributes tab, fulfill the data as below: Minimum Number of Connections: Type the minimum connections that the pool should open: 10 Maximum Number of Connections: Type the maxim number of connection the pool can open: 35 Inactivity Timeout: Type the time, in seconds, after which one inactive connection can be closed: 60 Wait For Used Connection Timeout: Type the maximum time, in seconds, that the processes will wait for a connection before raising an error: 60 Abandoned Connection Timeout: Type the maximum time, in seconds, that configures an aboandoned connection: 180. Important: Please notice that these values are suggested. You must fine tune them in order to fit your installation. We strongly recommend that you set the maximum number of connections to a number greater than 30. 9) Press Finish ; Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 15

10) To test the database connection, go to JDBC Resources > Connection Pools, find the recently created connection pool (according to the example below), and press Test Connection : 11) At Test Connection : <<connection name>> press Test: 12) You may receive the message below. Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 16

6.3.2. Data Sources creation example 1) At JDBC Resources > Data Sources, press Create: 2) At Create Data Source Application & Type > Data Source Type select Managed Data Source and press Continue : Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 17

3) At Create Data Source Managed Data Source fulfill the following data: Name: JNDI Location: Transaction Level: Connection Pool: Login Timeout (seconds): Type the Data Source name. For example, NFE_DS Type the JNDI Name. For example, jdbc/nfe_ds Use the value: Local Transactions Only Use the connection created above, at the step 4.1 (in our example, NFE_CP) Type the maxim time, in seconds, that the processes should wait for a login. Atention!!! The parameter Transaction Level should be Local Transactions O nly. 4) Press Finish. 6.3.3. Connection Factory creation example 1) Select the application DbAdapter of your SOA topology; Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 18

2) Press the option Connection Factories ; 3) Press Create 4) Fulfill the following data: JNDI Location xadatasourcename eis/db/synchrobpelnfefactory jdbs/synchrobpelnfeds 5) Press Finish. Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 19

6.4. Install the Integration Configuration 1) Select the Application Server topology; 2) Press Applications ; 3) Press Deploy ; 4) At the option Storage, select the file SynchroNfeR12ParametrizacaoWeb.war, available at the integration kit; Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 20

5) Press Next ; 6) At the option Application Name, type SynchroNFeR12Parametrizacao and press Next ; 7) Select the option Configure Class Loader ; Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 21

8) Uncheck the option Import for the libraries oracle.xml and oracle.xml.security ; 9) Press OK and Disponibilizar ; 10) The deploy state should be Completed ; Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 22

11) At the Application Server, find the application SynchroNfeR12Parametrizacao 12) At the Modules option, select SynchroNfeR12Parametrizacao ; Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 23

13) To test the application, press Test Web Module : 14) The login screen should be displayed: 6.5. BPEL services deploy At this step, we will we will make the BPEL services available to the Oracle Applications and update the Oracle APIs. The processes must be deployed in the following order: bpel_synchronfer12emissao_1.0.jar; bpel_synchronfer12retornoemissao_1.0.jar; bpel_synchronfer12main_1.0.jar; bpel_synchrobpelnfecontrol_1.0.jar. bpel_synchronfer12reimpressaoreenvio_1.0.jar The steps to this task are explained below: Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 24

1) Log-in into the BPEL Admin: 2) At the tab BPEL Domains press Create a new BPED Domain Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 25

3) Create a new domain where you will deploy the Synchro Services. Check the required data below: Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 26

4) Log-out from BPEL Admin and log-in at the BPEL Console: 5) Select the domain created above and press Create New Process : 6) Select the.jar file that is located in the folder BPEL from the installation kit. After the upload, press Create : Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 27

Copyright 1991. Synchro Sistemas de Informação Ltda Manual para Integração Oracle R12 x Dfe 28