refs #6915 test_master24_8 #2067
|
@ -30,7 +30,7 @@ INSERT INTO vn.buy (id,entryFk,itemFk,quantity,dispatched,buyingValue,freightVal
|
|||
(18,10,15,500,0,55.0,1.0,0,1,1,1,0,0.0,1.0,'5',0.0,78.3,75.6,0.0,0,0,1,0,'2022-06-20 00:00:00',0,2.5),
|
||||
(19,10,11,5000,0,50.0,1.0,0,1,1,1,1,0.0,1.0,'4',0.0,99.6,99.4,0.0,0,0,1,0,'2022-06-20 00:00:00',0,2.5);
|
||||
*/
|
||||
INSERT INTO vn2008.Splits (Id_Split,Id_Ticket,Id_Entrada,Fecha,Notas)
|
||||
INSERT INTO vn.split (id,ticketFk,entryFk,dated,note)
|
||||
VALUES
|
||||
(1,7,2,'00-00-0000 00:00:00.000','nota1'),
|
||||
(2,10,6,'00-00-0000 00:00:00.000','nota2'),
|
||||
|
|
|
@ -2,4 +2,4 @@ ALTER TABLE IF EXISTS `vn2008`.`Entradas_orden` RENAME `vn`.`entryOrder`;
|
|||
|
||||
ALTER TABLE IF EXISTS `vn`.`entryOrder`
|
||||
CHANGE COLUMN IF EXISTS `Id_Entrada` `entryFk` int(11) NOT NULL,
|
||||
CHANGE COLUMN IF EXISTS `orden` `order` int(11) NOT NULL DEFAULT 1 COMMENT '1.- Ordenar por articulo\n2.- Ordenar por compra\n';
|
||||
CHANGE COLUMN IF EXISTS `orden` `order` int(11) NOT NULL DEFAULT 1 COMMENT '1.- Ordenar por articulo\n2.- Ordenar por compra\n';
|
|
@ -10,4 +10,4 @@ CHANGE COLUMN IF EXISTS `fecha` `created` timestamp NOT NULL DEFAULT current_tim
|
|||
ALTER TABLE IF EXISTS `vn`.`dmsStorageBox` COMMENT='Caja en la que se guardan la documentacion fisica de dms';
|
||||
|
||||
ALTER TABLE IF EXISTS vn.dmsStorageBox ADD CONSTRAINT dmsStorageBox_company_FK
|
||||
FOREIGN KEY (companyFk) REFERENCES vn.company(id);s
|
||||
FOREIGN KEY (companyFk) REFERENCES vn.company(id);
|
Loading…
Reference in New Issue