SCP_ASNSHP_VWL(SQL View) |
Index Back |
---|---|
ASN Shipment |
SELECT DISTINCT A.SHIPTO_ID , L1.LANGUAGE_CD , C.DESCRSHORT , C.DESCR , B.NAME1 , A.VENDOR_ID , A.VENDOR_SETID , A.oprid FROM PS_SCP_SECASNHL_VW A , PS_VENDOR B , PS_SHIPTO_TBL C , PS_VENDOR_LANG L1 , PS_SHIPTO_LANG L2 WHERE A.VENDOR_ID = B.VENDOR_ID AND A.VENDOR_SETID = B.SETID AND A.VENDOR_SETID = C.SETID AND A.SHIPTO_ID = C.SHIPTO_ID AND C.EFF_STATUS = 'A' AND C.EFFDT = ( SELECT MAX(E.EFFDT) FROM PS_SHIPTO_TBL E WHERE C.SETID = E.SETID AND C.SHIPTO_ID = E.SHIPTO_ID AND E.EFF_STATUS = 'A' ) AND B.SETID = L1.SETID AND B.VENDOR_ID = L1.VENDOR_ID AND L1.LANGUAGE_CD = L2.LANGUAGE_CD AND C.SETID = L2.SETID AND C.SHIPTO_ID = L2.SHIPTO_ID AND C.EFFDT = L2.EFFDT |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SHIPTO_ID | Character(10) | VARCHAR2(10) NOT NULL | Ship To Location |
2 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
3 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
5 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
6 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
7 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
8 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |