Project

General

Profile

Bug #1424

[ESS-LEAVE] pengajuan cuti jika memilih tanggal 20 sampai 22 tidak dipilih dan kena validasi padahal masih di bawah -14 hari

Added by Muhammad Bintar over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Start date:
07/29/2022
Due date:
08/02/2022
% Done:

0%

Estimated time:
Spent time:

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

clipboard-202207291454-hb15s.png (121 KB) clipboard-202207291454-hb15s.png Muhammad Bintar, 07/29/2022 02:54 PM
clipboard-202208251003-cxdej.png (62.2 KB) clipboard-202208251003-cxdej.png Muhammad Bintar, 08/25/2022 10:03 AM
#1

Updated by M Azid Wahyudi over 2 years ago

dear masbin , untuk isuue ini udah bisa test ya

makasih

#2

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
#3

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;

#4

Updated by Muhammad Bintar over 2 years ago

  • Status changed from QA Test to Developing
  • Assignee changed from Muhammad Bintar to M Azid Wahyudi
#5

Updated by Muhammad Bintar over 2 years ago

update:
dear tim developer untuk case ini masih belum fixing.

berikut sampel employee id nya 00000379 mengajukan cuti di tanggal 22 agustus

#6

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

#7

Updated by M Azid Wahyudi over 2 years ago

noted perbaikan :
selain di bizproc
smessagecatalog : CEK19LV
custparam : LVCKDATE

#8

Updated by Muhammad Bintar over 2 years ago

oke sudah deploy ke client

#9

Updated by Muhammad Bintar over 2 years ago

  • Status changed from QA Test to Closed
  • Assignee changed from Muhammad Bintar to M Azid Wahyudi

Also available in: Atom PDF