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

Adjust Cost - Item Entries not working consistently?

(1) ShareShare
ReportReport
Posted on by 395
Hi all, 
 
I have a scenario where it seems like the Adjust Cost - Item Entries is not working consistently. Below are the details; 
 
 
We have a case where a client has never run the Adjust Cost - Item Entries in their Business Central environment. They are interested in enabling this feature so we decided to test it out in a sandbox environment first therefore the below steps were carried out; 
 
- Created a sandbox environment (Sandbox 1) that is a copy of Production. 
- Ran the Adjust Cost - Item Entries (with posting to G/L switched on) for all items. The batch job ran successfully. 
 
 
2 days later, we did another sandbox (Sandbox 2) that is a copy of Production. The Adjust Cost - Item Entries batch job was run again with (with posting to G/L switched on) for all items. The batch job ran successfully. 
 
When a trial balance for 2021 was issued from both Sandbox environments, these did not match. We looked for the differences between the 2 sandbox environments and found a small number of G/L entries that were created in Sandbox 2 but not in Sandbox 1 during the Adjust Cost - Item Entries batch job. 
We traced one of the transactions to a specific item that was used in a specific sales invoice. 
 
How is this possible if; 
 
- In both sandbox environments, the item's unit cost was the same
- In both sandbox environments, the invoice was the same (this is a 2021 invoice and therefore since both sandboxes were a copy of production, it was the same in both). 
- In both sandbox environments, the item's qty. in inventory was 0 as at end of 2023. 
 
The only differences noted is that during those 2 days between creating Sandbox 1 and Sandbox 2, the item was bought (qty +1)  and sold (qty -1) with transactions dated 2024 (therefore the item in Sandbox 2 had 2 'extra' item ledger entries that were not in Sandbox 1, but these are dated 2024). 
 
How come in this case, the Adjust Cost - Item Entries batch job in Sandbox 2 created more G/L entries (cost adjustments) dated 2021 for this item? Since as at 2023, everything was the same for both sandboxes and the 'extra' item ledger entries are dated 2024? Although the item is set to FIFO, since the qty in inventory was 0 prior to 2024, the transactions of 2024 should not have referenced/consumed those of 2021 so I do not believe that these 2 transactions caused the difference. 
 
 
 
 
Would anyone be able to shed some light on what could have happened, here?  Thanks in advance! 
 
 
 
I have the same question (0)
  • Suggested answer
    Valentin Castravet Profile Picture
    31,340 Super User 2025 Season 2 on at
    Are all the entries until 2023 closed, and applied to each other? What's the additional entry the system posted, can you post a screenshot?
     
     
     
  • Suggested answer
    YUN ZHU Profile Picture
    95,331 Super User 2025 Season 2 on at
    Hi, It's just a possibility. I hope it can give you some tips.
     
    In addition, cost adjustment is generally performed once a month, at least once a year. I don't know what cost method you use, but if you don't adjust it, the financial statements may be inaccurate.
     
    Thanks.
    ZHU
  • Y_A Profile Picture
    395 on at
    Hi Valentin, 
     
    Thanks for replying. Yes, all item ledger entries until 2023 are applied to each other and closed - in fact inventory as at end of 2023 is 0. 
     
    The extra adjustment transaction posted is as follows. (There were more for other items but I am just sharing those of 1 item to not confuse things further). 
     
    Sandbox 1 Value Entries (where no adjustment entry was created for this item - just the direct cost upon posting the invoice back in 2021)
     
     
    Sandbox 2 Value Entries (where 1 adjustment entry in red below was created for this item -  the other entry is the direct cost upon posting the invoice back in 2021)
     
     
     
    Of course, the posted invoice dated 2021 has the same unit cost in both sandboxes; 
     
    Sandbox 1
     
    Sandbox 2 
     
     
    The unit cost on the item card in both sandboxes was the same before running the adjust cost item entries. 
     
     
    Hope this helps further. 
     
     
  • Suggested answer
    Valentin Castravet Profile Picture
    31,340 Super User 2025 Season 2 on at
    Of course, the posted invoice dated 2021 has the same unit cost in both sandboxes; 
     
    Based on the below your purchase cost must be different in the two environments. So the different is there. The posted invoice doesn't get updated by the Adjust Cost Item Entries so it makes sense the two are the same in both environments.
     
    Can you see in the item ledger entries and value entries what cost you have for the item receipt/invoice? This will show you what the adjustment to the cost was and where its coming from. My guess is in the second sandbox you will have an additional value entry for the item cost that you don't have in sandbox 1. 
     
  • Suggested answer
    CU29070630-1 Profile Picture
    on at
    Please try running post inventory cost to G/L batch job. Ensure to check post on request page then click preview. Any pending G.L entries will be posted.  

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans