...
Added 'Spend Limit' and 'Single Amount Limit' string fields to the form. These fields are sent to the report instead of the currency fields that are visible to the requester on the form.
01/27/2020 (Test)
-Updated form to not validate NetID field under User Information. Instead, fields will be cleared out upon completion of service call if NetID does not exist in LDAP.
(not in prod yet)
-added a new check for supervisor vs department head. Since delegates could potentially be used, new code has been added to check for if the designee is the same as the supervisor.
//onItemChange of designee table
var reviewerNetId = [];
var table = BO.F_DesigneeTable;
for (var i = 0; i < table.getLength(); i++) {
reviewerNetId.push(get(table.get(i),"F_DesigneeNetId").getValue());
}
BO.F_supervisornetidcheck.setValue(reviewerNetId.join(", "));
//code is placed onItemChange of new field for Designee NetIds
value = BO.F_supervisornetidcheck.getValue()
SupervisorNetId = BO.F_SupervisorNetId.getValue()
if (value.indexOf(SupervisorNetId) !== -1) {
BO.F_SupervisorException.setValue(true)
}
else { BO.F_SupervisorException.setValue(false)
}
Field Mapping and requirements
...