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 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

I have the same question (0)
  • Community Member Profile Picture
    on at

    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

  • Basant Sharma Profile Picture
    175 on at

    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.

  • Basant Sharma Profile Picture
    175 on at

    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

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 AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans