TD_ORD_LINE_TAG(SQL View) |
Index Back |
---|
SELECT A.BUSINESS_UNIT , A.INVOICE , A.LINE_SEQ_NUM , C.PPRC_PROMO_CD , C.MERCH_TYPE , B.BUSINESS_UNIT , A.ORDER_NO , A.ORDER_INT_LINE_NO , B.ORD_LINE_TAG FROM PS_BI_LINE A , PS_ORD_LINE B , PS_BI_LINE_DS_DTL C WHERE A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.INVOICE = C.INVOICE AND A.LINE_SEQ_NUM = C.LINE_SEQ_NUM AND A.BUSINESS_UNIT_OM = B.BUSINESS_UNIT AND A.ORDER_NO = B.ORDER_NO AND A.ORDER_INT_LINE_NO = B.ORDER_INT_LINE_NO AND C.PPRC_PROMO_CD <> ' ' AND B.ORD_LINE_TAG <> 0 |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | INVOICE | Character(22) | VARCHAR2(22) NOT NULL | Invoice |
3 | LINE_SEQ_NUM | Number(5,0) | INTEGER NOT NULL | Sequence |
4 | PPRC_PROMO_CD | Character(20) | VARCHAR2(20) NOT NULL | Price Promotion Code |
5 | MERCH_TYPE | Character(10) | VARCHAR2(10) NOT NULL | Merchandising Type |
6 | BUSINESS_UNIT_OM | Character(5) | VARCHAR2(5) NOT NULL | Order Management Business Unit |
7 | 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 |
8 | ORDER_INT_LINE_NO | Number(5,0) | INTEGER NOT NULL | Order Line |
9 | ORD_LINE_TAG | Number(5,0) | INTEGER NOT NULL | Order Line tag line nbr |