infor.com
concierge
infor u
developer portal
documentation central
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
Report Formatter format id change
Elizabeth Mulhall
I've modified ICR710 (Stock Status Report) to add a new flag which will run a new format id.
I've added in ICR71A this new validation. With line 25640 commented out the program behaves as normal
25600 ! ----- VAL CATALOG TOTAL -----
25601 VAL_CATALOG_TOTAL:
25603 setesc 9710; setesc 9810
25610 perform "prog/SM/SMC999;val_z4"; if go_back then goto *return
25620 if x$="Y" then x1$="I",x7_3$="N",x2$=dim(20),x3$=dim(20,"z")
25630 if x7_3$="Y" then format_id$=" 5" else format_id$=tbl(pos(x1$="IAVRC"),format_id$," 1"," 1"," 2"," 3"," 4")
25640 ! if x$="Y" then format_id$=new_format_id$
25650 gosub CHANGE_FORMAT
25690 return
25500 ! ----- CHANGE FORMAT -----
25501 CHANGE_FORMAT:
25510 if save_format$<>format_id$ then _exit_to_driver=1,_format_changed=1
25520 save_format$=format_id$
25525 return
With this code where 25640 is not commented out, It never goes pass the OK button on the selection screen. When I hit OK it just goes back to the selection inputs. I have to un-check the new flag or click cancel to be able to continue.
25600 ! ----- VAL CATALOG TOTAL -----
25601 VAL_CATALOG_TOTAL:
25603 setesc 9710; setesc 9810
25610 perform "prog/SM/SMC999;val_z4"; if go_back then goto *return
25620 if x$="Y" then x1$="I",x7_3$="N",x2$=dim(20),x3$=dim(20,"z")
25630 if x7_3$="Y" then format_id$=" 5" else format_id$=tbl(pos(x1$="IAVRC"),format_id$," 1"," 1"," 2"," 3"," 4")
25640 if x$="Y" then format_id$=new_format_id$
25650 gosub CHANGE_FORMAT
25690 return
So I'm stuck because I can't get the program to run the new format id. It seems to be having an issue when the format_id$ changes.
Can anyone shed some light on this please???
Find more posts tagged with
Comments
bob-fitzgibbon
Sissy,
Unless "new_format_id$" is set somewhere else in your code, you are making the format_id$ value blank on line 25640 (unremarked) and the report formatter will not run with a blank format_id$ value.
Bob Fitzgibbon
Earnest & Associates
Elizabeth Mulhall
I was able to figure it out. My new_format_id$ was set properly.
I had just entered the ICR71A;val_order in the custom F4 instead of custom validation. So my custom val_order was not executing.
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
Widget Development
Infor Homepages
Infor Ming.le
Infor EPM Migration