CB_IN_DEMAND_VW(SQL View) |
Index Back |
---|---|
Join IN_DEMAND & ORD_SCHEDULEThis view includes only the rows with demand source Order Management and status of depleted |
SELECT A.BUSINESS_UNIT ,A.SOURCE_BUS_UNIT ,A.ORDER_NO ,A.ORDER_INT_LINE_NO ,A.SCHED_LINE_NBR ,B.CB_CONTRACT_ID ,A.CLAIM_ID ,A.QTY_SHIPPED ,A.NET_UNIT_PRICE ,B.UNIT_COST_ALT ,A.SHIP_TO_CUST_ID ,A.PRODUCT_ID ,A.PARENT_PROD_ID ,A.INV_ITEM_ID ,A.QTY_PER ,A.CURRENCY_CD ,B.CURRENCY_CD_BASE ,A.UNIT_MEASURE_SHIP ,A.KIT_LINE_NBR ,B.SHIP_FROM_BU FROM PS_IN_DEMAND A , PS_ORD_SCHEDULE B WHERE A.SOURCE_BUS_UNIT = B.BUSINESS_UNIT AND A.ORDER_NO = B.ORDER_NO AND A.ORDER_INT_LINE_NO = B.ORDER_INT_LINE_NO AND A.SCHED_LINE_NBR = B.SCHED_LINE_NBR AND A.DEMAND_SOURCE = 'OM' AND A.IN_FULFILL_STATE = '70' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(5) | VARCHAR2(5) NOT NULL | Inventory Unit | |
2 | Character(5) | VARCHAR2(5) NOT NULL | Order Management Business Unit | |
3 | 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 | |
4 | Number(5,0) | INTEGER NOT NULL | Order Line | |
5 | Number(6,0) | INTEGER NOT NULL | Schedule Line Number | |
6 | CB_CONTRACT_ID | Character(25) | VARCHAR2(25) NOT NULL | Claimback Contract ID |
7 | CLAIM_ID | Character(15) | VARCHAR2(15) NOT NULL | Claim ID |
8 | QTY_SHIPPED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Shipped |
9 | NET_UNIT_PRICE | Signed Number(16,4) | DECIMAL(14,4) NOT NULL | Net Unit Price |
10 | UNIT_COST_ALT | Signed Number(16,4) | DECIMAL(14,4) NOT NULL | Date Init. Issue # Description 092804 JJM F-CJORG-L1CX3 Sprinklebacks |
11 | SHIP_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Ship To Customer |
12 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
13 | PARENT_PROD_ID | Character(18) | VARCHAR2(18) NOT NULL | Parent Product Id |
14 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
15 | QTY_PER | Number(10,4) | DECIMAL(9,4) NOT NULL | Quantity |
16 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
17 | CURRENCY_CD_BASE | Character(3) | VARCHAR2(3) NOT NULL | Business Unit Base Currency |
18 | UNIT_MEASURE_SHIP | Character(3) | VARCHAR2(3) NOT NULL | Shipment Unit of Measure |
19 | KIT_LINE_NBR | Number(3,0) | SMALLINT NOT NULL | Kit Line Number |
20 | SHIP_FROM_BU | Character(5) | VARCHAR2(5) NOT NULL | Ship from INV BU |