ARACPIVOT – Acct Receivables Payment Trans
- System
- Accounts Receivable (AR)
- Prefix
CCP- Primary key
COMPANY,TRANS-TYPE,BATCH-NBR,TRANSACTION,PAYMENT-SEQ- Fields
- 46
- Updated by
- 6 programs
- Referenced by
- 0 programs
ARACPIVOT is the Acct Receivables Payment Trans table in Lawson Accounts Receivable (prefix CCP). It is indexed by COMPANY, TRANS-TYPE, BATCH-NBR, TRANSACTION, PAYMENT-SEQ (CCPSET1); alternate indexes: CCPSET10, CCPSET11, CCPSET12, CCPSET13, CCPSET2, CCPSET3, CCPSET4, CCPSET5 and 4 more. It is related 1:1 to ACACTGRP, ACACTIVITY, ACCNTRACT, AROITEMS, ARPAYMENT and GMGRANT and 1:M to ACHISTHDR. It is updated by AR13.1, AR13.2, ARLL.1, BR450, CB06.2 and CB191. The table has 46 fields, 13 indexes and 7 documented relations.
About ARACPIVOT
No description in the Lawson data dictionary.
Fields (46)
Column = COBOL field name without the CCP- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored. PK = primary key (present in every index); SETn = leading/alternate key of that index.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
#CCP-COMPANY PKCOMPANY | Numeric 4 | The AR company associated with the payment record. | AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
#CCP-TRANS-TYPE PKTRANS_TYPE | Alpha 1 | Determines the transaction type: Invoice (I), Credit memo (I), Debit memo (D) or Payment (P).
| AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
#CCP-BATCH-NBR PKBATCH_NBR | Numeric 6 | This identifies the batch the entered invoices, debit memos, and credit memos are a part of. | AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
#CCP-TRANSACTION PKTRANSACTION | Alpha 22 | The payment or transaction number. | AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
#CCP-PAYMENT-SEQ PKPAYMENT_SEQ | Numeric 6 | The unique payment or obligation sequence number. | AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
#CCP-ACTIVITY SET12 SET2 SET5 SET8ACTIVITY | Alpha 15 | The activity associated with the transaction or payment - interfaced from AC/BR | AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
#CCP-ACCT-CATEGORYACCT_CATEGORY | Alpha 5 | The account category associated with the transaction or payment - interfaced from AC/BR cost revenue accrual pass thru | ARLL.1, CB06.2 |
#CCP-CONTRACT SET10 SET11 SET4 SET7CONTRACT | Alpha 15 | The contract asociated with the transaction or payment - interfaced from AC/BR. | AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
#CCP-ACTIVITY-GRP SET13 SET3 SET6 SET9ACTIVITY_GRP | Alpha 15 | The aactivity group associated with the transaction or payment - interfaced from AC/BR. | AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
#CCP-STATUSSTATUS | Numeric 1 | The status of the record in the processing flow. Valid values are:
| AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
#CCP-CUSTOMERCUSTOMER | Alpha 9 (Right Justified) | The customer associated with the transacton or payment. | AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
#CCP-OPEN-TRANOPEN_TRAN | Signed 18.2 | — | AR13.1, AR13.2, CB06.2 |
#CCP-OPEN-BASEOPEN_BASE | Signed 18.2 | — | AR13.1, AR13.2, CB06.2 |
#CCP-SORT-AMOUNTSORT_AMOUNT | Numeric 17 | — | AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
#CCP-PROCESS-LEVELPROCESS_LEVEL | Alpha 5 | This field contains the process level, which is the reporting hierarchy below company. | AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
#CCP-ORIG-CURRENCYORIG_CURRENCY | Alpha 5 | This contains the original transaction currency code. | AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
#CCP-ORIG-NDORIG_ND | Numeric 1 | The number of decimals assigned to a particular account as determined by the account currency. | AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
#CCP-ORIG-RATEORIG_RATE | Signed 14.7 | — | AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
#CCP-CURR-MUDVCURR_MUDV | Alpha 1 | — | AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
#CCP-SUM-LINESUM_LINE | Alpha 1 | — | ARLL.1, CB06.2 |
#CCP-DISC-DATEDISC_DATE | Numeric 8 (yyyymmdd) Occurs 3 Times ×3 | This field displays the system date when this was created. | ARLL.1, CB06.2 |
#CCP-ORIG-DISC-AMTORIG_DISC_AMT | Signed 18.2 Occurs 3 Times ×3 | — | ARLL.1, CB06.2 |
#CCP-CUST-PO-NBRCUST_PO_NBR | Alpha 22 | — | ARLL.1, CB06.2 |
#CCP-TRANS-DATETRANS_DATE | Numeric 8 (yyyymmdd) | — | AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
#CCP-XREF-TYPEXREF_TYPE | Alpha 1 | — | ARLL.1, CB06.2 |
#CCP-XREF-NBRXREF_NBR | Alpha 22 | — | AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
#CCP-BANK-INST-CODEBANK_INST_CODE | Alpha 3 | A transaction code represents a type of cash payment, bill of exchange payment, or bank service transaction. | ARLL.1, CB06.2 |
#CCP-BANK-INST-TYPEBANK_INST_TYPE | Alpha 1 | This categorizes the type of bank instrument. | ARLL.1, CB06.2 |
#CCP-ALT-TYPEALT_TYPE | Alpha 1 | —
| ARLL.1, CB06.2 |
#CCP-GL-DATEGL_DATE | Numeric 8 (yyyymmdd) | This field contains the general ledger posting date. | AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
#CCP-CANCEL-DATECANCEL_DATE | Numeric 8 (yyyymmdd) | The cancellation date. | AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
#CCP-DISPUTE-SEQDISPUTE_SEQ | Numeric 3 | — | ARLL.1, CB06.2 |
#CCP-REVALUE-FLREVALUE_FL | Alpha 1 | — | ARLL.1, CB06.2 |
#CCP-TRANS-USER1TRANS_USER1 | Alpha 10 | — | ARLL.1, CB06.2 |
#CCP-ORIG-AMTORIG_AMT | Signed 18.2 | — | AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
#CCP-TRAN-AMTTRAN_AMT | Signed 18.2 | — | AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
#CCP-DUE-DATE SET10 SET11 SET12 SET13 SET2 SET3 SET4 SET5 SET6 SET7 SET8 SET9DUE_DATE | Numeric 8 (yyyymmdd) | This field displays the system date when this was created. | AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
#CCP-GAINLOS-AMTGAINLOS_AMT | Signed 18.2 | — | ARLL.1, CB06.2 |
#CCP-CURRENCY-CODECURRENCY_CODE | Alpha 5 | This field contains the company base currency code established in Company (GL10.1 ). | AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
#CCP-BASE-NDBASE_ND | Numeric 1 | The number of decimal positions defined for the company base currency. | ARLL.1, CB06.2 |
#CCP-ADJ-FLADJ_FL | Alpha 1 | — | ARLL.1, CB06.2 |
#CCP-GROUP-RATEGROUP_RATE | Signed 14.7 | — | AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
#CCP-GROUP-MUDVGROUP_MUDV | Alpha 1 | — | AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
#CCP-DISC-PCTDISC_PCT | Percent 7.5 (Percent) Occurs 3 Times ×3 | — | ARLL.1, CB06.2 |
#CCP-AC-CUSTOMER-IDAC_CUSTOMER_ID | Alpha 5 | — | ARLL.1, CB06.2 |
#CCP-GRANTGRANT | Alpha 30 | — | AR13.1, AR13.2, ARLL.1, CB06.2, CB191 |
Indexes (13)
Keys are listed in index order; ↓ marks a descending key. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
CCPSET1 |
| Primary | AR13.1, AR13.2, ARLL.1, CB06.2, CB191 | |
CCPSET10 |
| KeyChange | — | |
CCPSET11 |
| KeyChange | — | |
CCPSET12 |
| KeyChange | — | |
CCPSET13 |
| KeyChange | — | |
CCPSET2 |
| KeyChange, Subset | Where ((TRANS-TYPE = "I" Or TRANS-TYPE = "C" Or TRANS-TYPE = "D") And (STATUS = 1)) Or ((TRANS-TYPE = "P") And (STATUS = Zeroes Or STATUS = 2)) | — |
CCPSET3 |
| KeyChange, Subset | Where ((TRANS-TYPE = "I" Or TRANS-TYPE = "C" Or TRANS-TYPE = "D") And (STATUS = 1)) Or ((TRANS-TYPE = "P") And (STATUS = Zeroes Or STATUS = 2)) | — |
CCPSET4 |
| KeyChange, Subset | Where ((TRANS-TYPE = "I" Or TRANS-TYPE = "C" Or TRANS-TYPE = "D") And (STATUS = 1)) Or ((TRANS-TYPE = "P") And (STATUS = Zeroes Or STATUS = 2)) | — |
CCPSET5 |
| KeyChange, Subset | Where STATUS > Zeroes And STATUS < 9 | — |
CCPSET6 |
| KeyChange, Subset | Where STATUS > Zeroes And STATUS < 9 | — |
CCPSET7 |
| KeyChange, Subset | Where STATUS > Zeroes And STATUS < 9 | BR450 |
CCPSET8 |
| KeyChange | — | |
CCPSET9 |
| KeyChange | — |
Relations
One to one (6) — lookups and parents
| Relation | Table | Rules | Condition | Field map | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Acactgrp | ACACTGRP | Not Required |
| |||||||||||||
| Acactivity | ACACTIVITY | Not Required |
| |||||||||||||
| Acntract | ACCNTRACT | Not Required |
| |||||||||||||
| Aroitems | AROITEMS | Not Required |
| |||||||||||||
| Arpayment | ARPAYMENT | Not Required |
| |||||||||||||
| Gmgrant | GMGRANT | Required |
|
One to many (1) — child tables
| Relation | Table | Rules | Condition | Field map | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Achisthdr | ACHISTHDR | Valid When CCP-CONTRACT != "SPACES" |
|