web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Looking for tables where the User-defined fields are stored.

(0) ShareShare
ReportReport
Posted on by 25

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.

 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Ian Grieve Profile Picture
    22,784 on at

    Well, I'm neither a Victoria nor a Leslie but the information you're looking for will be in Sales User-Defined Work History (SOP10600) and keyed on SOPNUMBE and SOPTYPE.

  • Community Member Profile Picture
    on at

    That was it. Thanks Ian.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans