Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

find Cust Account ID

(0) ShareShare
ReportReport
Posted on by 175

Hi

I am at DocuView (Document Handling) Form which shows all the docs related to the selected customer from Customer Form.

Now how do I get selected customers account number through X++

*This post is locked for comments

  • Basant Sharma Profile Picture
    175 on at
    Re: Re: Re: find Cust Account ID

    Hey, its done...

    Lemme brief the answers of both the queries, myself...

    1. As soon as I change my selection at customer form (background), document values in document handling form gets automatically changed. how Ax is doing this?

         Ax has some generic functionalities like Doc handling etc. In this case, it can't attach it with any number sequence as it can be repeatable. For this, it took RecID as relation key. In DocuRef, it has RefTableID which indicates to Table with which it has linked and RefRecID which recordindicates the records it is linked with. So make a join with the help of RefTableID & RefRecID and get the required info.

    2. How can i trace the customer name of selected customer from docuView form.

    make a join with the help of above fields and get the required data, from anywhere in the system

  • Basant Sharma Profile Picture
    175 on at
    Re: Re: find Cust Account ID

    No, actually when I select any customer at customer form and then select document handling option, it opens DocuView form and showing all the documents which are uploading with respect to that selected customer.

    Now my requirement is doing something at DocuView form with respect to selected customer. I wanna know the  following

     1. As soon as I change my selection at customer form (background), document values in document handling form gets automatically changed. how Ax is doing this?

    2. How can i trace the customer name of selected customer from docuView form.

  • Community Member Profile Picture
    on at
    Re: find Cust Account ID

    Hi,

    Can you please explain more about your issue, do you mean that you want all the documents in DocuView and not just the selected customer is that what you mean???

    Regards,

    Yousef Shawareb

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,145 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,917 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans