I hope that someone like Victoria or Leslie can help me out here.
I've done SRS reports before but never had a request to include user defined fields in the report.
Using the test copy of the company database, I ran the following script to search all the tables for a user defined field with the label "Promo".
USE DEV
GO
SELECT t.name AS table_name,
SCHEMA_NAME(schema_id) AS schema_name,
c.name AS column_name
FROM sys.tables AS t
INNER JOIN sys.columns c ON t.OBJECT_ID = c.OBJECT_ID
WHERE c.name LIKE '%Promo%'
ORDER BY schema_name, table_name;
No love. I ran a trace and I see.
Lots of calls to SOP10200, SOP10100, and IV00101 when I use the Sales Transaction Inquiry zoom window adn drill down to the Sales user defined fields inquiry zoom user-defined part of the form.
Any advice on including the user-defined fields into the my queries would be helpful.