5.Change Request #3802
closed[คม] พ่นสารเคมี ชุบมุ้ง แจกมุ้ง : ปรับตัวเลือกแหล่งสารเคมี
Start date:
26/06/2026
Due date:
% Done:
0%
Estimated time:
Description

เอากองทุนโลก และ RAI2E ออก แต่ในกรณี edit ที่เคยเลือกพวกนี้ไว้ให้แสดงได้ แต่ของใหม่ไม่มีให้เลือก
น่าจะต้องเอาออกจาก define code โดยปรับ valid = 0 แต่ในกรณี edit ให้ไปดึงมาแสดงกรณีค่าที่ส่งมาใม่มีใน list
Files
Subtasks
Related issues
Updated by Santiparp-M M about 1 month ago
- Status changed from New to Wait for Deploy
#3802 Retiring กองทุนโลก and RAI2E funding source options from all 3 vector control dialogs
-- ============================================================
-- Retire funding-source minor codes: กองทูนโลก (02) and RAI2E (05)
-- Major = '26' (แหล่งเงินทุน / ActivityTypeCode)
--
-- Effect: these options will no longer appear in Add dialogs.
-- Edit dialogs for existing records will still display
-- the saved value via client-side AllFlag logic.
-- ============================================================
UPDATE TBL_MS_DEFINE_CODE
SET Flag = '0'
WHERE Major = '26'
AND Minor IN ('02', '05');
-- Verify:
-- SELECT Minor, DescriptionTh, Flag
-- FROM TBL_MS_DEFINE_CODE
-- WHERE Major = '26'
-- ORDER BY Minor;
-- Expected: 02 = '0', 05 = '0'; 01/03/04 remain '1'
Updated by Santiparp-M M about 1 month ago

Updated by Santiparp-M M about 1 month ago
- Status changed from Wait for Deploy to Ready for Test
Updated by Pattanan Kaewkaew about 1 month ago
- Status changed from Ready for Test to Closed