Histórico da Página
HTML |
---|
<div id="main-content" class="wiki-content group"> <h1 id="ConfigurarAplicativoDatasul11noFluig-Índice">Contents</h1> <p> <style type='text/css'>/*<![CDATA[*/ div.rbtoc1412695493102 { padding: 0px; } div.rbtoc1412695493102 ul { list-style: none; margin-left: 0px; } div.rbtoc1412695493102 li { margin-left: 0px; padding-left: 0px; } /*]]>*/ </style> <div class='toc-macro rbtoc1412695493102'> <ul class='toc-indentation'> <li><span class='TOCOutline'>1</span><a href='#ConfigurarAplicativoDatasul11noFluig-ConfiguraçãodeAplicativoDatasul11noFluig'> Configure Datasul 11 application on TOTVS Fluig Platform</a> <ul class='toc-indentation'> <li><span class='TOCOutline'>1.1</span> <a href='#ConfigurarAplicativoDatasul11noFluig-CadastrandooAdapter'>Registering the Adapter</a></li> <li><span class='TOCOutline'>1.2</span> <a href='#ConfigurarAplicativoDatasul11noFluig-Cadastrandooaplicativo'>Registering the application</a></li> <li><span class='TOCOutline'>1.3</span> <a href='#ConfigurarAplicativoDatasul11noFluig-PublicandoumAplicativo'>Publishing an application</a></li> <li><span class='TOCOutline'>1.4</span> <a href='#ConfigurarAplicativoDatasul11noFluig-Configurandoosparâmetrosvariáveis'>Configuring the variable parameters</a></li> </ul></li> </ul> </div> </p> <p> </p> <h1 id="ConfigurarAplicativoDatasul11noFluig-ConfiguraçãodeAplicativoDatasul11noFluig">Configure Datasul 11 application on TOTVS Fluig Platform</h1> <p>In order to execute EMS programs, it is necessary to configure the Adapter and the Application.</p> <p> </p> <p> <img class="confluence-embedded-image image-center" src="http://tdn.totvs.com/download/attachments/74645637/image2013-9-11%2013%3A47%3A43.png?version=1&modificationDate=1378917992000&api=v2" data-image-src="http://tdn.totvs.com/download/attachments/74645637/image2013-9-11%2013%3A47%3A43.png?version=1&modificationDate=1378917992000&api=v2"> </p> <p> </p> <h3 id="ConfigurarAplicativoDatasul11noFluig-CadastrandooAdapter">Registering the Adapter</h3> <p>First, it is necessary to register an adapter using the file Dtsul11Adapter.jar. For such, it is necessary to add a new adapter and on the JAR File inform:  </p> <div class="code panel pdl" style="border-width: 1px;"> <div class="codeContent panelContent pdl"> <pre class="theme: Confluence; brush: xml; gutter: false" style="font-size: 12px;">{$WDKPROTOCOL}://{$WDKHOST}:{$WDKPORT}/{$WDKWEBHOME}/utils/Dtsul11Adapter.jar</pre> </div> </div> <p> </p> <p> The <em>Adapter</em> functionality is available on the <em>Control Panel</em> menu, <em>Documents</em> tab. </p> <p> <img class="confluence-embedded-image image-center" src="http://tdn.totvs.com/download/attachments/74645702/2-datasul11.png?version=1&modificationDate=1409253177000&api=v2" data-image-src="http://tdn.totvs.com/download/attachments/74645702/2-datasul11.png?version=1&modificationDate=1409253177000&api=v2"> </p> <p> </p> <h3 id="ConfigurarAplicativoDatasul11noFluig-Cadastrandooaplicativo">Registering the application</h3> <p>After registering the adapter, it is necessary to create the application that will execute Datasul 11.</p> <p> Click on add and inform the application code and description, select the Datasul 11 adapter and in the command line field, inform any character <span style="font-size: 10.0pt; line-height: 13.0pt;">(in the example below, a full stop “.” was informed), since the screen is validated if there is information in the <em>Command Line</em> field. If there is nothing informed, it will not allow the user to add the application. </span> </p> <p> <img class="confluence-embedded-image image-center" src="http://tdn.totvs.com/download/attachments/74645702/image2013-9-11%2015%3A16%3A24.png?version=1&modificationDate=1378923313000&api=v2" data-image-src="http://tdn.totvs.com/download/attachments/74645702/image2013-9-11%2015%3A16%3A24.png?version=1&modificationDate=1378923313000&api=v2"> </p> <p> </p> <p> It is also necessary to add five parameters in the </em>Parameters<em> table in the application registration. To include a parameter, just click on <em>Add</em>. </p> <p> <img class="confluence-embedded-image image-center" src="http://tdn.totvs.com/download/attachments/74645702/image2013-9-11%2015%3A20%3A48.png?version=1&modificationDate=1378923577000&api=v2" data-image-src="http://tdn.totvs.com/download/attachments/74645702/image2013-9-11%2015%3A20%3A48.png?version=1&modificationDate=1378923577000&api=v2"> </p> <p>Registered parameters must be configured according to the following table:</p> <div class="table-wrap"> <table class="confluenceTable"> <tbody> <tr> <td class="highlight-grey confluenceTd" data-highlight-colour="grey"><p> <strong>Parameter</strong> </p></td> <td class="highlight-grey confluenceTd" data-highlight-colour="grey"><p> <strong>Value</strong> </p></td> <td class="highlight-grey confluenceTd" data-highlight-colour="grey"><p> <strong>Variable per User</strong> </p></td> <td class="highlight-grey confluenceTd" data-highlight-colour="grey"><p> <strong>Password Format</strong> </p></td> </tr> <tr> <td class="confluenceTd"><p>host</p></td> <td class="confluenceTd"><p>You must enter the server name or IP</p></td> <td class="confluenceTd"><p>No</p></td> <td class="confluenceTd"><p>No</p></td> </tr> <tr> <td class="confluenceTd"><p>port</p></td> <td class="confluenceTd"><p>Inform the port of communication with the server</p></td> <td class="confluenceTd"><p>No</p></td> <td class="confluenceTd"><p>No</p></td> </tr> <tr> <td class="confluenceTd"><p>user</p></td> <td class="confluenceTd"><p>Inform the user code in Datasul 11.</p></td> <td class="confluenceTd"><p>Yes</p></td> <td class="confluenceTd"><p>No</p></td> </tr> <tr> <td class="confluenceTd"><p>password</p></td> <td class="confluenceTd"><p>Inform the user password in Datasul 11.</p></td> <td class="confluenceTd"><p>Yes</p></td> <td class="confluenceTd"><p>Yes</p></td> </tr> <tr> <td class="confluenceTd"><p>dialect</p></td> <td class="confluenceTd"><p>Inform the dialect for error message display. Possible values: "PT" (Portuguese), "EN" (English), "ES" (Spanish)</p></td> <td class="confluenceTd"><p>Optional. If not informed, the standard dialect (PT) will be assumed</p></td> <td class="confluenceTd"><p>No</p></td> </tr> </tbody> </table> </div> <div class="aui-message hint shadowed information-macro"> <p class="title">Note</p> <span class="aui-icon icon-hint">Icon</span> <div class="message-content"> <p>The parameters must be with the coed exactly as shown in column Table parameter above, respecting capitalization.</p> </div> </div> <p> </p> <h3 id="ConfigurarAplicativoDatasul11noFluig-PublicandoumAplicativo">Publishing an Application</h3> <p>In order to configure a program in Datasul 11, it is necessary to publish a new application under a folder.</p> <p> <span><img class="confluence-embedded-image image-center" src="http://tdn.totvs.com/download/attachments/74645637/image2013-9-11%2014%3A12%3A57.png?version=1&modificationDate=1378919506000&api=v2" data-image-src="http://tdn.totvs.com/download/attachments/74645637/image2013-9-11%2014%3A12%3A57.png?version=1&modificationDate=1378919506000&api=v2"></span> </p> <p> <span> </span> </p> <p>The EMS application previously configured must be selected, and in the Parameter field, the constant “Program:” must be informed, plus the Datasul program path that will be executed. Example:</p> <p> </p> <div class="code panel pdl" style="border-width: 1px;"> <div class="codeContent panelContent pdl"> <pre class="theme: Confluence; brush: xml; gutter: false" style="font-size: 12px;">Program:cdp/cd0704.w</pre> </div> </div> <p> <span><img class="confluence-embedded-image image-center" src="http://tdn.totvs.com/download/attachments/74645702/image2013-9-11%2015%3A30%3A26.png?version=1&modificationDate=1378924156000&api=v2" data-image-src="http://tdn.totvs.com/download/attachments/74645702/image2013-9-11%2015%3A30%3A26.png?version=1&modificationDate=1378924156000&api=v2"></span> </p> <p> <span> </span><span style="font-size: 10.0pt; line-height: 13.0pt;">Publishing the application, a link will be created on the selected folder. When clicking on the link, the program informed in the application parameters will be open.</span> </p> <p> </p> <h3 id="ConfigurarAplicativoDatasul11noFluig-Configurandoosparâmetrosvariáveis">Configuring the variable parameters</h3> <p> <span> </span> </p> <p>Since some parameters are variables, each user must access the User Preferences and configure these parameters. </p> <p>For example the dialect, if the user is probably Argentinian, he will probably prefer Spanish.</p> <p>He may also wish to have a specific user in Datasul 11 as a preference, as shown below:</p> <p> <img class="confluence-embedded-image" src="http://tdn.totvs.com/download/attachments/74645702/image2013-9-11%2015%3A33%3A26.png?version=1&modificationDate=1378924335000&api=v2" data-image-src="http://tdn.totvs.com/download/attachments/74645702/image2013-9-11%2015%3A33%3A26.png?version=1&modificationDate=1378924335000&api=v2"> </p> <p> </p> <p> </p> <p> </p> </div> |
Visão Geral
Import HTML Content
Conteúdo das Ferramentas
Tarefas