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 :
Finance | Project Operations, Human Resources, ...
Answered

Get field from table TaxVatNumTable

(0) ShareShare
ReportReport
Posted on by

Hi,

I want to retrieve a field in the TaxVatNumTable , but I can't find the relation to the AalesAgreementHeaderHistory table.

can you guys help me?thank you
I have the same question (0)
  • Suggested answer
    ergun sahin Profile Picture
    8,826 Moderator on at

    AalesAgreementHeaderHistory is not a standard table. So we're unlikely to know, but assuming it has the same fields as AgreementHeaderHistory

    AalesAgreementHeaderHistory

    --> DirPerson(DirParty.RecID)

    --> Cust/Vend/..Table

    -->Table.Vatnum

    --> TaxVatNumTable

  • faridz Profile Picture
    on at

    Sorry typo, its SalesAgreementHeaderHistory

  • Verified answer
    ergun sahin Profile Picture
    8,826 Moderator on at

    If you are using original table then, You can get like this;

    TaxVATNumTable::find(salesAgreementHeaderHistory.custTable().Vatnum, "CountryRegionId")

  • faridz Profile Picture
    on at

    Thank you Ergun, my problem solved

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 559 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 464 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans