Пример #1
0
 public static int Guardar(ConfigCPROLogica config)
 {
     string[] parametros = { "@Correo", "@Servidor", "@Puerto", "@Usuario", "@Password", "@Ssl", "@Html" };
     return(AccesoDatos.ActualizarPRO("sp_mant_config", parametros, config.Correo, config.Servidor, config.Puerto, config.Usuario, config.Password, config.Ssl, config.Html));
 }
Пример #2
0
 public static int Guardar(KanbanPlanLogica kan)
 {
     string[] parametros = { "@Linea", "@Descrip", "@Cant1t", "@Cant2t", "@Usuario" };
     return(AccesoDatos.ActualizarPRO("sp_mant_kanban_plan", parametros, kan.Linea, kan.Descrip, kan.CantT1, kan.CantT2, kan.Usuario));
 }
Пример #3
0
 public static int Guardar(CorreoCPROLogica mail)
 {
     string[] parametros = { "@Folio", "@Estado", "@Asunto", "@FolioRef", "@Proceso" };
     return(AccesoDatos.ActualizarPRO("sp_mant_correo", parametros, mail.Folio, mail.Estado, mail.Asunto, mail.Referencia, mail.Proceso));
 }
Пример #4
0
 public static void guardar(BinContLogica bincont)
 {
     string[] parametros = { "@Hora", "@Planta", "@Bincode", "@Item", "@Descrip", "@UM", "@Cantidad" };
     AccesoDatos.ActualizarPRO("sp_mant_bincont", parametros, bincont.hora, bincont.planta, bincont.bincode, bincont.item, bincont.descrip, bincont.um, bincont.cantidad);
 }
Пример #5
0
 public static int Guardar(ModeloHcLogica mod)
 {
     string[] parametros = { "@Planta", "@Linea", "@Modelo", "@HeadCount", "@Std1er", "@Std2do", "@Factor" };
     return(AccesoDatos.ActualizarPRO("sp_mant_modelohc", parametros, mod.Planta, mod.Linea, mod.Modelo, mod.HeadCount, mod.Standard1, mod.Standard2, mod.Factor));
 }
Пример #6
0
 public static int Guardar(KanbanDetLogica kan)
 {
     string[] parametros = { "@Folio", "@Line", "@RPO", "@Creation", "@Item", "@Qty", "@Print", "@Register", "@Kanban", "@Start", "@QtyFinish", "@QtyShipped", "@Saldo", "Hora" };
     return(AccesoDatos.ActualizarPRO("sp_mant_kanban_det", parametros, kan.Folio, kan.Line, kan.RPO, kan.Creation, kan.Item, kan.Quantity, kan.Print, kan.Register, kan.Kanban, kan.Start, kan.QtyFinish, kan.QtyShipped, kan.Saldo, kan.Hora));
 }
Пример #7
0
 public static int Guardar(KardexCPROLogica kar)
 {
     string[] parametros = { "@Proceso", "@Referencia", "@Result", "@Hora", "@Usuario" };
     return(AccesoDatos.ActualizarPRO("sp_kardex_rt", parametros, kar.Proceso, kar.Referencia, kar.Result, kar.Hora, kar.Usuario));
 }
 public static int Guardar(BincontentCPROLogica bin)
 {
     string[] parametros = { "@Hora", "@Planta", "@Bincode", "@Item", "@Descrip", "@UM", "@Cantidad" };
     return(AccesoDatos.ActualizarPRO("sp_mant_bincont", parametros, bin.Hora, bin.Planta, bin.BinCode, bin.Item, bin.Descrip, bin.UM, bin.Cantidad));
 }
 public static int Guardar(LineSetupDetLogica det)
 {
     string[] parametros = { "@Folio", "@Consec", "@Planta", "@Linea", "@Turno", "@RPO", "@Modelo", "@Cantidad", "@RPO_sig", "@Modelo_sig", "@Inicio_prog", "@Final_prog", "@Inicio_real", "@Final_real", "@Duracion", "@RetMin", "@Comentario", "@CancelComent", "@Urgente", "@Estatus", "@Planner", "@Usuario" };
     return(AccesoDatos.ActualizarPRO("sp_mant_linesedet", parametros, det.Folio, det.Consec, det.Planta, det.Linea, det.Turno, det.RPO, det.Modelo, det.Cantidad, det.RPOSig, det.ModeloSig, det.IniProg, det.FinProg, det.IniReal, det.FinReal, det.Duracion, det.Retraso, det.Comentario, det.CancelComent, det.Urgente, det.Estatus, det.Planner, det.Usuario));
 }
Пример #10
0
 public static int GuardarTrans(GlobalRpoLogica rpo)
 {
     string[] parametros = { "@Folio", "@Post", "@Scanned", "@Shipped", "@Transfer", "@Truck" };
     return(AccesoDatos.ActualizarPRO("sp_mant_rpo_glob_trans", parametros, rpo.Folio, rpo.Fposted, rpo.Fscanned, rpo.Ftransfer, rpo.Transfer, rpo.Truck));
 }
Пример #11
0
 public static int Guardar(GlobalRpoLogica rpo)
 {
     string[] parametros = { "@Folio", "@RPO", "@Print", "@Register", "@Kanban", "@Start", "@Finish", "@Shipped", "@HoraKan" };
     return(AccesoDatos.ActualizarPRO("sp_mant_rpo_glob", parametros, rpo.Folio, rpo.RPO, rpo.Print, rpo.Register, rpo.Kanban, rpo.Start, rpo.Finish, rpo.Shipped, rpo.HorKan));
 }
Пример #12
0
 public static int Guardar(KanbanLogica kan)
 {
     string[] parametros = { "@Folio", "@Planta", "@Source", "@Hora", "@Turno" };
     return(AccesoDatos.ActualizarPRO("sp_mant_kanban", parametros, kan.Folio, kan.Planta, kan.Source, kan.Hora, kan.Turno));
 }