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)

Help me to find relation between tables to find the Vendor bank Address...

(0) ShareShare
ReportReport
Posted on by

i want to display the vendor bank account Address in Report for that i want to know relation between BankAccountTable,VendBankAccountTable and LogisticPostalAddressTable, i found the relation between Bankaccounttable and  LogisticPostalAddressTable but i cant find with table VendBankAccountTable so that i can display bank address for particular vendor please suggest or help on this...

*This post is locked for comments

I have the same question (0)
  • Ali Zaidi Profile Picture
    4,657 on at

    You can use vendBankAccountTable.addressing() method.

    for bank BankAccountTable you can get by x++ code

    VendBankAccount _BankAccount;      

       LogisticsPostalAddress _postalAddress;

       LogisticsLocation  _location;

       while select * from _BankAccount

           join * from _location

           join _postalAddress

           where _postalAddress.Location == _location.RecId

           && _BankAccount.Location == _location.RecId

       {

        info (_BankAccount.AccountID + " address "+ _postalAddress.Address);  

       }

  • Ali Zaidi Profile Picture
    4,657 on at

    VendBankAccount  table has method which returns address

    VendBankAccount.addressing() ; Use that in report

    For BankAccountTable you can use following query to fetch its address, both table has similar releationship with logistic location table

    BankAccountTable  _BankAccount;    

       LogisticsPostalAddress _postalAddress;

       LogisticsLocation  _location;

       while select * from _BankAccount

           join * from _location

           join _postalAddress

           where _postalAddress.Location == _location.RecId

           && _BankAccount.Location == _location.RecId

       {

        info (_BankAccount.AccountID + " address "+ _postalAddress.Address);  

       }

  • Suggested answer
    Community Member Profile Picture
    on at

    Check the following blog post.

    thinkinginax.blogspot.com/.../getting-address-by-type.html

    Hope this helps you out.

  • Community Member Profile Picture
    on at

    Further to this, how does one use DIXF and import the vendor bank account with an address?

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