OMOT_BILL_VW

(SQL View)
Index Back

Schedule Bill View

Schedule Bill View Date Initials Issue Description 052704 twh F-KNANN-V59N4 Replace demand table references with IN_DEMAND

SELECT I.SOURCE_BUS_UNIT , I.ORDER_NO , I.ORDER_INT_LINE_NO , I.SCHED_LINE_NBR , I.DEMAND_LINE_NO , I.INV_ITEM_ID , I.KIT_LINE_NBR , I.BUSINESS_UNIT , I.PARENT_PROD_ID , I.QTY_REQUESTED , I.QTY_ALLOCATED , I.QTY_PICKED , I.QTY_SHIPPED , I.QTY_BACKORDER , D.BILLING_STATUS , D.INVOICE , %DatePart(I.RESERVED_DTTM) , %DatePart(I.PICK_DTTM) , %DatePart(I.SHIP_DTTM) , I.SHIP_ID , I.CARRIER_ID , I.PRO_NUMBER , B.BUSINESS_UNIT , B.BILL_STATUS , B.INVOICE_DT , I.REQUEST_DATE , 'B' , I.CUST_ID FROM PS_IN_DEMAND I , PS_IN_DEMAND_BI D , PS_BI_HDR B WHERE %Join(COMMON_KEYS, IN_DEMAND I, IN_DEMAND_BI D) AND D.BUSINESS_UNIT_BI = B.BUSINESS_UNIT AND D.INVOICE = B.INVOICE AND D.DEMAND_SOURCE = 'OM'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BUIN_NONVW

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 ORDER_INT_LINE_NO Number(5,0) INTEGER NOT NULL Order Line
4 SCHED_LINE_NBR Number(6,0) INTEGER NOT NULL Schedule Line Number
5 DEMAND_LINE_NO Number(4,0) SMALLINT NOT NULL Demand Line No

Default Value: 1

6 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID

Prompt Table: BU_ITM_INV_VW2

7 KIT_LINE_NBR Number(3,0) SMALLINT NOT NULL Kit Line Number
8 BUSINESS_UNIT_IN Character(5) VARCHAR2(5) NOT NULL Inventory Unit
9 PARENT_PROD_ID Character(18) VARCHAR2(18) NOT NULL Parent Product Id
10 QTY_REQUESTED Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Requested
11 QTY_ALLOCATED Signed Number(17,4) DECIMAL(15,4) NOT NULL Allocated quantity
12 QTY_PICKED Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Picked
13 QTY_SHIPPED Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Shipped
14 QTY_BACKORDER Signed Number(17,4) DECIMAL(15,4) NOT NULL Backorder Qty
15 BILLING_STATUS Character(1) VARCHAR2(1) NOT NULL Billing Status
A=Available
B=In Billing
C=Contract
I=Invoiced
N=Not Avail
P=In Process
S=Staged

Default Value: N

16 INVOICE Character(22) VARCHAR2(22) NOT NULL Invoice
17 RESERVED_DATE Date(10) DATE Date on which a demand line was soft reserved.
18 PICK_DATE Date(10) DATE Picked Date
19 SHIP_DATE Date(10) DATE Item Shipping Date
20 SHIP_ID Character(10) VARCHAR2(10) NOT NULL Shipping ID
21 CARRIER_ID Character(10) VARCHAR2(10) NOT NULL Carrier ID
22 PRO_NUMBER Character(40) VARCHAR2(40) NOT NULL Pro Number
23 BUSINESS_UNIT_BI Character(5) VARCHAR2(5) NOT NULL Billing Business Unit
24 BILL_STATUS Character(3) VARCHAR2(3) NOT NULL Bill Status
CAN=Canceled
FNL=Finalized Bill
HLD=Hold Bill
INV=Invoiced Bill
NEW=New Bill
PND=Pending Approval
RDY=Ready to Invoice
TMP=Temporary Bill
TMR=Temporary Ready Bill
25 INVOICE_DT Date(10) DATE Invoice Date
26 REQUEST_DATE Date(10) DATE Requested
27 SOURCE_IND Character(1) VARCHAR2(1) NOT NULL Source Indicator
28 SOLD_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Sold To Customer