Project

General

Profile

Feature #2683

pembuatan query untuk generate personal working schedule

Added by Muhammad Bintar 8 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Start date:
04/01/2024
Due date:
04/08/2024
% Done:

0%

Estimated time:
Spent time:

Description

dear tim developer mohon support nya untuk pembuatan query untuk generate personal working schedule.

ini contoh dari asuransi bintang

DECLARE @toinsertmd125 TABLE
(
[landscape] VARCHAR
,[emp_id] VARCHAR
,[start_date] VARCHAR
,[end_date] VARCHAR
,[day_type] VARCHAR
,[ph_id] VARCHAR
,[user_change] VARCHAR
,[last_change] VARCHAR
,[created_by] VARCHAR
,[created_date] VARCHAR
)
insert into @toinsertmd125
select md25.landscape, md25.emp_id, cal.datespecified, cal.datespecified,cal.day_type,cal.ph_id, 'system' , FORMAT,'yyyyMMddHHmmss'), 'system',FORMAT,'yyyyMMddHHmmss') from hr_md_emp_md0025 md25
left join hr_tm_workschedule_calender cal on md25.ws_type = cal.workschedule_type
and cal.year= '2024'
where md25.ws_type = 'OVT' and md25.start_date = '20240101'
--SELECT * FROM @toinsertmd125
INSERT INTO dbo.hr_md_emp_md0125
SELECT DISTINCT landscape,[emp_id],[start_date],[end_date],[day_type],[ph_id],[user_change],[last_change],[created_by],[created_date] FROM @toinsertmd125

remote.minovais.com:61120
database sql server
remote.minovais.com, 1445


Files

GeneratePWSMinovaES.txt (920 Bytes) GeneratePWSMinovaES.txt M Azid Wahyudi, 04/02/2024 02:44 PM

Also available in: Atom PDF