APAUTHOR FILE
                             Authority Code
The Authority Code file contains authority codes. Authority codes are
required for companies that have Yes selected in the Invoice Approval Option
field and No selected in the Batch Release Option field. An authority code
must be assigned to a registered invoice before the invoice can be released.
Authority codes can also be used for a company that has Yes selected in both
invoice entry option fields, but an authority code is not required for release
in this case.
REFERENCED BY
AP06.1    AP10.5    AP10.1    AP205     AP220     AP236
AP36.1    AP52.7    AP520     MA54.9    MA64.1    MA64.2
MA64.3    MA64.5    MA66.1    MA66.2    MA66.3    AP110
AP510     API3.1    API4.1
UPDATED BY
AP05.6    AP305     API1.1    API2.1
FIELD NAME           DESCRIPTION/VALID VALUES                    UPDATED BY
ATR-COMPANY          Numeric 4                                   AP05.6
Company              The company number. Must be a valid
                     record in the Accounts Payable Company
                     file.
ATR-AUTH-CODE        Alpha 3                                     AP05.6
Authority Code       The user-defined authority code.
                     Identifies the person or department
                     responsible for approving a registered
                     invoice.
ATR-DESCRIPTION      Alpha 30  (Lower Case)                      AP05.6  AP236
Description          The description of the authority code.      AP520
ATR-ACTIVITY-FLAG    Alpha 1                                     AP05.6  API1.1
Used                 Indicates whether the authority code        API2.1
                     has been used.
ATR-VENDOR-GROUP     Alpha 4                                     AP05.6
Vendor Group         The vendor group associated with the
                     authority code company.
ATR-EMAIL-ADDRESS    Alpha 60  (Lower Case)                      AP05.6
Email Address
                         APAUTHOR FILE INDEX
NAME      KEY FIELDS    DESCRIPTION / SUBSET CONDITION           USED IN
ATRSET1   COMPANY       This index is used to validate an        AP05.6  AP06.1
          AUTH-CODE     authority code within an accounts        AP10.5  AP205
                        payable company.                         AP220   AP236
                                                                 AP305   AP36.1
                                                                 AP52.7  AP520
                                                                 API1.1  API2.1
                                                                 MA54.9  MA64.1
                                                                 MA64.2  MA64.3
                                                                 MA64.5  MA66.1
                                                                 MA66.2  MA66.3
ATRSET2   VENDOR-GROUP  This index is used to validate an        AP10.1  AP110
          AUTH-CODE     authority code within an Accounts        AP510   API3.1
          COMPANY       Payable vendor group.                    API4.1
                        KeyChange
ATRSET3   AUTH-CODE     This index is used by the Accounts       AP205
          COMPANY       Payable Codes Listing program.
                        KeyChange
                         APAUTHOR FILE RELATIONS
ONE TO ONE RELATIONS
RELATION       RELATED
 NAME           FILE        INTEGRITY RULES / FIELD MATCH
Apcompany      APCOMPANY    Required
                            ATR-COMPANY      -> CPY-COMPANY
                         APAUTHOR FILE RELATIONS
ONE TO MANY RELATIONS
RELATION       RELATED
 NAME           FILE        INTEGRITY RULES / FIELD MATCH
Apinvoice      APINVOICE    Delete Restricted
                            ATR-COMPANY      -> API-COMPANY
                            Zeroes           -> API-BATCH-NUM
                            ATR-AUTH-CODE    -> API-AUTH-CODE
                                                API-VOUCHER-NBR
                                                API-VENDOR
                                                API-INVOICE
                                                API-SUFFIX
                                                API-CANCEL-SEQ
 |