Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Record In GeneralJournalAccountEntry / GeneralJournalEntry disappear AX 2012

Posted on by 100

Hi All,

I'm pulling AX data to a datawarehouse which will be used as source data for business intelligence.

I have pulled the data for GeneralJournalAccountEntry table 2 days ago do the datawarehouse, but when I compare the data today, the recid was not found. Is there any scenario in AX that can delete the record in GeneralJournalAccountEntry or GeneralJournalEntry?

Thanks!

Raymon

  • Sergei Minozhenko Profile Picture
    Sergei Minozhenko 23,089 on at
    RE: Record In GeneralJournalAccountEntry / GeneralJournalEntry disappear AX 2012

    Hi raymonmon,

    There are transaction text, posting type, and main account fields are available. Could they help to identify the source?

  • raymonmon Profile Picture
    raymonmon 100 on at
    RE: Record In GeneralJournalAccountEntry / GeneralJournalEntry disappear AX 2012

    Hi Sergei,

    These orphaned transactions have reference to GeneralJournalEntry (it's in RecID format) not zero value. I'm not sure how to confirm these transactions with the financial team since we don't know which legal entities these records belong to (since they don't have GeneralJournalEntry, no DataAreaId can be found) and also no AccountingDate information. Any suggestion?

    Regards,

    Raymon

  • Sergei Minozhenko Profile Picture
    Sergei Minozhenko 23,089 on at
    RE: Record In GeneralJournalAccountEntry / GeneralJournalEntry disappear AX 2012

    Hi raymonmon,

    I would say it's better to find all this kind of orphaned transaction and discuss it with the financial department about the origin of these. It could that these transactions are the result of a malfunction. By the way, do you see if these transactions has reference to GeneralJournalEntry or it's zero value?

  • raymonmon Profile Picture
    raymonmon 100 on at
    RE: Record In GeneralJournalAccountEntry / GeneralJournalEntry disappear AX 2012

    I'm not sure about this, need to ask the technical team. For my case, is it okay to just exclude the data in GeneralJournalAccountEntry without the GeneralJournalEntry?

  • Sergei Minozhenko Profile Picture
    Sergei Minozhenko 23,089 on at
    RE: Record In GeneralJournalAccountEntry / GeneralJournalEntry disappear AX 2012

    Hi raymonmon,

    I think in all cases records from both tables are deleted. Are you using NoLock hint for DW loads a well?

  • raymonmon Profile Picture
    raymonmon 100 on at
    RE: Record In GeneralJournalAccountEntry / GeneralJournalEntry disappear AX 2012

    Hi Sergei,

    So in your case were the GeneralJournalEntry data deleted but the GeneralJournalAccountEntry data remain?

    Regards,

    Raymon

  • raymonmon Profile Picture
    raymonmon 100 on at
    RE: Record In GeneralJournalAccountEntry / GeneralJournalEntry disappear AX 2012

    Hi Nikolaos,

    Right, I should have rephrased. I just wanted to know what process in AX that can cause such data. Anyway, thanks for your response :)

  • Sergei Minozhenko Profile Picture
    Sergei Minozhenko 23,089 on at
    RE: Record In GeneralJournalAccountEntry / GeneralJournalEntry disappear AX 2012

    Hi raymonmon,

    As far as I know "Fiscal year close" process can generate GJ transactions for optimization purpose and delete them after. I had the same case  with D365 F&O.

  • Suggested answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: Record In GeneralJournalAccountEntry / GeneralJournalEntry disappear AX 2012

    You asked if it's possible. But you already found such records so clearly it is possible :)

    Again looking at the system, you can see that relation from GeneralJournalAccountEntry to GeneralJournalEntry has related table cardinality "ZeroOne" which means that there could be 0-1 related GeneralJournalEntry records.

    Also, there is no delete action that would always delete GeneralJournalAccountEntry records if GeneralJournalEntry is deleted.

    I have no idea what kind of situation would cause such data, but at least it's not prevented technically (and if it were, you would not see such data).

  • Blue Wang Profile Picture
    Blue Wang on at
    RE: Record In GeneralJournalAccountEntry / GeneralJournalEntry disappear AX 2012

    Hi Raymon,

    Now that you have obtained non-existent data through queries, there is reason to believe that it is possible.

    You can query through SSMS to compare.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans