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, ...
Unanswered

Data Not getting Populated in to Ax Table from Einvoice XML Response

(0) ShareShare
ReportReport
Posted on by 55

Hi, 

I have an issue while inserting the IRN no and few other fields in to AX table from Einvoice XML Response. Here i am getting the XML response . In the Response the first tag was 'root'. Some how while debugging i am not able to move in to while loop not sure really why. If i could move in to while loop the problem the problem gets solved. This is in AX 2012 R2 Verson. Request you for the prompt help. 

Attaching the Code Screenshot: 

3173.pastedimage1671056108561v1.png

Thanks, 

Shiva Kanth

I have the same question (0)
  • huijij Profile Picture
    19,811 on at

    Moved to AX forum.

  • GirishS Profile Picture
    27,827 Moderator on at

    Hi ShivaKanth146,

    Does "apiModeList" buffer returns any value?

    Check whether it's returning a list value or not.

    Thanks,

    Girish S.

  • ShivaKanth146 Profile Picture
    55 on at

    Hi Girish,

    It doesnot return any value other than ' Class XMLNodeList'  

    Thanks,

    Shiva kanth

  • GirishS Profile Picture
    27,827 Moderator on at

    Then I guess the tag name you have hard coded is not there in the xml. Add a "doc" buffer to the watch window and see the list of available tags.

    Thanks,

    Girish S.

  • GirishS Profile Picture
    27,827 Moderator on at

    Also, you can navigate inside the getElementsByTagName method by pressing F11 and see the logic inside the method.

    Thanks,

    Girish S.

  • ShivaKanth146 Profile Picture
    55 on at

    Hi Girish,

    I tried moving into getElementsByTagName  method by pressing F11 but failed to move inside that . It is just executing that statement . that's it.

    Thanks,

    Shiva Kanth Inavolu

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 584 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 254 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans