web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Excel Import: Inserting records into table but records are not appearing on form

(0) ShareShare
ReportReport
Posted on by 499

Hi

I have created a class which will import the record from Excel and inserts into Tables , In my case the tables are 

1.Ledgerjournaltrans and 2.Ledgerjournaltable.

I am facing issue in viewing the records on form.

I can able to see only JournalNum value on the form, rest of the values which are imported from Excel and even though they are present in the table , they are not visible on the form.

One more observation is , without populating the records from excel, if i create the records manually on the form all the records are visible.

Is there anything which needs to be taken care while excel import into table ?

*This post is locked for comments

I have the same question (0)
  • Catalyst619 Profile Picture
    355 on at
    RE: AX 2012 Excel Import: Inserting records into table but records are not appearing on form

    Can you show your code? Since the form works when you're manually creating records, perhaps there's an issue with your code/import.

  • André Arnaud de Calavon Profile Picture
    299,576 Super User 2025 Season 2 on at
    RE: AX 2012 Excel Import: Inserting records into table but records are not appearing on form

    Hi Raghu,

    Can you tell if the journal batch number is exactly the same on the journal lines? What type of ledger entries are you creating? Have you also provided a Line number? Can you see any differences in the table browser between the lines imported and created manually?

    Is a class really required here? Data import export framework can also import journal lines from Excel files.

  • Piyush Adhikari Profile Picture
    2,546 on at
    RE: AX 2012 Excel Import: Inserting records into table but records are not appearing on form

    Please show your code.

    If you need i can share your working code in AX 2012.You can modify as per your need.

    For inserting records into ledgerJournalTable, LedgerJournalTrans & posting the voucher ledgerJournalCheckPost  

  • Sukrut Parab Profile Picture
    71,699 Moderator on at
    RE: AX 2012 Excel Import: Inserting records into table but records are not appearing on form

    HI Raghu G S ,

    Your import process is not populating field in the ledgerJournalTrans table properly . Simple troubleshooting tip would be compare record created from UI and Imported from excel and see what you are missing.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#2
Community Member Profile Picture

Community Member 2

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans