Beispiel #1
0
        public Int32 UpdateSerieGuiaN(string EmpresaSede, string SerieGuiaNID, Int32 NotaCredito)
        {
            CD_NotaCredito ObjCD_NotaCredito = new CD_NotaCredito(AppSettings.GetConnectionString);
            Int32          Valor;

            Valor = ObjCD_NotaCredito.UpdateSerieGuiaN(EmpresaSede, SerieGuiaNID, NotaCredito);
            return(Valor);
        }
Beispiel #2
0
        public string InsertNotaCredito(E_NotaCredito ObjE_NotaCredito, DataTable DtDetalle, string EmpresaSede, bool ActualizaStock)
        {
            string         xml;
            string         xmlDetalle        = null;
            CD_NotaCredito ObjCD_NotaCredito = new CD_NotaCredito(AppSettings.GetConnectionString);

            if (ActualizaStock == true)
            {
                xml        = new BaseFunctions().GetXML(DtDetalle).Replace("NewDataSet", "DocumentElement");
                xmlDetalle = xml.Replace("Table", "DetalleComprobante");
            }

            return(ObjCD_NotaCredito.InsertNotaCredito(ObjE_NotaCredito, xmlDetalle, EmpresaSede, ActualizaStock));
        }
Beispiel #3
0
        public string InsertNotaCreditoI(E_NotaCredito ObjE_NotaCredito, string EmpresaSede)
        {
            CD_NotaCredito ObjCD_NotaCredito = new CD_NotaCredito(AppSettings.GetConnectionString);

            return(ObjCD_NotaCredito.InsertNotaCreditoI(ObjE_NotaCredito, EmpresaSede));
        }