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

General journal lines are deleted after posting

(1) ShareShare
ReportReport
Posted on by
Hi Experts,
 
I am having a problem regarding general journals, lines of journals are getting deleted even after posting. Only today's posted general journals have lines, all the previously posted journals don't have lines.
 
I have checked the clean up journals job but it deletes the complete journals but in my case only lines are removed from the posted journals.
 
Is there something I am missing? Can anybody help me regarding this?
 
Note: Same case is happening with counting journal as well.
I have the same question (0)
  • Martin Dráb Profile Picture
    237,948 Most Valuable Professional on at
    Are you sure the records are deleted? Maybe they're just filtered out for some reason.
    Without this answer, there is a risk that you're looking for the cause at a wrong place.
  • AhsanDarr Profile Picture
    on at
    Hi Martin,
     
    Below is the screenshot of a journal which is posted:
    Lines of the journal:
     
    Posted journal is there but lines are not there anymore.
  • Verified answer
    BillurSamdancioglu Profile Picture
    19,850 Most Valuable Professional on at
    Hi,
     
    Can you please check if on the jounal name definition  it is set to delete journal lines after posting.
  • Martin Dráb Profile Picture
    237,948 Most Valuable Professional on at
    Unfortunately, your screenshot doesn't address my question. That you don't see something in a form doesn't mean that it doesn't exist. The records may exist, they're just not shown because they're not returned by the query currently used by the form. For example, there may be a filter added in code or by a user.
     
    In short, just looking at the form doesn't tell you that the records were deleted. That's just one of the options. You should test your assumption before you invest a lot of time on investigated based on this - possible incorrect - assumption.
     
    You could use the table browser to verify it. And if it's a non-production environment, you can look directly to database.
  • AhsanDarr Profile Picture
    on at
    Hi BillurSamdancioglu,
     
    As per my knowledge, on Finance journal names, delete lines after posting check is not available as shown in below screenshot of the same journal name:
     
  • AhsanDarr Profile Picture
    on at
    Hi Martin,
     
    There is no filter added in the journal, no any query from code. No customizations is done. Luckily I have the backup of Production environment before this happened and I restored on UAT environment and there I can see the lines but not in Production environment.
     
    Additionaly, our project was Live on 1 Nov 2023 and since then all the lines were there but on 1 Jan 2024, lines of previous two months got deleted. I can even see the lines of posted journals which are posted in Jan 2024.
     
    Hope this answer your query.
  • Frank Hamelly | MVP, MCP, CSA Profile Picture
    46,625 Super User 2025 Season 2 on at
    It's extremely unlikely the lines have been deleted.  As Martin points out, they're just not visible in that form.  Try querying Voucher transactions (General ledger>Inquiries & reports>Voucher transactions) for that Journal batch number and see what results you get.
  • AhsanDarr Profile Picture
    on at
    Hi Frank,
    In voucher transactions, transactions are there but when I click on original document button, there is no journal detail there.
     
    I have opened a ticket with Microsoft, maybe they can help with this unusual issue.
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,069 Super User 2025 Season 2 on at
    Hi Ahsan,

    Can you tell us if journals are filled using data import or editing via Excel and the Dynamics connector?
    When you use data import, there is an option to truncate data prior to import. That can delete all existing lines. 
    When you are using the Open in Excel option, when deleting rows from Excel, it will at the moment of publishing delete records from Dynamics 365 as well.
  • Deepak Agarwal Profile Picture
    8,602 on at
    This remind me of one of the similar issues reported by the customer. Cant recall what was the fix. Looking forward for experts comments here. 

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