Tuesday, August 30, 2011

The Not So New World Order- Cost Variances and Dynamics GP

Once upon a time, Dynamics GP calculated cost variances for FIFO/LIFO perpetual valuation method items in purchase order processing, sales order processing, and/or inventory control and didn't always post to the general ledger.  This was widely, I think, understood and the importance of printing and reviewing the Cost Variance Journal was drummed in to users collective noggins everywhere.  And then came Dynamics GP 9.0.  Yes.  9. Point. O.

Why am I writing about this now?  Well, although there are definitely articles out there on cost variances, it seems like most of them are from the pre-9.0 world or have not been completely updated correctly.  So, after a lovely chat with Pam Peterson at Microsoft today, I thought...heck, why not, let's lay it all out for everyone!

In the purchase order processing training manual, there is a section (at the end of Receivings Transaction Entry) that outlines three different kinds of cost variances related to FIFO/LIFO perpetual items.  Here they are in a nutshell.

Scenario #1
  • Item has a quantity on hand of 5 with a current cost of $1
  • A quantity of 15 is sold, causing the item to go negative, this sale would be recorded with a unit cost of $1
  • So, in the IV10200 (Inventory Purchase Receipts table), you would now have an override layer for the amount that was overriden (in this case, 10)
  • A quantity of 20 is now received and invoiced in purchasing, with a unit cost of $1.25
  • This creates a variance of $2.50 (.25 variance X 10) for COGS and Inventory
  • This variance will print on the Cost Variance Journal when the receipt is posted
  • Now, here is where it gets tricky...
    • In GP 8.0 and earlier, this variance would NOT be automatically created in the GL
    • In GP 9.0 and later, this variance IS automatically created in its own GL entry
On a side note, the adjustment outlined above is only created automatically if the transaction that caused the override was recorded in the system in GP 9.0 or later.  This ensures that the "outflow" record is properly recorded in the IV10201 (Inventory Purchase Receipts DetaiL) table.  When upgrading from versions earlier than 9.0, the system arbitrarily selects the most recent receipt for an item and creates a dummy outflow for it only.  For this reason, if you test this process using an item in Fabrikam that is already negative, it will most likely NOT create the adjustment automatically.  This is due to the fact that the data in Fabrikam has been upgraded from version to version.  If you want to test out this scenario, make sure you do the whole process, and don't just start with an item that is already negative.

Scenario #2
  • Item has a positive quantity on hand of 10
  • A quantity of 10 is received in purchasing, with a unit cost of $1
  • A quantity of 10 is then invoiced in purchasing, with a unit cost of $1.25
  • This results in a $2.50 variance between the original cost posted and the the invoice (.25 variance X 10)
  • In this case, the difference is handled in the posting of the invoice.  It will be recorded to the inventory account or to the purchase price variance account (depending on if revalue has been selected on the Item Purchasing Options, Cards-Inventory-Item Purchasing Options).
  • The Purchasing Invoice Cost Variance Journal will print to detail the variance and will note that no manual adjustment needs to be made to COGS/Inventory.
Scenario #3
  • Item has a positive quantity on hand of 10
  • A quantity of 10 is received in purchasing, with a unit cost of $1
  • A quantity of 15 is sold to a customer, with a unit cost of $1
  • A quantity of 10 is then invoiced in purchasing, with a unit cost of $1.25 (price to customer $3/each)
  • This results in a $1.25 variance between the original cost posted and the the invoice (.25 variance X 5)
  • In this case, the difference is also handled in the posting of the invoice.  It will be recorded to cost of goods sold, inventory, and purchase price variance (if the item is not marked to revalue).
  • The Purchasing Invoice Cost Variance Journal will print to detail the variance and will note that no manual adjustment needs to be made to COGS/Inventory.
Hope this helps to simplify cost variances, and the associated GL impact in GP.

For more information on the GL entry that is created by the variances, refer to TK #2448193.  And for more information on cost variances and perpetual valuation methods, including average perpetual, refer to this article.

Christina Phillips is a Microsoft Certified Trainer and Dynamics GP Certified Professional. She is a supervising consultant with BKD Technologies, providing training, support, and project management services to new and existing Microsoft Dynamics customers. This blog represents her views only, not those of her employer.

4 comments:

Unknown said...

your post seems logical, but I've run into this. There is no cost variance entry being created and the cost layer is just hanging there. When I test, I find the next time I sell the item, that cost layer is used. Any idea what may be happening?

Christina Phillips said...

Not sure I can say with the description you have given. The cost layer would be used if it was the next available one. How is the cost variance being created?

Unknown said...

Christina...my issue is I oversell an item w $1 cost by 1, then receive the item at $2. I then manually change current cost to $3. I would assume that $2 llayer would clear somehow and if I sell another one it would use the $3. Hopefully that makes sense. Also, it's not consistently making the variance entry. Not sure if there is a setting I'm missing?

Christina Phillips said...

You would want to make sure that you have the revalue option marked for your items, Cards>Inventory>Purchasing. That could possibly be causing it?