예제 #1
0
 public DocumentoVentaGP()
 {
     _LDocVentaConceptos    = new List <vwCfdiConceptos>();
     _DocVenta              = new vwCfdiGeneraDocumentoDeVenta();
     _LDocVentaRelacionados = new List <vwCfdiRelacionados>();
     _resumenCab            = new vwCfdiGeneraResumenDiario();
     _lDocResumenLineas     = new List <vwCfdiGeneraResumenDiario>();
 }
예제 #2
0
        public void GetDatosResumenBoletas(String Sopnumbe, short Soptype)
        {
            using (PER10Entities dv = new PER10Entities())
            {
                //System.Diagnostics.Debugger.NotifyOfCrossThreadDependency();
                _lDocResumenLineas = dv.vwCfdiGeneraResumenDiario
                                     .Where(v => v.numResumenDiario == Sopnumbe && v.tipoResumenDiario == Soptype)
                                     .ToList();

                _resumenCab = _lDocResumenLineas.First();
            }
        }
 public DocumentoVentaGP()
 {
     _LDocVentaConceptos    = new List <vwCfdiConceptos>();
     _DocVenta              = new vwCfdiGeneraDocumentoDeVenta();
     _facimpcab             = new vwCfdiFacturaImpuestosCabecera();
     _LDocVentaRelacionados = new List <vwCfdiRelacionados>();
     _resumenCab            = new vwCfdiGeneraResumenDiario();
     _lDocResumenLineas     = new List <vwCfdiGeneraResumenDiario>();
     _facimpdet             = new vwCfdiFacturaImpuestosDetalles();
     _clides = new vwCfdiClienteDestinatario();
     _cliobl = new vwCfdiClienteObligaciones();
     _medpag = new vwCfdiMediosDePago();
 }