AUC_BIDSUPCNT_V(SQL View) |
Index Back |
---|---|
Bidder & Supplier Contact View |
SELECT A.SETID ,A.CONTACT_NAME , A.VENDOR_ID , P.NAME1 , A.CONTACT_TYPE , 'V' FROM PS_VENDOR_CNTCT A , PS_VENDOR P WHERE A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_VENDOR_CNTCT B WHERE B.SETID = A.SETID AND B.VENDOR_ID = A.VENDOR_ID AND B.CNTCT_SEQ_NUM = A.CNTCT_SEQ_NUM AND B.EFFDT <= %CurrentDateIn) AND A.CONTACT_NAME <> ' ' AND A.SETID=P.SETID AND A.VENDOR_ID=P.VENDOR_ID UNION SELECT DISTINCT A.SETID , %Substring(%TrimSubstr(B.FIRST_NAME, 1, 30) %Concat ' ' %Concat B.LAST_NAME, 1, 40) , A.BIDDER_ID , A.AUC_COMPANY_NAME , B.TITLE , 'B' FROM PS_AUC_BIDDER_HDR A , PS_AUC_CONTACT_HDR B , PSOPRALIAS C WHERE C.OPRALIASTYPE = 'BID' AND C.OPRALIASVALUE = A.BIDDER_ID AND B.SETID = A.SETID AND B.BIDDER_ID = A.BIDDER_ID AND A.EFF_STATUS = 'A' AND A.APPROVAL_STATUS = 'A' |
# | 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: SETID_TBL |
2 | CONTACT_NAME | Character(50) | VARCHAR2(50) NOT NULL | The individual contact name associated with a given bank/counterparty. |
3 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
4 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
5 | CONTACT_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
An attribute that describes the specific purpose of a given bank/counterparty contact person.
B=Billing Contact C=Contract Collaborator D=Commercial Paper Contact E=External Contact F=Cash Forecast G=General I=Internal Corporate Contact L=Line of Credit Contact M=Executive Management O=Investment Pool Contact P=Accounts Payable R=Broker S=Sales Contact V=Service Contact W=Warehousing/Shipping Contact |
6 | AUC_BID_SUP_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Bidder Supplier Type
B=Bidder V=Supplier |