10:52:05.253 - EXCEÇÃO NÃO TRATADA! Erro: 5000 Classe: Excecaonegocio Mesagem: Parâmetro inválido [2] - Esperado parâmetro tipo "N" passado "L" - Classe: Itempedidovendadb Classe: Itempedidovendadb LINHA:848 - ITEMPEDIDOVENDADB._RETORNARERRO - CUSTOMMU.PRG LINHA:1182 - ITEMPEDIDOVENDADB._VALIDARPARAMETRO - CUSTOMMU.PRG LINHA:5722 - ITEMPEDIDOVENDADB.NPRECOCADASTRO_ASSIGN - ITEMPEDIDOVENDADB.PRG LINHA:5712 - ITEMPEDIDOBASE._ATUALIZARPERSISTENCIAOUTRAS - ITEMPEDIDOBASE.PRG LINHA:127 - ITEMPEDIDOSAIDABASE._ATUALIZARPERSISTENCIAOUTRAS - ITEMPEDIDOSAIDABASE.PRG LINHA:466 - ITEMPEDIDOVENDAREST._ATUALIZARPERSISTENCIAOUTRAS - ITEMPEDIDOVENDA.PRG LINHA:2688 - ITEMPEDIDOBASE.ATUALIZAR - ITEMPEDIDOBASE.PRG LINHA:88 - ITEMPEDIDOVENDAREST.ATUALIZAR - ITEMPEDIDOVENDAREST.PRG LINHA:5900 - ITEMPEDIDOVENDAREST._DEFINIRLOCALRETIRADA - ITEMPEDIDOBASE.PRG LINHA:9665 - ITEMPEDIDOVENDAREST.DEFINIRFILIALRETIRADA - ITEMPEDIDOBASE.PRG LINHA:5120 - ITEMPEDIDOVENDAREST.CTIPOENTREGA_ASSIGN - ITEMPEDIDOBASE.PRG LINHA:3847 - ITEMPEDIDOVENDAREST._DEFINIRTIPODEENTREGA - ITEMPEDIDOBASE.PRG LINHA:1923 - ITEMPEDIDOVENDAREST.DEFINIRPRODUTO - ITEMPEDIDOBASE.PRG LINHA:1351 - ITENSPEDIDOVENDA._ADICIONARPRODUTO - ITENSPEDIDOVENDA.PRG LINHA:1213 - ITENSPEDIDOVENDA.ADICIONAR - ITENSPEDIDOVENDA.PRG LINHA:71 - ITEMPEDIDOVENDAREST_UNIT._CRIARITEMPEDIDO - ITEMPEDIDOVENDAREST_UNIT.PRG LINHA:144 - ITEMPEDIDOVENDAREST_UNIT.TESTUNIT002 - ITEMPEDIDOVENDAREST_UNIT.PRG LINHA:236 - ITEMPEDIDOVENDAREST_UNIT.EXECUTARTESTE - TESTUNITBASE.PRG LINHA:1431 - EXECUTARTESTEUNITARIOPRG - INICIARTESTEUNITARIO.PRG LINHA:283 - INICIARTESTEUNITARIO - INICIARTESTEUNITARIO.PRG COMANDO: LCNOMEFUNCAO=UPPER(OAGSISTEMA.OBTERFUNCAOERRO()) Chamadas:Linha:1182 - itempedidovendadb._validarparametro - custommu.prg Linha:5722 - itempedidovendadb.nprecocadastro_assign - itempedidovendadb.prg Linha:5712 - itempedidobase._atualizarpersistenciaoutras - itempedidobase.prg Linha:127 - itempedidosaidabase._atualizarpersistenciaoutras - itempedidosaidabase.prg Linha:466 - itempedidovendarest._atualizarpersistenciaoutras - itempedidovenda.prg Linha:2688 - itempedidobase.atualizar - itempedidobase.prg Linha:88 - itempedidovendarest.atualizar - itempedidovendarest.prg Linha:5900 - itempedidovendarest._definirlocalretirada - itempedidobase.prg Linha:9665 - itempedidovendarest.definirfilialretirada - itempedidobase.prg Linha:5120 - itempedidovendarest.ctipoentrega_assign - itempedidobase.prg Linha:3847 - itempedidovendarest._definirtipodeentrega - itempedidobase.prg Linha:1923 - itempedidovendarest.definirproduto - itempedidobase.prg Linha:1351 - itenspedidovenda._adicionarproduto - itenspedidovenda.prg Linha:1213 - itenspedidovenda.adicionar - itenspedidovenda.prg Linha:71 - itempedidovendarest_unit._criaritempedido - itempedidovendarest_unit.prg Linha:144 - itempedidovendarest_unit.testunit002 - itempedidovendarest_unit.prg Linha:236 - itempedidovendarest_unit.executarteste - testunitbase.prg Linha:1431 - executartesteunitarioprg - iniciartesteunitario.prg Linha:283 - iniciartesteunitario - iniciartesteunitario.prg Conteúdo: THIS._RetornarErro( 'Parâmetro inválido [2] - Esperado parâmetro tipo "'+lcTipo+'" passado "'+TYPE('tvParametro')+'" - Classe: '+THIS.CLASS ) IF NOT THIS._ValidarParametro( 'N', tnAssign, 1, PCOUNT() ) THIS._oItemPedidoDB.nPrecoCadastro = IIF(NOT INLIST(THIS._oOrcamento.cSituacaoOrcamento, SOFATURADO, SOCANCELADO ), THIS._oPreco.ObterPrecoCadastro(), THIS._oItemPedidoDB.nPrecoCadastro) DODEFAULT() DODEFAULT() Executando TestUnit: ITEMPEDIDOVENDAREST_UNIT.PRG Linha:410 - ON... - ctrlib.prg Linha:1404 - itenspedidovenda._adicionarproduto - itenspedidovenda.prg Linha:1213 - itenspedidovenda.adicionar - itenspedidovenda.prg Linha:71 - itempedidovendarest_unit._criaritempedido - itempedidovendarest_unit.prg Linha:144 - itempedidovendarest_unit.testunit002 - itempedidovendarest_unit.prg Linha:236 - itempedidovendarest_unit.executarteste - testunitbase.prg Linha:1431 - executartesteunitarioprg - iniciartesteunitario.prg Linha:283 - iniciartesteunitario - iniciartesteunitario.prg Comando: lcListaChamada=oAgSistema.ObterFuncaoErro()