GM_PROPOSAL_VW3

(SQL View)
Index Back

Proposal View 3

View of version_ids for the proposal. Concurrent submission.

select a.business_unit, a.proposal_id, a.version_id, a1.business_unit, a1.proposal_id, a1.version_id, a1.title56, a1.emplid, a1.name, a1.cust_id, b.name1 from PS_GM_PROPOSAL a, PS_GM_PROPOSAL a1, ps_customer b where a.emplid = a1.emplid and b.setid = (select setid from PS_SET_CNTRL_REC G Where G.SETCNTRLVALUE= a1.business_unit and G.recname = 'CUSTOMER') and b.cust_id = a1.cust_id and (a.business_unit <> a1.business_unit or (a.business_unit = a1.business_unit and a.proposal_id <>a1.proposal_id) or (a.business_unit = a1.business_unit and a.proposal_id = a1.proposal_id and a.version_id <> a1.version_id) )

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 PROPOSAL_ID Character(25) VARCHAR2(25) NOT NULL Proposal ID
3 VERSION_ID Character(7) VARCHAR2(7) NOT NULL Version ID
4 BUSINESS_UNIT_PROP Character(5) VARCHAR2(5) NOT NULL Proposal Business Unit
5 CONCUR_SUB_SPONSOR Character(25) VARCHAR2(25) NOT NULL Concurrent Submission Sponsor
6 VERSION_ID_TO Character(7) VARCHAR2(7) NOT NULL Version ID To
7 TITLE56 Character(56) VARCHAR2(56) NOT NULL TITLE56
8 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
9 NAME Character(50) VARCHAR2(50) NOT NULL Name
10 CUST_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations.
11 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1