Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Error: "You cannot change costing method because there are one or more ledger entries for this item."

Posted on by Microsoft Employee

Hi,

I am using NAV 2013. I was trying to use Configuration Package tool to update some Item Unit Price. 

I imported the template but it shows me error. For each uploaded record, it says "You cannot change Costing Method because there are one or more ledger entries for this item."

But, we didn't change the Costing Method.

error_2D00_config_2E00_.PNG

Can someone help?

Thanks

*This post is locked for comments

  • Suggested answer
    Azqar Profile Picture
    Azqar 50 on at
    Error: "You cannot change costing method because there are one or more ledger entries for this item."
    For learning purposes you can create a duplicate item and change the costing method. You can only select the costing method when you create the item and if you have made any transactions then you can't change the costing method . That means if the item is live you need to select the costing method before you start your transactions ( sales, purchase orders etc) when you made an item. 
  • Suggested answer
    RockwithNav Profile Picture
    RockwithNav 6,562 on at
    RE: Error: "You cannot change costing method because there are one or more ledger entries for this item."

    Yes I completely agrees what Alexander says, Ideally what the code is trying to do is not possible if you have ledger entries in the Database. You need to cross verify what exactly you trying to achieve and somehow it's not trying to disturb the standard NAV business processes.

  • Suggested answer
    Alexander Ermakov Profile Picture
    Alexander Ermakov 28,094 on at
    RE: Error: "You cannot change costing method because there are one or more ledger entries for this item."

    If you already had posted item entries for that particular item, you would not be able to modify the costing method. Most likely you are trying to import the data in such a way that you modify the item card no and thus it activates the trigger of validation if the item entries exist.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error: "You cannot change costing method because there are one or more ledger entries for this item."

    It's Item Table. The Costing Method is FIFO.

  • ManishS Profile Picture
    ManishS 6,578 on at
    RE: Error: "You cannot change costing method because there are one or more ledger entries for this item."

    The package you are trying to use is renaming the No. field, hence this error.

    The package you are using is to update or insert items, please check.

  • Suggested answer
    Maneesha Profile Picture
    Maneesha 5,889 on at
    RE: Error: "You cannot change costing method because there are one or more ledger entries for this item."

    Dear Allen C ,

    Costing method is a parameter 

    locate on your item card when you create the Item on First time this parameter will be set to to item

    You cannot be change it for any reason : if you having even one single record on Ledger entries for relevant entries 

    If you need to change it you have to remove whole ledger entries ,  but i don't think this a good idea to remove ledger entries 

    check your importing data to : (Item Table) 

  • Suggested answer
    Amol Salvi Profile Picture
    Amol Salvi 18,694 on at
    RE: Error: "You cannot change costing method because there are one or more ledger entries for this item."

    Where you are updating the unit price .is it in item table or some other table

    As well as which costing method you are using?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error: "You cannot change costing method because there are one or more ledger entries for this item."

    Hi Amol,

    I was trying to update Item Unit Price, and the package only contains two fields: Item No. and Unit Price.    How does the imported data change the costing method?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error: "You cannot change costing method because there are one or more ledger entries for this item."

    Hi Amol, thanks!  Can you tell me more details?

    I am not quite understand " Item is already having open item ledger entries".

    Which package or part should I check?

    Thank you!

  • Suggested answer
    Amol Salvi Profile Picture
    Amol Salvi 18,694 on at
    RE: Error: "You cannot change costing method because there are one or more ledger entries for this item."

    The error says that you are trying to change costing method of that item which is already having open item ledger entries.

    Check your package

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans