infor.com
concierge
infor u
developer portal
Posts
Categories
Groups
Hubs
Developer
Healthcare
Hospitality
Public Sector
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
Your Groups
User Groups
Migrated Forums
FSM/HCM/S3 - Infor Lawson 10.x
HCM/S3 - Learning and Development
HCM/S3 - Global HR
HCM/S3 - Talent Acquisition
HR Service Delivery
Human Capital Management (HCM) - EMEA
Infor Configuration Management for Service Industries
Lawson - Business Intelligence
Lawson - Financials
Lawson - Human Resources
Lawson - Supply Chain
Lawson - Supply Chain Management
Lawson - Technology
MSCM on Landmark
About
Community News
Email Community Support
Home
Groups
FACTS - Partner Community
RW technique
sjacquin
I have used this with several customers and thought I would post it. As you know, reports by date range agains the SO.HIST (past invoice) file can be really slow to execute as you must traverse a potentially huge file. If in the "header" of a prompt report you specify the alternate sort of ORDER.DATE (which is really the second alt key kno=2, and is sort by invoice date) you can put this expression in the "Begin with" (you must start and end with the single quote): 'hta(bin(jul([[START YEAR]]),[[START MONTH]],[[START DAY]]),3))' and a similar expression in the using END YEAR, etc in the "End With". When I applied this to a report this morning it went from taking several minutes to complete to taking less than a second. You can still add sort phrases and other select criteria as you please, but this radically reduces the number of records read by bracketing only the dates of interest.
[Updated on 7/15/2011 3:43 PM]
Find more posts tagged with
Comments
Legacy Contributor
Excellent tip! I've filed it for future reference.
0911060553270289.pdf
Important Links
Community Hubs
Discussion Forums
Groups
Community News
Popular Tags
CPQ: Ask a Colleague
FAQs, How-To, and Best Practices
Idea
Infor OS Portal
UI Design
CPQ: Tips and Tricks
Infor Homepages
Widget Development
Infor EPM Migration
Infor Ming.le