Bug #1830
[ESS-PMS Final Direct] User tidak bisa melanjutkan ess karena harus must calculate first tetapi sudah di calculate.
Description
dear tim developer mohon support nya untuk perbaikan pada ess dimana pada saat melakukan submit terjadi error calculate first padahal sudah di calculate.
remote.minovais.com:6161
username minovais
database sql server 2014
remote.minovais.com, 1452
Files
Updated by Kezia Pawitra Yulianti about 2 years ago
- Due date set to 11/30/2022
- Status changed from New to Assigned
- Priority changed from Normal to Urgent
Updated by M Azid Wahyudi about 2 years ago
- Assignee changed from Saswanto Tampan to Muhammad Bintar
dear masbin , udah bisa di test ya
package : E:\APP\BMS\WebClient\erp\controller\wf\pmsperform\ctr_pfdir.js
update di before submitnya :
onDocumentBeforeSubmit: function (submit, taskId, me) {
var KPIVALUE ='0';
var RecKPI = me.getGridKPI().store.getRange();
if (taskId === 'start' || taskId === ''){
KPIVALUE="1";
} else {
for (let i = 0; i < RecKPI.length; i++) {
if(RecKPI [i].data.kpi_app1_value.toString()!="0"){
KPIVALUE="1";
}
}
}
if (taskId === 'start' || taskId === ''){
var calculatedo = "1";
} else {
var calculatedo = MinovaUtil.WORKFLOW.getViewBodyWorkflow().down('textfield[name=sum_calculated_kpi]').getValue();
}
makasih
Updated by Muhammad Bintar almost 2 years ago
- Status changed from QA Test to Closed
- Assignee changed from Muhammad Bintar to M Azid Wahyudi