Project

General

Profile

Feature #1599 » LookupFunction-EmployeeID.js

Tri Rizqiaty, 09/21/2022 10:55 AM

 
1
var EmployeeID = Ext.ComponentQuery.query('[nameTable=CPHROM0054][name=EmployeeID]')[0].getValue(); MinovaUtil.ExecuteParamQuery({ ID: "GETEMPSUPERVISOR", EmployeeID: EmployeeID }, function (s) { var result = Ext.decode(s.responseText); var dt = Ext.decode(Ext.decode(result.data)); var SupervisorID = dt[0].SupervisorID; Ext.ComponentQuery.query('[nameTable=CPHROM0054][name=Instructor]')[0].setValue(SupervisorID); }, function (f) {});
(4-4/6)