PROD_PRCIBU4_VW(SQL View) |
Index Back |
---|---|
Product price by IBU |
SELECT pr.setid , pr.product_id , p.unit_of_measure , p.business_unit_in , p.currency_cd , p.effdt , p.eff_status , p.list_price , %Round(%DecMult(qa.qty_available, %DecDiv(1, conv.conversion_rate)),4) FROM ps_bu_items_inv_vw qa , ps_inv_item_uom conv , ps_prod_price p , PS_PROD_ITEM pr WHERE p.setid = pr.setid AND p.product_id = pr.product_id AND conv.setid = p.setid AND conv.inv_item_id = pr.inv_item_id AND conv.unit_of_measure = p.unit_of_measure AND qa.business_unit_in = p.business_unit_in AND qa.inv_item_id = pr.inv_item_id |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Prompt Table: SP_SETID_NONVW |
2 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
3 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
4 | BUSINESS_UNIT_IN | Character(5) | VARCHAR2(5) NOT NULL |
Inventory Unit
Prompt Table: SP_BUIN_NONVW |
5 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
6 | EFFDT | Date(10) | DATE | Effective Date |
7 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |
8 | LIST_PRICE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | List Price |
9 | QTY_AVAILABLE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Available |