Lawson Insight Technical Documentation


ERDs Tables Elements Libraries App Forms

BL122

BL122 - Invoice and Register Print

Run this program to print invoices and the invoice register or to reprint EDI
invoices for re-sending. This program is run at the company or process level,
depending on the invoicing option selected when you defined the company.
Running this program is a required step in the invoicing process. You cannot
run this program if BL121 (Invoice Print Edit Report), OE129 (Daily Shipment
Journal), or BL123 (Sub-System Update) are running at the same time. When run,
this program reflects a zero balance due when a client has a negative balance.

Invoices printed with this program print in either service or standard
format, depending on what you have selected in BL06.1 (Invoice Types). The
service format prints invoices on plain paper in letter style, with room for
comments at the top and bottom. The standard format prints invoices in the
standard style, with columns and headings.

Note: Once an invoice is printed it cannot be changed or deleted. The only
way to correct printed invoices is by creating credit or debit memos.

Warning: If you enter an invoice prefix in the Invoice Prefix field within
the Reprint Invoice Range parameter section, fill in the From Invoice Number
and To Invoice Number fields also. If an invoice number range is not
specified, the system will automatically default a value of "0" in the From
Invoice Number field and the highest invoice number with the specified invoice
prefix in the To Invoice Number field. This will result in the printing of
every invoice with the specified invoice prefix.

Updated Files

    ARPROCLEVL - Used to validate the Accounts Receivable process level.  If
                 this is the first
                 time the process level is referenced, the used flag is set.


    CKPOINT    - Used to control program restart logic.

    OECOMPANY  - Used to validate the Billing company.  Used in Invoice
                 processing routine.


    OEINVOICE  - Primary file updated by this program.  Status is set to
                 invoice printed.


    OEPROCLEV  - Used to validate Billing process level.  Used in invoice
                 processing routine.


    SALESREP   - Used to validate sales representatives.  If this is the first
                 time the sales representative is referenced, the used flag is
                 set.


    TERMS      - Used to validate terms code.  If this is the first time the
                 terms code is
                 referenced, the used flag is set.


    TXCODEMAST - Stores tax codes, descriptions, and tax types that define how
                 the tax code is used.


    TXCOMPANY  - Stores company information and which tax system the company
                 uses. Includes general ledger accounts if they are defined at
                 the company level.


    TXTAXCODE  - Used to validate tax codes.

    TXTAXTABLE - Used in the tax code edit routine.

    TXTAXTRAN  - Contains all tax transaction records that have been created
                 for the Tax system by the Accounts Payable and/or Accounts
                 Receivable systems.



Referenced Files

    AGINGCODE  - Used in the Accounts Receivable customer edit routine.

    APACCRCODE - Used in the vendor edit routine.

    APCOMPANY  - Used in the vendor edit routine.

    APCPYVND   - Used in the vendor edit routine.

    APHLDINV   - Used in the vendor edit routine.

    APVENCLASS - Used in the vendor edit routine.

    APVENGROUP - Used in the vendor edit routine.

    APVENMAST  - Used to validate the Accounts Payable vendor.

    ARCOMP     - Used to validate the Accounts Receivable company.

    ARCUSTFLDS - Used in the Accounts Receivable customer edit routine.

    ARCUSTGRP  - Used in the Accounts Receivable customer edit routine.

    ARCUSTOMER - Used to validate the Accounts Receivable customer.

    ARCUSTTOTS - Used in the Accounts Receivable customer edit routine.

    ARLOCKBOX  - Used in the Accounts Receivable customer edit routine.

    ARPAYMENT  - Used in the Accounts Receivable customer edit routine.

    BILLTO     - Used to validate the customer bill to entered on the
                 order.


    COLINE     - Used to print customer order line information.

    CUCONV     - Used in converting monetary amounts between currencies.

    CURELAT    - Used in converting monetary amounts between currencies.

    CUSTDESC   - Used in the Accounts Receivable customer edit routine.

    CUSTORDER  - Used to print customer order information.

    FROPTIONS  -

    GLADDRESS  - Used in the General Ledger company edit routine.

    GLCHART    - Used in the General Ledger account verification routine.

    GLSYSTEM   - Used in the General Ledger company edit routine.

    ICCOMPANY  - Used to validate the Inventory Control company.

    ICLOCATION - Used to validate the Inventory Control location.

    INSTCTRYCD - Used to validate the Intrastat country code.

    INSTREGN   - Validates the Intrastat region code.

    ITCOMMENT  - Used to print item comments.

    ITEMGROUP  - Used in the Item edit routine.

    ITEMLOC    - Used to validate the Inventory Control item location.

    ITEMMAST   - Used to validate Inventory Control item numbers.

    NATACCT    - Used in the Accounts Receivable customer edit routine.

    NATBALANCE - Used in the Accounts Receivable customer edit routine.

    OECREDCARD - Used to validate credit card types.

    OECUST     - Used in the Accounts Receivable customer edit routine.

    OECUSTITEM - Used to print customer item information.

    OEFRTCODE  - Used to validate freight codes.

    OEINVCCOMM - Used to print invoice/invoice line comments.

    OEINVCDTL  - Used to print lot/serial information for invoice lines.

    OEINVCLINE - Used to print invoice line information.

    OEINVCMISC - Used to print invoice add-on charge information.

    OEINVCTAX  - Used to print sales tax information.

    OEINVCTYPE - Used to validate invoice types.

    OEINVCUOM  - Used to print item pricing information when the invoice line
                 was priced via
                 multiple units of measure.


    OEMETHOD   - Used to validate the shipping method.

    OEMISC     - Used to validate add-on charges.

    OESTDCOMM  - Used to print standard comments.

    SHIPTO     - Used to validate ship-to codes.

    STATICCUST - Used in the Accounts Receivable customer edit routine.

    TXTAXRATE  - Used in the tax code edit routine.

    WHSHIPMENT - Used to store shipment header information.


INVOKED Programs

    ACAC
    IFCR
    IFSG
    IFCU
    IFAC
    IFAU
    SLSE
    SLSU
    IFCC