Árvore de páginas

Versões comparadas

Chave

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

...

Todos os parâmetros são recebidos na User Function via PARAMIXB conforme consta em Execblock / Customização.

08. EXEMPLO

...

languagecpp
titleExemplo
linenumberstrue
collapsetrue

...

------

#include "protheus.ch"

...

User

...

Function

...

WMSOSEDT()

...


Local

...

cOrigem

...

:=

...

PARAMIXB[1]

...


Local

...

cArmazem

...

:=

...

PARAMIXB[2]

...


Local

...

cEndereco

...

:=

...

PARAMIXB[3]

...

If

...

cOrigem

...

==

...

"SD1"

...

//

...

Exemplo

...

de

...

endereço

...

fixo

...

para

...

recebimento

...

de

...

notas

...

de

...

entrada
        cEndereco := "BLQENT"

...


EndIf

Return cEndereco

------


Templatedocumentos


HTML
<style>
div.theme-default .ia-splitter #main {
    margin-left: 0px;
}
.ia-fixed-sidebar, .ia-splitter-left {
    display: none;
}
#main {
    padding-left: 10px;
    padding-right: 10px;
    overflow-x: hidden;
}

.aui-header-primary .aui-nav,  .aui-page-panel {
    margin-left: 0px !important;
}
.aui-header-primary .aui-nav {
    margin-left: 0px !important;
}

.aui-tabs.horizontal-tabs>.tabs-menu>.menu-item.active-tab a::after { 
	background: #FF9900; !important 
}

.menu-item.active-tab { 
	border-bottom: none !important; 
}

</style>