2024-01-18 06:36:21 +00:00
|
|
|
CREATE TABLE IF NOT EXISTS `vn`.`mrwConfig` (
|
|
|
|
`id` INT auto_increment NULL,
|
|
|
|
`url` varchar(100) NULL,
|
2024-01-15 14:00:36 +00:00
|
|
|
`user` varchar(100) NULL,
|
2024-01-18 06:36:21 +00:00
|
|
|
`password` varchar(100) NULL,
|
|
|
|
`franchiseCode` varchar(100) NULL,
|
|
|
|
`subscriberCode` varchar(100) NULL,
|
2024-01-15 14:00:36 +00:00
|
|
|
CONSTRAINT mrwConfig_pk PRIMARY KEY (id)
|
|
|
|
)
|
2024-02-07 15:52:43 +00:00
|
|
|
ENGINE=InnoDB
|
2024-01-15 14:00:36 +00:00
|
|
|
DEFAULT CHARSET=utf8mb3
|
|
|
|
COLLATE=utf8mb3_unicode_ci;
|
|
|
|
|
2024-01-18 06:36:21 +00:00
|
|
|
ALTER TABLE `vn`.`packingSite` ADD `hasNewLabelMrwMethod` BOOL NULL;
|
2024-01-15 14:00:36 +00:00
|
|
|
|
2024-02-07 15:52:43 +00:00
|
|
|
|
|
|
|
INSERT INTO `vn`.`agency` (`name`,`warehouseFk`,`warehouseAliasFk`,`isOwn`,`isAnyVolumeAllowed`)
|
|
|
|
VALUES ('MRW',1,1,0,0);
|
|
|
|
|
|
|
|
INSERT INTO `vn`.`agencyMode` (`id`, `name`, `description`, `deliveryMethodFk`, `m3`, `web`, `agencyFk`, `inflation`, `isVolumetric`, `reportMail`, `showAgencyName`, `isActive`, `isExternalAgency`, `flag`, `code`, `isRiskFree`, `hasWeightVolumetric`)
|
|
|
|
VALUES(26, 'MRW', NULL, NULL, 0.0, 0, 11, 0.00, 0, NULL, 1, 1, 0, NULL, 'MRW', 0, 0),
|
|
|
|
(27, 'mrwEcom', NULL, NULL, 0.0, 0, 11, 0.00, 0, NULL, 1, 1, 0, NULL, 'mrwEcom', 0, 0);
|
2024-01-24 08:06:05 +00:00
|
|
|
|
2024-01-18 06:36:21 +00:00
|
|
|
INSERT INTO `vn`.`mrwConfig` (`url`, `user`, `password`, `franchiseCode`, `subscriberCode`)
|
2024-01-16 14:04:06 +00:00
|
|
|
VALUES ('https://sagec-test.mrw.es/MRWEnvio.asmx', '04301SGVERDNATURA', 'Verdnatura@4301V', '04301', '009731');
|
|
|
|
|
2024-01-18 06:36:21 +00:00
|
|
|
INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)
|
2024-01-16 14:04:06 +00:00
|
|
|
VALUES('MrwConfig', 'cancelShipment', 'WRITE', 'ALLOW', 'ROLE', 'employee');
|
2024-01-15 14:00:36 +00:00
|
|
|
|
2024-01-18 06:36:21 +00:00
|
|
|
INSERT INTO `salix`.`ACL` (`model`,`property`,`accessType`,`permission`,`principalType`,`principalId`)
|
|
|
|
VALUES ('MrwConfig','createShipment','WRITE','ALLOW','ROLE','employee');
|
2024-01-15 14:00:36 +00:00
|
|
|
|
2024-02-07 15:52:43 +00:00
|
|
|
INSERT INTO `vn`.`mrwService` (`agencyModeCodeFk`, `clientType`, `serviceType`, `kg`) VALUES('MRW', 9731, 205, 10);
|
|
|
|
INSERT INTO `vn`.`mrwServiceWeekday` (`agencyModeCodeFk`, `weekdays`, `serviceType`, `params`) VALUES('mrwEcom', 'sat', 800, 'EntregaSabado=S');
|
2024-01-15 14:00:36 +00:00
|
|
|
|
2024-01-16 14:04:06 +00:00
|
|
|
|