Telefone

Anterior
Próximo
Feedback
Imprimir

Telefone

Prestador: E-mail

 

Abaixo é apresentado o script para mapeamento do campo:

 

 

 

   É importante verificar se a "caixa de texto" ou  "textBox" é referente a ele mesmo, caso não seja o mesmo deve ser alterado.

   O campo String.Format quando existir deve ser alterado o texto do campo que será apresentado.      

 

 

 

   GetData("DocumentoGenerico.InfRps.IdentificacaoRps.NumeroRps");

   

   textBox49.Text = "";

   string tel = "";

 

   if(GetData("DocumentoGenerico.InfRps.Prestador") != null)

   {

   if(GetData("DocumentoGenerico.InfRps.Prestador.DadosComplementaresPrestador") != null)

   {

   if(GetData("DocumentoGenerico.InfRps.Prestador.DadosComplementaresPrestador.TelefonePrestador") != null)

   {

     tel = GetData("DocumentoGenerico.InfRps.Prestador.DadosComplementaresPrestador.TelefonePrestador").ToString();

   }

   }

   else  

   {

   tel = UtilityReport.GetValueFromAdditional("FONE");

   }

   }

 

   textBox49.Text = String.Format("{0}",

   tel

   );