SPF_AUC_RESP_LN(SQL View) |
Index Back |
---|---|
copy of AUC_RESP_LN_VWcopy of AUC_RESP_LN_VW and added additional condition for spro use. the view returns all responses with a status of 'P' or 'X' |
SELECT B.BUSINESS_UNIT , B.AUC_ID , B.BIDNUM , B.BIDDER_SETID , B.BIDDER_ID , B.BIDDER_TYPE , B.BIDDER_LOC , B.LINE_NBR , %Round(SUM(%DecMult(B.BID_SCORE, C.WEIGHTING)) ,7) FROM PS_RESP_LN_FACTOR B , PS_AUC_LN_BID_FCTR C WHERE C.AUC_ID = B.AUC_ID AND C.BUSINESS_UNIT = B.BUSINESS_UNIT AND C.LINE_NBR = B.LINE_NBR AND C.BID_FACTOR_NBR = B.BID_FACTOR_NBR GROUP BY B.BUSINESS_UNIT , B.AUC_ID , B.BIDNUM , B.BIDDER_SETID , B.BIDDER_ID , B.BIDDER_TYPE , B.BIDDER_LOC , B.LINE_NBR |
# | 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 | BIDNUM | Signed Number(6,0) | DECIMAL(5) NOT NULL | Bid ID |
4 | BIDDER_SETID | Character(5) | VARCHAR2(5) NOT NULL | Bidder Setid |
5 | BIDDER_ID | Character(15) | VARCHAR2(15) NOT NULL | Bidder ID |
6 | BIDDER_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Bidder Type
B=Bidder C=Customer P=Public U=Uploaded V=Supplier |
7 | BIDDER_LOC | Character(10) | VARCHAR2(10) NOT NULL | Bidder Location |
8 | LINE_NBR | Number(5,0) | INTEGER NOT NULL | Line Number: 11/24/08 - Added TARGET label [PC product] |
9 | AUC_LN_BF_SCR_TTL | Number(11,7) | DECIMAL(10,7) NOT NULL | Total Line Bid Factor Score |