Project

General

Profile

Feature #2606

Production: Setting autoload pada Tab COA

Added by jihad .... 9 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Immediate
Assignee:
Start date:
02/22/2024
Due date:
02/23/2024
% Done:

0%

Estimated time:
Spent time:

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


Add

Subtasks


Add

Related issues

#1

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

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

Mas Shofwan,

load yang diinginkan yaitu semua parameter juga tampil

#4

Updated by indra Z 9 months ago

  • Priority changed from Urgent to Immediate

Updated by shofwan shiddiq 7 months ago

Dear Jihad, Autoload sudah di buat ya. Untuk deploy silahkan deploy trigger di table PTRPRODUCTIONHEAD

[trgAfterInsert_PtrProductionHead]

#6

Updated by jihad .... 7 months ago

  • Status changed from QA Test to Assigned
  • Assignee changed from jihad .... to shofwan shiddiq
#7

Updated by shofwan shiddiq 7 months ago

  • Assignee changed from shofwan shiddiq to jihad ....

Updated by jihad .... 7 months ago

  • Status changed from Assigned to Closed

terima kasih mas shofwan

Also available in: Atom PDF