infor.com
concierge
infor u
developer portal
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
ION Connect
ION Workflow
ION API Gateway
Syteline Development
CPQ Discussion Ask a Colleague
Infor Data Fabric
Infor Document Management (IDM)
LN Development
API Usage
FAQs, How-To, and Best Practices