Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Posted user ID -- Inventory

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Is there a way to show the username of the person who posts an inventory batch?  When we run the smartlist, the posted user ID is blank.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Posted user ID -- Inventory

    I was able to take the second query you posted and add some more columns to make it useful.

    Thanks for your help

  • Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: Posted user ID -- Inventory

    That's totally strange ! Can you please replace the WHERE condition as follows;

     WHERE ORDOCNUM = '#IVDocumentNumber' 

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Posted user ID -- Inventory

    The first query you  posted returns nothing even if I remove the where statement.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Posted user ID -- Inventory

    Nope, that didn't work either...blank

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Posted user ID -- Inventory

    Haha, no I never looked at the query that close.  Let me try with the number in there

  • Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: Posted user ID -- Inventory

    Carl,

    are you typing a specific inventory document number in the ORCTRNUM ?

    For instance, (  WHERE ORCTRNUM = '00000000000000118' ) ?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Posted user ID -- Inventory

    That is also empty

  • Verified answer
    Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: Posted user ID -- Inventory

    Okay then, run the following statement;

    SELECT  JRNENTRY AS JournalEntry,
            DEBITAMT AS DebitAmount,
            CRDTAMNT AS CreditAmount,
            LASTUSER AS LastUser,
            LSTDTEDT AS LastEditDate,  
            USWHPSTD AS UserWhoPosted,
            ORPSTDDT AS PostingDate,
            SOURCDOC AS SourceDocument,
            ORGNTSRC AS IVDocumentSource,
            ORCTRNUM AS IVDocumentNumber
            FROM GL20000
            WHERE ORCTRNUM = '#IVDocumentNumber'

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Posted user ID -- Inventory

    No, the SEE30303 table is empty

  • Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: Posted user ID -- Inventory

    In your Dynamics GP, do you have SEE30303 table populated ? If you run the SELECT * FROM SEE30303, would it return any result at all ?

    If it is populated, have you filled out the required parameter in the script, your IV Document Number ?

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans