Skip to main content

Notifications

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

  • ShivaKanth146 Profile Picture
    55 on at
    RE: Data Not getting Populated in to Ax Table from Einvoice XML Response

    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

  • GirishS Profile Picture
    27,825 Moderator on at
    RE: Data Not getting Populated in to Ax Table from Einvoice XML Response

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

    Thanks,

    Girish S.

  • GirishS Profile Picture
    27,825 Moderator on at
    RE: Data Not getting Populated in to Ax Table from Einvoice XML Response

    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.

  • ShivaKanth146 Profile Picture
    55 on at
    RE: Data Not getting Populated in to Ax Table from Einvoice XML Response

    Hi Girish,

    It doesnot return any value other than ' Class XMLNodeList'  

    Thanks,

    Shiva kanth

  • GirishS Profile Picture
    27,825 Moderator on at
    RE: Data Not getting Populated in to Ax Table from Einvoice XML Response

    Hi ShivaKanth146,

    Does "apiModeList" buffer returns any value?

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

    Thanks,

    Girish S.

  • huijij Profile Picture
    19,811 on at
    RE: Data Not getting Populated in to Ax Table from Einvoice XML Response

    Moved to AX forum.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,099 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans