Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Adjust Cost - Item Entries not working consistently?

Posted on by 289
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! 
 
 
 
Categories:
  • Suggested answer
    CU29070630-1 Profile Picture
    CU29070630-1 6 on at
    Adjust Cost - Item Entries not working consistently?
    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.  
  • Suggested answer
    Valentin Castravet Profile Picture
    Valentin Castravet 24,822 Super User 2024 Season 2 on at
    Adjust Cost - Item Entries not working consistently?
    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. 
     
  • Y_A Profile Picture
    Y_A 289 on at
    Adjust Cost - Item Entries not working consistently?
    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
    YUN ZHU Profile Picture
    YUN ZHU 73,696 Super User 2024 Season 2 on at
    Adjust Cost - Item Entries not working consistently?
    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
  • Suggested answer
    Valentin Castravet Profile Picture
    Valentin Castravet 24,822 Super User 2024 Season 2 on at
    Adjust Cost - Item Entries not working consistently?
    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?
     
     
     

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

Featured topics

Product updates

Dynamics 365 release plans