Lawson Insight Technical Documentation

Generated by:
Documentation generated by Decision Analytics

ERDs Tables Conditions Elements Libraries APIs Forms

MA540


MA540 - Invoice Interface



Run Invoice Interface (MA540) to import expense and match invoices into the
Lawson application from an external source.  The input options are CSV,
database, and EDI.

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

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

    APHOLDCODE -

    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  -

    APINVOICE  -

    APPAYGROUP -

    APPROCLEV  -

    APUSRFLDEF -

    APVENGROUP -

    APVENMAST  -

    CUCONV     -

    CURELAT    -

    EEADVANCE  -

    EEEXPENSE  -

    GLADDRESS  -

    GLCHART    -

    GLCODES    -

    GLSYSTEM   -

    ICCOMPANY  -

    INSTCMDTY  -

    ITEMLOC    -

    ITEMMAST   -

    JBKOPCODE  -

    JBKSYSCODE -

    MACOMPANY  -

    MAELMVALUE -

    MAINVHAND  -

    MAMSGTOL   -

    MAMTCHELEM -

    MAMTCHRULE -

    MAPOINV    -

    MATCHCLASS -

    POCOMPANY  -

    PODOCREF   -

    POITEMVEN  -

    POLINE     -

    PORECEIVE  -

    PORECLINE  -

    PORETURNLN -

    PROCUREGRP -

    PURCHORDER -

    TXTAXRATE  -

    TXUSAGECD  -


INVOKED Programs

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