HWB_SEARCHBO_VW(SQL View) |
Index Back |
---|---|
Main Search View - Back Orders111506 dms 1576506002 Use ORD_HEADER_LOCK in SQL |
SELECT H.BUSINESS_UNIT , H.ORDER_NO , L.ORDER_INT_LINE_NO , S.SCHED_LINE_NBR , %subrec(HWB_HEADER_SBR, H) , %Sql(HWB_HEADER1_SBR_VALUE) , %subrec(HWB_LINE_SBR, L) , %Sql(HWB_LINE1_SBR_VALUE) , %subrec(HWB_SCHED_SBR, S) , C3.NAME1 FROM PS_ORD_HEADER H , PS_ORD_HEADER_LOCK K , PS_ORD_LINE L , PS_ORD_SCHEDULE S , PS_IN_DEMAND D , PS_PROD_ITEM I , PS_SET_CNTRL_REC SCI , PS_CUSTOMER C1 , PS_CUSTOMER C2 , PS_CUSTOMER C3 , PS_SET_CNTRL_REC SCC WHERE %Sql(HWB_HEADER_WHERE) AND %Sql(HWB_LINE_WHERE) AND %Sql(HWB_SCHED_WHERE) AND %Join(COMMON_KEYS, ORD_HEADER H, ORD_LINE L) AND %Join(COMMON_KEYS, ORD_LINE L, ORD_SCHEDULE S) AND %Sql(HWB_SEARCH_NAME_VW_SQL) AND %Sql(HWB_ORDTRK_BO_VW_SQL) |
# | 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 | BILL_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Customer |
6 | OPRID_ENTERED_BY | Character(30) | VARCHAR2(30) NOT NULL | Entered By 07/25/2011 MRAD 12383033 :Ensured that OPRID_ENTERED_BY is set with format type of MixedCase. 03/22/2013 GL 16482301: Switched OPRID_ENTERED_BY back to MixedCase again. Please don't change it to UpperCase!!! FYI - The alternatives to use a User ID as uppercase: 1) Create your own User ID, add comments in the Field Properties, and fill out the Owner ID 2) Use %Upper meta-SQL in SQL statements 3) Use Upper function in peoplecodes |
7 | OPRID_OWNER | Character(30) | VARCHAR2(30) NOT NULL | Operator id of the owner of a document |
8 | ORDER_DATE | Date(10) | DATE | Date Initials Issue Description 022701 mv SP2 (F-CJORGENS-3) CSR Desktop |
9 | ORDER_GRP | Character(6) | VARCHAR2(6) NOT NULL | Order Group |
10 | ORDER_TYPE_CD | Character(3) | VARCHAR2(3) NOT NULL |
Order Type
QUO=Sales Quote SO=Sales Order |
11 | SOLD_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Sold To Customer |
12 | HDR_HOLD_DESC | Character(50) | VARCHAR2(50) NOT NULL | Header Holds |
13 | IS_EDITABLE | Character(1) | VARCHAR2(1) NOT NULL |
Editable?
N=No Y=Yes |
14 | LIN_HOLD_DESC | Character(50) | VARCHAR2(50) NOT NULL | Line Holds |
15 | SCH_HOLD_DESC | Character(50) | VARCHAR2(50) NOT NULL | Schedule Holds |
16 | SOLD_TO_NAME | Character(40) | VARCHAR2(40) NOT NULL | Sold To Customer Name |
17 | BILL_TO_NAME | Character(40) | VARCHAR2(40) NOT NULL | Bill to customer name |
18 | HOLD_SUMMARY | Character(4) | VARCHAR2(4) NOT NULL |
Current Holds
H=H HL=H/L HLS=H/L/S HS=H/S L=L LS=L/S S=S |
19 | SELECT_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
Selection Flag
N=No Y=Yes |
20 | CONFIG_CODE | Character(50) | VARCHAR2(50) NOT NULL | Product Configurator |
21 | ORD_LINE_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Line Status
C=Closed O=Open P=Pending X=Canceled |
22 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
23 | QTY_ORDERED | Signed Number(16,4) | DECIMAL(14,4) NOT NULL | Order Qty |
24 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
25 | DESCR1 | Character(30) | VARCHAR2(30) NOT NULL | Descr |
26 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
27 | PRODUCT_KIT_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
Product Kit
Y/N Table Edit Default Value: N |
28 | CFG_KIT_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
Configured Kit
Y/N Table Edit Default Value: N |
29 | CARRIER_ID | Character(10) | VARCHAR2(10) NOT NULL | Carrier ID |
30 | CUSTOMER_PO | Character(25) | VARCHAR2(25) NOT NULL | Customer PO |
31 | DROP_SHIP_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
Drop Ship
N=No Y=Yes |
32 | CUST_PICKUP | Character(1) | VARCHAR2(1) NOT NULL |
Counter sale customer pickup flag
N=No Y=Yes |
33 | ORD_SCH_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Schedule Status
C=Closed O=Open P=Pending X=Canceled |
34 | IN_FULFILL_STATE | Character(2) | VARCHAR2(2) NOT NULL |
Inventory Fulfillment State
10=Pending 20=Unfulfilled 30=Releasable 40=Released 50=Confirmed 60=Shipped 70=Depleted 90=Canceled |
35 | QTY_SCHEDULED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Quantity Scheduled |
36 | REQ_ARRIVAL_DTTM | DateTime(26) | TIMESTAMP | Requested Arrival |
37 | REQ_SHIP_DTTM | DateTime(26) | TIMESTAMP | Requested Ship |
38 | SCHED_ARRV_DTTM | DateTime(26) | TIMESTAMP | Schedule Arrival Dt/Tm |
39 | SCHED_SHIP_DTTM | DateTime(26) | TIMESTAMP | Schedule Ship Datetime |
40 | SHIP_FROM_BU | Character(5) | VARCHAR2(5) NOT NULL | Ship from INV BU |
41 | SHIP_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Ship To Customer |
42 | SHIP_TYPE_ID | Character(10) | VARCHAR2(10) NOT NULL | Ship Via Code |
43 | SHIP_TO_NAME | Character(40) | VARCHAR2(40) NOT NULL | Ship To Customer Name |