Bug #1424
[ESS-LEAVE] pengajuan cuti jika memilih tanggal 20 sampai 22 tidak dipilih dan kena validasi padahal masih di bawah -14 hari
Description
Dear tim developer mohon support nya untuk perbaikan pada validasi dimana employee 00000196 tidak bisa memilih tanggal 20-22 karena validasi tetapi tidak seharusnya muncul.
remote.minovais.com:61121
sql server 2019
remote.minovais.com, 1445\MSSQLSERVER2019
Files
Updated by M Azid Wahyudi over 2 years ago
dear masbin , untuk isuue ini udah bisa test ya
makasih
Updated by M Azid Wahyudi over 2 years ago
- Status changed from New to QA Test
- Assignee changed from M Azid Wahyudi to Muhammad Bintar
Updated by Muhammad Bintar over 2 years ago
masih belum bisa azid..
ane contohkan untuk employeeid lain misal 00000260 pada tanggal 27 juli tidak bisa input attendance.
kemungkinan karena ada attendance di tanggal 27 juli yang starttime nya 0000 dan endtime nya 0000 karena kalau saya hapus data itu, validasi tersebut tidak muncul kembali, tapi ane tes diisi starttime nya juga sama.
===================================================
di tabel custparam LVCKDATE
DECLARE @EmpID VARCHAR='00000260'
DECLARE @StartDate VARCHAR='20220727'
DECLARE @Regidtbl TABLE
(
RegID VARCHAR
);
INSERT INTO @Regidtbl
SELECT RegID
FROM dbo.PCMWFRUNMAIN
WHERE BizflowID = 'MD_Leave_SJ'
AND EmpIDAs = @EmpID;
DECLARE @TglRun TABLE
(
Tglrun VARCHAR
);
INSERT INTO @TglRun
SELECT DISTINCT
CASE
WHEN NOT EXISTS
(
SELECT DISTINCT
Value
FROM PCMWFRUNBIZDATA DATA
INNER JOIN @Regidtbl reg
ON reg.RegID = DATA.RegID
WHERE FieldID = 'StartDate'
AND Value = @StartDate
) THEN
'0'
ELSE
'1'
END;
DECLARE @TglOvr TABLE
(
Tglrovr VARCHAR
);
INSERT INTO @TglOvr
SELECT DISTINCT
CASE
WHEN NOT EXISTS
(
SELECT DISTINCT
StartDate
FROM PHRPA0019
WHERE EmployeeID = @EmpID
AND StartDate = @StartDate
) THEN
'0'
ELSE
'1'
END;
SELECT *
FROM @TglOvr,
@TglRun;
Updated by Muhammad Bintar over 2 years ago
- Status changed from QA Test to Developing
- Assignee changed from Muhammad Bintar to M Azid Wahyudi
Updated by Muhammad Bintar over 2 years ago
- File clipboard-202208251003-cxdej.png clipboard-202208251003-cxdej.png added
- Status changed from Developing to Assigned
update:
dear tim developer untuk case ini masih belum fixing.
berikut sampel employee id nya 00000379 mengajukan cuti di tanggal 22 agustus
Updated by M Azid Wahyudi over 2 years ago
- Status changed from Assigned to QA Test
- Assignee changed from M Azid Wahyudi to Muhammad Bintar
dear masbin , udah bisa di test ya
perbaikan :
- di bizproc :
- init
- method
makasih
Updated by M Azid Wahyudi over 2 years ago
noted perbaikan :
selain di bizproc
smessagecatalog : CEK19LV
custparam : LVCKDATE
Updated by Muhammad Bintar over 2 years ago
- Status changed from QA Test to Closed
- Assignee changed from Muhammad Bintar to M Azid Wahyudi