Fonte Carga Tributaria

Anterior
Próximo
Feedback
Imprimir

Fonte Carga Tributaria

Serviço >> Fonte Carga Tributária

 

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");

 

   string doc = "";

   textBox1.Text = "";

 

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

   {

   if(GetData("DocumentoGenerico.InfRps.Servico.FonteCargaTributaria") != null)

   {

     doc = GetData("DocumentoGenerico.InfRps.Servico.FonteCargaTributaria").ToString();

   }

   else

   {

    doc = "";

   }

   }  

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

   {

   if(GetData("DocumentoGenerico.InfRps.Servicos.FonteCargaTributaria")!= null)

   {

   doc = GetData("DocumentoGenerico.InfRps.Servicos.FonteCargaTributaria").ToString();

   }

   else

   {

   doc = "";

   }

   }

 

   textBox1.Text = String.Format("{0}", doc);