CXPREFITEM – Preference Items
- System
- Case Carts (CX)
- Prefix
CPI- Primary key
COMPANY,REQ-LOCATION,CASE,SEQ,LINE-NBR- Fields
- 68
- Updated by
- 221 programs
- Referenced by
- 3 programs
CXPREFITEM is the Preference Items table in Lawson Case Carts (prefix CPI). It is indexed by COMPANY, REQ-LOCATION, CASE, SEQ, LINE-NBR (CPISET1); alternate indexes: CPISET2, CPISET3, CPISET4, CPISET6, CPISET7, CPISET8 and CPISET9. It is related 1:1 to CXCASEHEAD, CXCASEPREF, ICLOCATION, CXPTMPITEM, HCCHRGITEM, ICCOMPANY, ITEMLOC, ITEMMAST and 4 more and 1:M to ITEMSUB, POLINESRC, WHSHIPLINE and WHSHIPMENT. It is updated by AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 and 213 more and referenced by CX230, CX240 and CX55.1. The table has 68 fields, 8 indexes and 17 documented relations.
About CXPREFITEM
The Preference Items file contains the items that are defined for use in a procedure. Use CX20.1 (Case Build) to create this file. When you assign a preference template to a case and add the case, the items for the preference template automatically default to this file. Use CX20.2 (Case Detail) to add, substitute, or delete items from a case. Releasing a case causes the Case Carts system logic to access this file. The system uses this data to add or re-add demand records, allocate inventory (if allocation criteria are met), and create a Purchase Order interface record if Create PO in this file is set to Yes.
Fields (68)
Column = COBOL field name without the CPI- 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 |
|---|---|---|---|
#CPI-COMPANY PKCOMPANY | Numeric 4 | This field contains the company number. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-REQ-LOCATION PKREQ_LOCATION | Alpha 5 | This field contains the location requisitioning items and to be charged for the items. This location can be an inventory or noninventory location. This value appears as the to location on pick lists printed when you run CX100 (Pick List Print) and WH130 (Pick List Print). Valid values are A requesting location defined in RQ01.1 (Requesting Location) for the specified healthcare company. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-CASE PKCASE | Alpha 15 | This field contains the unique identifier for the case. A case identifier is used in the Case Carts system to associate specific tasks, practitioners, preference lists, and other information with a particular treatment course. This treatment course may consist of one or more procedures. The Case Carts system uses the case number to interface with an outside scheduling system. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-PREF-CODE SET6PREF_CODE | Alpha 8 | This field contains the Preference List Code. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-PROC-TYPE SET6PROC_TYPE | Alpha 8 | The procedure type is the first of two fields that uniquely identify a procedure. The procedure type can identify the code set to which the procedure code belongs. For example, you can use one of the following codes: - CPT-4 for a code in the Current Procedural Terminology listing compiled by the American Medical Association -HCPCS for a code in HCFA's (Health Care Financing Administration's) Common Procedure Coding System, or - A code defined for your organization's own procedures listing. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-PROC-CODE SET6PROC_CODE | Alpha 8 | The procedure code is the second of two fields that uniquely identify a procedure. The procedure code is an identifier for a specific procedure within a procedure type. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-SEQ PKSEQ | Numeric 3 | This field contains the sequence of the preference list within the case. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-ITEM SET4ITEM | Alpha 32 | This field contains the item identifier. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-ITEM-TYPE SET4ITEM_TYPE | Alpha 1 | This field identifies the line item type. Changes to this field that result in N, X, or X item types , update the Purchase Order interface record.
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-SERVICE-CODESERVICE_CODE | Alpha 1 | " " = Not A Service Item
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-DESCRIPTIONDESCRIPTION | Alpha 30 (Lower Case) | This field contains the description. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-LINE-NBR PKLINE_NBR | Numeric 6 | This field contains the original item line number assigned by the Case Carts system when the item is added. For the line number displayed in CX20.2 (Case Detail), see Alt Line Nbr. This file value is always 1 for the first item on a case preference. Thus, if there are two preferences on a case, they each start with line number 1. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-UOMUOM | Alpha 4 | This field contains the valid stock unit of measure for this item. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-QUANTITYQUANTITY | Signed 13.4 | This field contains the requested quantity to be picked. This field defaults to one (1) if no value is entered. This field is required. Note: To change a line that is partially picked (such as for a case that has multiple care days), be sure that the quantity is equal to or greater than the quantity already picked. (Care days are the total number of preoperative and postoperative days. For example, if the patient stay consists of day one for surgery and day two for postoperative care, the number of care days is one (1). You define care days in CX20.2 (Case Detail) in the Items tab on the Care Item detail tab.) | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-QUANTITY-USEDQUANTITY_USED | Signed 13.4 | This field contains the actual quantity of items used for this case. This amount can be more or less than the issued amount. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-FROM-COMPANYFROM_COMPANY | Numeric 4 | Identifies 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. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-FROM-LOCATIONFROM_LOCATION | Alpha 5 | This is the inventory location that supplies the items or it is the purchase order ship to location that receives the items. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-PRICEPRICE | Signed 18.2 | This field contains the amount that the patient will be charged for the item. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-ISSUE-COSTISSUE_COST | Signed 18.2 | This field contains the issue cost. This cost defaults from CX05.1 (Preference Template) when a case is added using CX20.1 (Case Build) with the following exception. For I or N type items, when you add a case, the system may replace the issue cost from the template with a new value. Such replacement occurs if the values used in the cost logic have changed. For example, such a change can occur when the associated contract unit cost changes after the template is created. The cost logic defaults as follows and can be manually overridden: For inventoried (I) type items, the cost defaults from the Inventory Control system costing routine. For non-inventory-tracked (N) type items, the cost defaults from the Purchase Order system unit cost default routine. For X or S type items, the cost defaults from the template (CX05.1 (Preference Template)). If the Create PO flag is set to Yes, this value updates the Purchase Order interface record. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-ACCT-UNITACCT_UNIT | Alpha 15 | This field contains the accounting unit. The 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. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-ACCOUNTACCOUNT | Numeric 6 | This field contains the account. This field, along with the accounting unit and subaccount, make up the location (account) where amounts and other account information are stored. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-SUB-ACCOUNTSUB_ACCOUNT | Numeric 4 | This field contains the subaccount. This field along with the accounting unit and subaccount make up the location (account) where amounts and other account information is stored. This value must be a valid general ledger account (defined with the Acct Unit). When you release a case, this value updates the Purchase Order interface record. If Item Type is I or Create PO flag is Yes, this field must contain a value. Defaults based on Requisition system default logic if blank and item type is I or the Create PO flag is set to Yes. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-CHARGE-NBRCHARGE_NBR | Alpha 80 | This field contains the number, such as CDM (Charge Description Master), used by the patient billing system to charge patients for items used. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-CHARGEABLE-FLCHARGEABLE_FL | Alpha 1 | This flag indicates that this item is a patient chargeable item.
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-ISSUE-DATEISSUE_DATE | Numeric 8 (yyyymmdd) | This field contains the date of the transaction. The value must be zero (0) if the Case status is 1 (Unreleased). The system updates this value based on changes in CX30.1 (Case Completion Feedback). Defaults to zero (0). | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-ALT-LINE-NBR SET2 SET3 SET6 SET7ALT_LINE_NBR | Numeric 6 | This field contains the display value of the item line number. When you assign more than one preference template to a case, the system assigns numbers to the items, sequentially, starting with 1 on the first preference and continuing sequentially through the next preferences. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-CREATE-PO-CDCREATE_PO_CD | Alpha 1 | This code indicates whether this inventory item is to be purchased by purchase order instead of picked from inventory. Select No for pick from inventory. Select Yes for create purchase order. Defaults to No if blank.
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-VENDORVENDOR | Alpha 9 (Right Justified) | This field contains the vendor's identification code. The system may overwrite this value with output from the Purchase Order Unit Cost Default routine. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-TAXABLE-FLAGTAXABLE_FLAG | Alpha 1 | This field defines whether or not the item is taxable. This value updates the Purchase Order interface record when the case is released. Defaults from the Item master for I and N item types or to No for X and S item types.
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-TAX-CODETAX_CODE | Alpha 10 | This field contains a valid tax code representing specific tax information. This value updates the Purchase Order interface record when the case is released. If the Taxable Flag is set to Yes, this field must contain a value. Defaults to spaces. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-EARLY-DL-DATEEARLY_DL_DATE | Numeric 8 (yyyymmdd) | This field contains the early delivery date. This value updates the Purchase Order interface record. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-LATE-DL-DATELATE_DL_DATE | Numeric 8 (yyyymmdd) | This field contains the late delivery date. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-CERT-REQ-FLCERT_REQ_FL | Alpha 1 | This flag indicates whether a certification is required for this line when it is purchased. This field value is passed to the purchase order when the purchase order line is created.
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-INSP-REQ-FLINSP_REQ_FL | Alpha 1 | This flag indicates whether this item has to be inspected when received in the Purchase Order system. If the Create PO flag is set to Yes, this value updates the Purchase Order interface record when a case is released. Defaults to the value in the Insp Req Fl of the Itemloc file or defaults to No. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-REV-CENTERREV_CENTER | Alpha 5 | The revenue center is the department that charges are associated with. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-POST-ITEM-FL SET3POST_ITEM_FL | Alpha 1 | This field indicates whether or not this line item is part of the procedure (an intraoperative item) or is a postoperative or preoperative item.
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-POST-DAYPOST_DAY | Numeric 2 | This field defines the day of the patient visit when the item is to be used. A value of zero indicates the day of the procedure. When used with the Care Days field, this field indicates the day to start picking care items. 00 99 | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-SUB-ITEM-FLSUB_ITEM_FL | Alpha 1 | This field defines whether an item is a substitute or a replacement item. Blank indicates that no replacements or substitutions are defined. This value must be blank for N, X, and S item types. Defaults to blank.
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-ORIG-ITEM-NBRORIG_ITEM_NBR | Alpha 32 | This field contains the original item number. A value must be provided if Sub Item Fl is not blank. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-SERVICE-DATESERVICE_DATE | Numeric 8 (yyyymmdd) | This field identifies the date the item was used. This date is used by the billing system to identify the charges associated with this case. In the Patient Charge system, this date is called the Charge Date. This value must be zero (0) if the Case status is 1 (Unreleased). Defaults to zero (0). | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-REPEAT-FLREPEAT_FL | Alpha 1 | This field is reserved for a future release of the Case Carts system.
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-NBR-DAYSNBR_DAYS | Numeric 2 | Care days are the total number of days a preoperative or postoperative item will be used on the case, starting with the usage day. The day of the procedure is considered usage day 0. See note below. The Care Days * Units Per Day must equal the Quantity if the Item Usage flag is set. Defaults: The Care Days value defaults from CX05.1(Preference Template). Note: For example, if the patient stay consists of day one for both surgery and the use of intraoperative and postoperative items, the number of care days is 0. In another example, if the patient stay consists of two days, day one for the procedure (designated as usage day zero) and day two for postoperative care, the number of care days is 1. In another example, if an item is not used on a day in the middle of a patient stay, you must create two lines for the item. That is, first define the care days for the item, up to the day of nonusage. Next, add a new line for the same item. Assume the day of nonusage as a new usage day of zero and define the care days for the new line as the total number of remaining care days for the item. Use the following fields together: Item Usage, Usage Day, Care Days, and Units Per Day. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-UNITS-PER-DAYUNITS_PER_DAY | Numeric 3 | This field defines the number of item units to be used per day. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-PICK-FLPICK_FL | Alpha 1 | This field indicates in which system to print pick lists and pick items. Important: Your selection affects more than just printing the pick list. Your selection affects whether shipment records will be created so that items are picked for the correct case (by shipment number). The shipment records also allow for further processing. See note below. For inventoried (I) type items, you must select 1. For non-inventory-tracked (N, X, or, S) type items, you can select either 1, 2, or 3. For printing no pick lists, select 3. Note: You must run the pick list program (WH130 (Pick List Print)) in the Warehouse system to have the system create shipment records. (Later, when you run CX100 (Pick List Print), the shipment number created will appear on the CX100 pick list. The shipment number on the pick list helps you to match picked items with a case procedure.) Additionally, once the shipment records are created, shipping feedback (in WH32.1 (Shipping Feedback by Shipment)), and reduction of stock on hand and deletion of demand records by shipment release (in WH190 (Shipment Release)) can proceed.
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-RTN-WST-FLRTN_WST_FL | Alpha 1 | This field indicates whether the item is a return or waste item. Select Yes if the item is to be designated as a return or waste item. (Returns are received items that must be sent back to the vendor or to the inventory, noninventory, or delivering location. Return items are replaced with no charge or credited. Waste items are items picked for a case but never used and later disposed of and reported as waste during case completion feedback.) Select No if the Case status is 1 (Unreleased). Defaults to No.
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-ACCT-CATEGORYACCT_CATEGORY | Alpha 5 | This field contains a valid account category as defined in the Activity Management system. Note: Use of the Activity Management system to track and report costs recorded in the Case Carts system is reserved for a future release. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-ACTIVITYACTIVITY | Alpha 15 | This field contains a valid activity code as defined in the Activity Management system. Note: Use of the Activity Management system to track and report costs recorded in the Case Carts system is reserved for a future release. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-ATN-OBJ-IDATN_OBJ_ID | Numeric 12 | This field contains a system-assigned identifier that provides access to data in related files. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-STORAGE-LOCSTORAGE_LOC | Alpha 7 | This field contains the storage location identifier. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-STOCKLESS-FLSTOCKLESS_FL | Alpha 1 | This flag indicates whether or not the item is a stockless item. Note: Use of this field is reserved for a future release.
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-AGREEMENT-REFAGREEMENT_REF | Alpha 30 | — | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-COST-CDCOST_CD | Alpha 1 | This field contains the unit-cost origin code. When you build a case, this value is defaulted from the Purchase Order Unit Cost Default routine. The value updates the Purchase Order interface record.
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-COST-OPTIONCOST_OPTION | Alpha 1 | —
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-SHIPPED-QTYSHIPPED_QTY | Signed 13.4 | This field contains the item shipped quantity. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-DEMAND-CREATEDDEMAND_CREATED | Alpha 1 | This field indicates whether demand was created. Select Yes if the demand was created.
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-PATIENT-CLASSPATIENT_CLASS | Alpha 1 | This provides for a category of patient.
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-MANUF-CODEMANUF_CODE | Alpha 4 | This field contains a user-defined code that indicates the manufacturer of an item. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-MANUF-DIVISIONMANUF_DIVISION | Alpha 4 | This field contains a user-defined code that indicates which division of a manufacturer is tied to an item. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-MANUF-NBRMANUF_NBR | Alpha 35 | This is the identifier that the manufacturer has assigned to an item. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-PK-PRINT-FLAGPK_PRINT_FLAG | Alpha 1 | Select the proper value to create a pick ticket, post items, complete the case, or reprocess a pick list for the item. When a line is changed, the system logic sets this flag to 4 (Reprocess) and the case status to 2 (Released).
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-IF-REF-NBR SET8 SET9IF_REF_NBR | Numeric 9 | This field contains an internally generated reference number used to track the case line item when creating a Purchase Order interface record or a Warehouse demand record. The value prints on CX100 (Pick List Print) and on WH130 (Pick List Print). | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-ORG-LINE-NBRORG_LINE_NBR | Numeric 6 | This field contains the original line number of the requisition. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-LEADTIME-DAYSLEADTIME_DAYS | Numeric 3 | This field contains the average lead-time days. The average of the last and the previous lead-time days if system calculated. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-PUT-OUT-FLPUT_OUT_FL | Numeric 3 | This field will show up on the printed pick list and preference list to show the quantity of an item that must be opened for the procedure. This will help reduce waste and returns. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-PO-CODEPO_CODE | Alpha 4 | This is the purchase order code that can be entered for a defaulted to a case item, and will be used on a purchase order created from the case item. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-FILL-OR-KILLFILL_OR_KILL | Alpha 1 | —
| — |
#CPI-USE-IDENTIFIERUSE_IDENTIFIER | Alpha 1 | — | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
#CPI-CONSIGNMENT-FLCONSIGNMENT_FL | Alpha 1 | — | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
Indexes (8)
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 |
|---|---|---|---|---|
CPISET1 |
| Primary | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source) | |
CPISET2 |
| KeyChange | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source) | |
CPISET3 |
| KeyChange | — | |
CPISET4 |
| KeyChange | — | |
CPISET6 |
| KeyChange | — | |
CPISET7 |
| KeyChange | CX20.2 | |
CPISET8 |
| KeyChange, Subset | Where DEMAND-CREATED = "Y" | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source) |
CPISET9 |
| KeyChange, Subset | Where ((CREATE-PO-CD = "Y") And (IF-REF-NBR != Zeroes)) | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source) |
Relations
One to one (13) — lookups and parents
| Relation | Table | Rules | Condition | Field map | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Ccasehead | CXCASEHEAD | Not Required |
| |||||||||||||||||||||||||
| Cccasepref | CXCASEPREF | Required |
| |||||||||||||||||||||||||
| From Location | ICLOCATION | Required | When CPI-FROM-LOCATION != Spaces |
| ||||||||||||||||||||||||
| Gen Temp Item | CXPTMPITEM | Not Required |
| |||||||||||||||||||||||||
| Hcchrgitem | HCCHRGITEM | Not Required |
| |||||||||||||||||||||||||
| Iccompany | ICCOMPANY | Required |
| |||||||||||||||||||||||||
| Item Location | ITEMLOC | Not Required | Valid When CPI-FROM-LOCATION != Spaces |
| ||||||||||||||||||||||||
| Itemmast | ITEMMAST | Required | When CPI-ITEM-TYPE = "I" Or CPI-ITEM-TYPE = "N" |
| ||||||||||||||||||||||||
| Prac Temp Item | CXPTMPITEM | Not Required |
| |||||||||||||||||||||||||
| Vendor | APVENMAST | Required | When CPI-VENDOR != Spaces |
| ||||||||||||||||||||||||
| Vendor Group | APCOMPANY | Required |
| |||||||||||||||||||||||||
| Whdemand | WHDEMAND | Required |
| |||||||||||||||||||||||||
| Whdemndhdr | WHDEMNDHDR | Not Required |
|
One to many (4) — child tables
| Relation | Table | Rules | Condition | Field map | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Itemsub | ITEMSUB |
| ||||||||||||||||||||
| Polinesrc | POLINESRC | Valid When CPI-CREATE-PO-CD = "Y" |
| |||||||||||||||||||
| Whshipline | WHSHIPLINE | Valid When CPI-DEMAND-CREATED = "Y" |
| |||||||||||||||||||
| Whshipment | WHSHIPMENT |
|
Programs
Updated by (221)
- AP125 Batch Release
- AP126 Mass Invoice Release
- AP131 Chargeback
- AP20.1 Basic Invoice
- AP20.2 Taxed Invoice
- AP20.3 Detail Invoice
- AP20.4 Invoice Line Detail
- AP20.5 Multiple Invoice
- AP20.7 Distributions
- AP21.1 View Distributions
- AP23.1 Transit Invoice Entry
- AP25.1 Batch Control
- AP25.2 Batch Review
- AP26.1 Invoice Release
- AP27.1 Single Invoice Release
- AP30.4 Invoice Cancel
- AP510 Vendor Conversion
- API1.1 Add Invoice
- API2.1 Add Invoice
- CX100 Pick List Print
- CX20.1 Case Build
- CX20.2 Case Detail
- CX20.4 Substitute Items
- CX20.5 Insert line
- CX220 Case, Preference Listing
- CX30.1 Case Completion Feedback
- CX300 Preference List Purge
- CX506 HL7 Schedules Import Interface
- CXCP.1 Copy preference to case
- DR100 Distribution Requirements Report
- IC12.1 Item Location
- IC140 Vendor Reorder Advice
- IC141 Location Replenishment Report
- IC142 Replenishment by Requisition PO's
- IC145 Stock Status Report
- IC243 Killed Item Report
- IC330 Item Mass Change
- IC64.1 Global Location Nbr Assignment GL/IC Company
- IC64.2 Global Location Nbr Assignment IC Location
- IC64.3 Global Location Number Assignment RQ Location
- IC64.4 Global Location Number Assignment Manuf Code
- IC64.5 Global Location Number Assignment Manuf Div
- IC64.6 Global Location Number Assignment Vendor
- IC64.7 Global Location Number Assignment Vendor Location
- IC64.8 Global Location Number Assignment IC Bin
- IC64.9 Global Location Number Assignment Buyer
- IC66.1 Replenishment PO Worksheet
- IC83.1 Par Location Counts
- MA180 Open Receipt Archive
- MA278 Cost Variance Analysis
- 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.2 Purchase Order Lookup
- MA43.7 GL Distribution
- MA44.1 Invoice Line Detail - Purchase Order
- MA44.2 Invoice Line Detail- Service
- MA53.1 Receipt Interface
- MA530 ERS Invoice Creation
- MA531 Receipt Interface
- MA60.2 Invoice Level Match
- MA60.3 Detail Level Match
- MA60.5 Receipt Match Reference Adjustment
- MA61.1 Match Invoice Approval
- MA66.2 Invoice Message - Details
- MA67.2 Invoice Match from frontend
- MA67.3 Detail Match from frontend
- MA68.2 Invoice Level Match - Prepaid
- MA68.3 Detail Level Match - Prepaid
- MA68.5 Receipt Match Reference Adjustment
- MA70.1 Invoice Unmatch
- MA75.1 PO Invoice Cancel
- MA80.1 Receipt Archive
- MAI1.1 Invoke for MAMATCH Object
- PD10.1 P-Card Card Request
- PD10.2 P-Card Cardholder
- PD130 P-Card Invoice and Release
- PD20.1 P-Card Charge Approval
- PD20.2 P-Card Charge Approval Level
- PD20.3 P-Card Charge Approval SEA
- PD570 P-Card Charge Import
- PO04.1 Buyer
- PO04.2 Buyer Purchasing Class
- PO10.1 PO Vendor
- PO10.2 Vendor Purchase From Location
- PO100 Purchase Order Interface from Lawson Applications
- PO101 Create Standing PO Release
- PO115 Procurement Template Mass Changes
- PO120 Mass PO Issue
- PO122 Transmitted PO Acknowledgement
- PO131 Receiving Log
- PO132 Print Vendor Return Material Authorization
- PO136 Matched, Not Received Report
- PO15.1 Procurement Templates
- PO15.2 Procurement Template Participants
- PO15.4 Procurement Template Line Detail
- PO150 Bid Load to Contract or Catalog
- PO17.1 Purchase Order Approval Review
- PO190 Close Purchase Order Header
- PO20.1 Purchase Order Entry
- PO20.6 Substitute Vendor Items
- PO20.9 Multiple Lines
- PO204 Buyer Master Listing
- PO21.1 Select and Copy
- PO21.2 Add-On Cost Spread
- PO21.3 Account Distribution
- PO21.4 Miscellaneous Add-On Cost
- PO21.5 Item Add-On Cost
- PO22.1 Authorization, Release
- PO22.3 Mass Cancel or Delete Purchase Orders
- PO22.4 Mass Cancel or Delete Purchase Order Lines
- PO220 PO Status Report
- PO222 Remaining PO Balance Report
- PO224 PO Revision Report
- PO225 Vendor Agreement Listing
- PO229 Vendor Agreement Format Print
- PO23.1 Purchase Order Worksheet
- PO230 Unreleased Receivings Listing
- PO234 PO Interface Listing Report
- PO24.1 Purchase Order Direct Approval
- PO25.1 Vendor Agreements
- PO25.5 Vendor Agreement Item Add-On Cost
- PO25.6 Vendor Agreement Line
- PO25.7 Service Agreement Line
- PO251 PO Buyer Message Listing
- PO26.3 Vendor Agreement Commitments Spread
- PO26.7 Mass Release of Vendor Agreements
- PO26.9 Vendor Agreement Release
- PO27.2 Select Blanket Lines
- PO27.3 Create PO From Procurement Template
- PO27.4 Select and Copy Template
- PO275 Delivery Date Analysis
- PO276 Deliver Quantity Analysis
- PO277 Deliver Quality Analysis
- PO28.2 Vendor Agreement Line Detail List
- PO280 Purchases By Class
- PO29.1 Copy Purchase Order
- PO30.1 PO Receiving
- PO30.2 Substitute Item
- PO30.3 Additional Tracking Numbers
- PO30.4 PO Receiving Line Detail List
- PO300 PO and Receipt Purge
- PO31.1 Vendor Return
- PO31.2 Vendor Return Item Selection
- PO32.2 Item Detail
- PO32.4 Cancel Detail
- PO33.1 Receiving Adjustment
- PO34.1 Inspection Accept or Reject
- PO35.1 Receiving Approval and Release
- PO36.1 Identify Lawson Items by Vendor Agreement Line
- PO36.2 Vendor Agreement Import Manual Input
- PO38.1 Invoice AOC
- PO39.1 Additional Receiving Entry
- PO39.2 Additional Adjustment/Rejection Entry
- PO44.1 PO Line Source
- PO50.1 Buyer Message Entry
- PO52.1 Buyer Message - Receiving
- PO520 Purchase Order Interface from Non Lawson
- PO536 Vendor Price Agreement Load
- PO54.5 PO Line Detail List
- POCP.1 POC Comments Copy
- POI3.1 Invoke for POPI70PD
- POID.1 PO Delivery Ticket Select
- POII.1 Invoke for POPCRUPD
- POIJ.1 Invoke for POPLIUPD
- RQ01.1 Requesting Locations
- RQ10.1 Requisition
- RQ10.2 Account Distribution
- RQ10.3 Select and Copy
- RQ10.4 Requisition Line Entry Detail
- RQ10.5 Substitutes
- RQ11.1 Kit Accessories
- RQ12.1 Approval Review
- RQ13.1 Direct Approval
- RQ13.2 Direct Line Approval
- RQ35.1 Requisition Returns
- RQ44.1 Requisition Inquiry
- RQ500 Requisition Interface
- RQ810 Request Location Load
- RQIB.1 RQRQHUPD Invoke Object
- RQIF.1 RQRLNUPD Invoke Object
- RQII.1 Invoke for Reqheader Inquiry
- RQIJ.1 Requisition Copy
- WH130 Pick List Print
- WH132 Batch Feedback
- WH190 Shipment Release
- WH20.2 Nonstock and Special Allocation
- WH20.7 Substitute Location
- WH222 Shipments In Process
- WH30.1 Picking Feedback by Document
- WH30.2 Picking Feedback by Shipment
- WH30.3 Picking by Batch
- WH30.4 Bin Sequence Picking Feedback
- WH31.1 Packing Feedback by Document
- WH31.2 Packing Feedback by Shipment
- WH31.3 Packing by Batch
- WH31.4 Bin Sequence Packing Feedback
- WH32.1 Shipping Feedback by Document
- WH32.2 Shipping Feedback by Shipment
- WH32.3 Shipping by Batch
- WH32.4 Bin Sequence Shipping Feedback
- WH32.5 Shipping Line Feedback
- WH33.1 Bins
- WH33.2 Lots
- WH33.3 Serials
- WH33.4 UOMs
- WH33.5 Additional Shipment Information
- WH33.6 Catch Weight
- WH33.8 Preassembled Kits
- WH33.9 Line Options
- WH34.1 Component Bins
- WH34.2 Component Lots
- WH34.3 Component Serials
- WH34.4 Component UOMs
- WH40.1 Bill of Lading
- WH40.2 Bill of Lading Feedback
- WH520 Batch Feedback Interface
- WH830 Shipment Load Program
- WHD2.1 WH-IC Integrity Check