ORDENT_LN_SCONL(SQL View) |
Index Back |
---|---|
Ordent scon lineSales contract lines associated with existing orders. |
select l.business_unit, l.order_no, l.cntrct_id, l.cntrct_line_nbr, s.prod_id_src, s.prod_id_entered, s.product_id, s.prod_grp_type, s.customer_item_nbr, s.product_group, s.amt_cntrct_max, s.pct_over_amt, s.qty_max, s.qty_min, s.pct_over_qty, s.unit_of_measure, s.rebate_id, s.penalty_id, s.price_program, s.list_price, s.price, s.business_unit, s.ship_to_cust_id, s.ds_network_code, s.ship_from_bu from ps_set_cntrl_rec sc, PS_SCON_LINE s, ps_ord_line l where sc.setcntrlvalue = l.business_unit and sc.recname = 'SCON_LINE' and s.setid = sc.setid and s.cntrct_id = l.cntrct_id and s.line_nbr = l.cntrct_line_nbr |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | ORDER_NO | Character(10) | VARCHAR2(10) NOT NULL | Identifies a customer order number that appears as a reference on a receivables pending item. Date Initials Issue Description 022701 mv SP2 (F-CJORGENS-3) CSR Desktop |
3 | CNTRCT_ID | Character(25) | VARCHAR2(25) NOT NULL | Buying Agreement ID |
4 | CNTRCT_LINE_NBR | Number(5,0) | INTEGER NOT NULL | Buying Agreement Line Nbr |
5 | PROD_ID_SRC | Character(1) | VARCHAR2(1) NOT NULL |
Product Source
C=Customer P=UPC S=System U=Universal |
6 | PROD_ID_ENTERED | Character(20) | VARCHAR2(20) NOT NULL | Product ID Entered |
7 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
8 | PROD_GRP_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
Product Group Type
ACCT=Accounting BO=Backorder/Reservations CA=Contract CLMB=Claimback Contract CTLG=Product Catalogs FCST=Forecast FRT=Freight PRC=Pricing RPT=Reporting SCON=Buying Agreement SSRC=Alternate Sources of Supply TAX=Tax TRPT=Transportations VAT=VAT WEB=WEB Order Entry |
9 | CUSTOMER_ITEM_NBR | Character(18) | VARCHAR2(18) NOT NULL | Customer Item Number |
10 | PRODUCT_GROUP | Character(10) | VARCHAR2(10) NOT NULL | Product Group |
11 | AMT_CNTRCT_MAX | Number(27,3) | DECIMAL(26,3) NOT NULL | Maximum Amount of Contract. |
12 | PCT_OVER_AMT | Number(3,0) | SMALLINT NOT NULL | % Over Amount |
13 | QTY_MAX | Number(16,4) | DECIMAL(15,4) NOT NULL | Maximum Quantity |
14 | QTY_MIN | Number(16,4) | DECIMAL(15,4) NOT NULL | Minimum Quantity |
15 | PCT_OVER_QTY | Number(3,0) | SMALLINT NOT NULL | % Over Quantity |
16 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
17 | REBATE_ID | Character(6) | VARCHAR2(6) NOT NULL | Rebate ID |
18 | PENALTY_ID | Character(6) | VARCHAR2(6) NOT NULL | Penalty ID |
19 | PRICE_PROGRAM | Character(10) | VARCHAR2(10) NOT NULL | Date Initials Issue Description 111701 dms F-CJORGENS-11 Add EXCL_PRICE_LBL |
20 | LIST_PRICE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | List Price |
21 | PRICE | Signed Number(16,4) | DECIMAL(14,4) NOT NULL | This is price per unit for calculating the service charge. |
22 | BUSINESS_UNIT_OM | Character(5) | VARCHAR2(5) NOT NULL | Order Management Business Unit |
23 | SHIP_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Ship To Customer |
24 | DS_NETWORK_CODE | Character(6) | VARCHAR2(6) NOT NULL | Distribution Network Code |
25 | SHIP_FROM_BU | Character(5) | VARCHAR2(5) NOT NULL | Ship from INV BU |