RMA_OM_CRCRD_VW(SQL View) |
Index Back |
---|---|
Sales Order CR Card DataSales Order CR Card Data |
SELECT o.business_unit , o.order_no , %subrec(address_sbr2, a) , o.CR_CARD_TYPE , o.CR_CARD_NBR , o.CC_PROF_TOKEN , o.CR_CARD_VENDOR , o.CR_CARD_DIGITS , o.CR_CARD_FNAME , o.CR_CARD_LNAME , o.CR_CARD_EXPYR , o.CR_CARD_EXPMO , o.EMAILID , o.PHONE FROM ps_ord_header o , PS_CUST_ADDR_BI_VW a , ps_set_cntrl_rec s WHERE s.recname = 'CUSTOMER' AND s.setcntrlvalue = o.business_unit AND s.setid = a.setid AND o.bill_to_cust_id = a.cust_id AND o.address_seq_num = a.address_seq_num |
# | 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 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL |
Country
Prompt Table: COUNTRY_TBL |
4 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
5 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
6 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
7 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
8 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
9 | NUM1 | Character(6) | VARCHAR2(6) NOT NULL | Number 1 |
10 | NUM2 | Character(6) | VARCHAR2(6) NOT NULL | Number 2 |
11 | HOUSE_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
House Type
AB=House Boat WW=Trailer |
12 | ADDR_FIELD1 | Character(2) | VARCHAR2(2) NOT NULL | Address Field 1 |
13 | ADDR_FIELD2 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 2 |
14 | ADDR_FIELD3 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 3 |
15 | COUNTY | Character(30) | VARCHAR2(30) NOT NULL | County |
16 | STATE | Character(6) | VARCHAR2(6) NOT NULL |
State
Prompt Table: %EDIT_STATE |
17 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
18 | GEO_CODE | Character(11) | VARCHAR2(11) NOT NULL | Geo Code |
19 | IN_CITY_LIMIT | Character(1) | VARCHAR2(1) NOT NULL |
In City Limit
Y/N Table Edit |
20 | CR_CARD_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
"See OM
01=Visa 02=MasterCard 03=Diners Club/Carte Blanche 04=AMEX 05=Discover 06=EnRoute |
21 | CR_CARD_NBR | Character(44) | VARCHAR2(44) NOT NULL | "See OM |
22 | CC_PROF_TOKEN | Character(44) | VARCHAR2(44) NOT NULL | Profile Token ID |
23 | CR_CARD_VENDOR | Character(16) | VARCHAR2(16) NOT NULL | Processor Name |
24 | CR_CARD_DIGITS | Character(4) | VARCHAR2(4) NOT NULL | Card Number's Last Four Digits |
25 | CR_CARD_FNAME | Character(40) | VARCHAR2(40) NOT NULL | Credit Card First Name |
26 | CR_CARD_LNAME | Character(40) | VARCHAR2(40) NOT NULL | Credit Card Last Name |
27 | CR_CARD_EXPYR | Character(4) | VARCHAR2(4) NOT NULL |
Card Expiration Year
2011=2011 2012=2012 2013=2013 2014=2014 2015=2015 2016=2016 2017=2017 2018=2018 2019=2019 2020=2020 |
28 | CR_CARD_EXPMO | Character(2) | VARCHAR2(2) NOT NULL |
Card Expiration Month
01=January 02=February 03=March 04=April 05=May 06=June 07=July 08=August 09=September 10=October 11=November 12=December |
29 | EMAILID | Character(70) | VARCHAR2(70) NOT NULL | A user's E-mail address |
30 | PHONE | Character(24) | VARCHAR2(24) NOT NULL | Telephone |