How to Fix COP Lock File Error When Printing Invoice

How to Fix COP Lock File Error When Printing Invoice

Release Date: 08/21/2018

QEvery time we try to print invoices or credit memos, we get this Btrieve error:

    Btrieve Error USE on CPFRMFIL COP Lock File

See sample screen below:


I don’t see anyone locking this file in the PSQL Monitor utility. Do you know how to fix this?

A - This one is a little bit tricky. The error is caused by CPLCKFIL.DAT. Since this one is not a Btrieve file, you can’t see who is locking it from the PSQL Monitor utility. 

To find out who is locking CPLCKFIL.DAT, you need to go to your PSQL server console and start Computer Management, go to Shared Folders -> Open Files and find who opened this file. See sample screen below:



With batch invoice printing, Elliott only allows one user at a time to print an invoice.  The existence of this file is to prevent two Elliott users from performing batch invoice printing at the same time.  Just get this user to logout and try to print invoices or credit memos again.


EMK


    • Related Articles

    • Btrieve Error USE on COP Lock File

      Q - Today, for whatever reason, we experienced a large amount of locking issues in the warehouse. Several times today we ran into the problem with printing invoices where we received a message "Btrieve Error USE on COP Lock File," and it stops ...
    • Getting PO Lock File Problem During PO Printing

      Q - I was attempting to print a Purchase Order and received the following message: Btrieve Error USE on PO Lock File - 065 File Locked A - The message implies you have two users trying to use "Print Purchase Order" function at the same time and that ...
    • Feature - Prevent Duplicate Invoice Numbers with Invoice Cross Reference File

      Release Date - 3/25/19 Version: 8.5 and Up This feature uses a new table, the Invoice Cross Reference table, to determine if an invoice has already been used by another unposted or posted order. The Invoice Cross Reference is updated at the time of ...
    • CPFRMMNT Customer Order Processing Invoice Form Setup

      Invoice Form Setup Application Overview We are constantly striving to develop flexible and compatible business applications. The Invoice Form Setup application and Design Your Own Invoice enhance this objective, by combining Elliott's standard ...
    • CP1725S Customer Order Processing Print Duplicate Invoice

      Print Duplicate Invoice Application Overview This feature allows you to reprint invoices that have not been purged from the Invoice history File, (COP -> Util_Setup -> Purge Invoice History). The invoice will reprint as the original invoice and ...