What we wound up doing was more closely examining the business requirements for performing these inquires. It turns out that only two forms out of the 19 requested were "deal breakers" if we couldn't perform this special lookup. Since there were only 2 forms, we opted to use Design Studio to create custom forms. They use similar logic but here is the logic:
URL:
domain/lawson/portal/index.htm?_PDL=STAGING&_TKN=LP51.1&_ID=LP51.1_CUSTOM&LEL-COMPANY=0001&LEL-EMPLOYEE=000000000&LEL-SEQ-NBR=0004
Logic from Design Studio Form:
function
FORM_OnInit()
{
/*
Required Fields (as retrieved from Fiddler):
_f2 LEL-COMPANY sz=4
_f4 LEL-EMPLOYEE sz=9
_f7 LEL-SEQ-NBR sz=4
*/
var
argCompany = portalWnd.getVarFromString(
"LEL-COMPANY"
, portalWnd.document.location);
var
argEmployee = portalWnd.getVarFromString(
"LEL-EMPLOYEE"
, portalWnd.document.location);
var
argSeqNum = portalWnd.getVarFromString(
"LEL-SEQ-NBR"
, portalWnd.document.location);
//
if
(argCompany !=
""
&& argEmployee !=
""
&& argSeqNum !=
""
)
{
lawForm.setDataValue(
"LEL-COMPANY"
, argCompany);
lawForm.setDataValue(
"LEL-EMPLOYEE"
, argEmployee);
lawForm.setDataValue(
"LEL-SEQ-NBR"
, argSeqNum);
//
lawformDoFunction(
"I"
);
}