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
Need override assistance
Legacy Contributor
Hello,
I have this override in a report,
SELECT CONTACT_PHONE , CONTACT_FAX , FREE_ON_BOARD FROM QUOTE WHERE QUOTE.ID = :QUOTE_ID
and all I want to do is append "NAME" from the "SALES_REP" table where an already existing "SALES_REP_ID" on the report = ID.
Everything I have tried is failing. Can someone please tell me what I am doing wrong or show me what should work?
Error: "Column count not equal to variable count."
Thank you,
Paul
Find more posts tagged with
Comments
Legacy Contributor
Try using this query
SELECT CONTACT_PHONE , CONTACT_FAX , FREE_ON_BOARD, SALES_REP.NAME
FROM QUOTE
LEFT OUTER JOIN SALES_REP on SALES_REP.ID = QUOTE.SALESREP_ID
WHERE QUOTE.ID = :QUOTE_ID
Be sure to have a destination variable for the new NAME column.
Legacy Contributor
That's the ticket! Thanks Jeremy. I owe you one.
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