Project

General

Profile

Bug #483

travel cost pada ess travel untuk cost center tidak bisa autoload

Added by Muhammad Bintar about 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Immediate
Start date:
10/11/2021
Due date:
11/03/2021
% Done:

0%

Estimated time:

Description

dear tim developer mohon support nya untuk perbaikan pada ess travel dimana pada saat melakukan pengisian travel cost bisa autoload untuk cost center nya.

mengambil data cost center dari assignment.



Files

clipboard-202110111122-xwkt2.png (88.5 KB) clipboard-202110111122-xwkt2.png Muhammad Bintar, 10/11/2021 11:22 AM
clipboard-202110111122-gozmk.png (130 KB) clipboard-202110111122-gozmk.png Muhammad Bintar, 10/11/2021 11:22 AM
auto_Load_Cost_Center.txt (895 Bytes) auto_Load_Cost_Center.txt M Azid Wahyudi, 11/04/2021 03:37 PM
#1

Updated by Kezia Pawitra Yulianti about 3 years ago

  • Status changed from New to Assigned
  • Assignee changed from Kezia Pawitra Yulianti to Mr. Yusuf
  • Priority changed from Normal to High

Pak Ucup,
tolong untuk di assign yaa ke tim developer

Tks

#2

Updated by Kezia Pawitra Yulianti about 3 years ago

  • Due date changed from 10/18/2021 to 11/03/2021
  • Assignee changed from Mr. Yusuf to M Azid Wahyudi
  • Priority changed from High to Immediate

Dear Azid,
minta tolong yaa untuk dapat di fixing sesuai dgn informasi dr BIntar

Tks

#3

Updated by M Azid Wahyudi about 3 years ago

=> penambahan CostCenter di field OnInitExtensions di ID = PDSWFTRAVELCOSTCostCostType :
'[id=PDSWFTRAVELCOSTCostCostType]':{change:function(){mapToTypeTravel();CostCenter();}

=> penambahan function di field OnMethodExtensions:

function CostCenter(){var body=MinovaUtil.WORKFLOW.getViewBodyWorkflow();var StartDate=body.down('[name=HeaderStartDate]').getValue();var empId=MinovaUtil.WORKFLOW.getEmpId();MinovaUtil.ExecuteParamQuery({ID:"TRAVELGETCOSTCENTER",empId:empId,stDate:StartDate},function(s){var result=Ext.decode(s.responseText);var dt=Ext.decode(Ext.decode(result.data));Ext.ComponentQuery.query('[id=PDSWFTRAVELCOSTCostCostCenter]')[0].setValue(dt0.CostCenter);},function(f){});}

=> tambah Data di table [dbo].[PCMWFCUSTPARAM] :

ID : TRAVELGETCOSTCENTER

Value :
SELECT EmployeeID,StartDate,CostCenter FROM PHRPA0002 WHERE EmployeeID=@empId AND StartDate<=@stDate AND EndDate>=@stDate

CommandType : sqlstring

#4

Updated by Muhammad Bintar about 2 years ago

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

Also available in: Atom PDF