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.

    APHLDINV   -

    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   -

    POVAGRMTHD -

    PROCUREGRP -

    PURCHORDER -


AP30.2 - Distribution Adjustments

**Form Purpose
Use Distribution Adjustments (AP30.2) to maintain distributions for a
released invoice.

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




Updated Files

    ACCOMMIT   -

    ACCOMMITX  -

    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.

    APMONITOR  -

    APUAVAL    -

    GLCOMMIT   -

    GLCOMMITX  -

    ICLOCATION -

    MAINVDTL   -

    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  -

    ACACTGRP   -

    ACACTIVITY -

    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.

    GLADDRESS  - Address information is returned if needed.

    GLCHART    - Used in general ledger common routine.

    GLCODES    - Used for subledger control.

    GLINTCO    - Edits the intercompany relationship.

    GLNAMES    - Edits the general ledger accounting unit.

    GLSRCCODE  -

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

    GLZONE     -

    MACOMPANY  -

    MAMATCHTBL -

    PODOCREF   -

    PURCHORDER -

    REQLINE    -

    SYSTEMCODE -

    TXTAXRATE  - Used to validate the tax rate.


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. 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 Lawson Cash Ledger system 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 system 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 system creates reversing entries only if the invoice was posted
before the cancellation. If the invoice was not posted, the system does not
make entries to the general ledger.

Note The cancellation process does not delete the invoice. Canceled invoices
display in AP90 (AP Inquiries), AP92 (Vendor Invoices), and AP95 (AP
Distribution Inquiry).




Updated Files

    ACCOMMIT   -

    ACCOMMITX  -

    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  -

    LMINVOICE  -

    LMPAYDTL   -

    MAAOIHIST  -

    MAINVDTL   -

    MAINVMSG   -

    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  -

    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 -

    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.

    CUCODES    - 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  -

    PROCLEV    -

    PROCTEMPLN -

    PROCUREGRP -

    REASON     -

    REQHEADER  -

    REQLINE    -

    REQUESTER  -

    RQLOC      -

    STATICCUST -

    STCOMMCODE -

    SYSTEMCODE -

    TXTAXRATE  -

    WFSETUP    -

    WHPROCTYPE -

    WHSHLAUD   -


INVOKED Programs

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