Project

General

Profile

Bug #1942

[Performance Management Review 4] - Validasi Weight

Added by Fiona Avangeline Jonathan almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Immediate
Start date:
01/18/2023
Due date:
% Done:

0%

Estimated time:
Spent time:

Description

Mas Azid,

Mohon dibantu untuk validasi weight Responsible di Review 4 belum jalan.

Terima kasih.

Port: http://remote.minovais.com:51121/
DB: remote.minovais.com,1445 | MinovaES_Rohto_Prod


Files

clipboard-202301181524-dpiec.png (20.4 KB) clipboard-202301181524-dpiec.png Fiona Avangeline Jonathan, 01/18/2023 03:24 PM
#1

Updated by Fiona Avangeline Jonathan almost 2 years ago

  • Subject changed from [Performance Management] - Validasi Weight to [Performance Management Review 4] - Validasi Weight
#2

Updated by Fiona Avangeline Jonathan almost 2 years ago

  • Project changed from CLIENT SUPPORT to ROHTO BUGS
#3

Updated by M Azid Wahyudi almost 2 years ago

  • Status changed from Assigned to QA Test
  • Assignee changed from M Azid Wahyudi to Fiona Avangeline Jonathan

dear fiona udah bisa di test ya

package :
- Bizproc (beforesubmit)

debugger;
var isSubmit = 1;
var taskID = MinovaUtil.WORKFLOW.getTaskId();
if (taskID 'start' || taskID 'create' || taskID == '') {

var StoreAppraiser = Ext.StoreManager.lookup('storePHRPA0048ESS_3');
var Appraiserlen = StoreAppraiser.getCount();
var AppraiserWeightsum = 0;
var AppraiserQualsum = 0;
for (var i = 0; i < Appraiserlen; i++) {
AppraiserWeightsum = AppraiserWeightsum + Number(Math.round(StoreAppraiser.getRange()[i].get('KPIWeight_48_3') + 'e2') + 'e-2');
AppraiserQualsum = AppraiserQualsum + Number(Math.round(StoreAppraiser.getRange()[i].get('QualificationWeight_48_3') + 'e2') + 'e-2');
}
if (AppraiserWeightsum != '100' || AppraiserQualsum != '100' ) {
MinovaMessageError("Error", "VAL100KPI", "");
isSubmit = 0;
}
var RESPONKPI = Ext.StoreManager.lookup('storeCRESPONKPI_3');
var RESPONKPIlen = RESPONKPI.getCount();
var ARESPONKPIsum = 0;
for (var i = 0; i < RESPONKPIlen; i++) {
ARESPONKPIsum = ARESPONKPIsum + Number(Math.round(RESPONKPI.getRange()[i].get('Responweight_3') + 'e2') + 'e-2');
}
if (ARESPONKPIsum != '100') {
MinovaMessageError("Error", "VAL100KPI", "");
isSubmit = 0;
}
}
if (isSubmit === 1) {
submit();
}

makasih

#4

Updated by Fiona Avangeline Jonathan almost 2 years ago

  • Status changed from QA Test to Closed

Done, terima kasih.

Also available in: Atom PDF