BID_FACTOR_SRCH(SQL View) |
Index Back |
---|---|
Bid Factor SearchBid Factor Search view. Date Initials Reference# Description 02/02/2010 Nash 1954455002 Modified the SQL so that irrespective of the active status the bid factors are displayed based on the effdt logic on the search page. |
SELECT DISTINCT A.SETID , A.BID_FACTOR_CD , A.DESCR , A.EFF_STATUS , A.BID_FACTOR_TYPE FROM PS_BID_FACTOR_HDR A WHERE (A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_BID_FACTOR_HDR B WHERE A.SETID = B.SETID AND A.BID_FACTOR_CD = B.BID_FACTOR_CD AND B.EFFDT <= %CurrentDateIn)) OR (A.EFFDT = ( SELECT C.EFFDT FROM PS_BID_FACTOR_HDR C WHERE C.SETID = A.SETID AND C.BID_FACTOR_CD = A.BID_FACTOR_CD AND C.EFFDT > %CurrentDateIn AND C.EFFDT = ( SELECT MIN(D.EFFDT) FROM PS_BID_FACTOR_HDR D WHERE C.SETID = D.SETID AND C.BID_FACTOR_CD = D.BID_FACTOR_CD))) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Default Value: OPR_DEF_TBL_FS.SETID Prompt Table: SP_SETID_NONVW |
2 | BID_FACTOR_CD | Character(18) | VARCHAR2(18) NOT NULL | Bid Factor Code |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
4 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |
5 | BID_FACTOR_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Bid Factor Type for the Auction Services product. Will be used to describe units of measurements for the different BID_FACTOR_CD's.
A=Attachment C=Monetary D=Date L=List N=Numeric S=Separator T=Text Y=Yes/No |