Lawson Insight Technical Documentation

Generated by:
Documentation generated by Decision Analytics

ERDs Tables Conditions Elements Libraries APIs Forms

MA540


MA540 - Invoice Interface

**Form Purpose
Run Invoice Interface (MA540) to load accounts payable and purchase order
invoices into the Invoice Matching application 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 (Auto Matching).

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 application 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 application. 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

    ADDRDATA   -

    CKPOINT    -

    ICLOCATION -

    JBOOKHDR   -

    MACAPDTL   -

    MACINVAOC  -

    MACINVDTL  -

    MACINVERR  -

    MACINVOICE -

    MMUAVAL    -

    POAOCDTL   -

    POAOCMAST  -

    TERMS      -

    TXCODEMAST -

    TXCOMPANY  -

    TXTAXCODE  -

    TXTAXTABLE -


Referenced Files

    AMASSET    -

    AMTEMPLATE -

    APACCRCODE -

    APAPIHIST  -

    APAUTHBUY  -

    APAUTHOR   -

    APBATCH    -

    APCOMPANY  -

    APDIVCODE  -

    APINVOICE  -

    APPAYGROUP -

    APPROCLEV  -

    APUSRFLDEF -

    APVENCLASS -

    APVENGROUP -

    APVENMAST  -

    CUCONV     -

    CURELAT    -

    EEADVANCE  -

    EEEXPENSE  -

    GLADDRESS  -

    GLCHART    -

    GLCODES    -

    GLSYSTEM   -

    ICCOMPANY  -

    ICVALUOM   -

    INSTCMDTY  -

    INSTCTRYCD -

    ITEMLOC    -

    ITEMMAST   -

    JBKOPCODE  -

    JBKSYSCODE -

    MACOMPANY  -

    MAELMVALUE -

    MAINVHAND  -

    MAMSGTOL   -

    MAMTCHELEM -

    MAMTCHRULE -

    MAPOINV    -

    MATCHCLASS -

    POCOMPANY  -

    PODOCREF   -

    POITEMVEN  -

    POLINE     -

    PROCUREGRP -

    PURCHORDER -

    TXTAXRATE  -

    TXUSAGECD  -


INVOKED Programs

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