Bug #1287
[ ESS Travel ] - Form Total Cost kosong pada form atasan
0%
Description
Dear, Developer and Teams.
Pada ESS Travel. tabel "Total Cost" kosong pada saat di form atasan, sedangkan pada saat form pengajuan tabel tersebut ada isinya (tidak kosong).
Mohon bantuannya untuk tabel "Total Cost" dimunculkan dengan isinya disetiap form atasan.
BizProcessID : Travel
BizFlowID : MD_Travel
Port : http://remote.minovais.com:31134/
Gambar Form Pada Task Create.
Gambar Form pada inbox Approval.
Files
Updated by Saswanto Tampan over 2 years ago
- Status changed from Assigned to QA Test
- Assignee changed from Saswanto Tampan to ericsson ericsson
update PCMWFDEFBIZPROC
BizProcessID=Travel
OnDocAfterRender=
var storeCost = Ext.StoreMgr.lookup('storePDSWFTRAVELCOST'); var cost = Ext.encode(Ext.pluck(storeCost.data.items, 'data')); Ext.Ajax.request({ async: false, method: 'POST', url: '/Travel/GetCalculatedCostTravel', params: { CostData: cost, }, waitMsg: 'Data...', success: function (response) { var result = Ext.decode(response.responseText); var dataCost = Ext.decode(result.data); var storeTotal = Ext.ComponentQuery.query('[name=PDSWFTOTCOSTTRV]')[0].getStore(); storeTotal.removeAll(); storeTotal.loadData(dataCost) }, failure: function (response) { var result = Ext.decode(response.responseText); MinovaMessage('', '000005', result.message.text, "E") } });