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 :
Small and medium business | Business Central, N...
Answered

Prevent Double Input/Duplicate To Item Ledger Entries

(1) ShareShare
ReportReport
Posted on by 23

Hello guys, just as like the title stated

How do I prevent a double input to Item ledger entries? how to check the new record to prevent duplicate record?

Thank You, *I never used C/AL code before, any answer is appreciated*

-Rohad

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,043 Moderator on at
    RE: Prevent Double Input/Duplicate To Item Ledger Entries

    You should simply never insert anything to the Item Ledger Entries table.

    Everything that ends up there should come from running the different posting routines in the system.

    So please never write any code that does any modifications to that table because you will break the consistency of your system.

    The primary key in the table is the Entry No. that is assigned as an auto increment handles internally by the system.

      

  • Suggested answer
    Nitin Verma Profile Picture
    21,684 Moderator on at
    RE: Prevent Double Input/Duplicate To Item Ledger Entries

    Hi,

    If you are talking about to manual insertion in the Item Ledger entry table, So I would suggest dont do this, Lets the system apply new entry every time in this table.

  • Suggested answer
    Rohad Bokhar Profile Picture
    23 on at
    RE: Prevent Double Input/Duplicate To Item Ledger Entries

    Thank you so much for the answer and the insight, much appreciated!

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 > Small and medium business | Business Central, NAV, RMS

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,160

#2
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,943

#3
Sumit Singh Profile Picture

Sumit Singh 2,823

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans