|
@ -2903,6 +2903,34 @@ INSERT INTO `system_menu` (`name`, `permission`, `type`, `sort`, `parent_id`, `p |
|
|
-- 增加配置自动补料针对的库区 |
|
|
-- 增加配置自动补料针对的库区 |
|
|
INSERT INTO `infra_config` (`id`, `category`, `type`, `name`, `config_key`, `value`, `visible`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `item_type`, `area_type`, `inventory_status`, `location_code`) VALUES (null, '业务取值', 2, '自动补料-库区类型配置(目前超市区)', 'autoRepleinshByArea', 'autoRepleinshByArea', b'1', '', '1', '2024-09-14 10:07:32', '1', '2024-09-14 10:07:32', b'0', NULL, 'SUPPER', NULL, NULL); |
|
|
INSERT INTO `infra_config` (`id`, `category`, `type`, `name`, `config_key`, `value`, `visible`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `item_type`, `area_type`, `inventory_status`, `location_code`) VALUES (null, '业务取值', 2, '自动补料-库区类型配置(目前超市区)', 'autoRepleinshByArea', 'autoRepleinshByArea', b'1', '', '1', '2024-09-14 10:07:32', '1', '2024-09-14 10:07:32', b'0', NULL, 'SUPPER', NULL, NULL); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- 增加业务类型配置:隔离转线边 |
|
|
|
|
|
insert into `document_businesstype` ( `code`, `name`, `description`, `item_types`, `item_statuses`, `out_area_types`, `in_area_types`, `out_area_codes`, `in_area_codes`, `out_inventory_statuses`, `in_inventory_statuses`, `out_transaction_type`, `in_transaction_type`, `use_on_the_way`, `on_the_way_area`, `available`, `active_time`, `expire_time`, `remark`, `create_time`, `creator`, `update_time`, `updater`, `deletion_time`, `deleter_id`, `deleter_name`, `is_soft_deleted`, `extra_properties`, `concurrency_stamp`, `site_id`, `deleted`, `tenant_id`) values('HoldToWip','隔离转线边','','YCL,BCP,CCP,WGJ','AC','FAC_HOLD,CUST_HOLD','WIP','','','HOLD','OK','ISS-TR','RCT-TR','FALSE','','TRUE',NULL,NULL,'','2023-08-01 13:49:50','1','2024-08-28 09:34:54','1','2023-08-01 13:49:50','1000000000000000000','','FALSE','','17','','','2'); |
|
|
|
|
|
-- 增加申请类型配置:隔离转线边 |
|
|
|
|
|
insert into `document_requestsetting` ( `code`, `request_mode`, `auto_commit`, `auto_agree`, `auto_execute`, `direct_create_record`, `available`, `active_time`, `expire_time`, `remark`, `create_time`, `creator`, `update_time`, `updater`, `deletion_time`, `deleter_id`, `deleter_name`, `is_soft_deleted`, `extra_properties`, `concurrency_stamp`, `site_id`, `deleted`, `tenant_id`) values('HoldToWipRequest','EXPLICIT','TRUE','TRUE','TRUE','FALSE','TRUE',NULL,NULL,'隔离转线边申请','2023-08-01 10:08:05','1','2024-08-22 14:26:47','1','2023-08-01 10:08:05','1000000000000000000','','FALSE','','4','','','2'); |
|
|
|
|
|
insert into `document_requestsetting` ( `code`, `request_mode`, `auto_commit`, `auto_agree`, `auto_execute`, `direct_create_record`, `available`, `active_time`, `expire_time`, `remark`, `create_time`, `creator`, `update_time`, `updater`, `deletion_time`, `deleter_id`, `deleter_name`, `is_soft_deleted`, `extra_properties`, `concurrency_stamp`, `site_id`, `deleted`, `tenant_id`) values('HoldToWipRequest','EXPLICIT','TRUE','TRUE','TRUE','FALSE','TRUE',NULL,NULL,'隔离转线边申请','2023-08-01 10:08:05','1','2023-12-25 14:13:39','1','2023-08-01 10:08:05','1000000000000000000','','FALSE','','2','','','3'); |
|
|
|
|
|
-- 增加任务类型配置:隔离转线边 |
|
|
|
|
|
INSERT INTO `document_jobsetting`( `code`, `valid_minutes`, `auto_complete`, `allow_modify_location`, `allow_modify_qty`, `allow_bigger_qty`, `allow_smaller_qty`, `allow_modify_inventory_status`, `allow_continuous_scanning`, `allow_partial_complete`, `allow_modify_bach`, `allow_modify_packing_number`, `available`, `active_time`, `expire_time`, `remark`, `create_time`, `creator`, `update_time`, `updater`, `deletion_time`, `deleter_id`, `deleter_name`, `is_soft_deleted`, `extra_properties`, `concurrency_stamp`, `site_id`, `deleted`, `tenant_id`) VALUES ( 'HoldToWipJob', 480, 'FALSE', 'FALSE', 'TRUE', 'TRUE', 'TRUE', 'FALSE', 'TRUE', 'TRUE', 'FALSE', 'FALSE', 'TRUE', NULL, NULL, '隔离转线边任务', '2023-08-01 10:16:47', '1', '2024-09-05 14:26:03', '1', '2023-08-01 10:16:47', '1000000000000000000', '', 'FALSE', '', 9, '', b'0', 2); |
|
|
|
|
|
INSERT INTO `document_jobsetting`( `code`, `valid_minutes`, `auto_complete`, `allow_modify_location`, `allow_modify_qty`, `allow_bigger_qty`, `allow_smaller_qty`, `allow_modify_inventory_status`, `allow_continuous_scanning`, `allow_partial_complete`, `allow_modify_bach`, `allow_modify_packing_number`, `available`, `active_time`, `expire_time`, `remark`, `create_time`, `creator`, `update_time`, `updater`, `deletion_time`, `deleter_id`, `deleter_name`, `is_soft_deleted`, `extra_properties`, `concurrency_stamp`, `site_id`, `deleted`, `tenant_id`) VALUES (,'HoldToWipJob', 480, 'FALSE', 'FALSE', 'TRUE', 'TRUE', 'TRUE', 'FALSE', 'TRUE', 'TRUE', 'FALSE', 'FALSE', 'TRUE', NULL, NULL, '隔离转线边任务', '2023-08-01 10:16:47', '1', '2024-07-10 12:04:12', '1', '2023-08-01 10:16:47', '1000000000000000000', '', 'FALSE', '', 4, '', b'0', 3); |
|
|
|
|
|
-- 增加记录类型配置:隔离转线边 |
|
|
|
|
|
INSERT INTO `document_recordsetting`( `code`, `interface_type`, `available`, `active_time`, `expire_time`, `remark`, `create_time`, `creator`, `update_time`, `updater`, `deletion_time`, `deleter_id`, `deleter_name`, `is_soft_deleted`, `extra_properties`, `concurrency_stamp`, `site_id`, `deleted`, `tenant_id`) VALUES ( 'HoldToWipRecord', 'TRANSFER', 'TRUE', NULL, NULL, '隔离转线边记录', '2023-08-01 10:30:19', '1', '2023-08-01 10:30:19', '1', '2023-08-01 10:30:19', '1000000000000000000', '', 'FALSE', '', 1, '', b'0', 2); |
|
|
|
|
|
INSERT INTO `document_recordsetting`( `code`, `interface_type`, `available`, `active_time`, `expire_time`, `remark`, `create_time`, `creator`, `update_time`, `updater`, `deletion_time`, `deleter_id`, `deleter_name`, `is_soft_deleted`, `extra_properties`, `concurrency_stamp`, `site_id`, `deleted`, `tenant_id`) VALUES ( 'HoldToWipRecord', 'TRANSFER', 'TRUE', NULL, NULL, '隔离转线边记录', '2023-08-01 10:30:19', '1', '2023-08-01 10:30:19', '1', '2023-08-01 10:30:19', '1000000000000000000', '', 'FALSE', '', 1, '', b'0', 3); |
|
|
|
|
|
-- 增加单据任务设置:隔离转线边 |
|
|
|
|
|
INSERT INTO `document_documentsetting`( `code`, `name`, `description`, `type`, `business_type`, `number_prefix`, `date_format`, `serial_length`, `separator_str`, `reset_period`, `available`, `active_time`, `expire_time`, `remark`, `create_time`, `creator`, `update_time`, `updater`, `deletion_time`, `deleter_id`, `deleter_name`, `is_soft_deleted`, `extra_properties`, `concurrency_stamp`, `site_id`, `deleted`, `tenant_id`) VALUES ('HoldToWipJob', '隔离转线边任务', '', 'JOB', 'HoldToWip', 'JOB36', 'yyyyMMdd', 4, '', 'DAY', 'TRUE', NULL, NULL, '', '2023-08-01 11:08:53', '1', '2023-08-01 11:08:53', '1', '2023-08-01 11:08:53', '1000000000000000000', '', 'FALSE', '', 1, '', b'0', 2); |
|
|
|
|
|
INSERT INTO `document_documentsetting`( `code`, `name`, `description`, `type`, `business_type`, `number_prefix`, `date_format`, `serial_length`, `separator_str`, `reset_period`, `available`, `active_time`, `expire_time`, `remark`, `create_time`, `creator`, `update_time`, `updater`, `deletion_time`, `deleter_id`, `deleter_name`, `is_soft_deleted`, `extra_properties`, `concurrency_stamp`, `site_id`, `deleted`, `tenant_id`) VALUES ('HoldToWipJob', '隔离转线边任务', '', 'JOB', 'HoldToWip', 'JOB36', 'yyyyMMdd', 4, '', 'DAY', 'TRUE', NULL, NULL, '', '2023-08-01 11:08:53', '1', '2023-08-01 11:08:53', '1', '2023-08-01 11:08:53', '1000000000000000000', '', 'FALSE', '', 1, '', b'0', 3); |
|
|
|
|
|
-- 增加单据记录设置:隔离转线边 |
|
|
|
|
|
INSERT INTO `document_documentsetting`( `code`, `name`, `description`, `type`, `business_type`, `number_prefix`, `date_format`, `serial_length`, `separator_str`, `reset_period`, `available`, `active_time`, `expire_time`, `remark`, `create_time`, `creator`, `update_time`, `updater`, `deletion_time`, `deleter_id`, `deleter_name`, `is_soft_deleted`, `extra_properties`, `concurrency_stamp`, `site_id`, `deleted`, `tenant_id`) VALUES ( 'HoldToWipRecord', '隔离转线边记录', '', 'RECORD', 'HoldToWip', 'REC61', 'yyyyMMdd', 4, '', 'DAY', 'TRUE', NULL, NULL, '', '2023-08-01 11:31:48', '1', '2023-08-01 11:31:48', '1', '2023-08-01 11:31:48', '1000000000000000000', '', 'FALSE', '', 1, '', b'0', 2); |
|
|
|
|
|
INSERT INTO `document_documentsetting`( `code`, `name`, `description`, `type`, `business_type`, `number_prefix`, `date_format`, `serial_length`, `separator_str`, `reset_period`, `available`, `active_time`, `expire_time`, `remark`, `create_time`, `creator`, `update_time`, `updater`, `deletion_time`, `deleter_id`, `deleter_name`, `is_soft_deleted`, `extra_properties`, `concurrency_stamp`, `site_id`, `deleted`, `tenant_id`) VALUES ( 'HoldToWipRecord', '隔离转线边记录', '', 'RECORD', 'HoldToWip', 'REC61', 'yyyyMMdd', 4, '', 'DAY', 'TRUE', NULL, NULL, '', '2023-08-01 11:31:48', '1', '2023-08-01 11:31:48', '1', '2023-08-01 11:31:48', '1000000000000000000', '', 'FALSE', '', 1, '', b'0', 3); |
|
|
|
|
|
-- 增加单据申请设置:隔离转线边 |
|
|
|
|
|
INSERT INTO `document_documentsetting`( `code`, `name`, `description`, `type`, `business_type`, `number_prefix`, `date_format`, `serial_length`, `separator_str`, `reset_period`, `available`, `active_time`, `expire_time`, `remark`, `create_time`, `creator`, `update_time`, `updater`, `deletion_time`, `deleter_id`, `deleter_name`, `is_soft_deleted`, `extra_properties`, `concurrency_stamp`, `site_id`, `deleted`, `tenant_id`) VALUES ( 'HoldToWipRequest', '隔离转线边申请', '', 'REQUEST', 'HoldToWip', 'REQ56', 'yyyyMMdd', 4, '', 'DAY', 'TRUE', NULL, NULL, '', '2023-08-01 10:57:16', '1', '2023-08-01 10:57:16', '1', '2023-08-01 10:57:16', '1000000000000000000', '', 'FALSE', '', 1, '', b'0', 2); |
|
|
|
|
|
INSERT INTO `document_documentsetting`( `code`, `name`, `description`, `type`, `business_type`, `number_prefix`, `date_format`, `serial_length`, `separator_str`, `reset_period`, `available`, `active_time`, `expire_time`, `remark`, `create_time`, `creator`, `update_time`, `updater`, `deletion_time`, `deleter_id`, `deleter_name`, `is_soft_deleted`, `extra_properties`, `concurrency_stamp`, `site_id`, `deleted`, `tenant_id`) VALUES ( 'HoldToWipRequest', '隔离转线边申请', '', 'REQUEST', 'HoldToWip', 'REQ56', 'yyyyMMdd', 4, '', 'DAY', 'TRUE', NULL, NULL, '', '2023-08-01 10:57:16', '1', '2023-08-01 10:57:16', '1', '2023-08-01 10:57:16', '1000000000000000000', '', 'FALSE', '', 1, '', b'0', 3); |
|
|
|
|
|
-- 增加单据流水配置:隔离转线边 |
|
|
|
|
|
INSERT INTO `system_serial_number`( `rule_code`, `rule_name`, `prefix`, `pattern`, `length`, `separator`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES ( 'HoldToWipRecord', '隔离转线边记录', 'REC61', 'yyyyMMdd', 4, '-', NULL, '1', '2024-09-19 15:11:27', '1', '2024-09-19 15:11:27', b'0'); |
|
|
|
|
|
INSERT INTO `system_serial_number`( `rule_code`, `rule_name`, `prefix`, `pattern`, `length`, `separator`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES ( 'HoldToWipJob', '隔离转线边任务', 'JOB38', 'yyyyMMdd', 4, '-', NULL, '1', '2024-09-19 15:10:08', '1', '2024-09-19 15:10:08', b'0'); |
|
|
|
|
|
INSERT INTO `system_serial_number`( `rule_code`, `rule_name`, `prefix`, `pattern`, `length`, `separator`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES ( 'HoldToWipRequest', '隔离转线边申请', 'REQ58', 'yyyyMMdd', 4, '-', NULL, '1', '2024-09-19 14:32:46', '1', '2024-09-19 15:08:42', b'0'); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- 计划外出库增加目的地字段 |
|
|
-- 计划外出库增加目的地字段 |
|
|
ALTER TABLE request_unplannedissue_main add COLUMN destination VARCHAR(255) DEFAULT NULL COMMENT '目的地'; |
|
|
ALTER TABLE request_unplannedissue_main add COLUMN destination VARCHAR(255) DEFAULT NULL COMMENT '目的地'; |
|
|
ALTER TABLE job_unplannedissue_main add COLUMN destination VARCHAR(255) DEFAULT NULL COMMENT '目的地'; |
|
|
ALTER TABLE job_unplannedissue_main add COLUMN destination VARCHAR(255) DEFAULT NULL COMMENT '目的地'; |
|
|