Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
tonymag01
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
4995
People Online:
Visitors:
60
Members:
0
Total:
60
Online Now:
New Topics
Lawson S3 Procurement
Freight Costs
7/23/2014 3:47 PM
Is there a report that I can run that details the
Lawson S3 Procurement
Freight Charges
11/9/2026 6:50 PM
Would anyone have either an Add-Ins or a Crystal R
Lawson S3 HR/Payroll/Benefits
On demand checks
8/11/2026 2:56 PM
Hello.To be in compliance with a union contract, P
Lawson S3 HR/Payroll/Benefits
Off Cycle Payments
8/10/2026 9:04 PM
Hello.To be in compliance with a union contract Pa
Lawson S3 Procurement
One Procurement Group, Item Group and Vendor Group for 3 Company setup
7/24/2026 5:38 PM
Hi,Is it recommended to use One Procurement Group,
Lawson Portal
Has anyone applied Lawson Portal / Design Studio 10.1.0.40 patches for Chrome XSLT Deprecation? Any impact on custom forms?
7/10/2026 5:55 PM
Hello everyone,We are preparing for Chrome’s upcom
Lawson Portal
Need to limit available values in Manager Self-Service based on Action
4/16/2026 1:47 PM
Hello, Our managers have the ability in M
Lawson Portal
Lawson HR170 Jobs Index
3/30/2026 7:35 PM
Hi All, I am new in my role. The organization h
IPA/ProcessFlow
IPA Question - Filtering Employees by XRef Cost Center Across Person and HR Modules
3/2/2026 4:29 PM
Hello Everyone, I am building an IPA process in
Lawson S3 Financials
Lawson S3 to SAP S/4 Hana Migration
2/12/2026 8:54 PM
Can anyone recommend a consulting company who has
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3296
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1377
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Active Topics
Most Liked
Most Replies
Search Forums
Advanced Search
Prev
Next
Forums
Integration / Customization
S3 Customization/Development
scrgen form definition to display current date
Please
login
to post a reply.
5 Replies
0
Subscribed to this topic
19 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Demichener
New Member
Posts: 0
7/23/2013 2:29 PM
I'm trying to display, by default; the current date on a portal form using the scrgen form definition. ie. after the initial search box selection, the form would pop-up with the default values already populated. I've used various combinations, but can't seem to find one that works. Can someone please share how to accomplish this?
Judy Consoli
Veteran Member
Posts: 43
New Poster
Congrats on posting!
7/23/2013 2:38 PM
Split
Do you have Design Studio???
If so it's easy to add default. If not, then write back and I'll show you .xml code that design studio generates and maybe you can put it in the .xml code???
Judy Consoli
Veteran Member
Posts: 43
New Poster
Congrats on posting!
7/23/2013 2:41 PM
Split
Here's design studio code - see defval="@TD"
"text2" key="1" label="Date" nbr="_f10" nm="XPJ-DATE" row="2" sz="8" tp="Text"/>
Demichener
New Member
Posts: 0
7/23/2013 3:31 PM
Split
Yes, I do have Design Studios! But this is simply a cloned lawson program and I'ld rather stay away from DS if I can. My program is a batch extract that will be run every day. The design specs intend for the batch to be 'scheduled' without being initiated by the end users. All of the selection criteria is requested to be hard-coded, including the 'current system date'. I was shooting for pre-filled parameters on the form that would show up on the reports; as well as be changed if needed....... ie --- kind of redundant when the report already shows the current date and time as part of the heading......My thoughts were generated from the fact that not all 'scheduled' jobs will be run everyday. What if the system is not available for more than one day; or what if they have to re-run the job for yesterday.
Ragu Raghavan
Veteran Member
Posts: 477
New Poster
Congrats on posting!
Engaged Poster
Wow, you're on a roll!
Avid Poster
Seriously, you're a posting maniac!
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader art thou!
7/23/2013 3:57 PM
Split
How about make the date an optional field in .scr, and when running it leave it blank.
In the PD file, have this logic in the 100-PROGRAM routine
IF (PRM-DATE = ZEROES)
MOVE WS-SYSTEM-DATE-YMD TO PRM-DATE
END-IF
Demichener
New Member
Posts: 0
7/23/2013 6:15 PM
Split
I like the way you think, Ragu. I did something similar - I defaulted the screen date to 01/01/1754; then did the edit and replace in the PD. Your suggestion was right on track with what I was trying to accomplish. Thanks!
Please
login
to post a reply.