APPAYGROUP – Pay Group
- System
- Accounts Payable (AP)
- Prefix
PAY- Primary key
PAY-GROUP- Fields
- 18
- Updated by
- 7 programs
- Referenced by
- 108 programs
APPAYGROUP is the Pay Group table in Lawson Accounts Payable (prefix PAY). It is indexed by PAY-GROUP (PAYSET1); alternate indexes: PAYSET2. It is related 1:M to APMONITOR and APPAYCOREL. It is updated by AP01.1, AP151, AP160, AP161, AP167, AP56.1 and ZA161 and referenced by AP00.4, AP00.5, AP101, AP115, AP12.1, AP125, AP126, AP136 and 100 more. The table has 18 fields, 2 indexes and 2 documented relations.
About APPAYGROUP
The Pay Group file contains pay group records which are defined and maintained in AP01.1 (Payment Group). A pay group lets you create a single payment for a vendor to pay invoices received by multiple Accounts Payable companies and process levels. A pay group is made up of one posting company and any number of invoice companies and process levels. All companies associated with the pay group must belong to the same vendor group and have the same base currency. You can assign a company and all of its process levels to the same pay group, assign each process level to a different pay group, or group process levels under pay groups however you need to process payments.
Fields (18)
Column = COBOL field name without the PAY- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
PAY-PAY-GROUP PKPAY_GROUP | Alpha 4 | A pay group is used for processing accounts payable payments. A pay group lets you create a single payment for a vendor to pay invoices received by all company process levels assigned to the pay group. | AP01.1, AP191, AP193, AP35.1, AP80.1 |
PAY-NAMENAME | Alpha 30 (Lower Case) | The name or description of the pay group. | AP01.1 |
PAY-POST-COMPANYPOST_COMPANY | Numeric 4 | The company used for posting cash transactions to the general ledger. Must be a valid general ledger company. The posting company must have the same base currency as all companies assigned to the pay group. This field cannot be changed once an invoice has been entered for the pay group. | AP01.1 |
PAY-VENDOR-GROUPVENDOR_GROUP | Alpha 4 | The vendor group associated with the pay group. A vendor group represents a group of vendors that can be shared by more than one accounts payable company. All companies associated with the pay group must belong to the same vendor group. Must be defined in the Vendor Group file. | AP01.1 |
PAY-BASE-CURRENCYBASE_CURRENCY | Alpha 5 | The base currency assigned to the posting company. The posting company and all accounts payable companies associated with the pay group must have the same base currency. | AP01.1 |
PAY-CURR-NDCURR_ND | Numeric 1 | The number of decimals defined for the posting company base currency. | AP01.1 |
PAY-CASH-CODECASH_CODE | Alpha 4 | The cash code assigned to the pay group. A cash code represents a specific bank account. Must be defined in the Cash Code file. A valid relationship must be defined between the cash code and all companies associated with the pay group, including the posting company. | AP01.1 |
PAY-BANK-INST-CODEBANK_INST_CODE | Alpha 3 | The payment code associated with the pay group. Represents a type of cash payment, such as a check or payment tape, or bill of exchange payment. Must be defined as a cash or bill of exchange payment transaction code in the Transaction Code file. | AP01.1 |
PAY-LAST-DRAFT-NBRLAST_DRAFT_NBR | Numeric 10 | If the pay group processes bill of exchange payments, this field contains the last bill of exchange number printed for the pay group. | AP01.1, AP151, AP56.1 |
PAY-ACCEPT-ACCTINGACCEPT_ACCTING | Alpha 1 | If the pay group processes bill of exchange payments, this field indicates whether the bill of exchange amount should post to the BOE Acceptance Account upon acceptance. Valid values are:
| AP01.1 |
PAY-DRAFT-CODEDRAFT_CODE | Alpha 4 | If the pay group has Yes selected in the Acceptance Accounting field, this field contains the bill of exchange accrual code assigned to the pay group. A bill of exchange accrual code represents a default acceptance account. Must be defined in the Bill of Exchange Accrual Code file. | AP01.1 |
PAY-ACTIVE-STATUSACTIVE_STATUS | Alpha 1 | The pay group status. Valid values are:
| AP01.1 |
PAY-USED-FLUSED_FL | Alpha 1 | Indicates whether any invoices have been entered for the pay group. The posting company assigned to the pay group cannot be changed once the pay group has been used. | — |
PAY-USER-CLASSUSER_CLASS | Alpha 12 | The user class assigned to the pay group. Represents a group of Accounts Payable system users. If assigned, only users assigned to the user group can access or update pay group information in programs that update pay group information. Must be a valid record in the Pay Group User Class file. | AP01.1 |
PAY-SERIAL-NUMSERIAL_NUM | Numeric 8 | This field is a system-generated number used to group tape payment transactions together. | AP160, AP161, ZA161 |
PAY-DRAFT-NBR-OPTDRAFT_NBR_OPT | Alpha 1 | —
| AP01.1 |
PAY-BOE-STMT-NBRBOE_STMT_NBR | Numeric 8 | — | AP167 |
PAY-USE-DFT-STMTSUSE_DFT_STMTS | Alpha 1 | —
| AP01.1 |
Indexes (2)
Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
PAYSET1 | PAY-GROUP | Primary | AP00.4, AP00.5, AP01.1, AP01.3, AP01.4, AP101, AP115, AP12.1 +22 more (list truncated in source) | |
PAYSET2 | POST-COMPANY, PAY-GROUP | KeyChange | AP195 |
Relations
One to many (2) — child tables
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Apmonitor | APMONITOR | Delete Restricted | PAY-PAY-GROUP → MON-PAY-GROUP, → MON-RUN-PROG, → MON-PROC-GRP, → MON-PROC-LEVEL, → MON-ADA-ACCT-STRCT, → MON-BATCH-NUM, → MON-AUTH-CODE, → MON-COMPANY | |
| Appaycorel | APPAYCOREL | Required | PAY-PAY-GROUP → PYR-PAY-GROUP, → PYR-COMPANY, → PYR-PROC-LEVEL |
Programs
Updated by (7)
- AP01.1 Pay Group
- AP151 Bill of Exchange Generation
- AP160 Payment Tape Creation
- AP161 Electronic Payment File Creation
- AP167 Bill of Exchange Cashing Statement
- AP56.1 Bill of Exchange Entry
- ZA161 Electronic Payment File Creation
Referenced by (108)
- AP00.4 Company
- AP00.5 Process Level
- AP101 Pay Group Update
- AP115 Vendor Merge
- AP12.1 Vendor Comments
- AP125 Batch Release
- AP126 Mass Invoice Release
- AP136 Invoice Accrual Reconciliation
- AP141 Mass Invoice Hold
- AP150 Cash Requirements
- AP155 Payment Forms Creation
- AP156 Bill of Exchange Creation
- AP16.1 Vendor Bank
- AP16.2 Vendor Location Bank
- AP166 Bill of Exchange Bank Statement
- AP170 Payment Closing
- AP180 Bill of Exchange Cashing Update
- AP181 Bill of Exchange Statement Update
- AP185 Bill of Exchange Distribution Posting
- AP190 Invoice Reinstatement
- AP191 Unrealized Gain or Loss
- AP193 Recurring Invoice Update
- AP195 Period Closing
- AP20.1 Basic Invoice
- AP20.2 Taxed Invoice
- AP20.3 Detail Invoice
- AP20.4 Invoice Line Detail
- AP20.5 Multiple Invoice
- AP20.6 Prepayment
- AP20.7 Distributions
- AP20.8 Payment Schedule
- AP201 Pay Group Listing
- AP21.1 View Distributions
- AP23.1 Transit Invoice Entry
- AP230 Open Payables Report
- AP232 Invoice Accrual Reconciliation Report
- AP25.1 Batch Control
- AP25.2 Batch Review
- AP250 Cash Forecasting
- AP251 Match Analysis Report
- AP255 Bank Account Payment History
- AP26.1 Invoice Release
- AP265 Cash Payment Register
- AP266 Bill of Exchange Report
- AP27.1 Single Invoice Release
- AP270 Vendor Payment History
- AP271 Vendor Spend Report
- AP28.1 Bill of Exchange Acceptance by Vendor
- AP28.2 Bill of Exchange Acceptance by Date
- AP30.1 Invoice Maintenance
- AP30.2 Distribution Adjustments
- AP30.3 Payment Schedule Adjustment
- AP30.4 Invoice Cancel
- AP33.1 Retainage Payment Adjustment
- AP35.1 Credit Memo Application
- AP36.2 Distribution Approvals
- AP40.1 Invoice Hold Selection
- AP41.1 Hold Parameter Definition
- AP520 Invoice Interface
- AP55.1 Cash Payment Entry
- AP55.2 Cash Payment Invoice Application
- AP58.1 Vendor Bank
- AP80.1 Bill of Exchange Cashing Selection
- AP81.1 Manual Forms Reservation
- AP90.5 Cash Payment Inquiry
- AP91.2 Bill of Exchange Inquiry
- AP91.4 Selection Criteria
- AP92.2 Pay Group Invoices
- AP92.3 Selection Criteria
- AP92.4 Selection Criteria
- AP93.2 Archived Pay Group Invoices
- AP93.3 Selection Criteria
- AP93.4 Selection Criteria
- API1.1 Add Invoice
- API2.1 Add Invoice
- CB06.2 Bank Statement Detail Entry
- CB50.1 Bank Transaction Interface Maintenance
- CB500 Bank Transaction Interface
- CB54.1 Payment Load Maintenance
- CB55.1 Payment Entry
- CB554 Payment Load
- EE11.1 Expense Line Detail
- EE135 Mass Employee Release
- EE20.1 Employee Advance
- EE20.2 Employee Expense
- EE20.3 Expense Detail
- EE20.4 Employee Payback
- EE35.1 Advance Release
- EE35.2 Expense Release
- EE520 Expense Interface
- MA41.1 Add-On Cost Detail - Purchase Order
- MA41.2 Add On Cost Lookup
- MA41.4 Miscellaneous Add-On Cost
- MA41.7 AOC Approval Entry
- MA42.2 Memo Line AOC Detail
- MA43.1 Invoice Line Detail - Purchase Order
- MA43.2 Purchase Order Lookup
- MA44.1 Invoice Line Detail - Purchase Order
- MA44.2 Invoice Line Detail- Service
- MA540 Invoice Interface
- MA61.1 Match Invoice Approval
- MA64.9 PO Cost Message Accept Upload
- MA65.1 Invoice Line Adjustment
- MA66.2 Invoice Message - Details
- MA66.3 Purchase Order Cost Review Message
- MA70.1 Invoice Unmatch
- MA75.1 PO Invoice Cancel
- MAI1.1 Invoke for MAMATCH Object