Using the stock fix utility
Description

You'll use the stock fix when:

  • The Inventory Activity and Inventory History Item Sequence reports differ
  • The Count Inventory doesn't update the quantities
Cause
Resolution

Process a backup before you run the stock fix and rebuild files:

  • ACCPRD.dat
  • ACCPRDQ.dat
  • ACCSTKLK.dat
  • ACCSTKST.dat

Running the Stock Fix Utility

  1. Hold the Windows key + E on the keyboard to open File Explorer.
  2. Go to the Local C drive and double-click on the Pastelxx/Xpressxx folder.
    Where xx represents the version of Pastel you're using.
    Example, Pastel19 or Xpress19.
  3. Double-click FixStkVxx.exe.
    Where xx will match the version of Pastel you're running.
  4. Select the company to fix and click Fix Quantity.
  5. Click OK on the message to 'Create a error report stkfix.txt in your company'.
  6. You'll receive a message once the report is complete, click No.
  7. Go to your company folder and open the stkfix.txt. 
    • For missing items, you'll need to create the items first
    • For a blank group, you'll need to edit the items and select a new group 
    • For the quantities not balancing, run the stock fix
  8. After fixing any errors, re-run the Stock Fix Utility.
  9. Click Yes on the message 'Do you want to continue to fix the data'.
  10. Click OK on the message 'Stock Fix Complete'.

Check if the inventory is now showing correctly.

Log a ticket with support if you still have problems with your inventory.

Steps to duplicate
Related Solutions