ACSUBPAY – Activity Subcontractor

System
Activity Management (AC)
Prefix
SBP
Primary key
COMPANY, VENDOR, INVOICE, SUFFIX
Fields
45
Updated by
1 program
Referenced by
0 programs

ACSUBPAY is the Activity Subcontractor table in Lawson Activity Management (prefix SBP). It is indexed by COMPANY, VENDOR, INVOICE, SUFFIX (SBPSET1). It is related 1:1 to APCOMPANY, APPROCLEV and APVENMAST and 1:M to APINVOICE. It is updated by AC42.1. The table has 45 fields, 1 index and 4 documented relations.

About ACSUBPAY

No description in the Lawson data dictionary.

Fields (45)

Column = COBOL field name without the SBP- 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 / columnTypeDescription & valuesUpdated by
#SBP-COMPANY PK
COMPANY
Numeric 4Identifies the AP company if the resource type = V. Identifies the HR company if the resource type = E. It is blank for type A, P or Q resources.AC42.1
#SBP-VENDOR PK
VENDOR
Alpha 9 (Right Justified)The vendor's identification code.AC42.1
#SBP-INVOICE PK
INVOICE
Alpha 22Used to identify the invoice.AC42.1
#SBP-SUFFIX PK
SUFFIX
Numeric 3This is the suffix for the invoice.AC42.1
#SBP-VOUCHER-NBR
VOUCHER_NBR
Alpha 10—AC42.1
#SBP-AUTH-CODE
AUTH_CODE
Alpha 3A user-defined code representing a person or department responsible for approving a registered invoice.AC42.1
#SBP-PROC-LEVEL
PROC_LEVEL
Alpha 5This field contains the process level, which is the reporting hierarchy below company.AC42.1
#SBP-INVOICE-TYPE
INVOICE_TYPE
Alpha 1THis field will be filled in from the Invoice based on PO number. This is a carrier for the field. The PORECEIVE file will have to be updated with this field.AC42.1
#SBP-INV-CURRENCY
INV_CURRENCY
Alpha 5—AC42.1
#SBP-INVOICE-DTE
INVOICE_DTE
Numeric 8 (yyyymmdd)—AC42.1
#SBP-DESCRIPTION
DESCRIPTION
Alpha 30 (Lower Case)This field displays the description.AC42.1
#SBP-BASE-INV-AMT
BASE_INV_AMT
Signed 18.2—AC42.1
#SBP-DISCOUNT-RT
DISCOUNT_RT
Percent 5.3 (Percent)—AC42.1
#SBP-DISC-DATE
DISC_DATE
Numeric 8 (yyyymmdd)This field displays the system date when this was created.AC42.1
#SBP-DUE-DATE
DUE_DATE
Numeric 8 (yyyymmdd)The transaction due date.AC42.1
#SBP-REMIT-TO-CODE
REMIT_TO_CODE
Alpha 4A user-defined code that represents a vendor's remittance address.AC42.1
#SBP-REC-STATUS
REC_STATUS
Numeric 1The record status.—
#SBP-CREATE-DATE
CREATE_DATE
Numeric 8 (yyyymmdd)The creation date.AC42.1
#SBP-DISTRIB-DATE
DISTRIB_DATE
Numeric 8 (yyyymmdd)This field displays the system date when this was created.AC42.1
#SBP-CREATION-TIME
CREATION_TIME
Numeric 6 (hhmmss)The creation time.AC42.1
#SBP-VENDOR-GROUP
VENDOR_GROUP
Alpha 4A vendor group represents a group of vendors that can be shared by one or more companies.AC42.1
#SBP-DISCOUNT-CODE
DISCOUNT_CODE
Alpha 10A user-defined code that represents a general ledger discount account.AC42.1
#SBP-APPROVED-FLAG
APPROVED_FLAG
Alpha 1—AC42.1
#SBP-APPRV-OPERATOR
APPRV_OPERATOR
Alpha 10This field is used to store the login id of the person who entered the record.AC42.1
#SBP-OBJ-ID
OBJ_ID
Numeric 12This is the object identifier. It is used to relate commitments or posted transactions back to the originating subsystems. Each subsystem record that is updated as a commitment or posted transaction is assigned an object identifier. The object identifier is maintained in the subsystem files and in the Activity Commitments Detail and Activity Transaction files. The object identifier is a unique key used to drill back from Activity Management to the subsystems.AC42.1
#SBP-TERMS-CD
TERMS_CD
Alpha 5A user-defined code representing a method of determining invoice due and discount dates.AC42.1
#SBP-REASON-CODE
REASON_CODE
Alpha 4This field contains the reason code, which indicates the cause for credit memos.AC42.1
#SBP-HANDLING-CODE
HANDLING_CODE
Alpha 4—AC42.1
#SBP-ACTIVITY
ACTIVITY
Alpha 15Activities are the processes or procedures that produce work. Cost objects (products, services, customers, and so on) are the reasons for performing the activity.AC42.1
#SBP-ACCT-CATEGORY
ACCT_CATEGORY
Alpha 5Account categories are groupings of costs, revenues, or a combination of both used for reporting and inquiries for activities in the Activity Management system. All transactions are posted to an account category within an activity. You can assign a specific General Ledger account or range of accounts (company, accounting unit, account, and subaccount) that make up the transactions posted to an account category using AC07.1 (Account Assignment). Period-to-date, year-to-date, and life-to-date balances are maintained by account category for activities. Account categories must be assigned to activities before you do any budgeting or transaction processing. Valid account category types are: cost revenue accrual pass thruAC42.1
#SBP-DIST-COMPANY
DIST_COMPANY
Numeric 4Identifies the AP company if the resource type = V. Identifies the HR company if the resource type = E. It is blank for type A, P or Q resources.AC42.1
#SBP-DIS-ACCT-UNIT
DIS_ACCT_UNIT
Alpha 15The accounting unit is a shorthand notation representing the variable level number. When used in the General Ledger Account Master file, the accounting unit must be defined in the General Ledger Names file as a posting accounting unit.AC42.1
#SBP-DIS-ACCOUNT
DIS_ACCOUNT
Numeric 6This field along with the accounting unit and subaccount make up the location (account) where amounts and other account information is stored.AC42.1
#SBP-DIS-SUB-ACCT
DIS_SUB_ACCT
Numeric 4This field contains the subaccount from your general ledger chart of accounts that was charged with the amount carried on this record.AC42.1
#SBP-SEGMENT-BLOCK
SEGMENT_BLOCK
Alpha 103This field identifies the user analysis values included in the transaction. You can either type up to four values or use Define (F6) to open the User Analysis Entry subform. Use this subform to select the user analysis values you want to include in the transaction. If you choose to type values, use commas to separate them. For example: value1,value2,value3,value4 There are three conditions that affect how you can select user analysis values. See the User Analysis Entry form help or the Strategic Ledger procedures manual for additional information.AC42.1
#SBP-RCPT-INV-DATE
RCPT_INV_DATE
Numeric 8 (yyyymmdd)This field displays the system date when this was created.AC42.1
#SBP-TRAN-DISC-AMT
TRAN_DISC_AMT
Signed 18.2—AC42.1
#SBP-TRAN-ALOW-AMT
TRAN_ALOW_AMT
Signed 18.2—AC42.1
#SBP-ANTICIPATION
ANTICIPATION
Alpha 1The anticipation flag.AC42.1
#SBP-CONTROL-GROUP
CONTROL_GROUP
Numeric 8This field displays the journal entry number used for process control of the journal entry detail.AC42.1
#SBP-TRANS-TYPE
TRANS_TYPE
Alpha 1Determines if amounts or units are processed in each transaction.AC42.1
#SBP-LAST-REC-SEQ
LAST_REC_SEQ
Numeric 6—AC42.1
#SBP-PO-NUMBER
PO_NUMBER
Alpha 14 (Right Justified)PO Number that will be passed to the AP system. It will not be edited against data in the PO system.AC42.1
#SBP-PO-RELEASE
PO_RELEASE
Numeric 4The purchase order release number associated with the invoice.AC42.1
#SBP-PO-CODE
PO_CODE
Alpha 4Purchase order number code. Used to keep purchase orders unique. Can be used for reporting purposes.AC42.1

Indexes (1)

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.

IndexKeysFlagsConditionUsed in
SBPSET1
  1. COMPANY
  2. VENDOR
  3. INVOICE
  4. SUFFIX
PrimaryAC42.1

Relations

Relationship map — 1:1 lookups/parents on the left, 1:M children on the right (up to 14 each)
APCOMPANYAPPROCLEVAPVENMASTAPINVOICEACSUBPAY

One to one (3) — lookups and parents

RelationTableRulesConditionField map
ApcompanyAPCOMPANYRequired
SBP-COMPANY→CPY-COMPANY
ApproclevAPPROCLEVRequired
SBP-COMPANY→APR-COMPANY
SBP-PROC-LEVEL→APR-PROC-LEVEL
ApvenmastAPVENMASTRequired
SBP-VENDOR-GROUP→VEN-VENDOR-GROUP
SBP-VENDOR→VEN-VENDOR

One to many (1) — child tables

RelationTableRulesConditionField map
ApinvoiceAPINVOICE
SBP-COMPANY→API-COMPANY
SBP-VENDOR→API-VENDOR
SBP-INVOICE→API-INVOICE
SBP-SUFFIX→API-SUFFIX
—→API-CANCEL-SEQ

Programs

Updated by (1)