AUC_CLBSCR_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 , %Round(SUM(%DecMult(a.BID_SCORE , b.WEIGHTING) ), 7) , %Round(SUM(a.BID_FCTR_COST), 6) FROM ps_auc_hrp_fct_clb a , ps_auc_hdr_fct_clb b 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 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 |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | AUC_ID | Character(10) | VARCHAR2(10) NOT NULL | Event ID |
3 | AUC_ROUND | Number(5,0) | INTEGER NOT NULL |
Event Round
Default Value: 1 |
4 | AUC_VERSION | Number(5,0) | INTEGER NOT NULL |
Event Version
Default Value: 1 |
5 | BIDNUM | Signed Number(6,0) | DECIMAL(5) NOT NULL | Bid ID |
6 | BIDDER_SETID | Character(5) | VARCHAR2(5) NOT NULL | Bidder Setid |
7 | BIDDER_ID | Character(15) | VARCHAR2(15) NOT NULL | Bidder ID |
8 | BIDDER_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Bidder Type
B=Bidder C=Customer P=Public U=Uploaded V=Supplier |
9 | BIDDER_LOC | Character(10) | VARCHAR2(10) NOT NULL | Bidder Location |
10 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
11 | AUC_LN_BF_SCR_TTL | Number(11,7) | DECIMAL(10,7) NOT NULL | Total Line Bid Factor Score |
12 | BID_FCTR_COST | Signed Number(20,6) | DECIMAL(18,6) NOT NULL | Bid Response Quantity |