Feature #1599 » LookupFunction-EmployeeID.js
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) {}); |
---|