Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IdentificationNumber idInteressado = destinatarioAviso.Requerente;
- string RucInteressado = graficaVencendo.getRucGrafica().Trim();
- switch (RucInteressado.Length)
- {
- case 9: // Inscrição estadual
- idInteressado = IE.New(RucInteressado);
- break;
- case 11: // CPF - caso de erro
- enviaEmailErro(" Erro ao consultar gráficas com data de credenciamento " +
- "vencendo... Retornado um CPF:" + RucInteressado);
- continue;
- case 14: // CNPJ
- idInteressado = Cnpj.New(RucInteressado);
- break;
- default:
- enviaEmailErro("Erro ao determinar a identificação da gráfica. " +
- "Identificador: " + RucInteressado + ".");
- continue;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement