Lawson Insight Technical Documentation

Generated by:
Documentation generated by Decision Analytics

ERDs Tables Conditions Elements Libraries APIs Forms

AP30


AP30.1 - Invoice Maintenance

**Form Purpose
Use Invoice Maintenance (AP30.1) to maintain released invoices.

If an invoice is not in balance, an out-of-balance indicator displays in the
"OB" field. The type of indicator displayed is determined by the type of
out-of-balance condition that exists.

"D" (Distributions) displays if the total invoice distribution amount does
not equal the invoice amount.

"P" (Payments) displays if the total payment amount scheduled for the invoice
does not equal the total invoice amount.

"T" (Tax) displays if the total invoice tax distribution amount does not
equal the invoice tax amount.

**Troubleshooting
An asterisk (*) displays if more than one out-of-balance condition exists.
Use AP30.2 (Distribution Adjustments) to correct distribution errors. Use
AP30.3 (Payment Schedule Adjustment) to correct an invoice payment schedule.
To select an invoice for transfer to another form, select the "X" (Select)
line action and transfer to another form.




Updated Files

    APAUDIT    - This program adds Lawson Accounts Payable system audit records
                 if invoice audit in the accounts payable company file is set to
                 Yes.

    APDISTRIB  - Changes and deletes accounts payable distribution records when
                 an invoice is changed or canceled.

    APINUSRFLD -

    APINVOICE  - This program changes and deletes accounts payable invoice
                 records.

    APMONITOR  - This program adds apmonitor records when an invoice is
                 canceled or changed and the appayment record has been scheduled
                 for payment by AP150 (Cash Requirements).

    APPAYMENT  - This program changes and deletes accounts payable split
                 payment records when an invoice is changed or canceled.

    APVENBAL   - This program adds records to the Lawson Accounts Payable
                 system vendor balance file when the remit-to, invoice amount,
                 or invoice date is changed or the invoice is canceled.


Referenced Files

    APACCRCODE - Used to edit the invoice accrual code.

    APCOMMENTS - Not updated by this program.

    APCOMPANY  - Edits the company number.

    APPAYGROUP -

    APPROCLEV  - Edits the process level.

    APUSRFLDEF -

    APVENCLASS - Edits the vendor class.

    APVENGROUP - Edits the vendor group.

    APVENLOC   - Edits the vendor location.

    APVENMAST  - Edits the vendor number.

    MACOMPANY  -

    MAINVHAND  -

    PODOCREF   -

    PURCHORDER -


AP30.2 - Distribution Adjustments

**Form Purpose
Use Distribution Adjustments (AP30.2) to add, change, delete, or reverse
distributions for a released invoice. If an invoice is cancelled, the related
purchase order is updated. If an invoice has been reversed on MA75, it will
not be displayed on AP30.2.

The total distribution amount must equal the invoice amount, and the total
tax distribution amount must equal the total tax amount before the
distributions can be processed by AP175 (Invoice Distribution Closing). When
adjustments are made to distributions that have already been posted on AP175,
the adjustment is tracked for Grant Management federal reporting.

Click Cmt to attach comments to any distribution line. If comments exist, the
Comment button indicates that comments exist. A 'T' in the Tax Ind field
indicates that tax distributions are linked to the corresponding distribution
line. Click Tax to view linked tax distributions for that goods line.

**Processing Effect
Upon modification or creation of a distribution record, if your Accounts
Payable application is set up to check payment status on invoices, an Accounts
Payable API is used to call an Activity Management API to check if activity
requires payment information.

**Troubleshooting
If a distribution is in Pending status, you cannot change the distribution.
To make a change, you can reject the distribution on AP36.2 and then return to
AP30.2 to make the change.




Updated Files

    ACCOMMIT   -

    ACCOMMITX  -

    ACTRANS    -

    ADDRDATA   -

    AMCONTROL  -

    AMINTER    -

    AMRPRINTER -

    APASTDTL   -

    APAUDIT    - Adds audit records when a distribution is added, changed, or
                 deleted.

    APDISTRIB  - This program changes, adds, and deletes accounts payable
                 invoice distribution records.

    APDSUSRFLD -

    APINVOICE  - This program changes the accounts payable invoice records.

    APUAVAL    -

    GLCOMMIT   -

    GLCOMMITX  -

    ICLOCATION -

    MAAOCDTL   -

    MAINVDTL   -

    MAMAAHIST  -

    MAMADHIST  -

    MAPOOLCNT  -

    MMDIST     -

    MMUAVAL    -

    RJBRIDGE   -

    RJCONTROL  -

    RJSCHEDULE -

    TXCODEMAST -

    TXCOMPANY  -

    TXTAXCODE  - Edits the tax code.

    TXTAXTABLE - Edits the tax table code.

    TXTAXTRAN  - This program deletes a tax transaction record when an accounts
                 payable invoice distribution record that has a tax code is
                 deleted and adds a tax transaction record when a distribution
                 is added with a tax code.


Referenced Files

    ACACCTCAT  -

    ACACCTCATX -

    ACACTGRP   -

    ACACTIVITY -

    ACBRDNTRAN -

    ACBUDHDR   -

    ACCAL      -

    ACCATGRP   -

    ACCATGRPX  -

    ACCATSUM   -

    ACCATSUMX  -

    ACCNTRACT  -

    AMASSET    -

    AMAUGROUP  -

    AMTEMPLATE -

    APACCRCODE - Edits the invoice accrual code.

    APCOMMENTS - Used to display comments.

    APCOMPANY  - Edits the company number.

    APCPYVND   -

    APPAYGROUP -

    APPROCLEV  -

    APUSRFLDEF -

    APVENCLASS - Edits the vendor class.

    APVENGROUP - Edits the vendor group.

    APVENLOC   -

    APVENMAST  - Edits the vendor number.

    CUCONV     - Edits the currency exchange rate.

    CURELAT    - Edits the currency relationship.

    FBDETAIL   -

    FBFUNDAMT  -

    FBFUNDDTL  -

    FBHEADER   -

    GLADDRESS  - Address information is returned if needed.

    GLAMOUNTS  -

    GLCHART    - Used in general ledger common routine.

    GLCHARTDTL - Used in general ledger common routine.

    GLCHARTSUM -

    GLCODES    - Used for subledger control.

    GLINTCO    - Edits the intercompany relationship.

    GLMASTER   - Edits the general ledger account.

    GLNAMES    - Edits the general ledger accounting unit.

    GLSRCCODE  -

    GLSYSTEM   - Used to verify the existence of a general ledger company.

    GLTRANS    -

    GLZONE     -

    INSTCTRYCD -

    MACOMPANY  -

    MAMATCHTBL -

    MAPOINV    -

    PODOCREF   -

    PURCHORDER -

    REQLINE    -

    SYSTEMCODE -

    TXTAXRATE  - Used to validate the tax rate.

    WFSETUP    -


AP30.3 - Payment Schedule Adjustment

**Form Purpose
Use Payment Schedule Adjustment (AP30.3) to define and maintain a payment
schedule for a released invoice. You can add new payments or maintain
existing, open or scheduled payments for an invoice. If you paid part of the
invoice amount, you can maintain the remaining open payments.




Updated Files

    APAUDIT    - Adds audit records when a payment is added, changed, or
                 deleted.

    APHLDINV   -

    APINVOICE  - This file is changed when a payment record is changed.

    APMONITOR  - Records are added to this file when a payment record has been
                 split, changed, or deleted and has been scheduled for payment
                 by AP150 (Cash Requirements).

    APPAYMENT  - This file's records are changed by, added to, and deleted by
                 the program.

    CBBANKINST - Validates payment code and updates used flag.

    CBCASHCODE - Validates cash code and updates used flag.

    CBCPYCASH  - Validates company-cash code relationship and updates used flag.


Referenced Files

    APCOMMENTS - Used to display comments.

    APCOMPANY  - Edits the company number.

    APCPYVND   -

    APDISCCODE -

    APPAYGROUP -

    APPROCLEV  -

    APVENCLASS - Edits the vendor class.

    APVENGROUP - Edits the vendor group.

    APVENLOC   -

    APVENMAST  - Edits the vendor number.

    CBCASHFORM -

    CBDRFTFORM -

    CBUSER     - Validates user can access cash code.

    CBUSRCLASS - Validates all users for cash code.

    CUCONV     - Edits the currency exchange rate.

    CURELAT    - Edits the currency relationship.

    GLSYSTEM   - Used to verify the existence of a general ledger company.


AP30.4 - Invoice Cancel

**Form Purpose
Use Invoice Cancel (AP30.4) to cancel a released invoice. You might need to
cancel a released invoice if the invoice number, type, date, amount, or
currency is incorrect. Any invoice that has been reversed on MA75 is not
displayed on AP30.4. You can re-enter canceled invoices in AP20 (Invoice
Entry) using the same invoice number, if needed. The invoice you are canceling
cannot have any payments made against it.

If an invoice is not in balance, an out-of-balance indicator displays in the
"OB" field. The type of indicator displayed is determined by the type of
out-of-balance condition that exists.

"D" (Distributions) displays if the total invoice distribution amount does
not equal the invoice amount.

"P" (Payments) displays if the total payment amount scheduled for the invoice
does not equal the total invoice amount.

"T" (Tax) displays if the total invoice tax distribution amount does not
equal the invoice tax amount.

An asterisk (*) displays if more than one out-of-balance condition exists.

If active comments exist for an invoice, an asterisk displays in the "C"
field.

**Troubleshooting
Use AP30.2 (Distribution Adjustments) to correct distribution errors. Use
AP30.3 (Payment Schedule Adjustment) to correct an invoice payment schedule.
To select an invoice for transfer to another form, select the "X" (Select)
line action and transfer to another form.

If the invoice has been processed by AP170 (Payment Closing), you must void
the payment in the Cash Ledger application and run AP190 (Invoice
Reinstatement) to reinstate the invoice before you can cancel it.

If the invoice has been processed by AP175 (Invoice Distribution Closing),
the application uses the cancel date you define to post reversing entries to
the expense and liability accounts in the general ledger the next time you run
AP175. The application creates reversing entries only if the invoice was
posted before the cancellation. If the invoice was not posted, the application
does not make entries to the general ledger.

Note The cancellation process does not delete the invoice. Canceled invoices
display in AP90 (Invoice Search by Vendor, Invoice), AP92 (Vendor Invoices),
and AP95 (Invoice Distributions).




Updated Files

    ACCOMMIT   -

    ACCOMMITX  -

    ACTRANS    -

    ADDRDATA   -

    AMCONTROL  -

    AMINTER    -

    AMRPRINTER -

    APASTDTL   -

    APAUDIT    - Creates audit records.

    APCRMEMO   - Deletes credit memo records.

    APDISTRIB  - Updates distribution records.

    APDSUSRFLD -

    APHLDINV   -

    APINVOICE  - Updates invoice records.

    APMONITOR  - Updates monitor records.

    APPAYMENT  - Updates payment records.

    APUAVAL    -

    APVENBAL   - Updates vendor balances.

    COCOMP     -

    COLINE     -

    COSGBLK    -

    CXCOMPANY  -

    CXCPIUAVAL -

    CXITEMHIST -

    CXPREFITEM -

    EEADVANCE  -

    EEDISTRIB  -

    EEMATCHING -

    EEUAVAL    -

    GLCOMMIT   -

    GLCOMMITX  -

    HCPATCHRG  -

    HCPATVISIT -

    ICCOMPANY  -

    ICHISTORY  -

    ICLOCATION -

    ICLOT      -

    ICRECEIPTS -

    ICTRANS    -

    ICTRANSDTL -

    INSTDETAIL -

    INSTHEADER -

    INSTNBR    -

    ITEMLOC    -

    ITSERIAL   -

    LMDISTRIB  -

    LMINTEREST -

    LMINVOICE  -

    LMPAYDTL   -

    LMTRANS    -

    MAAOCDTL   -

    MAAOIHIST  -

    MAINVDTL   -

    MAINVMSG   -

    MAMAAHIST  -

    MAMADHIST  -

    MAPOINV    -

    MAPOOLCNT  -

    MMDIST     -

    MMUAVAL    -

    POAGMTPRIC -

    POAOCDTL   -

    POAOCMAST  -

    POAOCSPRD  -

    POAUDIT    -

    POCODE     -

    POCOMPANY  -

    POHDROUT   -

    POHDRPVT   -

    POINTAOC   -

    POINTERFAC -

    POLINE     -

    POLINEOUT  -

    POLINEPVT  -

    POLINESRC  -

    POMESSAGE  -

    POPCRUF    -

    POPLIUF    -

    POPSPHIST  -

    PORECEIVE  -

    PORECLINE  -

    PORETURNHD -

    PORETURNLN -

    POREVISION -

    POTRACK    -

    POTRANSDTL -

    POVAGRMTHD -

    POVAGRMTLN -

    POVENDOR   -

    PURCHORDER -

    RECAOCDTL  -

    REQLINE    -

    RJBRIDGE   -

    RJCONTROL  -

    RJSCHEDULE -

    ROUTEDOC   -

    ROUTEHDR   -

    ROUTESTOP  -

    RQTRANS    -

    SOHDETAIL  -

    TERMS      -

    TXCODEMAST -

    TXCOMPANY  -

    TXTAXCODE  - Validates tax codes.

    TXTAXTABLE -

    TXTAXTRAN  - Updates tax transaction records.

    WHDEMAND   -

    WHDEMNDHDR -


Referenced Files

    ACACCTCAT  -

    ACACTGRP   -

    ACACTIVITY -

    ACBRDNTRAN -

    ACCATSUMX  -

    ACCNTRACT  -

    AMASSET    -

    AMTEMPLATE -

    APACCRCODE - Validates invoice accrual code.

    APAPIHIST  -

    APCOMPANY  - Validates company.

    APHLDINV   -

    APPAYGROUP -

    APPROCLEV  -

    APVENADDR  -

    APVENCLASS - Validates vendor class.

    APVENGROUP - Validates vendor group.

    APVENLOC   -

    APVENMAST  - Validates vendor.

    ARCOMP     -

    ARCUSTOMER -

    BUYCLASS   -

    BUYCMPLOC  -

    BUYER      -

    BUYVENPF   -

    COMPONENT  -

    CUACCT     - Used in general ledger currency common routine.

    CUCONV     - Used in general ledger currency common routine.

    CURELAT    - Used in general ledger common routines.

    CUSTDESC   -

    CUSTORDER  -

    CXBURDEN   -

    CXCASEPREF -

    CXPTMPITEM -

    EEEXPENSE  -

    GLADDRESS  - Used in general ledger common routines.

    GLCHART    -

    GLCODES    - Used in general ledger common routines.

    GLINTCO    -

    GLNAMES    -

    GLSYSTEM   - Used in general ledger common routines.

    HCCHRGITEM -

    ICBIN      -

    ICCATEGORY -

    ICCOUT     -

    ICFACILITY -

    ICMFGCODE  -

    ICMFGDIST  -

    ICVALUOM   -

    INSTATPROC -

    INSTCMDTY  -

    INSTCTRYCD -

    INSTNOTC   -

    INSTPORTS  -

    INSTREGN   -

    ITEMGROUP  -

    ITEMMAST   -

    KITITEM    -

    MACOMPANY  -

    MAELMGPREL -

    MAELMVALUE -

    MAINVHAND  -

    MAMATCHTBL -

    MAMTCHELEM -

    MAMTCHRULE -

    MAREASONCD -

    MATCHCLASS -

    MFGSHPFAC  -

    NATACCT    -

    NATBALANCE -

    OECOMPANY  -

    OECUST     -

    OEFRTCODE  -

    OEROUTE    -

    ORDERTYPE  -

    POAGMTPART -

    POAUDRULES -

    POAUDTYPE  -

    PODOCREF   -

    POITEMVEN  -

    POMATCHOBJ -

    PORECADJHD -

    PORECADJLN -

    POVENDLOC  -

    PROCTEMPLN -

    PROCUREGRP -

    REASON     -

    REQHEADER  -

    REQUESTER  -

    RQLOC      -

    STATICCUST -

    STCOMMCODE -

    SYSTEMCODE -

    TXTAXRATE  -

    WFSETUP    -

    WHPROCTYPE -

    WHSHLAUD   -


INVOKED Programs

    APCP
    API4
    ACAC
    ACCL
    ACTA
    IFCU
    IFAC
    IFAU
    IFOB
    IFSG
    SLSE
    SLSU
    IFLU
    EEI1
    ACSB
    GLCC
    IFRS
    IFSC
    POIF
    API3
    POIG
    POIM
    SLSS
    ICCP
    ICI1
    POCP
    POIH
    POI6
    POI4
    POI7
    POI9
    POIA
    POIL
    POIX
    POII
    POIJ
    POI1