Lawson Software

Lawson Insight Technical Documentation

Generated by:
Documentation generated by Decision Analytics

ERDs Tables Elements Libraries App Forms

MA540


MA540 - Invoice Interface

**Form Purpose
Run Invoice Interface (MA540) to imort accounts payable and purchase order
invoices into the Lawson Matching system from an external source.

MA540 creates invoice detail from detail provided by the interface
information.

**Processing Effect
Match invoices are created as unreleased (status = 0). A match may be
attempted if you have selected Add and Match in the Invoice Process field. If
the match is successful, the invoice status is updated to released (status =
1).

AP invoices may be released and scheduled for payment automatically if the
vendor set up specifies EDI auto release.

If you allow auto release, some invoices may be created as unreleased due to
exceptions on the invoice (for example, out of tolerance conditions).

Unreleased invoices may be maintained using AP20 (Invoice Entry). Unreleased
invoices may be matched using AP20 (Invoice Entry) or MA126 (Batch Match).

For AP batch invoices a starting batch number is required if the AP company
is defined as batch processing. The batch number is used to create unreleased
invoices for batch processing companies. A batch size limit is also required.
The system will start a new batch when the maximum batch size has been reached
and increment the starting batch number to find the next unused batch number.

Invoices that have errors will remain in the interface files until they are
maintained, released, or updated via MA540. Use MA54.1 (Invoice) to maintain
interfaced invoices.

**More Information
Note Under certain circumstances, you can release invoices with errors by
selecting Yes in the Include Invoices in Error field. It is recommended that
this option only be used when there are a large number of invoices with a
simple error. For example if you interface a large number of invoices without
establishing a code in the Lawson system. These invoices will be added to the
error file. After you added the code, normally you would have to release each
invoice individually in MA54.1. The Include Invoices in Error parameter lets
you release the invoices as a group.

MA540 creates three output reports:

- The Fatal EDI Invoice Errors Report lists any invoices that could not be
loaded due to severe data problems (for example, the invoice number is a
duplicate of an existing invoice). Use MA54.1 (Invoice), MA54.2
(Distribution), or MA54.3 (Line Detail) to correct interface errors.

- The Released Audit Report lists all of the released invoices that were
loaded.

- The Unreleased Audit Report lists all of the unreleased invoices that were
loaded.




Updated Files

    CKPOINT    -

    ICLOCATION -

    JBOOKHDR   -

    MACAPDTL   -

    MACINVAOC  -

    MACINVDTL  -

    MACINVERR  -

    MACINVOICE -

    MMUAVAL    -

    POAOCDTL   -

    POAOCMAST  -

    TERMS      -

    TXCODEMAST -

    TXCOMPANY  -

    TXTAXCODE  -

    TXTAXTABLE -


Referenced Files

    AMASSET    -

    AMTEMPLATE -

    APACCRCODE -

    APAPIHIST  -

    APAUTHBUY  -

    APAUTHOR   -

    APCOMPANY  -

    APINVOICE  -

    APPAYGROUP -

    APPROCLEV  -

    APUSRFLDEF -

    APVENGROUP -

    APVENMAST  -

    CUCONV     -

    CURELAT    -

    EEADVANCE  -

    EEEXPENSE  -

    GLADDRESS  -

    GLCHART    -

    GLSYSTEM   -

    ICCOMPANY  -

    ICVALUOM   -

    INSTCMDTY  -

    ITEMLOC    -

    ITEMMAST   -

    JBKOPCODE  -

    JBKSYSCODE -

    MACOMPANY  -

    MAELMVALUE -

    MAINVHAND  -

    MAMTCHELEM -

    MAMTCHRULE -

    MAPOINV    -

    MATCHCLASS -

    POCOMPANY  -

    POITEMVEN  -

    POLINE     -

    PROCUREGRP -

    PURCHORDER -

    TXTAXRATE  -

    TXUSAGECD  -


INVOKED Programs

    API1
    ACCL
    APCP
    API3
    ACAC
    IFCU
    IFSG
    IFAC
    IFAU
    SLSE
    SLSU
    API4
    API5
    ICCP
    ICI1
    ICIT
    ICLC
    IFOB
    IFRS
    MAED
    MAI1
    APDS
    API2
    MARC
    POED
    SLSS
    GLCC
    MAPL
    POCP
    POIH
    POI6
    POI4
    POI7
    PHI6
    POI9
    POIA
    POIL
    POIX
    POIF
    POIG
    POII
    POIJ
    POI1
    POIM
    POI3