Histórico da Página
HTML |
---|
<div id="main-content" class="wiki-content group">
<p>The Microsiga Protheus line allows all routines listed in the
Menu to be run without going through the user menu.</p>
<p>This operation can be performed in two different ways:</p>
<ul>
<li>Via SmartClient</li>
<li>Via SmartClientHTML</li>
</ul>
<div>
To perform this task, start the <strong>SIGABPM</strong> routine using
the - p parameter of TOTVS | SmartClient and provide the following
information:
</div>
<div>
<ol>
<li>Numeric code of the Microsiga Protheus module</li>
<li>Name of the menu Routine that will be called</li>
</ol>
</div>
<div>By doing so, the system can request user authentication in
Microsiga Protheus, according to the security policy parameters, and
enter directly into the routine, respecting the logged-in user access.</div>
<h1
id="id-3.0ComoinvocarumarotinadoMicrosigaProtheus-Invocandoumarotinavialinhadecomando-TOTVS|SmartClient">Calling
a routine through the command line - TOTVS | SmartClient</h1>
<p class="text1">
When started, <a
href="http://tdn.totvs.com/pages/viewpage.action?pageId=6066051">TOTVS
| SmartClient</a> displays the initial parameters screen, for
Environment, Connection and Initial APO identification. However, such
information can be provided through the command line of the access
icon to TOTVS | SmartClient.
</p>
<p>Through this TOTVS | SmartClient feature we can create a
shortcut to a specific product routine, as shown below:</p>
<p style="margin-left: 30.0px;">
<em>Smartclient.exe -m -p=sigabpm -e=environment -c=tcp -<span
style="color: rgb(255, 0, 0);">a=5 -a=mata010</span></em>
</p>
<p> </p>
<p>In the example above, two parameters are provided for the
initial program: the first parameter is the module code and the second
parameter is the routine name. In addition to the other parameters of
the command line of TOTVS | SmartClient</p>
<h1
id="id-3.0ComoinvocarumarotinadoMicrosigaProtheus-InvocandoumarotinaviaTOTVS|SmartClientHTML">Calling
a routine through TOTVS | SmartClientHTML</h1>
<p class="text1">
When started, <a
href="http://tdn.totvs.com/display/tec/SmartClient+HTML">TOTVS |
SmartClientHTML</a> displays the initial parameters screen, for
Environment, Connection and Initial APO identification. However, such
information can be provided through the Browser address bar accessing
TOTVS | SmartClientHTML.
</p>
<p>Through this feature of TOTVS | SmartClientHTML, we can create a
shortcut to a specific product routine, as shown below:</p>
<p style="margin-left: 30.0px;">
<a
href="http://localhost:8081/?auto=true&StartProg=SIGABPM&Comm=TCP&Env=Environment&p0=5&p1=mata410"
class="external-link" rel="nofollow">http://localhost:8081/?auto=true&<span
style="color: rgb(255, 0, 0);">StartProg=SIGABPM</span>&<span
style="color: rgb(255, 0, 0);">Comm=TCP</span>&<span
style="color: rgb(255, 0, 0);">Env=Environment</span>&<span
style="color: rgb(255, 0, 0);">p0=5<span
style="color: rgb(51, 102, 255);">&</span>p1=mata
</span></a><span style="color: rgb(255, 0, 0);"><u>010</u></span>
</p>
<p> </p>
<p>In the example above, two parameters are provided for the
initial program: the first parameter is the module code (p0) and the
second parameter(p1) is the routine name. In addition to the other
parameters of the command line of TOTVS | SmartClientHTML</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</div> |
Visão Geral
Import HTML Content
Conteúdo das Ferramentas