Cost adjustment

Use this function to recalculate average prices and margins on stock issue movements.

Important
Refer to the Stock valuation guide which describes the basic principles of stock valuation along with detailed information on price adjustments on receipt and issue. Click the link that applies to your Sage X3 solution:

Note - settings

Sage recommends setting this function as a recurring task.

Transactions

This function recalculates average prices and margins when the calculation base of the margin is the average price. When the valuation method is Average, FIFO (first in, first out), or LIFO (last in, first out) and you’ve enabled Adjust issues cost, a recalculation trigger is created for transactions that adjusts the value of subsequent movements. Cost adjustment records are stored in the Cost adjustment table (STKMVTADJ) until this function is run to update the value of movements.

When a transaction is adjusted, it's updated directly if it was not posted. If it was posted, a deletion record for the quantity and an adjustment record are created.

If the period is closed:

  • If the stock status is set to Balance adjustment, the cost adjustment is posted to the next period when that period is opened.
  • If the stock status is also closed, transactions with an effective date earlier than the invoice accounting date or actual cost calculation date are ignored. These records are not listed on the log file.
Note - information

For products with average cost valuation, the value change transactions are used to change the average cost at a specific date. This is the posting date of the value change transaction. The issue adjustment function uses this average cost value to recalculate all later movements.

Note - warning
  • You can only adjust primary valuation methods.
  • This function ignores all products that have a negative stock total on their stock history record. See Limitations.
  • Sage recommends that you perform a cost adjustment before you calculate and declare the stock value using the Stock valuation report. All costs and variances will be absorbed into the stock costs before you recalculate the value of your stock.

Prerequisites

See also Refer to documentation Implementation

Screen management

Entry screen

Note - tipRun this process in simulation mode first.

Limitations

  1. This function will skip a product and write an error to the log file if it detects a negative stock total for that product at any time in the product's stock history.
  2. Stock totals for a product can go negative if receipt transactions are entered onto your system after issue transactions using a date that does not match the actual transaction date. To prevent this situation from occurring, if you enter receipt transactions after issue transactions the system treats stock as being received after it has been issued. The transaction dates need to match the actual physical stock movement dates.

    Note - dangerA correct receipt to issue date timeline is critical.

    Example

    Stock received: June 10.
    Stock issued: June 20.

    Issue transaction entered: June 23. Change the date to June 20.
    Receipt transaction entered: June 25. Change the date to June 10.

Error messages

In addition to the generic error messages, the following messages can appear during the entry:

Quantity generating a negative stock

This error is displayed in the log file when a negative stock total is detected. See Limitations. Use the Allocation date modification function (FUNIPTD) to modify the receipt allocation date for the incorrect transaction lines.

Tables used

See also Refer to documentation Implementation