Calificación:
  • 0 voto(s) - 0 Media
  • 1
  • 2
  • 3
  • 4
  • 5
Sysme Tpv 4.95
#4
(03-05-2018, 09:07 AM)sysme escribió: Hi Bean, open the C: \ SYSME \ SGC \ updatebdsysmehotel.txt file and copy this code: Then save and restart Sysme Pos.


Código:
drop table opencart_comg;
drop table opencart_tipo_comg;
drop table lineaseliminadas;
create table opencart_comg (id_complementog varchar(5) not null, id_opencart int(2) not null, primary key (id_complementog,id_opencart)) type=innodb;
create table opencart_tipo_comg (id_tipo_comg varchar(4) not null, id_opencart int(2) not null, primary key (id_tipo_comg,id_opencart)) type=innodb;
create table lineaseliminadas select * from ventadir_comg limit 0;
alter table albaran add observaciones varchar(250) default "";
create table venta_ticket (id_venta int(7) not null, primary key (id_venta)) type=innodb;
create table almacen_complementg2 select * from almacen_complementg;
insert into almacen_complementg (id_centro,id_empresa,id_almacen,id_tipo_comg,id_complementog,cantidad,stock_minimo,complementog,variacion,desc_variacion) select "01","001","01",id_tipo_comg,id_complementog,0,0,complementog,0,"" from complementog where cafeteria = "S" and inventario = "N" and id_complementog not in (select id_complementog from almacen_complementg2);
drop table almacen_complementg2;
alter table almacen_complementg modify stock_minimo float;

Thanks for that Oscar
All working now and keys are ready to be added for new products being launched on Monday.

Sam
Responder


Mensajes en este tema
Sysme Tpv 4.95 - por sysme - 02-05-2018, 12:18 PM
RE: Sysme Tpv 4.95 - por Bean Here NZ - 02-05-2018, 11:57 PM
RE: Sysme Tpv 4.95 - por sysme - 03-05-2018, 09:07 AM
RE: Sysme Tpv 4.95 - por Bean Here NZ - 03-05-2018, 09:10 PM
RE: Sysme Tpv 4.95 - por sincuentos - 28-06-2018, 11:49 AM
RE: Sysme Tpv 4.95 - por sysme - 28-06-2018, 12:08 PM
RE: Sysme Tpv 4.95 - por sysme - 28-06-2018, 12:08 PM

Salto de foro:


Usuarios navegando en este tema: 1 invitado(s)

Contáctanos | Sysme Software | Volver arriba | | Archivo (Modo simple) | Sindicación RSS