RA_BUD_CURR_VW(SQL View) |
Index Back |
---|---|
View to obtain Budget CurrencyThis view joins the RA_CAMPAIGN and RA_CMPGN_SPONSR tables and gives us the distinct RA_BUDGET_CURR field to be used in RA_REVENUE_VW |
SELECT DISTINCT A.BUSINESS_UNIT , A.RA_CAMPAIGN_ID , B.RA_BUDGET_CURR FROM PS_RA_CAMPAIGN A , PS_RA_CMPGN_SPONSR B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.RA_CAMPAIGN_ID = B.RA_CAMPAIGN_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BU_RA_NONVW |
2 | RA_CAMPAIGN_ID | Character(15) | VARCHAR2(15) NOT NULL | Marketing - Campaign Identification field. Character field that will contain a generated campaign or free form entered campaign id. |
3 | RA_BUDGET_CURR | Character(4) | VARCHAR2(4) NOT NULL | Campaign Budget Currency removed xlat values - use currency code table |