Oracle EBS Advanced Pricing Tables

阅读: 评论:0

Oracle EBS Advanced Pricing Tables

Oracle EBS Advanced Pricing Tables

分享一下我老师大神的人工智能教程!零基础,通俗易懂!

也欢迎大家转载本篇文章。分享知识,造福人民,实现我们中华民族伟大复兴!

Tables

QP_LIST_HEADERS_B
QP_LIST_HEADERS_B stores the header information for all lists. List types can be, for example, Price Lists, Discount Lists or Promotions.

QP_LIST_LINES
QP_LIST_LINES stores all list lines for lists in QP_LIST_HEADERS_B. This table stores all types of list lines; price list lines, all types of modifiers including price modifier list lines used to derive factors. The different types of list lines are based on Lookup Type, 'LIST_LINE_TYPE_CODE'.

QP_PRICING_ATTRIBUTES
QP_PRICING_ATTRIBUTES stores product information and pricing attributes. The PRODUCT_ATTRIBUTE and PRODUCT_ATTRIBUTE_VALUE columns identify the product or level in the item hierarchy, i.e item context at which the price or modifier is set. The PRICING_ATTRIBUTE_CONTEXT, PRICING_ATTRIBUTE and PRICING_ATTR_VALUE_FROM columns store the pricing attributes which further define what is being priced. If the PRICING_ATTRIBUTE_CONTEXT is VOLUME the pricing attributes column stores the break unit attribute, e.g. item quantity and both the PRICING_ATTR_VALUE_FROM and PRICING_ATTR_VALUE_TO columns can be populated. The Product information is repeated for all pricing attributes. A record is always created for the VOLUME context which may or may not have an attribute defined.



Relationship

QP_LIST_HEADERS_B  <---LIST_HEADER_ID ---> QP_LIST_LINES

QP_LIST_LINES <---LIST_HEADER_ID,LIST_LINE_ID ---> QP_PRICING_ATTRIBUTES

QP_PRICING_ATTRIBUTES <---PRODUCT_ATTR_VALUE <> TO_CHAR(MSI.INVENTORY_ITEM_ID)---> mtl_system_items_b


Useful Queries

SELECT * FROM QP_LIST_HEADERS_B WHERE list_header_id IN (SELECT list_header_id FROM QP_LIST_HEADERS_TL WHERE name = 'Corporate');--Price List NameSELECT line.*FROM QP_LIST_LINES line,QP_LIST_HEADERS_B headerWHERE line.LIST_HEADER_ID = header.LIST_HEADER_IDAND line.list_header_id IN (SELECT list_header_id FROM QP_LIST_HEADERS_TL WHERE name = 'Corporate'); --Price List NameSELECT *FROM   QP_LIST_HEADERS_B SPL    ,       QP_LIST_LINES SPLL       ,       QP_PRICING_ATTRIBUTES QPAWHERE  SPLL.LIST_HEADER_ID           = SPL.LIST_HEADER_IDAND    QPA.LIST_HEADER_ID            = SPL.LIST_HEADER_IDAND    SPLL.LIST_LINE_ID             = QPA.LIST_LINE_IDAND  QPA.LIST_HEADER_ID IN (SELECT list_header_id FROM QP_LIST_HEADERS_TL WHERE name = 'Corporate'); --Price List NameSELECT qpa.*FROM   QP_LIST_HEADERS_B SPL    ,       QP_LIST_LINES SPLL       ,       QP_PRICING_ATTRIBUTES QPA,       MTL_SYSTEM_ITEMS_B MSIWHERE  MSI.ORGANIZATION_ID           = 244AND    MSI.INVENTORY_ITEM_ID         = 434257AND    SPL.LIST_HEADER_ID            = 164075AND    SPLL.LIST_HEADER_ID           = SPL.LIST_HEADER_IDAND    QPA.LIST_HEADER_ID            = SPL.LIST_HEADER_IDAND    SPLL.LIST_LINE_ID             = QPA.LIST_LINE_IDAND    QPA.PRODUCT_ATTRIBUTE_CONTEXT = 'ITEM'AND    QPA.PRODUCT_ATTRIBUTE         = 'PRICING_ATTRIBUTE1'AND    QPA.PRODUCT_ATTR_VALUE        = TO_CHAR(MSI.INVENTORY_ITEM_ID)AND    QPA.PRODUCT_UOM_CODE          = MSI.PRIMARY_UOM_CODEAND    QPA.PRICING_ATTRIBUTE_CONTEXT IS NULLAND    QPA.EXCLUDER_FLAG                   = 'N'AND    QPA.PRICING_PHASE_ID                =1;



           

给我老师的人工智能教程打call!

本文发布于:2024-02-05 04:43:35,感谢您对本站的认可!

本文链接:https://www.4u4v.net/it/170724419663141.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:EBS   Oracle   Advanced   Tables   Pricing
留言与评论(共有 0 条评论)
   
验证码:

Copyright ©2019-2022 Comsenz Inc.Powered by ©

网站地图1 网站地图2 网站地图3 网站地图4 网站地图5 网站地图6 网站地图7 网站地图8 网站地图9 网站地图10 网站地图11 网站地图12 网站地图13 网站地图14 网站地图15 网站地图16 网站地图17 网站地图18 网站地图19 网站地图20 网站地图21 网站地图22/a> 网站地图23