20190117;104440;19996;REPCONTRAT(703);Inicio de Função;TMA310OPER;{|| lOk := TMA310Oper( DTR->DTR_CODOPE, DTQ->DTQ_FILORI, DTQ->DTQ_VIAGEM, @aMsgErr, nOpcx, DTR->DTR_CODVEI, .T.  )};Administrador
20190117;104440;19996;REPCONTRAT(1101);EmiteContrato - Instanciando          5;TMA310OPER;{|| lOk := TMA310Oper( DTR->DTR_CODOPE, DTQ->DTQ_FILORI, DTQ->DTQ_VIAGEM, @aMsgErr, nOpcx, DTR->DTR_CODVEI, .T.  )};Administrador
20190117;104440;19996;REPCONTRAT(1103);EmiteContrato - Instanciado;TMA310OPER;{|| lOk := TMA310Oper( DTR->DTR_CODOPE, DTQ->DTQ_FILORI, DTQ->DTQ_VIAGEM, @aMsgErr, nOpcx, DTR->DTR_CODVEI, .T.  )};Administrador
20190117;104452;19996;REPCONTRAT(1337);CancelaContrato - Consumido OK .T.;TMA310OPER;{|| lOk := TMA310Oper( DTR->DTR_CODOPE, DTQ->DTQ_FILORI, DTQ->DTQ_VIAGEM, @aMsgErr, nOpcx, DTR->DTR_CODVEI, .T.  )};Administrador
20190117;104452;19996;REPCONTRAT(1373);CancelaContrato - Del DES 2222000237;TMA310OPER;{|| lOk := TMA310Oper( DTR->DTR_CODOPE, DTQ->DTQ_FILORI, DTQ->DTQ_VIAGEM, @aMsgErr, nOpcx, DTR->DTR_CODVEI, .T.  )};Administrador
20190117;105321;24120;REPVLDABER(2487);Inicio de Função;TMS240VLAB;{||lRet := TMS240VlAb(	M->DTR_CODOPE, AllTrim(aMotViag[nX][2][nZ][nPosIdOpe]), AllTrim(aMotViag[nX][2][nZ][nPosTipMot]), GdFieldGet("DTR_CODVEI",nA), AllTrim(aMotViag[nX][2][nZ][nPosCodMot]), GdFieldGet("DTR_CODRB1",nA), GdFieldGet("DTR_VALFRE",nA), nAdtoAux, Iif(lTipCrg,M->DTR_TIPCRG,"1")   )};Administrador
20190117;105321;24120;REPVLDABER(2618);ValidaAberturaContrato - Instanciando;TMS240VLAB;{||lRet := TMS240VlAb(	M->DTR_CODOPE, AllTrim(aMotViag[nX][2][nZ][nPosIdOpe]), AllTrim(aMotViag[nX][2][nZ][nPosTipMot]), GdFieldGet("DTR_CODVEI",nA), AllTrim(aMotViag[nX][2][nZ][nPosCodMot]), GdFieldGet("DTR_CODRB1",nA), GdFieldGet("DTR_VALFRE",nA), nAdtoAux, Iif(lTipCrg,M->DTR_TIPCRG,"1")   )};Administrador
20190117;105321;24120;REPVLDABER(2620);ValidaAberturaContrato - Instanciado;TMS240VLAB;{||lRet := TMS240VlAb(	M->DTR_CODOPE, AllTrim(aMotViag[nX][2][nZ][nPosIdOpe]), AllTrim(aMotViag[nX][2][nZ][nPosTipMot]), GdFieldGet("DTR_CODVEI",nA), AllTrim(aMotViag[nX][2][nZ][nPosCodMot]), GdFieldGet("DTR_CODRB1",nA), GdFieldGet("DTR_VALFRE",nA), nAdtoAux, Iif(lTipCrg,M->DTR_TIPCRG,"1")   )};Administrador
20190117;105322;24120;REPVLDABER(2628);ValidaAberturaContrato - Consumido .T.;TMS240VLAB;{||lRet := TMS240VlAb(	M->DTR_CODOPE, AllTrim(aMotViag[nX][2][nZ][nPosIdOpe]), AllTrim(aMotViag[nX][2][nZ][nPosTipMot]), GdFieldGet("DTR_CODVEI",nA), AllTrim(aMotViag[nX][2][nZ][nPosCodMot]), GdFieldGet("DTR_CODRB1",nA), GdFieldGet("DTR_VALFRE",nA), nAdtoAux, Iif(lTipCrg,M->DTR_TIPCRG,"1")   )};Administrador
20190117;105326;24120;REPATUALOP(73);Inicio de Função;TMSATUALOP;{||  lRet := TMSAtualOp( aCompViag[11, 7], "5", aCodigos )};Administrador
20190117;105326;24120;REPATUALOP(275);IntegraDadosCadastroNacionalANTT - Instanciando;TMSATUALOP;{||  lRet := TMSAtualOp( aCompViag[11, 7], "5", aCodigos )};Administrador
20190117;105326;24120;REPATUALOP(277);IntegraDadosCadastroNacionalANTT - Instanciado;TMSATUALOP;{||  lRet := TMSAtualOp( aCompViag[11, 7], "5", aCodigos )};Administrador
20190117;105326;24120;REPATUALOP(309);IntegraDadosCadastroNacionalANTT - Consumindo;TMSATUALOP;{||  lRet := TMSAtualOp( aCompViag[11, 7], "5", aCodigos )};Administrador
20190117;105328;24120;REPATUALOP(311);IntegraDadosCadastroNacionalANTT - Consumido OK .T.;TMSATUALOP;{||  lRet := TMSAtualOp( aCompViag[11, 7], "5", aCodigos )};Administrador
20190117;105328;24120;REPATUALOP(376);Fim de Função;TMSATUALOP;{||  lRet := TMSAtualOp( aCompViag[11, 7], "5", aCodigos )};Administrador
20190117;105355;24120;REPCONTRAT(703);Inicio de Função;TMA310OPER;{|| lRet := TMA310Oper( DTR->DTR_CODOPE, DTQ->DTQ_FILORI, DTQ->DTQ_VIAGEM, @aMsgErr, nOpcx, DTR->DTR_CODVEI, .T. , nFretePrev, @cNumIdOpe )};Administrador
20190117;105355;24120;REPCONTRAT(1101);EmiteContrato - Instanciando          3;TMA310OPER;{|| lRet := TMA310Oper( DTR->DTR_CODOPE, DTQ->DTQ_FILORI, DTQ->DTQ_VIAGEM, @aMsgErr, nOpcx, DTR->DTR_CODVEI, .T. , nFretePrev, @cNumIdOpe )};Administrador
20190117;105355;24120;REPCONTRAT(1103);EmiteContrato - Instanciado;TMA310OPER;{|| lRet := TMA310Oper( DTR->DTR_CODOPE, DTQ->DTQ_FILORI, DTQ->DTQ_VIAGEM, @aMsgErr, nOpcx, DTR->DTR_CODVEI, .T. , nFretePrev, @cNumIdOpe )};Administrador
20190117;105403;24120;REPCONTRAT(1113);EmiteContrato - Consumido OK .T.;TMA310OPER;{|| lRet := TMA310Oper( DTR->DTR_CODOPE, DTQ->DTQ_FILORI, DTQ->DTQ_VIAGEM, @aMsgErr, nOpcx, DTR->DTR_CODVEI, .T. , nFretePrev, @cNumIdOpe )};Administrador
20190117;105403;24120;REPCONTRAT(1126);EmiteContrato - Gravou XML;TMA310OPER;{|| lRet := TMA310Oper( DTR->DTR_CODOPE, DTQ->DTQ_FILORI, DTQ->DTQ_VIAGEM, @aMsgErr, nOpcx, DTR->DTR_CODVEI, .T. , nFretePrev, @cNumIdOpe )};Administrador
20190117;105403;24120;REPCONTRAT(1131);EmiteContrato - Parseou XML;TMA310OPER;{|| lRet := TMA310Oper( DTR->DTR_CODOPE, DTQ->DTQ_FILORI, DTQ->DTQ_VIAGEM, @aMsgErr, nOpcx, DTR->DTR_CODVEI, .T. , nFretePrev, @cNumIdOpe )};Administrador
20190117;105403;24120;REPCONTRAT(1155);EmiteContrato - Montou aDadosQuit;TMA310OPER;{|| lRet := TMA310Oper( DTR->DTR_CODOPE, DTQ->DTQ_FILORI, DTQ->DTQ_VIAGEM, @aMsgErr, nOpcx, DTR->DTR_CODVEI, .T. , nFretePrev, @cNumIdOpe )};Administrador
20190117;105403;24120;REPCONTRAT(1172);EmiteContrato - Montou aItensQuit;TMA310OPER;{|| lRet := TMA310Oper( DTR->DTR_CODOPE, DTQ->DTQ_FILORI, DTQ->DTQ_VIAGEM, @aMsgErr, nOpcx, DTR->DTR_CODVEI, .T. , nFretePrev, @cNumIdOpe )};Administrador
20190117;105403;24120;REPCONTRAT(1194);EmiteContrato - Montou aDadOperad;TMA310OPER;{|| lRet := TMA310Oper( DTR->DTR_CODOPE, DTQ->DTQ_FILORI, DTQ->DTQ_VIAGEM, @aMsgErr, nOpcx, DTR->DTR_CODVEI, .T. , nFretePrev, @cNumIdOpe )};Administrador
20190117;105403;24120;REPCONTRAT(1204);EmiteContrato - Gravou DTR (PRCTRA/CIOT) 837      /014000064515XXXX;TMA310OPER;{|| lRet := TMA310Oper( DTR->DTR_CODOPE, DTQ->DTQ_FILORI, DTQ->DTQ_VIAGEM, @aMsgErr, nOpcx, DTR->DTR_CODVEI, .T. , nFretePrev, @cNumIdOpe )};Administrador
20190117;105403;24120;REPCONTRAT(1243);EmiteContrato - Gravou DES         13;TMA310OPER;{|| lRet := TMA310Oper( DTR->DTR_CODOPE, DTQ->DTQ_FILORI, DTQ->DTQ_VIAGEM, @aMsgErr, nOpcx, DTR->DTR_CODVEI, .T. , nFretePrev, @cNumIdOpe )};Administrador
20190117;105403;24120;REPCONTRAT(1315);EmiteContrato - Montou aPassagens;TMA310OPER;{|| lRet := TMA310Oper( DTR->DTR_CODOPE, DTQ->DTQ_FILORI, DTQ->DTQ_VIAGEM, @aMsgErr, nOpcx, DTR->DTR_CODVEI, .T. , nFretePrev, @cNumIdOpe )};Administrador
20190117;105404;24120;REPCONTRAT(1320);EmiteContrato - Voltou TMSPassag;TMA310OPER;{|| lRet := TMA310Oper( DTR->DTR_CODOPE, DTQ->DTQ_FILORI, DTQ->DTQ_VIAGEM, @aMsgErr, nOpcx, DTR->DTR_CODVEI, .T. , nFretePrev, @cNumIdOpe )};Administrador
