Histórico da Página
...
Bloco de código | ||||||
---|---|---|---|---|---|---|
| ||||||
#Include 'Protheus.ch' User Function GFEA0551() Local cNRCALC := PARAMIXB[1] Local cTPCALC := PARAMIXB[2] Local lRet := .T. If cTPCALC == '7' cQuery := " SELECT *" cQuery += "FROM " + RetSQLName("GWF") + " GWF " cQuery += "WHERE " cQuery += " GWF_NRCALC = '" + cNRCALC + "' AND " cQuery += " GWF_TPCALC = '" + cTPCALC + "' AND " cQuery += " GWF.D_E_L_E_T_ = ''" cQuery := ChangeQuery(cQuery) cAliasGWF := GetNextAlias() dbUseArea( .T., "TOPCONN", TCGENQRY(,,cQuery),cAliasGWF, .F., .T.) dbSelectArea(cAliasGWF) (cAliasGWF)->( dbGoTop() ) While !(cAliasGWF)->(Eof()) If Alltrim((cAliasGWF)->GWF_CDTPSE) == "DESCARGA" If SuperGetMv("MV_XPFDES",.F.,"") == '1' //Serviços lRet := .T. Else lRet := .F. EndIf EndIf (cAliasGWF)->( dbSkip() ) EndDo (cAliasGWF)->( dbCloseArea() ) endifEndIf Return lRet |
Visão Geral
Import HTML Content
Conteúdo das Ferramentas
Tarefas