Has anyone successfully done this? We are lsf 9.0.05 portal and apps as well. We would like to add cell phone and pager number, but are hoping that we can have the employees udate this information themselves.
This should be easy but I think you will need a different ESS page for each of the User Fields... I just think the AGS will be difficult (if not impossible) to create for two different user fields within one AGS.
I wonder if you could create an ESS to update the Additional Contacts numbers form. Probably a better solution then using 2 of your 99 user fields. (I am thinking it would not be that difficult to copy and modify the Certifications ESS to work with the additional contact numbers.)
I did as John suggested, wrote a simple Lawson program to do Maintenance on HREMPUSF table. I used Lawson's 4gl auto-paint tools using HREMPUSF as the table. I named the Program/form GH88. The user never sees this form. The form has the following fields:
HEU-COMPANY.
HEU-EMP-APP.
HEU-EMPLOYEE.
HEU-FIELD-KEY.
HEU-A-FIELD.
HEU-N-FIELD.
HEU-D-FIELD.
HEU-CURRENCY-CODE.
HEU-CURR-ND.
HEU-BASE-CURRENCY.
HEU-BASE-ND.
HEU-BASE-AMOUNT.
We do not use ESS but you could make the same type call from there as I did in my Design Studio form that we use for HR11. In it I call the GH88 program to update the userfield, which we use for Orientation date.
function callgh88() { //Convert Orientation Date, mm/dd/yyyy to yyyymmdd. var orienDt = lawForm.getFormValue("text208"); vMonth = orienDt.substr(0,2); vDay = orienDt.substr(3,2); vYear = orienDt.substr(6,4);
vDate = vYear + vMonth + vDay; //alert (vDate); //build string to use in call of GH88.1 (User Field Maintenance) var s = top.AGSPath + "?_PDL="; // s += top.lawsonPortal.getUserVariable("PRODLINE"); - This is the way to do it in 8.1
s += portalWnd.oUserProfile.getAttribute("ProductLine"); s += "&_TKN=GH88.1&_EVT=ADD&LFN=ALL&TDS=IGNORE&FC=A"; s += "&HEU-COMPANY=" + lawForm.getFormValue("text1"); s += "&HEU-EMP-APP=0"; s += "&HEU-EMPLOYEE=" + lawForm.getFormValue("text2"); s += "&HEU-FIELD-KEY=94"; s += "&HEU-D-FIELD=" + vDate; s += "&_OUT=XML&_EOT=TRUE";
//Send API to the server portalWnd.httpRequest(s);
}