Laser Form Templates Are Missing When Printing Duplicate Invoice

Laser Form Templates Are Missing When Printing Duplicate Invoice

Release Date: 01/03/2018

Q - I am trying to print a duplicate invoice using laser form 77. It is not available in the selection list. But when I print a regular invoice, it is available there.

A - The reason this happened has to do with the fact that we separate regular invoice printing and duplicate invoice printing under two different task names.  In the past, both regular invoices and duplicate invoices were called the same task name: CPINVPRT.  Starting with Elliott 8.2, we wanted to allow users to individually control the behavior (specifically, PDF PostOffice) of regular invoice printing and duplicate invoice printing. For example, a user may want to print a regular invoice with a hard copy. But on the other hand, a user may want to use PDF PostOffice for duplicate invoice printing.  To enable the user to do this, we used the task name CPINVPRT for regular invoice printing, and CPINVPRH for duplicate invoice printing.  

The associated problem of this approach is that the new laser form invoice you defined for a regular invoice (CPINVPRT) will not be available for a duplicate invoice (CPINVPRH).  You could solve this problem by defining the laser form in both places.  Some users do not like the idea of doubling their work, so they asked if there is a way to copy it.  Below is the procedure on how you can copy an invoice laser form defined for CPINVPRT to CPINVPRH:

1. Export NWSMFORM.BTR File
Go to the command prompt and change to the directory of your Elliott data directory.  Use BUTIL -SAVE to export the NWSMFORM.BTR file to NWSMFORM.TXT (assuming NWSMFORM.TXT does not exist.) See the following sample:

    K:\Elliott7\DATA> BUTIL -SAVE NWSMFORM.BTR NWSMFORM.TXT

2. Use NOTEPAD to Edit NWSMFORM.TXT.
You need to use an editor like NOTEPAD to edit the NWSMFORM.TXT file.  Each line will look like something like the following:

    191,AP08P2  01HBM
    191,AP08P2  01HDL..
    ...
191 refers to the record size.  For the NWSMFORM.BTR file, all records will have a size of 191.  AP02P2 is the task name.  01 is the form ID.  What you need to do is to use the editor to delete all records from the beginning until you reach 191,CPINVPRT77... 


Delete Everything before 191,CPINVPRT77. Then Delete everything after 191,CPINVPRT77...  So only entries like 191,CPINVPRT77 are left. See sample screen below:
 

3. Mass Change "CPINVPRT" to "CPINVPRH"
Now mass change "CPINVPRT" to "CPINVPRH." See sample screen below:


4. Import NWSMFORM.TXT to NWSMFORM.BTR
Now save the NWSMFORM.TXT file.  Use the following BUTIL at the command line to import the NWSMFORM.TXT file to the NWSMFORM.BTR file:

    K:\Elliott7\DATA> BUTIL -LOAD NWSMFORM.TXT NWSMFORM.BTR

You should see a message similar to the following sample screen:


Note - Using the BUTIL utility to perform an import function can pose risks and compromise your database integrity.  Netcellent is not responsible if you should corrupt your database through using BUTIL to import data.  Use this utility at your own risk.


EMK



    • Related Articles

    • ARFRMMNT Accounts Receivable Invoice Form Setup

      Invoice Form Setup Application Overview We are constantly striving to develop flexible and compatible business applications. The Invoice Form Setup application enhances this objective, by combining Elliott's standard Invoice form definitions, with a ...
    • AP Laser Check Layout

      Release Date: 12/4/2017 Q - I would like to phase out the old dot-matrix AP check and implement AP check printing on a laser printer. Can you provide a layout of an AP laser check so I can have my local printer produce them? Thanks. A - First, we ...
    • 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 ...
    • How to Copy Laser Form Templates from Company to Company

      A - We use the Multi-Company feature in Elliott. We recently created a new company (from scratch) and would like to use the laser forms from our other company (invoice, pick, pull, order and check.) Do you have any instructions on how to do this? Q - ...
    • APINVIMS Accounts Payable Invoice Import Utility

      A/P Invoice Import Utility Introduction This utility is similar to the COP Sales Order Import Utility. It will allow vendor invoices created through an external source to be imported and become New A/P Transactions in Elliott. Traditionally, if a ...