Lawson Insight Technical Documentation

Generated by:
Documentation generated by Decision Analytics

ERDs Tables Conditions Elements Libraries APIs Forms

APHOLDCODE


                            APHOLDCODE FILE

                               Hold Code

The Hold Code file contains all hold code records. A hold code is used to
prevent an invoice from being paid.

A hold code is defined as an invoice hold code, a vendor hold code, or both.
When an invoice has a hold code assigned, the invoice will not be scheduled
for payment. When a vendor is placed on hold, all invoices for the vendor will
not be scheduled for payment.

Both vendor and invoice hold codes are defined as temporary or permanent.
Temporary hold codes prevent invoices from being scheduled for payment for one
payment cycle, and are removed at the end of the payment cycle by AP170
(Payment Closing). Permanent hold codes remain assigned until the codes are
removed from the vendor or invoice record.

Five hold codes are automatically created when a vendor group is defined:
Manual Payment, Credit Balance, Prepayment, Return on Investment, and Maximum
Payment hold codes. For more information, see help text for the Vendor Group
file.

REFERENCED BY

AC160     AM115     AM117     AM15.1    AM15.2    AM15.3
AM15.4    AM19.1    AM19.2    AM20.1    AM20.3    AM21.1
AM21.3    AM500     AM51.1    AM551     AM97.1    AP03.3
AP110     AP115     AP125     AP126     AP131     AP141
AP150     AP170     AP205     AP210     AP220     AP230
AP240     AP25.1    AP25.2    AP25.4    AP250     AP252
AP26.1    AP27.1    AP290     AP30.2    AP30.4    AP305
AP36.1    AP40.1    AP40.2    AP41.1    AP510     AP520
AP90.1    AP91.1    API3.1    API4.1    BL120     BL122
BL130     BL20.1    BL20.3    BL21.2    BL21.5    BL29.1
BL29.2    BL520     BL820     BL92.1    EE20.1    EE20.2
EE20.4    EE35.1    EE35.2    EE520     MX123     MX500
MA01.1    MA180     MA279     MA530     MA531     MA65.1
MA66.2    MA66.3    MA67.2    MA67.3    MA70.1    MA75.1
MA80.1    MAI1.1    PD10.1    PD10.2    PD130     PD20.1
PD20.2    PD20.3    PD235     PO10.1    PO100     PO101
PO120     PO122     PO131     PO20.1    PO21.1    PO21.2
PO21.3    PO21.4    PO21.5    PO22.1    PO220     PO223
PO23.1    PO233     PO24.1    PO25.1    PO25.5    PO25.6
PO25.7    PO253     PO254     PO27.2    PO278     PO29.1
PO30.1    PO30.2    PO30.3    PO300     PO31.1    PO31.2
PO32.2    PO32.4    PO33.1    PO34.1    PO35.1    PO36.1
PO36.2    PO38.1    PO39.1    PO39.2    PO44.1    PO50.1
PO52.1    PO520     PO536     PO54.1    PO54.2    PO54.3
PO54.4    POI3.1    POID.1    POII.1    POIJ.1    PR05.1
PR05.3    PR226     PR247     PR26.1    PR47.1    PR514
UK47.1    RQ10.1    RQ10.2    WH20.2    WH20.7

UPDATED BY

AP00.1    AP00.4    AP05.4    AP10.1    AP100     AP20.1
AP20.2    AP20.3    AP20.4    AP20.5    AP20.6    AP20.7
AP21.1    AP23.1    API1.1    API2.1    MA41.1    MA41.2
MA41.4    MA41.7    MA43.2    MA60.7    MA61.1    MA63.2
MA68.7    MA69.7

FIELD NAME             DESCRIPTION/VALID VALUES                  UPDATED BY

HLD-VENDOR-GROUP       Alpha 4                                   AP00.1  AP05.4
Element: Vendor Group  The vendor group. Must be a valid         AP100
                       record in the Vendor Group file.

HLD-HLD-CODE           Alpha 4                                   AP00.1  AP05.4
Element: Hld Code Ap   A user-defined code used to temporarily   AP100
                       or permanently prevent invoices from
                       being scheduled for payment. Hold codes
                       can be assigned to vendors and invoices.

HLD-DESCRIPTION        Alpha 30  (Lower Case)                    AP00.1  AP00.4
Element: Description   The hold code description.                AP05.4  AP100
                                                                 MA60.7  MA61.1
                                                                 MA63.2  MA68.7
                                                                 MA69.7

HLD-HOLD-VEN-FLAG      Alpha 1                                   AP00.4  AP05.4
Vendor Hold            Indicates the type of vendor hold code.   AP100   MA60.7
Indicator              Valid values are:                         MA61.1  MA63.2
                                                                 MA68.7  MA69.7
                       P = Permanent. The hold remains
                       effective until the hold code is removed
                       from the vendor record.

                       T = Temporary. The hold remains
                       effective for one cash payment cycle.
                       AP170 (Payment Closing) removes the hold
                       code from the vendor record.

                       Blank = Not a vendor hold code.

HLD-HOLD-INV-FLAG      Alpha 1                                   AP00.1  AP00.4
Invoice Hold           Indicates the type of invoice hold        AP05.4  AP100
Indicator              code. Valid values are:                   MA60.7  MA61.1
                                                                 MA63.2  MA68.7
                       P = Permanent. The hold remains           MA69.7
                       effective until the hold code is removed
                       from the invoice record.

                       T = Temporary. The hold remains
                       effective for one cash payment cycle.
                       AP170 (Payment Closing) removes the hold
                       code from the invoice record.

                       Blank = Not an invoice hold code.

HLD-ACTIVITY-FLAG      Alpha 1                                   AP00.4  AP05.4
Element: Used          Indicates whether the hold code has       AP10.1  AP20.1
                       been used.                                AP20.2  AP20.3
                                                                 AP20.4  AP20.5
                                                                 AP20.6  AP20.7
                                                                 AP21.1  AP23.1
                                                                 API1.1  API2.1
                                                                 MA41.1  MA41.2
                                                                 MA41.4  MA41.7
                                                                 MA43.2  MA60.7
                                                                 MA61.1  MA63.2
                                                                 MA68.7  MA69.7

                         APHOLDCODE FILE INDEX

NAME      KEY FIELDS    DESCRIPTION / SUBSET CONDITION           USED IN

HLDSET1   VENDOR-GROUP                                           AC160   AM115
          HLD-CODE                                               AM117   AM15.1
                                                                 AM15.2  AM15.3
                                                                 AM15.4  AM19.1
                                                                 AM19.2  AM20.1
                                                                 AM20.3  AM21.1
                                                                 AM21.3  AM500
                                                                 AM51.1  AM551
                                                                 AM97.1  AP00.1
                                                                 AP00.3  AP00.4
                                                                 AP03.3  AP05.4
                                                                 AP10.1  AP10.2
                                                                 AP100   AP110
                                                                 AP115   AP125
                                                                 AP126   AP131
                                                                 ...

                         APHOLDCODE FILE RELATIONS

ONE TO ONE RELATIONS


RELATION       RELATED
 NAME           FILE        INTEGRITY RULES / FIELD MATCH

Apvengroup     APVENGROUP   Required

                            HLD-VENDOR-GROUP    -> VGP-VENDOR-GROUP