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.
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
- 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
- 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
=> 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
- Status changed from QA Test to Closed
- Assignee changed from Muhammad Bintar to M Azid Wahyudi
Also available in: Atom
PDF