Although I know that there is a bug in this component, I have this indication of PRIMAVERA, I'm moving forward with its use even though I have to fill some properties manually while the bug is not corrected so if the errors I'm reporting are related with the bug, then they are all answered.
First, the component initialization ( f41.Inicializa(contexto)
) takes about 19 seconds. And yet ? It is easy to have 4, 5 or more components of these in a form and if this time each takes, it will not be possible to use them.
With the code below to initialize the component, pressing F4 says that the profile does not have permissions to access the information category. (the user concerned is super administrator and within the ERP has access)
Finally, what are the specific properties and methods that are commented on?
PRISDK100.clsSDKContexto contexto = new PRISDK100.clsSDKContexto();
contexto.Inicializa(MotorPrimavera.Motor, "GCP");
contexto.InicializaPlataforma(MotorPrimavera.Plataforma);
f41.Modulo = "GCP";
f41.Categoria = PRISDK100.clsSDKTypes.EnumCategoria.Clientes;
f41.IDCategoria = "Cliente";
//f41.CampoChave = "";
//f41.CampoChaveFisica = "";
//f41.CarregarValoresEdicao = false;
//f41.ChaveFisica = "";
//f41.ChaveNumerica = false;
//f41.PermiteDrillDown = true;
//f41.PermiteEnabledLink = false;
//f41.FormataLabel();
//f41.Limpa();
//f41.Termina();
f41.Inicializa(contexto);