Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Line item Comment in Smart list

Posted on by Microsoft Employee

Hi,

When we process credit notes for our customers, we leave a comment at each line mentioning a reference number. Is there a way of pulling line item comments in a smart list. I was able to pull comment at document level but did not find any option for line item.

Thanks,

Zeeshan

*This post is locked for comments

  • Verified answer
    Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: Line item Comment in Smart list

    Okay. In Dynamics GP 2013, you can use the Smart list designer to get this data into GP. Here is the link:

    Microsoft Dynamics GP 2013 SP2 SmartList Designer New Features

    Don't forget to create a view for the select statement mentioned in the previous post.

    Let me know if you need any further assistance,

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Line item Comment in Smart list

    Looks like we are on the right track. I am a beginner when it comes to designing a smart list. Would you know anywhere I can easily get guidance on step by step designing a smart list.

  • Verified answer
    Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: Line item Comment in Smart list

    Just to get things clear and avoid any misinterpretation . When you go to Smartlist > Sales Line Transactions. There are four columns which you can add which are :

    • Comment_1
    • Comment_2
    • Comment_3
    • Comment_4

    These four columns are not the same ones retrieved from Sales Line Comment work and history. They retrieve data from another tables which is SOP10106 (Sales User defined work and History).  So in your case, chances are you might find these four fields empty on the smart list, because your comments are simply recorded in another table (SOP10202)

  • Verified answer
    Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: Line item Comment in Smart list

    Okay, we are clear now. Consider the script below which will retrieve all line item comments. SOP numbers with no line item comments won't be retrieved.

    • [SOP10202] Sales Line comments work and history
    • [SOP10200] Sales Transactions Amounts Work
    • [SOP30300] Sales Transactions Amounts History
    SELECT  SOP_Number ,
            Status ,
            ITEMNMBR ,
            ITEMDESC,
    		COMMENT_1 ,
            COMMENT_2 ,
            COMMENT_3 ,
            COMMENT_4 ,
            Comment_Text        
    FROM    ( SELECT    SOPNUMBE AS SOP_Number ,
                        LNITMSEQ ,
                        CASE SOPTYPE
                          WHEN 1 THEN 'Quote'
                          WHEN 2 THEN 'Order'
                          WHEN 3 THEN 'Invoice'
                          WHEN 4 THEN 'Return'
                          WHEN 5 THEN 'Back Order'
                          WHEN 6 THEN 'Fulfillment Order'
                        END AS SOP_Document_Tyoe ,
                        COMMENT_1 ,
                        COMMENT_2 ,
                        COMMENT_3 ,
                        COMMENT_4 ,
                        CMMTTEXT Comment_Text
              FROM      [SOP10202]
            ) AS A
            LEFT OUTER JOIN ( SELECT    'Work' AS Status ,
                                        SOPNUMBE ,
                                        LNITMSEQ ,
                                        ITEMNMBR ,
                                        ITEMDESC
                              FROM      SOP10200
                              UNION ALL
                              SELECT    'History' AS Status ,
                                        SOPNUMBE ,
                                        LNITMSEQ ,
                                        ITEMNMBR ,
                                        ITEMDESC
                              FROM      SOP30300
                            ) AS B ON A.SOP_Number = B.SOPNUMBE
                                      AND A.LNITMSEQ = B.LNITMSEQ


    Here is the data set of the result:

    You may create a view for the script above and get it published on Dynamics GP through Smartlist designer or builder.

    Let me know if you have any further inquiries,

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Line item Comment in Smart list

    When you click on the blue arrow next to the Item number, another window pops up.

    There underneath is the comment field. When you click on blue arrow next to comment

    Here is the reference number in the comment field

  • Verified answer
    Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: Line item Comment in Smart list

    Zeeshan

    Too many questions. Though, I am trying to make sure I understand your inquiry quite well

    Here is the line item section, can you please specify where you put the comment ?

    Your feedback is highly appreciated,

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Line item Comment in Smart list

    I am referring to SOP entry.

  • Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: Line item Comment in Smart list

    Are you talking about this note on the Receivable Transaction Entry window ?

    Your feedback is highly appreciated,

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans