Defauling "Company Number" on a form

 7 Replies
 0 Subscribed to this topic
 17 Subscribed to this forum
Sort:
Author
Messages
Shane Jones
Veteran Member Send Private Message
Posts: 460
Veteran Member

I think this should be easy in LSF 9.0.0.

Anyone know an easy way to change PORTAL so that a form will defaul it the company number.   We only have one number but have to type it EVERY time.   (I have modifed hr11.1.xml but did not see anything there for the company number (hight have missed it....)

Thoughts?

 

Shane

Shane Jones
Tools: HR, Payroll, Benefits, PFI, Smart Office, BSI, Portal and Self-Service
Systems: Lawson, Open Hire, Kronos, Crystal Reporting, SumTotal Learning
** Teach others to fish...
Shane Jones
Veteran Member Send Private Message
Posts: 460
Veteran Member
OKAY.... Now I am thinking how about this: (DREAMING A BIT) I want to create a web script that will: Open HR11 - enter the company number as 1, click search, and then search again, change the = to like and drop the curser in the fields for the associate..... (I Figure this out and I will be a hero.)
Shane Jones
Tools: HR, Payroll, Benefits, PFI, Smart Office, BSI, Portal and Self-Service
Systems: Lawson, Open Hire, Kronos, Crystal Reporting, SumTotal Learning
** Teach others to fish...
JudeBac
Veteran Member Send Private Message
Posts: 129
Veteran Member
Let me know too since we are yet to migrate to LSF9. However, are you considering Design Studio in the future? This surely fits your need, but with a price tag way over our budget...
Shane Jones
Veteran Member Send Private Message
Posts: 460
Veteran Member
Design Studio does not make sense for the types of changes I want to make.... However: THIS WORKS TO POPULATE THE COMPANY NUMBER http://servername/lawson/....1&_HK=0001000000000 (However it opens with duplicate things in upper right corner - a little strange) IF THAT WORKED I THOUGHT THIS WOULD WORK: lawform|TKN=HR11.1&_HK=0001000000000 (this does not work in the URL field of the bookmark - it opens HR11 but does not populat eht HK information) I will keep looking...
Shane Jones
Tools: HR, Payroll, Benefits, PFI, Smart Office, BSI, Portal and Self-Service
Systems: Lawson, Open Hire, Kronos, Crystal Reporting, SumTotal Learning
** Teach others to fish...
John Henley
Send Private Message
Posts: 3351
Well, I guess Lawson wants to sell you Design Studio You could probably hack something into the Portal javascript that (like Design Studio forms do) sets the default value when the form is retrievedIt would need to be re-applied every time you update Portal with patches, etc.
Thanks for using the LawsonGuru.com forums!
John
Shane Jones
Veteran Member Send Private Message
Posts: 460
Veteran Member
Okay, Can someone script the following for HR11 - On click run a side script that: - enters 1 in the "Company" field - clicks the "Employee" search button that is next to the "Employee" field - JUMP ALL THE WAY TO THE "Search -- Webpage Dialog" The NEW LSF9 actually makes users click more times to search - duh - my associates are upset at the additional clicks to search so I am trying to find a way to simplify searching...
Shane Jones
Tools: HR, Payroll, Benefits, PFI, Smart Office, BSI, Portal and Self-Service
Systems: Lawson, Open Hire, Kronos, Crystal Reporting, SumTotal Learning
** Teach others to fish...
Shane Jones
Veteran Member Send Private Message
Posts: 460
Veteran Member

BTW - Putting the following in the bookmark URL works as well /lawson/portal/index.htm?_PDL=PROD&_TKN=HR11.1&_HK=0001000000000 Issue: it nests HR11 so the screen looks a little different but it DOES work......  

(When I used fiddler for the URL to open the Search directly it opened but did not include any information on the screen - meaning something before holds HR11, Company and Employee to be sent back to HR11 when you click the FIND button.)

BTW - I am only concerned about PORTAL.... I am NOT concerned about this in LID....

Shane Jones
Tools: HR, Payroll, Benefits, PFI, Smart Office, BSI, Portal and Self-Service
Systems: Lawson, Open Hire, Kronos, Crystal Reporting, SumTotal Learning
** Teach others to fish...
Jimmy Chiu
Veteran Member Send Private Message
Posts: 641
Veteran Member
You can easily modify the HR11.scr to have it default to a company look for "COMPANY:& ]" change it to "COMPANY:& 1]" will default to 1 recompile after the changes, then everytime you launch HR11, 1 will be filled in already for you. It works with all the field if you default in a value.