Project

General

Profile

Bug #2052

[HR-REPORT PMS INDIVIDU] minta di list apa aja yang harus di deploy ke rohto production

Added by Muhammad Bintar over 1 year ago. Updated over 1 year ago.

Status:
QA Test
Priority:
Urgent
Start date:
03/07/2023
Due date:
03/10/2023 (about 19 months late)
% Done:

0%

Estimated time:
Spent time:

Description

dear tim developer mohon support nya untuk me list apa saja yang harus di deploy ke production.
karena sudah deploy SP teteapi nama masih belum berubah.

remote.minovais.com:51121
database sql server 2019
remote.minovais.com, 1445

rohto_prod_51121


Files

clipboard-202303071351-jypzu.png (90.8 KB) clipboard-202303071351-jypzu.png Muhammad Bintar, 03/07/2023 01:51 PM
#1

Updated by M Azid Wahyudi over 1 year ago

  • Status changed from New to QA Test
  • Assignee changed from shofwan shiddiq to Muhammad Bintar

dear masbin , udah bisa di test ya di client udah di deploy ke sana

package :
update function GetPositionHead

berikut updatenya :

ALTER FUNCTION [dbo].[GetPositionHead]
(
@org_unit varchar(8),
@key_date varchar(8)
)
RETURNS varchar(8)
AS

--DECLARE @org_unit varchar(8) = '00000002'
--DECLARE @key_date varchar(8) = '20170829'

BEGIN
-- Declare the return variable here
DECLARE @position_head varchar(8)

-- Add the T-SQL statements to compute the return value here
--SELECT @position_head = dbo.[GetObjRel](@org_unit,'O','A','001','P',@key_date)
SELECT @position_head = O2.RelationshipObject
FROM dbo.PHROM0002 O2 INNER JOIN
dbo.PHROM0001 O1 ON O2.RelationshipObject = O1.ObjectID
AND O1.StartDate <= @key_date
AND O1.EndDate >= @key_date
AND O1.ObjectClass = 'P'
AND O1.PositionHead = '1'
WHERE O2.ObjectID = @org_unit
AND O2.ObjectClass = 'O'
AND O2.RelationshipDirectory = 'A'
AND O2.RelationshipType = '001'
AND O2.RelationshipClass = 'P'
AND O2.StartDate <= @key_date
AND O2.EndDate >= @key_date
SET @position_head = ISNULL(@position_head,'')
-- Return the result of the function
RETURN @position_head

END

makasih

Also available in: Atom PDF