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
VISUAL - Enterprise Customer Community
How to modify an existing formula in Gupta
Legacy Contributor
Hello,
I am trying to modify an existing formula in one of our qrp forms that is selecting one of three warehouses to produce the shipping delivery report. I would like to add a second warehouse to the formula so that the report will show shipments from either warehouse. The current formula looks like this...
NumberIFF( StrCompare( PRIMARY_WHS_ID , 'WHS' ) , 0 , 1 , 0 )
WHS is the current warehouse being selected. I would like add in, MN as another warehouse to be included into the report.
I have tried a couple of times with commas and things but I don't know programming.
Please just tell me how to insert "MN" into this formula so that both WHS and MN will be included.
Thank you,
Paul
Find more posts tagged with
Comments
Legacy Contributor
If you're using the NumberIFF( StrCompare( PRIMARY_WHS_ID , 'WHS' ) , 0 , 1 , 0 ) formula to conditionally display a line, then NumberIFF( StrCompare( PRIMARY_WHS_ID , 'WHS' ) , 1 , 1 , 0 ) should show warehouse 'MN', or any warehouse <
'WHS'
if used in the Properties: Line/Conditional Display section, NumberIFF( StrCompare( PRIMARY_WHS_ID , 'WHS' ) , 0 , 1 , 0 ) would hide any line where the warehouse <> 'WHS'.
If you only want WHS or MN, you'll have to nest your NumberIFF and StrCompare formulas.
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