Cost price calculation queue

Cost price calculation queue

Revision History

Abstract

TfmStoreEngineDocumentQueue

Cost price calculation queue operational report

When processing documents in the storekeeping system, overall volumes of outgoing stock (stock deducted from store, or 'stock-out') must be fully covered by overall volumes of incoming stock (stock-in). The outgoings of a stock item in one document may be covered by incomings recorded in more than one stock-in document.

The cost price of outgoing stock items is determined as the sum of cost prices of those stock items in all the stock-in documents that are used to account for the outgoings.

For example, a production record documents the usage of 1.2 kg of carrots. This was covered by:

The calculated cost price will be:

(0.8*20+0.4*16)/1.2=18.67 RUB

Cost prices are calculated on the basis of documents created in stores within the same store group.

Cost price calculation process can take a long time. The Cost price calculation queue operational report allows you to see the number of documents that are being processed and are queued for processing.