Advertisement
Guest User

depois de abrir empresa

a guest
Feb 17th, 2020
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Private Sub Empresa_DepoisDeAbrirEmpresa()
  2.        
  3.     On Error GoTo errHandler
  4.        
  5.     Dim strErros As String
  6.     Set Base.ObjUserInterfaceApp = New DEV_1_0_UserInterface.UserInterfaceApplication
  7.        
  8.     If Base.ObjUserInterfaceApp.Empresa_DepoisDeAbrirEmpresa(BSO, strErros) = False Then
  9.         Base.AppOk = False
  10.         PlataformaPRIMAVERA.MDI.Notificacoes.MostraAlerta "Atenção: Ocorreu um erro ao validar a Extensibilidade", strErros, False
  11.     Else
  12.         PlataformaPRIMAVERA.MDI.Notificacoes.MostraSucesso "Sucesso:", "Validação da extensibilidade concluida sem erros", False
  13.         Base.AppOk = True
  14.     End If
  15.        
  16.     Exit Sub
  17. errHandler:
  18.     Base.AppOk = False
  19.     PlataformaPRIMAVERA.MDI.Notificacoes.MostraAlerta "Atenção: Ocorreu um erro ao validar a Extensibilidade", strErros, False
  20.        
  21. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement