I am implementing a drilldown for the PRIMAVERA ERP 9 Job Log records, but it does not open the required form:
My code:
Public Sub ExecutaEventoDrillDown_Processos(ByVal IdDT As String)
Dim objParametros As StdBEValoresStr
Dim objCampoDrillDown As StdBESqlCampoDrillDown
objCampoDrillDown = New StdBESqlCampoDrillDown
With objCampoDrillDown
.Tipo = EnumTipoDrillDownListas.tddlEventoAplicacao
.ModuloNotificado = "GPR"
.Evento = "evtDD_GPR_DiarioDeTrabalho"
End With
objParametros = New StdBEValoresStr
With objParametros
.InsereNovo("ID", IdDT )
End With
PSO.DrillDownLista(objCampoDrillDown, objParametros)
objCampoDrillDown = Nothing
objParametros = Nothing
End Sub