AUC_CBRSCR_L_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.LINE_NBR , a.oprid ,d.auc_collab_grp_nbr , c.weighting , %Round(SUM(%DecMult(a.BID_SCORE, D.WEIGHTING) ) , 7) , 0 , SUM(A.BID_FCTR_COST) FROM ps_auc_line c , ps_auc_lrp_fct_clb a , ps_auc_ln_fct_clb b , PS_AUC_L_CLB_FTRVW d WHERE c.business_unit = a.business_unit AND c.auc_id = a.auc_id AND c.auc_round = a.auc_round AND c.auc_version = a.auc_version AND c.line_nbr = a.line_nbr AND 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.line_nbr = b.line_nbr AND a.bid_factor_nbr = b.bid_factor_nbr AND a.oprid = b.oprid AND a.business_unit = d.business_unit AND a.auc_id = d.auc_id AND a.auc_round = d.auc_round AND a.auc_version = d.auc_version AND a.line_nbr = d.line_nbr AND a.bid_factor_nbr = d.bid_factor_nbr AND a.oprid = d.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.line_nbr , a.oprid, d.auc_collab_grp_nbr, c.weighting

  • Parent record: AUC_HDR
  • # 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 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]
    11 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
    12 AUC_COLLAB_GRP_NBR Number(3,0) SMALLINT NOT NULL Collaboration Group Number
    13 WEIGHTING Signed Number(10,5) DECIMAL(8,5) NOT NULL Used for applying a weighting to totals. e.g. Limit Utilisation totals
    14 AUC_LN_BF_SCR_TTL Number(11,7) DECIMAL(10,7) NOT NULL Total Line Bid Factor Score
    15 AUC_LN_BF_SCR Number(7,3) DECIMAL(6,3) NOT NULL Line Bid Factor Score
    16 BID_FCTR_COST Signed Number(20,6) DECIMAL(18,6) NOT NULL Bid Response Quantity