Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Since using forums in my early days 10 years ago in CompuServe, one had to log back on and sometimes wait days for a response. Now I get a response e-mailed to me which I can click a link and go right back to exactly where My post was..."

Geography

Where in the world do Tek-Tips members come from?
hamzajosh (Programmer)
18 Nov 03 10:07
I am attaching a note to the comments field in SOP sales transaction entry window. I am writing a report where i need to display this data in notes field. Can anyone tell me what table the notes field is stored in and how is it linked to this particular order so i can insert it into my report. Any help would be appreciated, thanks
Luvsql (TechnicalUser)
18 Nov 03 11:20
All of the comment ID's and text for the Comment on the main window are stored in the SOP10106 (link on both the SOPNUMBE and SOPTYPE).  The entire text is in the CMMTTEXT field.
hamzajosh (Programmer)
18 Nov 03 12:42
Luvsql, the table you showed has the text in the comment field. I am talking of the notes field ( the notes button next to the comment id lookup button ). I am putting some data in that notes field and attaching it to the order. I need the details of that notes field, not the comments field, thanks
stef315 (MIS)
18 Nov 03 12:55
Notes for the company are stored by Note Index in the SY03900 table.
hamzajosh (Programmer)
19 Nov 03 9:57
OK i got that. THe problem i have is now is how is this noteindex linked to the order. The order table ( sop10100) has a noteindex which is not the same as this noteindex. Please help me further, thanks
hamzajosh (Programmer)
19 Nov 03 10:37
Adding to above comment, what does the noteindx field in the SOP10100 table point to? Thanks for your time and effort. Also what is the best place to learn about all these table structures and link to each other?
Helpful Member!  Wolf6 (IS/IT--Management)
20 Nov 03 8:56
Hi. I think I have the solution that you are looking for. First, on the Sales Transaction Entry Window there are many notes fields that are visible. The only one that is linked to the record in the SOP10100 table is the one that follow the Document No. If you want to enter notes on a sales transaction, this is where to do it. The links would be:
SOP10100 -> SY03900 on NOTEINDX
As for the rest of the notes fields, including the comment id field. They are linked from the records that the line is associated with. Example. The Comment ID note is tied to the Comment ID master table. Let's say you have a Comment Named "Thanks". If you enter a note in this field, it will show every time you select "Thanks". The links would be:
SOP10100->SY04200(Comment Master) on COMMNTID
SY04200->SY03900 (Note Master) on NOTEINDX

Hope this helps
Scott S.
hamzajosh (Programmer)
20 Nov 03 10:16
Thanks Scoot that was awesome. I have asked a lot of people but still haven't got a satisfactory answer. What's the best place and easiest method to learn the Database tables and fields and linking for Dynamics 6.0
Luvsql (TechnicalUser)
20 Nov 03 10:25
You can either go to tools > resources > table descriptions (there it will show you all the tables and fields, then the keys on each) or install the SDK for Dynamics (shoon the second CD in the DSDK folder).
Luvsql (TechnicalUser)
20 Nov 03 10:26
You can either go to tools > resources > table descriptions (there it will show you all the tables and fields, then the keys on each) or install the SDK for Dynamics (on the second CD in the DSDK folder).
hamzajosh (Programmer)
20 Nov 03 12:23
Luvsql, I installed the SDK. No idea how to use it. I tried genview to see the view of my company database but it gave error saying genview.sql not found. Also what dictionary should i point it to and all. Pls  Help on how to use the SDK
Luvsql (TechnicalUser)
20 Nov 03 17:25
I'm using version 7, so I hope it's the same.  When I go into the Developer's Resources, then into Erwin Models.  Pick a module and then physical files. It will show you the table links and their keys.  
hamzajosh (Programmer)
21 Nov 03 10:11
luvsql, when i installed SDK, it gave me only 3 icons namely
data model documents
genview
great plains SDK readme,
I have no developer's resources and erwin models. Am i doing anything wrong in installing the SDK? I installed from DSDK directory on CD2 and ran setup.exe. I selected custom and added all the components there. Pls advise, thanks
winthropdc (Programmer)
25 Nov 03 22:29
In the 7.50 SDK is a document with a large number of Report Writer Functions that I got added into 7.00. It is not in the 7.00 SDK on the CD but can be downloaded from the web.

Included specific functions for handling Comments from SOP and POP and Note fields in general. For example

RW_SOPHDRCommentText(IN_Type, IN_Number, IN_characters, IN_line)

RW_SOPLINECommentText(IN_Type, IN_Number, IN_LineItem, IN_Component, IN_characters, IN_line)

RW_GetNoteText(IN_Index, IN_characters, IN_line)


Let me know if you want the document.

David Musgrave
Senior Development Consultant
Asia Pacific Professional Services

Microsoft Business Solutions
http://www.microsoft.com/BusinessSolutions

mailto:dmusgrav@microsoft.com

Any views contained within are my personal views and
not necessarily Microsoft Business Solutions policy.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close