#include 'protheus.ch'
#include 'parmtype.ch'
user function PLSXMLVLR()
local dDatRea := ParamIXB[01]
local cHorIni := ParamIXB[02]
local cHorFin := ParamIXB[03]
local cSlvPad := ParamIXB[04]
local cSlvPro := ParamIXB[05]
local cCodDes := ParamIXB[06]
local cUnidMed := ParamIXB[07]
local nQtd := ParamIXB[08]
local cViaAces := ParamIXB[09]
local cTecUti := ParamIXB[10]
local nVlrApr := ParamIXB[11]
local nVlrTotPrc := ParamIXB[12]
local cRedAcr := ParamIXB[13]
local aDados := ParamIXB[14]
local cTpProc := ParamIXB[15]
local aRet := {nVlrApr,nVlrTotPrc}
MsgInfo(;
"<dataExecucao>" + AllTrim(DtoC(dDatRea)) + "</dataExecucao>" + CRLF +;
"<horaInicial>" + AllTrim(cHorIni) + "</horaInicial>" + CRLF +;
"<horaFinal>" + AllTrim(cHorFin) + "</horaFinal>" + CRLF +;
"<codigoTabela>" + AllTrim(cSlvPad) + "</codigoTabela>" + CRLF +;
"<codigoProcedimento>" + AllTrim(cSlvPro) + "</codigoProcedimento>" + CRLF +;
"<codigoDespesa>" + AllTrim(cCodDes) + "</codigoDespesa>" + CRLF +;
"<unidadeMedida>" + AllTrim(cUnidMed) + "</unidadeMedida>" + CRLF +;
"<quantidadeExecutada>" + AllTrim(STR(nQtd)) + "</quantidadeExecutada>" + CRLF +;
"<viaAcesso>" + AllTrim(cViaAces) + "</viaAcesso>" + CRLF +;
"<tecnicaUtilizada>" + AllTrim(cTecUti) + "</tecnicaUtilizada>" + CRLF +;
"<reducaoAcrescimo>" + AllTrim(cRedAcr) + "</reducaoAcrescimo>" + CRLF +;
"<valorUnitario>" + AllTrim(STR(nVlrApr)) + "</valorUnitario>" + CRLF +;
"<valorTotal>" + AllTrim(STR(nVlrTotPrc)) + "</valorTotal>" + CRLF;
)
return aRet