Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2023 Release Wave 1Check out the latest updates and new features of Dynamics 365 released from April 2023 through September 2023
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
How to Find What Receipt Layer was Affected by the Cost Adjustment.
I would like to go over how to find what receipt layer was affected by your system generated Cost Adjustment. Some customers have wanted to know how to find this information, so they can go back and adjust the layer back to the original cost due to a mistake that was made. So, with this article I’ll explains how to find the receipt layer that was affected as well as how to adjust the receipt layer back if you choose to do so.
Typically, a journal entry is created with a GLTRX batch and when you drill down on the Source Document you will receive the following error “Transaction history does not exist for this transaction.” This can make hard to determine what exact receipt layer this cost adjustment affected. In the Reference field you will find what document caused the cost adjustment but not the receiving layer affected. The following article goes through why these Cost Adjustments are created.
Note: You would have to have the Historical Inventory Trial Balance Installed, running and recording information in the SEE30303 table before you can use this method to identify the receipt layer that was affected by the cost adjustment.
Additionally, you will need access to SQL Server Management Studios with the ability to run select statements. (Read permissions)
Next, you will want to note the Transaction Source (TRXSORCE) or Journal Entry (JRNENTRY) of the cost adjustment, so you can enter it in one of the following scripts which will pull the Item Number and what Receipt Number it was on. Also, if this layer has been depleted the document that consumed it will be in the DOCNUMBR column. You can choose what option you want to use. For example, the TRXSORCE is going to start with GLTRX ending in a number and you will want to enter in place of the xxx on the first script.
SELECT DOCNUMBR, RCPTNMBR1, * FROM SEE30303 WHERE TRXSORCE = 'xxx'
SELECT DOCNUMBR, RCPTNMBR1, * FROM SEE30303 WHERE JRNENTRY = 'xxx'
Here is screenshot for your reference on where to get the Journal Entry Number or Transaction Source. (Financial >> Inquiry >> Financial >> Journal Entry Inquiry)
When you run the script, it will look like the screenshot below. Look at the RCPTNMBR1 column for the receipt that brought the Inventory in.
Next, go to the Purchase Receipts Inquiry (Inventory >> Inquiry >> Receipts) to drill down in the Cost Adjustment using the Receipt Number and the Site ID (LOCNCODE field) found in the SEE30303.
Now, that you found the receipt layer and determined it was Invoiced incorrectly you can go to the Inventory Adjust Costs tool (Inventory >> Utilities >> Adjust Costs) and adjust it to your desired cost. Note, adjusting the layer will affect any layer related such as transfers and Sales.
In this situation I received 1 quantity at $1.00 and sold it at that cost. Then I invoiced receipt layer for $1.50 accidentally (should have been $1.00) which created the cost adjustment. I now then switch the $1.50 to $1.00 and then process it. GP then will output a posting journal like this below to show you the new cost for the Subledger and a new Journal Entry will be created for the GL as well
If you want to drill down on the Document Number that depleted the layer go to Item Transaction Inquiry. Or you can go to an Inquiry respective to what type of outflow it is such a Sales Inquiries.
Hopefully, you find this blog useful for determining the receipt layers that were affected by a cost adjustment and how to update the exact layer that was affected if you didn’t mean to or did it wrong.
Business Applications communities