Example #1
0
        public string NomeArqRFD(DateTime DtMov)
        {
            const int     bufferlen = 256;
            StringBuilder buffer    = new StringBuilder(bufferlen);

            int ret = ACBrRFDInterop.RFD_NomeArqRFD(this.Handle, DtMov.ToOADate(), buffer, bufferlen);

            CheckResult(ret);

            return(FromUTF8(buffer.ToString()));
        }
Example #2
0
        public string AchaRFDID(string RFDID)
        {
            const int     bufferlen = 256;
            StringBuilder buffer    = new StringBuilder(bufferlen);

            int ret = ACBrRFDInterop.RFD_AchaRFDID(this.Handle, ToUTF8(RFDID), buffer, bufferlen);

            CheckResult(ret);

            return(FromUTF8(buffer.ToString()));
        }
Example #3
0
        public void EfetuaPagamento(string DescricaoFormaPagto, decimal Valor)
        {
            int ret = ACBrRFDInterop.RFD_EfetuaPagamento(this.Handle, ToUTF8(DescricaoFormaPagto), Convert.ToDouble(Valor));

            CheckResult(ret);
        }
Example #4
0
        public void Documento(string Denominacao)
        {
            int ret = ACBrRFDInterop.RFD_Documento(this.Handle, ToUTF8(Denominacao));

            CheckResult(ret);
        }
Example #5
0
        public void ReducaoZ(string ReducaoZ)
        {
            int ret = ACBrRFDInterop.RFD_ReducaoZ(this.Handle, ToUTF8(ReducaoZ));

            CheckResult(ret);
        }
Example #6
0
        public void CancelaItemVendido(int NumItem)
        {
            int ret = ACBrRFDInterop.RFD_CancelaItemVendido(this.Handle, NumItem);

            CheckResult(ret);
        }
Example #7
0
        public void CancelaCupom(int COO)
        {
            int ret = ACBrRFDInterop.RFD_CancelaCupom(this.Handle, COO);

            CheckResult(ret);
        }
Example #8
0
        public void FechaCupom()
        {
            int ret = ACBrRFDInterop.RFD_FechaCupom(this.Handle);

            CheckResult(ret);
        }
Example #9
0
        public void SubTotalizaCupom(decimal DescontoAcrescimo)
        {
            int ret = ACBrRFDInterop.RFD_SubTotalizaCupom(this.Handle, Convert.ToDouble(DescontoAcrescimo));

            CheckResult(ret);
        }
Example #10
0
        public void VendeItem(string codigo, string descricao, decimal Qtd, decimal ValorUnitario, string Unidade, decimal ValorDescAcres, string Aliquota)
        {
            int ret = ACBrRFDInterop.RFD_VendeItem(this.Handle, ToUTF8(codigo), ToUTF8(descricao), Convert.ToDouble(Qtd), Convert.ToDouble(ValorUnitario), ToUTF8(Unidade), Convert.ToDouble(ValorDescAcres), ToUTF8(Aliquota));

            CheckResult(ret);
        }
Example #11
0
        public void CriarArqRFDID(string arquivo)
        {
            int ret = ACBrRFDInterop.RFD_CriarArqRFDID(this.Handle, ToUTF8(arquivo));

            CheckResult(ret);
        }
Example #12
0
        public void GravarINI()
        {
            int ret = ACBrRFDInterop.RFD_LerINI(this.Handle);

            CheckResult(ret);
        }
Example #13
0
        public void VerificaParametros()
        {
            int ret = ACBrRFDInterop.RFD_VerificaParametros(this.Handle);

            CheckResult(ret);
        }
Example #14
0
        public void Desativar()
        {
            int ret = ACBrRFDInterop.RFD_Desativar(this.Handle);

            CheckResult(ret);
        }