Feature #2606
Production: Setting autoload pada Tab COA
Description
Mas Shofwan,
Pada production menu QC Inspection terdapat tab COA. untuk kolom parameter, unit dan standard ingin di autoload ketika klik button add, parameternya sudah dibuat.
table parameter: PCMFILOPARAMETER
table coa: PTRPRODCOA
Menu: Logictic & Service > Production Management > QC Inspection
Port: http://remote.minovais.com:61138/
Server: remote.minovais.com,1452
DB: MinovaES_KJL_Prod
Terima kasih.
Files
Subtasks
Related issues
Updated by Kezia Pawitra Yulianti 9 months ago
- Due date set to 02/23/2024
- Status changed from New to Assigned
- Priority changed from Normal to Urgent
Updated by shofwan shiddiq 9 months ago
- File clipboard-202402231406-tnqpv.png clipboard-202402231406-tnqpv.png added
- Status changed from Assigned to QA Test
- Assignee changed from shofwan shiddiq to jihad ....
Dear Jihad, Sudah auto load ya utk COA nya
Perubahan di SDATAATABLEFIELD Table Name = PTRPRODCOA, FieldName = Parameter, Kolom Select Function
debugger;
var stores = Ext.StoreMgr.lookup("storePTRPRODCOA");
var grid = Ext.getCmp(gridName);
var selection = grid.getView().getSelectionModel().getSelection()[0];
var idx = grid.store.indexOf(selection);
if (selection == undefined) {
idx = index;
}
var UnitValue = stores.getAt(idx).get('Unit');
var StandardValue = stores.getAt(idx).get('Standard');
var store = Ext.StoreMgr.lookup("store_PTRPRODCOAParameter");
//var idx = store.getCount() - 1;
var Parameter = val.value;
Ext.Ajax.request({
async: false,
method: 'POST',
url: '/UserControl/GetStore',
params: {
tableName: 'PCMFILOPARAMETER',
param: 'Parameter[=]' + Parameter
},
success: function (response) {
var results = Ext.decode(response.responseText);
dtgrid = results.data;
}
});
var max;
for (var i = 0; i < dtgrid.length; i++) {
max = dtgrid[i];
}
if (max != undefined) {
stores.getAt(idx).set('Unit', max.Unit);
stores.getAt(idx).set('Standard', max.Standard);
} else {
stores.getAt(idx).set('Unit', '');
stores.getAt(idx).set('Standard', '');
}
Updated by jihad .... 9 months ago
- File clipboard-202402231644-eh6xu.png clipboard-202402231644-eh6xu.png added
- Status changed from QA Test to Assigned
- Assignee changed from jihad .... to shofwan shiddiq
Mas Shofwan,
load yang diinginkan yaitu semua parameter juga tampil
Updated by shofwan shiddiq 7 months ago
- File clipboard-202404291040-bub7x.png clipboard-202404291040-bub7x.png added
- Status changed from Assigned to QA Test
- Assignee changed from shofwan shiddiq to jihad ....
Dear Jihad, Autoload sudah di buat ya. Untuk deploy silahkan deploy trigger di table PTRPRODUCTIONHEAD
[trgAfterInsert_PtrProductionHead]
Updated by jihad .... 7 months ago
- Status changed from QA Test to Assigned
- Assignee changed from jihad .... to shofwan shiddiq