Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
User Experience
Lawson Design Studio
PA52 Inquires not working after LSF9 migration
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Saef
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5226
People Online:
Visitors:
316
Members:
0
Total:
316
Online Now:
New Topics
User Group Announcements
Carolina User Group Meeting
12/20/2024 3:15 PM
Date & Time: February 6, 2025, 8:30am - 4:00pm
S3 Systems Administration
ADFS certificate - new cert
12/3/2024 9:38 PM
The certificates on the windows boxes expired and
Lawson S3 HR/Payroll/Benefits
Post Tax Benefit Plan Table
11/14/2024 9:16 PM
Hi, totally new to Laswon. I have a repor
Lawson S3 Procurement
ED501 Error: Map 850 not supported by /law/c15vda/lawson/test10/edi/bin/laws_out_91
11/12/2024 3:47 PM
Tried runnning ED501 and getting the atathced erro
Lawson S3 HR/Payroll/Benefits
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
Infor ERP (Syteline)
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:24 PM
Hi, I need help with an error on syteline while us
Dealing with Lawson / Infor
Implementing Lawson v10 with Cerner Surginet, Case Cart Picking, and Quick Adds for the OR
10/29/2024 4:20 PM
Hi Everyone, I am wondering if there is any org
Lawson S3 HR/Payroll/Benefits
Canada Tax Calculation (Federal and Provincial) Issue
10/23/2024 5:00 AM
Initially, we had problem with CPP2 calculation is
Lawson S3 HR/Payroll/Benefits
CA Section 125 401k Plan
10/22/2024 10:13 PM
Does anyone have any recommendations on how to fac
S3 Systems Administration
Running AC120 deleted records from ACMASTER table
10/22/2024 3:40 PM
We recently ran the AC120 as normal and somehow it
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1372
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
User Experience
Lawson Design Studio
PA52 Inquires not working after LSF9 migration
Please
login
to post a reply.
5 Replies
0
Subscribed to this topic
12 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Michael Thedford
Advanced Member
Posts: 19
1/3/2008 7:59 PM
I use custom PA52 portal pages as Display Execs in our Portal Inbaskets instead of using the Full Access default PA52 in the Folders link in the Inbasket. In my production 8.0.3.7 ENV, the custom Portal page will auto fill the Company, Employee, Action Code, Action NBR, and Effective Date, then Inquire when the page is opened. On my TEST LSF9 box, the custom PA52 only has the Company, Employee, and Action Code displayed as if it couldn't find the PA record. I put alerts in the javascript and it seems to be populating the fields with the correct data, but the inquire seems to not be working.
Windows 2003 boxes for both, working production ENV - 8.0.3.7, APPS 8.0.3.11, EMSS 8.0.3.8 (I know, it's very old, but works for us...). LSF9 box - 9.0.0.3, Apps still 8.0.3.11, EMSS 8.0.3.5406, CBL 9.0.0.0113.
The working 8.0.3.7 ENV does not have the manual application changes to the Forms Field Definitions for the PA52's and J-PA52's. The EMSS 8.0.3.54 requires these Forms Field Def's to be deleted and recreated again to use only the Company, Employee, Action Code, and Effective Date fields. I have made these changes in the LSF9 BPM and the default PA52 that is automatically added to the "Folders" link in the Portal Inbasket now works after the changes. I've tried leaving out the Action NBR in the script, but it still doesn't work. Does the script below still follow the correct syntax and usage for DS 9.x? The only thing I haven't had a chance to do is recreate the custom PA52 and the Portal Page from scratch to see if there is anything in the xml that may have changed between the 2 ENV's. Is there any differences in how Portal interacts with PA52 to get it to Inquire properly using the Javascript?
Thanks for any help or guidance.
The javascript without the alerts used on the Portal Page is as follows:
function tvlt_OnInit()
{
var pStorage = new PortalStorage()
pStorage.addElement("PCT-COMPANY",page.parameters.COMPANY)
pStorage.addElement("PCT-EMPLOYEE",page.parameters.EMPLOYEE)
pStorage.addElement("PCT-ACTION-CODE",page.parameters.ACTION)
pStorage.addElement("PCT-EFFECT-DATE",FormatLawsonDateToStandard(page.parameters.EFFECT_DATE))
pStorage.addElement("PCT-ACTION-NBR",page.parameters.ACTION_NBR)
page.setObjectValues("PFPA52.1",pStorage)
return true;
}
function FormatLawsonDateToStandard(sDate)
{
//Returns Lawson date (yyyymmdd) as Standard Date string (mm/dd/yyy)
var s = ""
if (sDate != "")
{s = sDate.slice(4,6) + "/" + sDate.slice(6,8) + "/" + sDate.slice(0,4)}
else
{s = ""}
return s
}
John Henley
Posts: 3353
1/3/2008 9:20 PM
Hi Michael, if you haven't run the PA52 .xml file thru the forms migration process, I'd do that first. Then try to inquire on that form (without calling it from the Portal page).
Michael Thedford
Advanced Member
Posts: 19
1/4/2008 5:03 PM
What is the forms migration process and/or script that the consultant should have run for this?
The custom PA52 actually does work if I manually enter/select the data and click inquire, but something in how the Portal Page is feeding the PA52 the fields and trying to do the inquire and/or handling any feedback from PA52 seems to be the issue.
Late yesteday, I created a copy of a PA52, no changes to the form, created a new Portal page, manually added the script in the above post which DS changed the name of tvlt to portalpage when creating the function, rebuilt the custom form index, cleared cache, changed the flow to use the new portal xml as the display exec in the usernodes, started a new PA to use to display the new display exec. This new one doesn't even display any values in the fields, like it never received them, although I inserted alerts in the script to verify what the values are. Something definitely is different in how to set this up in LSF9 DS from 8.0.3.x. I'm going to print out the Source xml code between the 2 ENV's for one of these Portal pages to see what if there is anything different.
Any other suggestions in where to look and or are you able to get one to work with the script above?
I'm also going to change see if I can manually set default values for the mapped fields to see if it will bring up a valid PA to test if it is even trying to do an Inquire on init.
Thanks for you help.
John Henley
Posts: 3353
1/4/2008 7:27 PM
There is a section in the Design Studio user guide called "Migrating Forms and Scripts Created in Release 3.x"
Basically, you need to create a Portal shortcut to
http://YourServer.YourDom...adeCustomContent.htm
That will run your 3.1 .xml files thru a conversion utility and prepare them for LSF9. The big thing was mixed-case naming and changes to servlets for AGS & DME, etc.
Michael Thedford
Advanced Member
Posts: 19
1/17/2008 9:08 PM
I finally got it to work. The are definitely major differences in how DS creates the forms and pages between the 8.0.3 and LSF9 versions of DS. The migrated 8.0.3.7 forms do not function like what LSF9 DS shows that it should. The migration process only checks for syntax issues in the custom script area, but not any differences in the XML coding that DS creates when the forms/pages are created. I built all of the forms and pages from scratch in LSF9 with the exact same settings as the migrated versions and they worked as they should. I compared the Source Code and found several differences and missing xml parameters in some of the command strings. If you are planning for your 8.x to LSF9 migration, go ahead and plan to create all custom Portal pages and Forms from scratch and don't bother to troubleshoot locating which xml parameter change and/or syntax needs to be changed or added to work in LSF9. Let LSF9 DS created it for you.
Charla Devore
New Member
Posts: 3
7/7/2009 11:31 AM
How did you get the effect date to populate correctly? The effect date for the portal page I created ignores the effect date of the work unit and populates the system date.
Thanks, Charla
Please
login
to post a reply.