AUC_CBRSCR_H_VW(SQL View) |
Index Back |
---|
SELECT A.BUSINESS_UNIT , A.AUC_ID , A.AUC_ROUND , A.AUC_VERSION , A.BIDNUM , A.BIDDER_SETID , A.BIDDER_ID , A.BIDDER_TYPE , A.BIDDER_LOC , a.oprid ,C.auc_collab_grp_nbr , %Round(SUM(%DecMult(a.BID_SCORE , C.WEIGHTING) ), 7) , %Round(SUM(a.BID_FCTR_COST), 6) FROM ps_auc_hrp_fct_clb a , ps_auc_hdr_fct_clb b , PS_AUC_H_CLB_FTRVW C WHERE a.business_unit = b.business_unit AND a.auc_id = b.auc_id AND a.auc_round = b.auc_round AND a.auc_version = b.auc_version AND a.bid_factor_nbr = b.bid_factor_nbr AND a.oprid = b.oprid AND a.business_unit = C.business_unit AND a.auc_id = C.auc_id AND a.auc_round = C.auc_round AND a.auc_version = C.auc_version AND a.bid_factor_nbr = C.bid_factor_nbr AND a.oprid = C.oprid AND EXISTS( SELECT BUSINESS_UNIT FROM PS_RESP_HDR WHERE BUSINESS_UNIT = A.BUSINESS_UNIT AND AUC_ID = A.AUC_ID AND AUC_ROUND = A.AUC_ROUND AND AUC_VERSION = A.AUC_VERSION AND BIDNUM = A.BIDNUM AND BIDDER_SETID = A.BIDDER_SETID AND BIDDER_ID = A.BIDDER_ID AND BIDDER_TYPE = A.BIDDER_TYPE AND BIDDER_LOC = A.BIDDER_LOC AND AUC_BID_STATUS = 'P') GROUP BY a.business_unit, a.auc_id , a.auc_round , a.auc_version , a.bidnum , a.bidder_setid , a.bidder_id , a.bidder_type , a.bidder_loc , a.oprid, C.auc_collab_grp_nbr |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(5) | VARCHAR2(5) NOT NULL | Business Unit | |
2 | Character(10) | VARCHAR2(10) NOT NULL | Event ID | |
3 | Number(5,0) | INTEGER NOT NULL |
Event Round
Default Value: 1 |
|
4 | Number(5,0) | INTEGER NOT NULL |
Event Version
Default Value: 1 |
|
5 | Signed Number(6,0) | DECIMAL(5) NOT NULL | Bid ID | |
6 | Character(5) | VARCHAR2(5) NOT NULL | Bidder Setid | |
7 | Character(15) | VARCHAR2(15) NOT NULL | Bidder ID | |
8 | Character(1) | VARCHAR2(1) NOT NULL |
Bidder Type
B=Bidder C=Customer P=Public U=Uploaded V=Supplier |
|
9 | Character(10) | VARCHAR2(10) NOT NULL | Bidder Location | |
10 | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). | |
11 | Number(3,0) | SMALLINT NOT NULL | Collaboration Group Number | |
12 | AUC_LN_BF_SCR_TTL | Number(11,7) | DECIMAL(10,7) NOT NULL | Total Line Bid Factor Score |
13 | BID_FCTR_COST | Signed Number(20,6) | DECIMAL(18,6) NOT NULL | Bid Response Quantity |