Example #1
0
        private void GerarRegistro60A()
        {
            ACBrSintegraInterop.Registro60ARec[] record = new ACBrSintegraInterop.Registro60ARec[Registro60A.Count];
            for (int i = 0; i < Registro60A.Count; i++)
            {
                record[i].NumSerie = Registro60A[i].NumSerie;
                record[i].Aliquota = Registro60A[i].Aliquota;
                record[i].Emissao  = Registro60A[i].Emissao.ToOADate();
                record[i].Valor    = Convert.ToDouble(Registro60A[i].Valor);
            }

            int ret = ACBrSintegraInterop.SIN_Registro60A(this.Handle, record, Registro60A.Count);

            CheckResult(ret);
        }
Example #2
0
		private void GerarRegistro60A()
		{
			ACBrSintegraInterop.Registro60ARec[] record = new ACBrSintegraInterop.Registro60ARec[Registro60A.Count];
			for (int i = 0; i < Registro60A.Count; i++)
			{
				record[i].NumSerie = Registro60A[i].NumSerie;
				record[i].Aliquota = Registro60A[i].Aliquota;
				record[i].Emissao = Registro60A[i].Emissao.ToOADate();
				record[i].Valor = Convert.ToDouble(Registro60A[i].Valor);
			}

			int ret = ACBrSintegraInterop.SIN_Registro60A(this.Handle, record, Registro60A.Count);
			CheckResult(ret);
		}