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)

LogisticsPostalAddress

(0) ShareShare
ReportReport
Posted on by 190

I have 2 different address locations for one vendor. Forexample :

2086.address.JPG

If a click "modify" for the second address i see that the description is :  test and not abcdjsk as in the first image.

How can i get this description for the second address?

modify.JPG

thanks,

*This post is locked for comments

I have the same question (0)
  • Vilmos Kintera Profile Picture
    46,149 on at

    Above the vendor address select More options > Advanced, which brings all details for an address record. It is the "Name or description" field which is being shown on the Vendor details form. LogisticsLocation.Description is the table/field.

  • Elda Mataj Profile Picture
    190 on at

    In fact i want to get the value of the (logisticsElectronicAddress.Description) for the second address and pass it to another field.

  • Vilmos Kintera Profile Picture
    46,149 on at

    All right, and with which part are you seeking assistance for? How to find the record, what tables are involved, or how/when to update the record and reflect it in the form?

  • Elda Mataj Profile Picture
    190 on at

    I need help about how to find a record.

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    Get the Party Id of your Vendor, based on that you may find the DirPartyTable record. Now from there it is DirPartyTable -> DirPartyLocation (based on party recid) -> LogisticsPostalAddress (based on location).

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    Let me give you an example using the DirPartyPostalAddressView, which contains the correct table structure and relations.

        VendTable                   vendTable;
        DirPartyPostalAddressView   addressView;
        
        while select addressView
            exists join vendTable
                where vendTable.AccountNum == 'VEND12345'
                    && addressView.Party == vendTable.Party
        {
            info(addressView.LocationName);
        }


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