예제 #1
0
        private void GerarRegistro61R()
        {
            ACBrSintegraInterop.Registro61RRec[] record = new ACBrSintegraInterop.Registro61RRec[Registro61R.Count];
            for (int i = 0; i < Registro61R.Count; i++)
            {
                record[i].Aliquota      = Convert.ToDouble(Registro61R[i].Aliquota);
                record[i].Valor         = Convert.ToDouble(Registro61R[i].Valor);
                record[i].Qtd           = Convert.ToDouble(Registro61R[i].Qtd);
                record[i].MesAno        = Registro61R[i].MesAno;
                record[i].Codigo        = Registro61R[i].Codigo;
                record[i].BaseDeCalculo = Convert.ToDouble(Registro61R[i].BaseDeCalculo);
            }

            int ret = ACBrSintegraInterop.SIN_Registro61R(this.Handle, record, Registro61R.Count);

            CheckResult(ret);
        }
예제 #2
0
		private void GerarRegistro61R()
		{
			ACBrSintegraInterop.Registro61RRec[] record = new ACBrSintegraInterop.Registro61RRec[Registro61R.Count];
			for (int i = 0; i < Registro61R.Count; i++)
			{
				record[i].Aliquota = Convert.ToDouble(Registro61R[i].Aliquota);
				record[i].Valor = Convert.ToDouble(Registro61R[i].Valor);
				record[i].Qtd = Convert.ToDouble(Registro61R[i].Qtd);
				record[i].MesAno = Registro61R[i].MesAno;
				record[i].Codigo = Registro61R[i].Codigo;
				record[i].BaseDeCalculo = Convert.ToDouble(Registro61R[i].BaseDeCalculo);
			}

			int ret = ACBrSintegraInterop.SIN_Registro61R(this.Handle, record, Registro61R.Count);
			CheckResult(ret);
		}