OMOT_RMARECV_VW(SQL View) |
Index Back |
---|---|
RMA for schedulesreceived |
SELECT A.REF_BUS_UNIT_OM , A.REF_ORDER_NO , A.REF_LINE_NBR , A.REF_SCHED_NBR , A.INV_ITEM_ID , A.BUSINESS_UNIT , A.RMA_ID , A.RMA_LINE_NBR , A.UNIT_OF_MEASURE , A.QTY_RETURNED , %DatePart(A.est_return_dttm) , A.RMA_LINE_STATUS , A.REASON_CD , B.QTY_INV_RECV , %DatePart(B.RECEIPT_DTTM) , C.SOLD_TO_CUST_ID FROM PS_RMA_LINE A , PS_INV_RECV_LN B , PS_ORD_HEADER C WHERE A.RMA_LINE_STATUS <> 'X' AND A.REF_BUS_UNIT_OM <> ' ' AND A.REF_ORDER_NO <> ' ' AND B.SOURCE = 'OM' AND B.SOURCE_BUS_UNIT = A.BUSINESS_UNIT AND B.RMA_ID = A.RMA_ID AND B.RMA_LINE_NBR = A.RMA_LINE_NBR AND A.REF_BUS_UNIT_OM = C.BUSINESS_UNIT AND A.REF_ORDER_NO = C.ORDER_NO |
# | 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 | 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 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
6 | BUS_UNIT_RMA | Character(5) | VARCHAR2(5) NOT NULL | RMA Business Unit |
7 | RMA_ID | Character(10) | VARCHAR2(10) NOT NULL | RMA Number |
8 | RMA_LINE_NBR | Number(5,0) | INTEGER NOT NULL | RMA Line Number |
9 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
10 | QTY_RETURNED | Number(16,4) | DECIMAL(15,4) NOT NULL | Qty Returned |
11 | RETURN_DATE | Date(10) | DATE | Return Date |
12 | RMA_LINE_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Line Status
C=Closed O=Open P=Pending X=Canceled |
13 | REASON_CD | Character(10) | VARCHAR2(10) NOT NULL | Reason Code |
14 | QTY_INV_RECV | Number(16,4) | DECIMAL(15,4) NOT NULL | Quantity Received |
15 | RECEIVED_DT | Date(10) | DATE | Specifies the date that a group of pending items was received by the organization. This date may be earlier or the same as the date that the items were actually entered into the system (ENTRY_DT). |
16 | SOLD_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Sold To Customer |