PO and Order
This might be really dummy question:
Which table(s) can I see how many orders were created for a particular PO? And what's the PO status (if that exists)?
Thank you.
Check follwoing 2 links to my blog , I have listed complet queries.
http://eoracleapps.blogspot.com/2009/05/queries-for-internal-requisition-and.html
http://eoracleapps.blogspot.com/2009/04/oracle-order-to-cash-queries.html
[email protected]
Similar Messages
-
XML Publisher nested grouping, sum and order by question
Please help in nested group by, sum and order by question
My Data look like this:
<Header>
<Line1>
<Part Number></Part Number>
<Component>
<Component1></Component1>
<Component1 Amount></Component1 Amount>
</Component>
<Component>
<Component2></Component2>
<Component2 Amount></Component2 Amount>
</Component>
</Line1>
<Line2>
<Part Number></Part Number>
<Component>
<Component1></Component1>
<Component1 Amount></Component1 Amount >
</Component>
<Component>
<Component2></Component2>
<Component2 Amount ></Component2 Amount >
</Component>
</Line2>
</Header>
I want to print report which is:
1. Group by part number, component and sum the amount for a part number/component
2. Order by part number, component
Here is rtf file for XML publisher report
<?for-each-group:G_LINES;PART_NUMBER?>
<?sort:G_LINES;PART_NUMBER;'ascending';data-type='text'?>
<?if:BREAKDOWN_COUNT>0?>
Part Number: <?PART_NUMBER?> Quantity: <?sum (current-group()/SHIP_QTY)?> Part Count:<?count(current-group()/PART_NUMBER)?> Breakdown Count:<?count(G_BREAKDOWN/COMPONENT)?>
<?for-each:current-group()?>
<?for-each-group:G_BREAKDOWN;COMPONENT?>
Component: <?COMPONENT?> Price: <?COMPONENT_PRICE?>
<?end-for-each?>
<?end-for-each?>
<?end if?>
<?end-for-each?>
If I add <?sort:G_BREAKDOWN;COMPONENT;'ascending';data-type='text'?> inside G_BREAKDOWN grouping it gives error.
My XML data file
<?xml version="1.0"?>
<!-- Generated by Oracle Reports version 6.0.8.25.0 -->
<NI_COMMERCIAL_INVOICE_XMLP>
<LIST_G_HEADER>
<G_HEADER>
<COMM_INV_NUMBER>C/901000598</COMM_INV_NUMBER>
<COMM_INV_VERSION_NUMBER>1</COMM_INV_VERSION_NUMBER>
<SHIP_FROM_NAME>National Instruments Europe Corp.</SHIP_FROM_NAME>
<SHIP_FROM_ADDR>H-4031, Debrecen, Hatar ut 1/A</SHIP_FROM_ADDR>
<SHIP_FROM_CITY></SHIP_FROM_CITY>
<SHIP_FROM_STATE></SHIP_FROM_STATE>
<SHIP_FROM_POSTAL_CODE></SHIP_FROM_POSTAL_CODE>
<SHIP_FROM_COUNTRY>Hungary</SHIP_FROM_COUNTRY>
<SHIP_TO_NAME>National Instruments Corporation (NIEC)</SHIP_TO_NAME>
<FORMATTED_SHIP_TO_ADDR>11500 N Mopac Expwy
Austin, TX 78759-3504
United States</FORMATTED_SHIP_TO_ADDR>
<SHIP_TO_ADDR1>11500 N Mopac Expwy</SHIP_TO_ADDR1>
<SHIP_TO_ADDR2></SHIP_TO_ADDR2>
<SHIP_TO_ADDR3></SHIP_TO_ADDR3>
<SHIP_TO_ADDR4></SHIP_TO_ADDR4>
<SHIP_TO_CITY>Austin</SHIP_TO_CITY>
<SHIP_TO_STATE>TX </SHIP_TO_STATE>
<SHIP_TO_POSTAL_CODE>78759-3504</SHIP_TO_POSTAL_CODE>
<SHIP_TO_COUNTRY>US</SHIP_TO_COUNTRY>
<SHIP_TO_EMAIL_ADDR></SHIP_TO_EMAIL_ADDR>
<BILL_TO_ORG_ID>807737</BILL_TO_ORG_ID>
<SHIPPED_VIA>UPS</SHIPPED_VIA>
<DELIVERY_TERM>DDU</DELIVERY_TERM>
<TEXT_FILE_SEPARATOR></TEXT_FILE_SEPARATOR>
<DELIVERY_COUNT>4</DELIVERY_COUNT>
<HEADER_WAYBILL></HEADER_WAYBILL>
<LIST_G_LINES>
<G_LINES>
<DELIVERY_ID>2629769</DELIVERY_ID>
<ORDER_HEADER_ID>1431282</ORDER_HEADER_ID>
<ORDER_NUMBER>10004434</ORDER_NUMBER>
<CUST_PO_NUMBER>310986-387</CUST_PO_NUMBER>
<ORDER_LINE_ID>4565737</ORDER_LINE_ID>
<INVENTORY_ITEM_ID>26818</INVENTORY_ITEM_ID>
<PART_NUMBER>777459-23</PART_NUMBER>
<PART_DESC>SCC-AI04, 2-CHANNEL ISOLATED ANALOG INPUT</PART_DESC>
<PART_CUSTOM_DESC>SCC-AI04, Automatic Data Processing Plug-In Board</PART_CUSTOM_DESC>
<PLANNER_CODE>SCXIH-MPS</PLANNER_CODE>
<HTS_CODE>8471.80.9000</HTS_CODE>
<TARIC_CODE>8471.80.0000</TARIC_CODE>
<COUNTRY_OF_ORIGIN>HU</COUNTRY_OF_ORIGIN>
<ORDER_CURRENCY_CODE>USD</ORDER_CURRENCY_CODE>
<ORIG_UNIT_PRICE>158</ORIG_UNIT_PRICE>
<ORIG_SHIP_QTY>4</ORIG_SHIP_QTY>
<UNIT_PRICE>158</UNIT_PRICE>
<PRICE_CALC_STEP_NUMBER>100</PRICE_CALC_STEP_NUMBER>
<PRICE_CALC_CURRENCY_CODE>USD</PRICE_CALC_CURRENCY_CODE>
<PRICE_CALC_UNIT_PRICE>158</PRICE_CALC_UNIT_PRICE>
<PRICE_CALC_CONV_RATE>1</PRICE_CALC_CONV_RATE>
<SHIP_QTY>4</SHIP_QTY>
<EXTENDED_PRICE>632</EXTENDED_PRICE>
<UNIT_WEIGHT>.16</UNIT_WEIGHT>
<NET_WEIGHT>.64</NET_WEIGHT>
<ACQ_SOURCE_CODE></ACQ_SOURCE_CODE>
<ACQ_ORDER_NUMBER></ACQ_ORDER_NUMBER>
<ACQ_SOURCE_ORDER_NUMBER></ACQ_SOURCE_ORDER_NUMBER>
<ACQ_SELLING_PRICE>0</ACQ_SELLING_PRICE>
<SUBINVENTORY>NIEC Stage</SUBINVENTORY>
<SHIP_TO_SITE_USE_ID>807736</SHIP_TO_SITE_USE_ID>
<FREIGHT_COST>0</FREIGHT_COST>
<PAYMENT_TERMS>NIH InterCo</PAYMENT_TERMS>
<WAYBILL>901000598/01 NIC</WAYBILL>
<BREAKDOWN_COUNT>0</BREAKDOWN_COUNT>
<LIST_G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE></BREAKDOWN_TYPE>
<BREAKDOWN_VALUE></BREAKDOWN_VALUE>
<COMPONENT></COMPONENT>
<COMPONENT_DESC></COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE></COMPONENT_PRICE>
<COMPONENT_HTS_CODE></COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE></COMPONENT_TARIC_CODE>
<COMPONENT_COO></COMPONENT_COO>
<COMPONENT_QTY></COMPONENT_QTY>
</G_BREAKDOWN>
</LIST_G_BREAKDOWN>
</G_LINES>
<G_LINES>
<DELIVERY_ID>2629769</DELIVERY_ID>
<ORDER_HEADER_ID>1431282</ORDER_HEADER_ID>
<ORDER_NUMBER>10004434</ORDER_NUMBER>
<CUST_PO_NUMBER>310986-387</CUST_PO_NUMBER>
<ORDER_LINE_ID>4579950</ORDER_LINE_ID>
<INVENTORY_ITEM_ID>143949</INVENTORY_ITEM_ID>
<PART_NUMBER>779475-01</PART_NUMBER>
<PART_DESC>SCC-68 I/O CONNECTOR BLOCK WITH 4 SCC SIGNAL CONDITIONING MODULE SLOTS</PART_DESC>
<PART_CUSTOM_DESC>SCC-68, Screw Terminals</PART_CUSTOM_DESC>
<PLANNER_CODE>DAQH-MPS</PLANNER_CODE>
<HTS_CODE>8536.90.4000</HTS_CODE>
<TARIC_CODE>8536.90.1000</TARIC_CODE>
<COUNTRY_OF_ORIGIN>HU</COUNTRY_OF_ORIGIN>
<ORDER_CURRENCY_CODE>USD</ORDER_CURRENCY_CODE>
<ORIG_UNIT_PRICE>144</ORIG_UNIT_PRICE>
<ORIG_SHIP_QTY>10</ORIG_SHIP_QTY>
<UNIT_PRICE>144</UNIT_PRICE>
<PRICE_CALC_STEP_NUMBER>100</PRICE_CALC_STEP_NUMBER>
<PRICE_CALC_CURRENCY_CODE>USD</PRICE_CALC_CURRENCY_CODE>
<PRICE_CALC_UNIT_PRICE>144</PRICE_CALC_UNIT_PRICE>
<PRICE_CALC_CONV_RATE>1</PRICE_CALC_CONV_RATE>
<SHIP_QTY>10</SHIP_QTY>
<EXTENDED_PRICE>1440</EXTENDED_PRICE>
<UNIT_WEIGHT>1.06</UNIT_WEIGHT>
<NET_WEIGHT>10.6</NET_WEIGHT>
<ACQ_SOURCE_CODE></ACQ_SOURCE_CODE>
<ACQ_ORDER_NUMBER></ACQ_ORDER_NUMBER>
<ACQ_SOURCE_ORDER_NUMBER></ACQ_SOURCE_ORDER_NUMBER>
<ACQ_SELLING_PRICE>0</ACQ_SELLING_PRICE>
<SUBINVENTORY>NIEC Stage</SUBINVENTORY>
<SHIP_TO_SITE_USE_ID>807736</SHIP_TO_SITE_USE_ID>
<FREIGHT_COST>0</FREIGHT_COST>
<PAYMENT_TERMS>NIH InterCo</PAYMENT_TERMS>
<WAYBILL>901000598/01 NIC</WAYBILL>
<BREAKDOWN_COUNT>3</BREAKDOWN_COUNT>
<LIST_G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE>HTS CODE</BREAKDOWN_TYPE>
<BREAKDOWN_VALUE>8536.90.4000</BREAKDOWN_VALUE>
<COMPONENT>CD</COMPONENT>
<COMPONENT_DESC>Test1</COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE>50</COMPONENT_PRICE>
<COMPONENT_HTS_CODE>2803.00.0050</COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE>Test1</COMPONENT_TARIC_CODE>
<COMPONENT_COO>HU</COMPONENT_COO>
<COMPONENT_QTY>10</COMPONENT_QTY>
</G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE>HTS CODE</BREAKDOWN_TYPE>
<BREAKDOWN_VALUE>8536.90.4000</BREAKDOWN_VALUE>
<COMPONENT>Paper</COMPONENT>
<COMPONENT_DESC></COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE>20</COMPONENT_PRICE>
<COMPONENT_HTS_CODE>2839.90.0000</COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE></COMPONENT_TARIC_CODE>
<COMPONENT_COO>HU</COMPONENT_COO>
<COMPONENT_QTY></COMPONENT_QTY>
</G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE>HTS CODE</BREAKDOWN_TYPE>
<BREAKDOWN_VALUE>8536.90.4000</BREAKDOWN_VALUE>
<COMPONENT>IP</COMPONENT>
<COMPONENT_DESC></COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE>1370</COMPONENT_PRICE>
<COMPONENT_HTS_CODE></COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE></COMPONENT_TARIC_CODE>
<COMPONENT_COO>HU</COMPONENT_COO>
<COMPONENT_QTY></COMPONENT_QTY>
</G_BREAKDOWN>
</LIST_G_BREAKDOWN>
</G_LINES>
<G_LINES>
<DELIVERY_ID>2629822</DELIVERY_ID>
<ORDER_HEADER_ID>1425429</ORDER_HEADER_ID>
<ORDER_NUMBER>10004365</ORDER_NUMBER>
<CUST_PO_NUMBER>310986-372</CUST_PO_NUMBER>
<ORDER_LINE_ID>4579940</ORDER_LINE_ID>
<INVENTORY_ITEM_ID>22643</INVENTORY_ITEM_ID>
<PART_NUMBER>777687-20</PART_NUMBER>
<PART_DESC>SCXI-1320 TEMPERATURE SENSOR TERMINAL BLOCK, CAST</PART_DESC>
<PART_CUSTOM_DESC>SCXI-1320, Screw Terminals</PART_CUSTOM_DESC>
<PLANNER_CODE>SCXIH-MPS</PLANNER_CODE>
<HTS_CODE>8536.90.4000</HTS_CODE>
<TARIC_CODE>8536.90.1000</TARIC_CODE>
<COUNTRY_OF_ORIGIN>HU</COUNTRY_OF_ORIGIN>
<ORDER_CURRENCY_CODE>USD</ORDER_CURRENCY_CODE>
<ORIG_UNIT_PRICE>82</ORIG_UNIT_PRICE>
<ORIG_SHIP_QTY>1</ORIG_SHIP_QTY>
<UNIT_PRICE>82</UNIT_PRICE>
<PRICE_CALC_STEP_NUMBER>100</PRICE_CALC_STEP_NUMBER>
<PRICE_CALC_CURRENCY_CODE>USD</PRICE_CALC_CURRENCY_CODE>
<PRICE_CALC_UNIT_PRICE>82</PRICE_CALC_UNIT_PRICE>
<PRICE_CALC_CONV_RATE>1</PRICE_CALC_CONV_RATE>
<SHIP_QTY>1</SHIP_QTY>
<EXTENDED_PRICE>82</EXTENDED_PRICE>
<UNIT_WEIGHT>.57</UNIT_WEIGHT>
<NET_WEIGHT>.57</NET_WEIGHT>
<ACQ_SOURCE_CODE></ACQ_SOURCE_CODE>
<ACQ_ORDER_NUMBER></ACQ_ORDER_NUMBER>
<ACQ_SOURCE_ORDER_NUMBER></ACQ_SOURCE_ORDER_NUMBER>
<ACQ_SELLING_PRICE>0</ACQ_SELLING_PRICE>
<SUBINVENTORY>NIEC Stage</SUBINVENTORY>
<SHIP_TO_SITE_USE_ID>807736</SHIP_TO_SITE_USE_ID>
<FREIGHT_COST>0</FREIGHT_COST>
<PAYMENT_TERMS>NIH InterCo</PAYMENT_TERMS>
<WAYBILL>901000598/02 NIC</WAYBILL>
<BREAKDOWN_COUNT>3</BREAKDOWN_COUNT>
<LIST_G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE>HTS CODE</BREAKDOWN_TYPE>
<BREAKDOWN_VALUE>8536.90.4000</BREAKDOWN_VALUE>
<COMPONENT>CD</COMPONENT>
<COMPONENT_DESC>Test1</COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE>5</COMPONENT_PRICE>
<COMPONENT_HTS_CODE>2803.00.0050</COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE>Test1</COMPONENT_TARIC_CODE>
<COMPONENT_COO>HU</COMPONENT_COO>
<COMPONENT_QTY>1</COMPONENT_QTY>
</G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE>HTS CODE</BREAKDOWN_TYPE>
<BREAKDOWN_VALUE>8536.90.4000</BREAKDOWN_VALUE>
<COMPONENT>Paper</COMPONENT>
<COMPONENT_DESC></COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE>2</COMPONENT_PRICE>
<COMPONENT_HTS_CODE>2839.90.0000</COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE></COMPONENT_TARIC_CODE>
<COMPONENT_COO>HU</COMPONENT_COO>
<COMPONENT_QTY></COMPONENT_QTY>
</G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE>HTS CODE</BREAKDOWN_TYPE>
<BREAKDOWN_VALUE>8536.90.4000</BREAKDOWN_VALUE>
<COMPONENT>IP</COMPONENT>
<COMPONENT_DESC></COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE>75</COMPONENT_PRICE>
<COMPONENT_HTS_CODE></COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE></COMPONENT_TARIC_CODE>
<COMPONENT_COO>HU</COMPONENT_COO>
<COMPONENT_QTY></COMPONENT_QTY>
</G_BREAKDOWN>
</LIST_G_BREAKDOWN>
</G_LINES>
<G_LINES>
<DELIVERY_ID>2629822</DELIVERY_ID>
<ORDER_HEADER_ID>1427673</ORDER_HEADER_ID>
<ORDER_NUMBER>10004391</ORDER_NUMBER>
<CUST_PO_NUMBER>310986-377</CUST_PO_NUMBER>
<ORDER_LINE_ID>4579948</ORDER_LINE_ID>
<INVENTORY_ITEM_ID>143949</INVENTORY_ITEM_ID>
<PART_NUMBER>779475-01</PART_NUMBER>
<PART_DESC>SCC-68 I/O CONNECTOR BLOCK WITH 4 SCC SIGNAL CONDITIONING MODULE SLOTS</PART_DESC>
<PART_CUSTOM_DESC>SCC-68, Screw Terminals</PART_CUSTOM_DESC>
<PLANNER_CODE>DAQH-MPS</PLANNER_CODE>
<HTS_CODE>8536.90.4000</HTS_CODE>
<TARIC_CODE>8536.90.1000</TARIC_CODE>
<COUNTRY_OF_ORIGIN>HU</COUNTRY_OF_ORIGIN>
<ORDER_CURRENCY_CODE>USD</ORDER_CURRENCY_CODE>
<ORIG_UNIT_PRICE>144</ORIG_UNIT_PRICE>
<ORIG_SHIP_QTY>13</ORIG_SHIP_QTY>
<UNIT_PRICE>144</UNIT_PRICE>
<PRICE_CALC_STEP_NUMBER>100</PRICE_CALC_STEP_NUMBER>
<PRICE_CALC_CURRENCY_CODE>USD</PRICE_CALC_CURRENCY_CODE>
<PRICE_CALC_UNIT_PRICE>144</PRICE_CALC_UNIT_PRICE>
<PRICE_CALC_CONV_RATE>1</PRICE_CALC_CONV_RATE>
<SHIP_QTY>13</SHIP_QTY>
<EXTENDED_PRICE>1872</EXTENDED_PRICE>
<UNIT_WEIGHT>1.06</UNIT_WEIGHT>
<NET_WEIGHT>13.78</NET_WEIGHT>
<ACQ_SOURCE_CODE></ACQ_SOURCE_CODE>
<ACQ_ORDER_NUMBER></ACQ_ORDER_NUMBER>
<ACQ_SOURCE_ORDER_NUMBER></ACQ_SOURCE_ORDER_NUMBER>
<ACQ_SELLING_PRICE>0</ACQ_SELLING_PRICE>
<SUBINVENTORY>NIEC Stage</SUBINVENTORY>
<SHIP_TO_SITE_USE_ID>807736</SHIP_TO_SITE_USE_ID>
<FREIGHT_COST>0</FREIGHT_COST>
<PAYMENT_TERMS>NIH InterCo</PAYMENT_TERMS>
<WAYBILL>901000598/02 NIC</WAYBILL>
<BREAKDOWN_COUNT>3</BREAKDOWN_COUNT>
<LIST_G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE>HTS CODE</BREAKDOWN_TYPE>
<BREAKDOWN_VALUE>8536.90.4000</BREAKDOWN_VALUE>
<COMPONENT>CD</COMPONENT>
<COMPONENT_DESC>Test1</COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE>65</COMPONENT_PRICE>
<COMPONENT_HTS_CODE>2803.00.0050</COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE>Test1</COMPONENT_TARIC_CODE>
<COMPONENT_COO>HU</COMPONENT_COO>
<COMPONENT_QTY>13</COMPONENT_QTY>
</G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE>HTS CODE</BREAKDOWN_TYPE>
<BREAKDOWN_VALUE>8536.90.4000</BREAKDOWN_VALUE>
<COMPONENT>Paper</COMPONENT>
<COMPONENT_DESC></COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE>26</COMPONENT_PRICE>
<COMPONENT_HTS_CODE>2839.90.0000</COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE></COMPONENT_TARIC_CODE>
<COMPONENT_COO>HU</COMPONENT_COO>
<COMPONENT_QTY></COMPONENT_QTY>
</G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE>HTS CODE</BREAKDOWN_TYPE>
<BREAKDOWN_VALUE>8536.90.4000</BREAKDOWN_VALUE>
<COMPONENT>IP</COMPONENT>
<COMPONENT_DESC></COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE>1781</COMPONENT_PRICE>
<COMPONENT_HTS_CODE></COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE></COMPONENT_TARIC_CODE>
<COMPONENT_COO>HU</COMPONENT_COO>
<COMPONENT_QTY></COMPONENT_QTY>
</G_BREAKDOWN>
</LIST_G_BREAKDOWN>
</G_LINES>
<G_LINES>
<DELIVERY_ID>2630021</DELIVERY_ID>
<ORDER_HEADER_ID>1429687</ORDER_HEADER_ID>
<ORDER_NUMBER>10004410</ORDER_NUMBER>
<CUST_PO_NUMBER>310986-383</CUST_PO_NUMBER>
<ORDER_LINE_ID>4578220</ORDER_LINE_ID>
<INVENTORY_ITEM_ID>61816</INVENTORY_ITEM_ID>
<PART_NUMBER>777687-14</PART_NUMBER>
<PART_DESC>SCXI-1314 FRONT MOUNTING TERMINAL BLOCK</PART_DESC>
<PART_CUSTOM_DESC>SCXI-1314, Screw Terminals</PART_CUSTOM_DESC>
<PLANNER_CODE>SCXIH-MPS</PLANNER_CODE>
<HTS_CODE>8536.90.4000</HTS_CODE>
<TARIC_CODE>8536.90.1000</TARIC_CODE>
<COUNTRY_OF_ORIGIN>HU</COUNTRY_OF_ORIGIN>
<ORDER_CURRENCY_CODE>USD</ORDER_CURRENCY_CODE>
<ORIG_UNIT_PRICE>120</ORIG_UNIT_PRICE>
<ORIG_SHIP_QTY>4</ORIG_SHIP_QTY>
<UNIT_PRICE>120</UNIT_PRICE>
<PRICE_CALC_STEP_NUMBER>100</PRICE_CALC_STEP_NUMBER>
<PRICE_CALC_CURRENCY_CODE>USD</PRICE_CALC_CURRENCY_CODE>
<PRICE_CALC_UNIT_PRICE>120</PRICE_CALC_UNIT_PRICE>
<PRICE_CALC_CONV_RATE>1</PRICE_CALC_CONV_RATE>
<SHIP_QTY>4</SHIP_QTY>
<EXTENDED_PRICE>480</EXTENDED_PRICE>
<UNIT_WEIGHT>.68</UNIT_WEIGHT>
<NET_WEIGHT>2.72</NET_WEIGHT>
<ACQ_SOURCE_CODE></ACQ_SOURCE_CODE>
<ACQ_ORDER_NUMBER></ACQ_ORDER_NUMBER>
<ACQ_SOURCE_ORDER_NUMBER></ACQ_SOURCE_ORDER_NUMBER>
<ACQ_SELLING_PRICE>0</ACQ_SELLING_PRICE>
<SUBINVENTORY>NIEC Stage</SUBINVENTORY>
<SHIP_TO_SITE_USE_ID>807736</SHIP_TO_SITE_USE_ID>
<FREIGHT_COST>0</FREIGHT_COST>
<PAYMENT_TERMS>NIH InterCo</PAYMENT_TERMS>
<WAYBILL>901000598/03 NIC</WAYBILL>
<BREAKDOWN_COUNT>3</BREAKDOWN_COUNT>
<LIST_G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE>HTS CODE</BREAKDOWN_TYPE>
<BREAKDOWN_VALUE>8536.90.4000</BREAKDOWN_VALUE>
<COMPONENT>CD</COMPONENT>
<COMPONENT_DESC>Test1</COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE>20</COMPONENT_PRICE>
<COMPONENT_HTS_CODE>2803.00.0050</COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE>Test1</COMPONENT_TARIC_CODE>
<COMPONENT_COO>HU</COMPONENT_COO>
<COMPONENT_QTY>4</COMPONENT_QTY>
</G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE>HTS CODE</BREAKDOWN_TYPE>
<BREAKDOWN_VALUE>8536.90.4000</BREAKDOWN_VALUE>
<COMPONENT>IP</COMPONENT>
<COMPONENT_DESC></COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE>452</COMPONENT_PRICE>
<COMPONENT_HTS_CODE></COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE></COMPONENT_TARIC_CODE>
<COMPONENT_COO>HU</COMPONENT_COO>
<COMPONENT_QTY></COMPONENT_QTY>
</G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE>HTS CODE</BREAKDOWN_TYPE>
<BREAKDOWN_VALUE>8536.90.4000</BREAKDOWN_VALUE>
<COMPONENT>Paper</COMPONENT>
<COMPONENT_DESC></COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE>8</COMPONENT_PRICE>
<COMPONENT_HTS_CODE>2839.90.0000</COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE></COMPONENT_TARIC_CODE>
<COMPONENT_COO>HU</COMPONENT_COO>
<COMPONENT_QTY></COMPONENT_QTY>
</G_BREAKDOWN>
</LIST_G_BREAKDOWN>
</G_LINES>
<G_LINES>
<DELIVERY_ID>2630054</DELIVERY_ID>
<ORDER_HEADER_ID>1435114</ORDER_HEADER_ID>
<ORDER_NUMBER>10004463</ORDER_NUMBER>
<CUST_PO_NUMBER>310986-396</CUST_PO_NUMBER>
<ORDER_LINE_ID>4580160</ORDER_LINE_ID>
<INVENTORY_ITEM_ID>96909</INVENTORY_ITEM_ID>
<PART_NUMBER>778729-01</PART_NUMBER>
<PART_DESC>NI PCI-4474, 4 INPUTS, 24-BIT DYNAMIC SIGNAL ACQUISITION</PART_DESC>
<PART_CUSTOM_DESC>PCI-4474, Automatic Data Processing Plug-In Board</PART_CUSTOM_DESC>
<PLANNER_CODE>INSTRHMPS</PLANNER_CODE>
<HTS_CODE>8471.80.4000</HTS_CODE>
<TARIC_CODE>8471.80.0000</TARIC_CODE>
<COUNTRY_OF_ORIGIN>HU</COUNTRY_OF_ORIGIN>
<ORDER_CURRENCY_CODE>USD</ORDER_CURRENCY_CODE>
<ORIG_UNIT_PRICE>960</ORIG_UNIT_PRICE>
<ORIG_SHIP_QTY>4</ORIG_SHIP_QTY>
<UNIT_PRICE>960</UNIT_PRICE>
<PRICE_CALC_STEP_NUMBER>100</PRICE_CALC_STEP_NUMBER>
<PRICE_CALC_CURRENCY_CODE>USD</PRICE_CALC_CURRENCY_CODE>
<PRICE_CALC_UNIT_PRICE>960</PRICE_CALC_UNIT_PRICE>
<PRICE_CALC_CONV_RATE>1</PRICE_CALC_CONV_RATE>
<SHIP_QTY>4</SHIP_QTY>
<EXTENDED_PRICE>3840</EXTENDED_PRICE>
<UNIT_WEIGHT>.68</UNIT_WEIGHT>
<NET_WEIGHT>2.72</NET_WEIGHT>
<ACQ_SOURCE_CODE></ACQ_SOURCE_CODE>
<ACQ_ORDER_NUMBER></ACQ_ORDER_NUMBER>
<ACQ_SOURCE_ORDER_NUMBER></ACQ_SOURCE_ORDER_NUMBER>
<ACQ_SELLING_PRICE>0</ACQ_SELLING_PRICE>
<SUBINVENTORY>NIEC Stage</SUBINVENTORY>
<SHIP_TO_SITE_USE_ID>807736</SHIP_TO_SITE_USE_ID>
<FREIGHT_COST>0</FREIGHT_COST>
<PAYMENT_TERMS>NIH InterCo</PAYMENT_TERMS>
<WAYBILL>901000598/04 NIC</WAYBILL>
<BREAKDOWN_COUNT>0</BREAKDOWN_COUNT>
<LIST_G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE></BREAKDOWN_TYPE>
<BREAKDOWN_VALUE></BREAKDOWN_VALUE>
<COMPONENT></COMPONENT>
<COMPONENT_DESC></COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE></COMPONENT_PRICE>
<COMPONENT_HTS_CODE></COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE></COMPONENT_TARIC_CODE>
<COMPONENT_COO></COMPONENT_COO>
<COMPONENT_QTY></COMPONENT_QTY>
</G_BREAKDOWN>
</LIST_G_BREAKDOWN>
</G_LINES>
</LIST_G_LINES>
</G_HEADER>
</LIST_G_HEADER>
</NI_COMMERCIAL_INVOICE_XMLP>
I want my report for part number (which has multiple component) look like:
Part Number: 779475-01 Quantity: 23 Part Count:2 Breakdown Count:6
Component: CD Amount: 115
Component: IP Amount: 3151
Component: Paper Amount: 46
Any help or suggestion is appreciated
RK Shah
[email protected]I am using the latest 10.1.3.2.1 build 87.
The output that I see is :
Part Number: 777687-14 Quantity: 4 Part Count:1 Breakdown Count:3
Component: CD
Count: 4
Sum of Component Price: 20
Component: IP
Count: 0
Sum of Component Price: 452
Component: Paper
Count: 0
Sum of Component Price: 8
Part Number: 777687-20 Quantity: 1 Part Count:1 Breakdown Count:3
Component: CD
Count: 1
Sum of Component Price: 5
Component: Paper
Count: 0
Sum of Component Price: 2
Component: IP
Count: 0
Sum of Component Price: 75
Part Number: 779475-01 Quantity: 23 Part Count:2 Breakdown Count:3
Component: CD
Count: 23
Sum of Component Price: 115
Component: Paper
Count: 0
Sum of Component Price: 46
Component: IP
Count: 0
Sum of Component Price: 3151
and the XML data that I used is :
<?xml version="1.0"?>
<!-- Generated by Oracle Reports version 6.0.8.25.0 -->
<NI_COMMERCIAL_INVOICE_XMLP>
<LIST_G_HEADER>
<G_HEADER>
<COMM_INV_NUMBER>C/901000598</COMM_INV_NUMBER>
<COMM_INV_VERSION_NUMBER>1</COMM_INV_VERSION_NUMBER>
<SHIP_FROM_NAME>National Instruments Europe Corp.</SHIP_FROM_NAME>
<SHIP_FROM_ADDR>H-4031, Debrecen, Hatar ut 1/A</SHIP_FROM_ADDR>
<SHIP_FROM_CITY></SHIP_FROM_CITY>
<SHIP_FROM_STATE></SHIP_FROM_STATE>
<SHIP_FROM_POSTAL_CODE></SHIP_FROM_POSTAL_CODE>
<SHIP_FROM_COUNTRY>Hungary</SHIP_FROM_COUNTRY>
<SHIP_TO_NAME>National Instruments Corporation (NIEC)</SHIP_TO_NAME>
<FORMATTED_SHIP_TO_ADDR>11500 N Mopac Expwy
Austin, TX 78759-3504
United States</FORMATTED_SHIP_TO_ADDR>
<SHIP_TO_ADDR1>11500 N Mopac Expwy</SHIP_TO_ADDR1>
<SHIP_TO_ADDR2></SHIP_TO_ADDR2>
<SHIP_TO_ADDR3></SHIP_TO_ADDR3>
<SHIP_TO_ADDR4></SHIP_TO_ADDR4>
<SHIP_TO_CITY>Austin</SHIP_TO_CITY>
<SHIP_TO_STATE>TX </SHIP_TO_STATE>
<SHIP_TO_POSTAL_CODE>78759-3504</SHIP_TO_POSTAL_CODE>
<SHIP_TO_COUNTRY>US</SHIP_TO_COUNTRY>
<SHIP_TO_EMAIL_ADDR></SHIP_TO_EMAIL_ADDR>
<BILL_TO_ORG_ID>807737</BILL_TO_ORG_ID>
<SHIPPED_VIA>UPS</SHIPPED_VIA>
<DELIVERY_TERM>DDU</DELIVERY_TERM>
<TEXT_FILE_SEPARATOR></TEXT_FILE_SEPARATOR>
<DELIVERY_COUNT>4</DELIVERY_COUNT>
<HEADER_WAYBILL></HEADER_WAYBILL>
<LIST_G_LINES>
<G_LINES>
<DELIVERY_ID>2629769</DELIVERY_ID>
<ORDER_HEADER_ID>1431282</ORDER_HEADER_ID>
<ORDER_NUMBER>10004434</ORDER_NUMBER>
<CUST_PO_NUMBER>310986-387</CUST_PO_NUMBER>
<ORDER_LINE_ID>4565737</ORDER_LINE_ID>
<INVENTORY_ITEM_ID>26818</INVENTORY_ITEM_ID>
<PART_NUMBER>777459-23</PART_NUMBER>
<PART_DESC>SCC-AI04, 2-CHANNEL ISOLATED ANALOG INPUT</PART_DESC>
<PART_CUSTOM_DESC>SCC-AI04, Automatic Data Processing Plug-In Board</PART_CUSTOM_DESC>
<PLANNER_CODE>SCXIH-MPS</PLANNER_CODE>
<HTS_CODE>8471.80.9000</HTS_CODE>
<TARIC_CODE>8471.80.0000</TARIC_CODE>
<COUNTRY_OF_ORIGIN>HU</COUNTRY_OF_ORIGIN>
<ORDER_CURRENCY_CODE>USD</ORDER_CURRENCY_CODE>
<ORIG_UNIT_PRICE>158</ORIG_UNIT_PRICE>
<ORIG_SHIP_QTY>4</ORIG_SHIP_QTY>
<UNIT_PRICE>158</UNIT_PRICE>
<PRICE_CALC_STEP_NUMBER>100</PRICE_CALC_STEP_NUMBER>
<PRICE_CALC_CURRENCY_CODE>USD</PRICE_CALC_CURRENCY_CODE>
<PRICE_CALC_UNIT_PRICE>158</PRICE_CALC_UNIT_PRICE>
<PRICE_CALC_CONV_RATE>1</PRICE_CALC_CONV_RATE>
<SHIP_QTY>4</SHIP_QTY>
<EXTENDED_PRICE>632</EXTENDED_PRICE>
<UNIT_WEIGHT>.16</UNIT_WEIGHT>
<NET_WEIGHT>.64</NET_WEIGHT>
<ACQ_SOURCE_CODE></ACQ_SOURCE_CODE>
<ACQ_ORDER_NUMBER></ACQ_ORDER_NUMBER>
<ACQ_SOURCE_ORDER_NUMBER></ACQ_SOURCE_ORDER_NUMBER>
<ACQ_SELLING_PRICE>0</ACQ_SELLING_PRICE>
<SUBINVENTORY>NIEC Stage</SUBINVENTORY>
<SHIP_TO_SITE_USE_ID>807736</SHIP_TO_SITE_USE_ID>
<FREIGHT_COST>0</FREIGHT_COST>
<PAYMENT_TERMS>NIH InterCo</PAYMENT_TERMS>
<WAYBILL>901000598/01 NIC</WAYBILL>
<BREAKDOWN_COUNT>0</BREAKDOWN_COUNT>
<LIST_G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE></BREAKDOWN_TYPE>
<BREAKDOWN_VALUE></BREAKDOWN_VALUE>
<COMPONENT></COMPONENT>
<COMPONENT_DESC></COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE></COMPONENT_PRICE>
<COMPONENT_HTS_CODE></COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE></COMPONENT_TARIC_CODE>
<COMPONENT_COO></COMPONENT_COO>
<COMPONENT_QTY></COMPONENT_QTY>
</G_BREAKDOWN>
</LIST_G_BREAKDOWN>
</G_LINES>
<G_LINES>
<DELIVERY_ID>2629769</DELIVERY_ID>
<ORDER_HEADER_ID>1431282</ORDER_HEADER_ID>
<ORDER_NUMBER>10004434</ORDER_NUMBER>
<CUST_PO_NUMBER>310986-387</CUST_PO_NUMBER>
<ORDER_LINE_ID>4579950</ORDER_LINE_ID>
<INVENTORY_ITEM_ID>143949</INVENTORY_ITEM_ID>
<PART_NUMBER>779475-01</PART_NUMBER>
<PART_DESC>SCC-68 I/O CONNECTOR BLOCK WITH 4 SCC SIGNAL CONDITIONING MODULE SLOTS</PART_DESC>
<PART_CUSTOM_DESC>SCC-68, Screw Terminals</PART_CUSTOM_DESC>
<PLANNER_CODE>DAQH-MPS</PLANNER_CODE>
<HTS_CODE>8536.90.4000</HTS_CODE>
<TARIC_CODE>8536.90.1000</TARIC_CODE>
<COUNTRY_OF_ORIGIN>HU</COUNTRY_OF_ORIGIN>
<ORDER_CURRENCY_CODE>USD</ORDER_CURRENCY_CODE>
<ORIG_UNIT_PRICE>144</ORIG_UNIT_PRICE>
<ORIG_SHIP_QTY>10</ORIG_SHIP_QTY>
<UNIT_PRICE>144</UNIT_PRICE>
<PRICE_CALC_STEP_NUMBER>100</PRICE_CALC_STEP_NUMBER>
<PRICE_CALC_CURRENCY_CODE>USD</PRICE_CALC_CURRENCY_CODE>
<PRICE_CALC_UNIT_PRICE>144</PRICE_CALC_UNIT_PRICE>
<PRICE_CALC_CONV_RATE>1</PRICE_CALC_CONV_RATE>
<SHIP_QTY>10</SHIP_QTY>
<EXTENDED_PRICE>1440</EXTENDED_PRICE>
<UNIT_WEIGHT>1.06</UNIT_WEIGHT>
<NET_WEIGHT>10.6</NET_WEIGHT>
<ACQ_SOURCE_CODE></ACQ_SOURCE_CODE>
<ACQ_ORDER_NUMBER></ACQ_ORDER_NUMBER>
<ACQ_SOURCE_ORDER_NUMBER></ACQ_SOURCE_ORDER_NUMBER>
<ACQ_SELLING_PRICE>0</ACQ_SELLING_PRICE>
<SUBINVENTORY>NIEC Stage</SUBINVENTORY>
<SHIP_TO_SITE_USE_ID>807736</SHIP_TO_SITE_USE_ID>
<FREIGHT_COST>0</FREIGHT_COST>
<PAYMENT_TERMS>NIH InterCo</PAYMENT_TERMS>
<WAYBILL>901000598/01 NIC</WAYBILL>
<BREAKDOWN_COUNT>3</BREAKDOWN_COUNT>
<LIST_G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE>HTS CODE</BREAKDOWN_TYPE>
<BREAKDOWN_VALUE>8536.90.4000</BREAKDOWN_VALUE>
<COMPONENT>CD</COMPONENT>
<COMPONENT_DESC>Test1</COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE>50</COMPONENT_PRICE>
<COMPONENT_HTS_CODE>2803.00.0050</COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE>Test1</COMPONENT_TARIC_CODE>
<COMPONENT_COO>HU</COMPONENT_COO>
<COMPONENT_QTY>10</COMPONENT_QTY>
</G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE>HTS CODE</BREAKDOWN_TYPE>
<BREAKDOWN_VALUE>8536.90.4000</BREAKDOWN_VALUE>
<COMPONENT>Paper</COMPONENT>
<COMPONENT_DESC></COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE>20</COMPONENT_PRICE>
<COMPONENT_HTS_CODE>2839.90.0000</COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE></COMPONENT_TARIC_CODE>
<COMPONENT_COO>HU</COMPONENT_COO>
<COMPONENT_QTY></COMPONENT_QTY>
</G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE>HTS CODE</BREAKDOWN_TYPE>
<BREAKDOWN_VALUE>8536.90.4000</BREAKDOWN_VALUE>
<COMPONENT>IP</COMPONENT>
<COMPONENT_DESC></COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE>1370</COMPONENT_PRICE>
<COMPONENT_HTS_CODE></COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE></COMPONENT_TARIC_CODE>
<COMPONENT_COO>HU</COMPONENT_COO>
<COMPONENT_QTY></COMPONENT_QTY>
</G_BREAKDOWN>
</LIST_G_BREAKDOWN>
</G_LINES>
<G_LINES>
<DELIVERY_ID>2629822</DELIVERY_ID>
<ORDER_HEADER_ID>1425429</ORDER_HEADER_ID>
<ORDER_NUMBER>10004365</ORDER_NUMBER>
<CUST_PO_NUMBER>310986-372</CUST_PO_NUMBER>
<ORDER_LINE_ID>4579940</ORDER_LINE_ID>
<INVENTORY_ITEM_ID>22643</INVENTORY_ITEM_ID>
<PART_NUMBER>777687-20</PART_NUMBER>
<PART_DESC>SCXI-1320 TEMPERATURE SENSOR TERMINAL BLOCK, CAST</PART_DESC>
<PART_CUSTOM_DESC>SCXI-1320, Screw Terminals</PART_CUSTOM_DESC>
<PLANNER_CODE>SCXIH-MPS</PLANNER_CODE>
<HTS_CODE>8536.90.4000</HTS_CODE>
<TARIC_CODE>8536.90.1000</TARIC_CODE>
<COUNTRY_OF_ORIGIN>HU</COUNTRY_OF_ORIGIN>
<ORDER_CURRENCY_CODE>USD</ORDER_CURRENCY_CODE>
<ORIG_UNIT_PRICE>82</ORIG_UNIT_PRICE>
<ORIG_SHIP_QTY>1</ORIG_SHIP_QTY>
<UNIT_PRICE>82</UNIT_PRICE>
<PRICE_CALC_STEP_NUMBER>100</PRICE_CALC_STEP_NUMBER>
<PRICE_CALC_CURRENCY_CODE>USD</PRICE_CALC_CURRENCY_CODE>
<PRICE_CALC_UNIT_PRICE>82</PRICE_CALC_UNIT_PRICE>
<PRICE_CALC_CONV_RATE>1</PRICE_CALC_CONV_RATE>
<SHIP_QTY>1</SHIP_QTY>
<EXTENDED_PRICE>82</EXTENDED_PRICE>
<UNIT_WEIGHT>.57</UNIT_WEIGHT>
<NET_WEIGHT>.57</NET_WEIGHT>
<ACQ_SOURCE_CODE></ACQ_SOURCE_CODE>
<ACQ_ORDER_NUMBER></ACQ_ORDER_NUMBER>
<ACQ_SOURCE_ORDER_NUMBER></ACQ_SOURCE_ORDER_NUMBER>
<ACQ_SELLING_PRICE>0</ACQ_SELLING_PRICE>
<SUBINVENTORY>NIEC Stage</SUBINVENTORY>
<SHIP_TO_SITE_USE_ID>807736</SHIP_TO_SITE_USE_ID>
<FREIGHT_COST>0</FREIGHT_COST>
<PAYMENT_TERMS>NIH InterCo</PAYMENT_TERMS>
<WAYBILL>901000598/02 NIC</WAYBILL>
<BREAKDOWN_COUNT>3</BREAKDOWN_COUNT>
<LIST_G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE>HTS CODE</BREAKDOWN_TYPE>
<BREAKDOWN_VALUE>8536.90.4000</BREAKDOWN_VALUE>
<COMPONENT>CD</COMPONENT>
<COMPONENT_DESC>Test1</COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE>5</COMPONENT_PRICE>
<COMPONENT_HTS_CODE>2803.00.0050</COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE>Test1</COMPONENT_TARIC_CODE>
<COMPONENT_COO>HU</COMPONENT_COO>
<COMPONENT_QTY>1</COMPONENT_QTY>
</G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE>HTS CODE</BREAKDOWN_TYPE>
<BREAKDOWN_VALUE>8536.90.4000</BREAKDOWN_VALUE>
<COMPONENT>Paper</COMPONENT>
<COMPONENT_DESC></COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE>2</COMPONENT_PRICE>
<COMPONENT_HTS_CODE>2839.90.0000</COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE></COMPONENT_TARIC_CODE>
<COMPONENT_COO>HU</COMPONENT_COO>
<COMPONENT_QTY></COMPONENT_QTY>
</G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE>HTS CODE</BREAKDOWN_TYPE>
<BREAKDOWN_VALUE>8536.90.4000</BREAKDOWN_VALUE>
<COMPONENT>IP</COMPONENT>
<COMPONENT_DESC></COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE>75</COMPONENT_PRICE>
<COMPONENT_HTS_CODE></COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE></COMPONENT_TARIC_CODE>
<COMPONENT_COO>HU</COMPONENT_COO>
<COMPONENT_QTY></COMPONENT_QTY>
</G_BREAKDOWN>
</LIST_G_BREAKDOWN>
</G_LINES>
<G_LINES>
<DELIVERY_ID>2629822</DELIVERY_ID>
<ORDER_HEADER_ID>1427673</ORDER_HEADER_ID>
<ORDER_NUMBER>10004391</ORDER_NUMBER>
<CUST_PO_NUMBER>310986-377</CUST_PO_NUMBER>
<ORDER_LINE_ID>4579948</ORDER_LINE_ID>
<INVENTORY_ITEM_ID>143949</INVENTORY_ITEM_ID>
<PART_NUMBER>779475-01</PART_NUMBER>
<PART_DESC>SCC-68 I/O CONNECTOR BLOCK WITH 4 SCC SIGNAL CONDITIONING MODULE SLOTS</PART_DESC>
<PART_CUSTOM_DESC>SCC-68, Screw Terminals</PART_CUSTOM_DESC>
<PLANNER_CODE>DAQH-MPS</PLANNER_CODE>
<HTS_CODE>8536.90.4000</HTS_CODE>
<TARIC_CODE>8536.90.1000</TARIC_CODE>
<COUNTRY_OF_ORIGIN>HU</COUNTRY_OF_ORIGIN>
<ORDER_CURRENCY_CODE>USD</ORDER_CURRENCY_CODE>
<ORIG_UNIT_PRICE>144</ORIG_UNIT_PRICE>
<ORIG_SHIP_QTY>13</ORIG_SHIP_QTY>
<UNIT_PRICE>144</UNIT_PRICE>
<PRICE_CALC_STEP_NUMBER>100</PRICE_CALC_STEP_NUMBER>
<PRICE_CALC_CURRENCY_CODE>USD</PRICE_CALC_CURRENCY_CODE>
<PRICE_CALC_UNIT_PRICE>144</PRICE_CALC_UNIT_PRICE>
<PRICE_CALC_CONV_RATE>1</PRICE_CALC_CONV_RATE>
<SHIP_QTY>13</SHIP_QTY>
<EXTENDED_PRICE>1872</EXTENDED_PRICE>
<UNIT_WEIGHT>1.06</UNIT_WEIGHT>
<NET_WEIGHT>13.78</NET_WEIGHT>
<ACQ_SOURCE_CODE></ACQ_SOURCE_CODE>
<ACQ_ORDER_NUMBER></ACQ_ORDER_NUMBER>
<ACQ_SOURCE_ORDER_NUMBER></ACQ_SOURCE_ORDER_NUMBER>
<ACQ_SELLING_PRICE>0</ACQ_SELLING_PRICE>
<SUBINVENTORY>NIEC Stage</SUBINVENTORY>
<SHIP_TO_SITE_USE_ID>807736</SHIP_TO_SITE_USE_ID>
<FREIGHT_COST>0</FREIGHT_COST>
<PAYMENT_TERMS>NIH InterCo</PAYMENT_TERMS>
<WAYBILL>901000598/02 NIC</WAYBILL>
<BREAKDOWN_COUNT>3</BREAKDOWN_COUNT>
<LIST_G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE>HTS CODE</BREAKDOWN_TYPE>
<BREAKDOWN_VALUE>8536.90.4000</BREAKDOWN_VALUE>
<COMPONENT>CD</COMPONENT>
<COMPONENT_DESC>Test1</COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE>65</COMPONENT_PRICE>
<COMPONENT_HTS_CODE>2803.00.0050</COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE>Test1</COMPONENT_TARIC_CODE>
<COMPONENT_COO>HU</COMPONENT_COO>
<COMPONENT_QTY>13</COMPONENT_QTY>
</G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE>HTS CODE</BREAKDOWN_TYPE>
<BREAKDOWN_VALUE>8536.90.4000</BREAKDOWN_VALUE>
<COMPONENT>Paper</COMPONENT>
<COMPONENT_DESC></COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE>26</COMPONENT_PRICE>
<COMPONENT_HTS_CODE>2839.90.0000</COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE></COMPONENT_TARIC_CODE>
<COMPONENT_COO>HU</COMPONENT_COO>
<COMPONENT_QTY></COMPONENT_QTY>
</G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE>HTS CODE</BREAKDOWN_TYPE>
<BREAKDOWN_VALUE>8536.90.4000</BREAKDOWN_VALUE>
<COMPONENT>IP</COMPONENT>
<COMPONENT_DESC></COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE>1781</COMPONENT_PRICE>
<COMPONENT_HTS_CODE></COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE></COMPONENT_TARIC_CODE>
<COMPONENT_COO>HU</COMPONENT_COO>
<COMPONENT_QTY></COMPONENT_QTY>
</G_BREAKDOWN>
</LIST_G_BREAKDOWN>
</G_LINES>
<G_LINES>
<DELIVERY_ID>2630021</DELIVERY_ID>
<ORDER_HEADER_ID>1429687</ORDER_HEADER_ID>
<ORDER_NUMBER>10004410</ORDER_NUMBER>
<CUST_PO_NUMBER>310986-383</CUST_PO_NUMBER>
<ORDER_LINE_ID>4578220</ORDER_LINE_ID>
<INVENTORY_ITEM_ID>61816</INVENTORY_ITEM_ID>
<PART_NUMBER>777687-14</PART_NUMBER>
<PART_DESC>SCXI-1314 FRONT MOUNTING TERMINAL BLOCK</PART_DESC>
<PART_CUSTOM_DESC>SCXI-1314, Screw Terminals</PART_CUSTOM_DESC>
<PLANNER_CODE>SCXIH-MPS</PLANNER_CODE>
<HTS_CODE>8536.90.4000</HTS_CODE>
<TARIC_CODE>8536.90.1000</TARIC_CODE>
<COUNTRY_OF_ORIGIN>HU</COUNTRY_OF_ORIGIN>
<ORDER_CURRENCY_CODE>USD</ORDER_CURRENCY_CODE>
<ORIG_UNIT_PRICE>120</ORIG_UNIT_PRICE>
<ORIG_SHIP_QTY>4</ORIG_SHIP_QTY>
<UNIT_PRICE>120</UNIT_PRICE>
<PRICE_CALC_STEP_NUMBER>100</PRICE_CALC_STEP_NUMBER>
<PRICE_CALC_CURRENCY_CODE>USD</PRICE_CALC_CURRENCY_CODE>
<PRICE_CALC_UNIT_PRICE>120</PRICE_CALC_UNIT_PRICE>
<PRICE_CALC_CONV_RATE>1</PRICE_CALC_CONV_RATE>
<SHIP_QTY>4</SHIP_QTY>
<EXTENDED_PRICE>480</EXTENDED_PRICE>
<UNIT_WEIGHT>.68</UNIT_WEIGHT>
<NET_WEIGHT>2.72</NET_WEIGHT>
<ACQ_SOURCE_CODE></ACQ_SOURCE_CODE>
<ACQ_ORDER_NUMBER></ACQ_ORDER_NUMBER>
<ACQ_SOURCE_ORDER_NUMBER></ACQ_SOURCE_ORDER_NUMBER>
<ACQ_SELLING_PRICE>0</ACQ_SELLING_PRICE>
<SUBINVENTORY>NIEC Stage</SUBINVENTORY>
<SHIP_TO_SITE_USE_ID>807736</SHIP_TO_SITE_USE_ID>
<FREIGHT_COST>0</FREIGHT_COST>
<PAYMENT_TERMS>NIH InterCo</PAYMENT_TERMS>
<WAYBILL>901000598/03 NIC</WAYBILL>
<BREAKDOWN_COUNT>3</BREAKDOWN_COUNT>
<LIST_G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE>HTS CODE</BREAKDOWN_TYPE>
<BREAKDOWN_VALUE>8536.90.4000</BREAKDOWN_VALUE>
<COMPONENT>CD</COMPONENT>
<COMPONENT_DESC>Test1</COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE>20</COMPONENT_PRICE>
<COMPONENT_HTS_CODE>2803.00.0050</COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE>Test1</COMPONENT_TARIC_CODE>
<COMPONENT_COO>HU</COMPONENT_COO>
<COMPONENT_QTY>4</COMPONENT_QTY>
</G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE>HTS CODE</BREAKDOWN_TYPE>
<BREAKDOWN_VALUE>8536.90.4000</BREAKDOWN_VALUE>
<COMPONENT>IP</COMPONENT>
<COMPONENT_DESC></COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE>452</COMPONENT_PRICE>
<COMPONENT_HTS_CODE></COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE></COMPONENT_TARIC_CODE>
<COMPONENT_COO>HU</COMPONENT_COO>
<COMPONENT_QTY></COMPONENT_QTY>
</G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE>HTS CODE</BREAKDOWN_TYPE>
<BREAKDOWN_VALUE>8536.90.4000</BREAKDOWN_VALUE>
<COMPONENT>Paper</COMPONENT>
<COMPONENT_DESC></COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE>8</COMPONENT_PRICE>
<COMPONENT_HTS_CODE>2839.90.0000</COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE></COMPONENT_TARIC_CODE>
<COMPONENT_COO>HU</COMPONENT_COO>
<COMPONENT_QTY></COMPONENT_QTY>
</G_BREAKDOWN>
</LIST_G_BREAKDOWN>
</G_LINES>
<G_LINES>
<DELIVERY_ID>2630054</DELIVERY_ID>
<ORDER_HEADER_ID>1435114</ORDER_HEADER_ID>
<ORDER_NUMBER>10004463</ORDER_NUMBER>
<CUST_PO_NUMBER>310986-396</CUST_PO_NUMBER>
<ORDER_LINE_ID>4580160</ORDER_LINE_ID>
<INVENTORY_ITEM_ID>96909</INVENTORY_ITEM_ID>
<PART_NUMBER>778729-01</PART_NUMBER>
<PART_DESC>NI PCI-4474, 4 INPUTS, 24-BIT DYNAMIC SIGNAL ACQUISITION</PART_DESC>
<PART_CUSTOM_DESC>PCI-4474, Automatic Data Processing Plug-In Board</PART_CUSTOM_DESC>
<PLANNER_CODE>INSTRHMPS</PLANNER_CODE>
<HTS_CODE>8471.80.4000</HTS_CODE>
<TARIC_CODE>8471.80.0000</TARIC_CODE>
<COUNTRY_OF_ORIGIN>HU</COUNTRY_OF_ORIGIN>
<ORDER_CURRENCY_CODE>USD</ORDER_CURRENCY_CODE>
<ORIG_UNIT_PRICE>960</ORIG_UNIT_PRICE>
<ORIG_SHIP_QTY>4</ORIG_SHIP_QTY>
<UNIT_PRICE>960</UNIT_PRICE>
<PRICE_CALC_STEP_NUMBER>100</PRICE_CALC_STEP_NUMBER>
<PRICE_CALC_CURRENCY_CODE>USD</PRICE_CALC_CURRENCY_CODE>
<PRICE_CALC_UNIT_PRICE>960</PRICE_CALC_UNIT_PRICE>
<PRICE_CALC_CONV_RATE>1</PRICE_CALC_CONV_RATE>
<SHIP_QTY>4</SHIP_QTY>
<EXTENDED_PRICE>3840</EXTENDED_PRICE>
<UNIT_WEIGHT>.68</UNIT_WEIGHT>
<NET_WEIGHT>2.72</NET_WEIGHT>
<ACQ_SOURCE_CODE></ACQ_SOURCE_CODE>
<ACQ_ORDER_NUMBER></ACQ_ORDER_NUMBER>
<ACQ_SOURCE_ORDER_NUMBER></ACQ_SOURCE_ORDER_NUMBER>
<ACQ_SELLING_PRICE>0</ACQ_SELLING_PRICE>
<SUBINVENTORY>NIEC Stage</SUBINVENTORY>
<SHIP_TO_SITE_USE_ID>807736</SHIP_TO_SITE_USE_ID>
<FREIGHT_COST>0</FREIGHT_COST>
<PAYMENT_TERMS>NIH InterCo</PAYMENT_TERMS>
<WAYBILL>901000598/04 NIC</WAYBILL>
<BREAKDOWN_COUNT>0</BREAKDOWN_COUNT>
<LIST_G_BREAKDOWN>
<G_BREAKDOWN>
<BREAKDOWN_TYPE></BREAKDOWN_TYPE>
<BREAKDOWN_VALUE></BREAKDOWN_VALUE>
<COMPONENT></COMPONENT>
<COMPONENT_DESC></COMPONENT_DESC>
<COMPONENT_CUSTOM_DESC></COMPONENT_CUSTOM_DESC>
<COMPONENT_PRICE></COMPONENT_PRICE>
<COMPONENT_HTS_CODE></COMPONENT_HTS_CODE>
<COMPONENT_TARIC_CODE></COMPONENT_TARIC_CODE>
<COMPONENT_COO></COMPONENT_COO>
<COMPONENT_QTY></COMPONENT_QTY>
</G_BREAKDOWN>
</LIST_G_BREAKDOWN>
</G_LINES>
</LIST_G_LINES>
</G_HEADER>
</LIST_G_HEADER>
</NI_COMMERCIAL_INVOICE_XMLP> -
ConfigureCombined invoice for Delivery and Order related billing items
Dear Guru's,
Please tell us what settings one have to do in copy controls (like for TAS "OR to F2" & TAN "LF to F2") as to Combined invoice for Delivery and Order related billing items.
Regards,
SaiHi Sai,
for TAS "OR to F2"
T-code-VTFA
Target Billing Type --"F2" and Source Document as "OR"
At header level you can select .
Copying requirements "001" Header/order related
Tick mark copy item number
At item Level you give
Copy requirements "028" Order related 3rd party item
Data VBRK/VBRP= 000
Billing quantity="A"
Pos/Neg quantity="+"
Price type="G"
and Save
2)TAN "LF to F2
Go to Tcode-VTFL
Target Billing type "F2" and source document as "LF"
In header details you give
Copy requirements "001" Header-order related
detr export dta="B"
Allocatio number="B"
Reference number="A"
Tick mark copy item number
In item details you give
Copy requirements"004" delivery related item
Data VBRK/VBRP="003" Single invoive"
Billing qantity="D"
Pos/neg quant="+"
Price type=G"
Price source"E"
Regards
Seegal -
PO and order number not showing on shipment screen (VL03N)
We are implementing shipments in SAP. Two of the standard fields available on the variant builder in shipment display (t-code: VL03N) are PO number and Order number. However, these two fields are currently blank on the shipment display screen. Is there a configuration flag that needs to be set to pass these fields from the order to the shipment?
Hi
You are right . So far some other thread has been generated also before identifying same issue .
The option you have :
1. Administration --System initialisation -print preference >AR Invoice
However , if you want to bring it your serial number in one invoice , you probably need to customise your PLD .
2. AR invoice donot show serial number at row level because serial number is stored in different table .
Right click on AP invoice with serial number and Serial number transaction report or By menu bar Goto -->Serial Number and transaction report .
Hope this will narrow down what you are looking for
Thank you
Bishal -
Poor performance when Distinct and Order By Used
Hello,
I am getting an slow answer when I add Distinct and Order By to the query:
Without Distinct and Order By lasts 3.57 seconds; without Distinct and Order By lasts 28.15 seconds, which it's too much for our app.
The query is:
select distinct CC.acceso, CC.ext_acceso, TIT.TITULO_SALIDA
from (((Ocurrencias CT01 inner join
palabras p0 on (CT01.cod_palabra = p0.cod_palabra and p0.palabra like 'VENEZUELA%' AND p0.campo = 'AUTOR')) INNER JOIN
CENTRAL CC ON (CT01.ACCESO = CC.ACCESO AND CT01.EXT_ACCESO = CC.EXT_ACCESO))) inner join
codtit ctt on (CC.acceso = ctt.acceso and CC.ext_acceso = ctt.ext_acceso) inner join
titulos tit on (ctt.cod_titulo = tit.cod_titulo and ctt.portada = '1')
where CC.nivel_reg <> 's'
ORDER BY 3 ASC;
The query plan for the query WITH Distinct and Order By is:
Elapsed: 00:00:28.15
Execution Plan
0 SELECT STATEMENT Optimizer=ALL_ROWS (Cost=301 Card=47 Bytes=12220)
1 0 SORT (ORDER BY) (Cost=301 Card=47 Bytes=12220)
2 1 SORT (UNIQUE) (Cost=300 Card=47 Bytes=12220)
3 2 NESTED LOOPS (Cost=299 Card=47 Bytes=12220)
4 3 NESTED LOOPS (Cost=250 Card=49 Bytes=4165)
5 4 NESTED LOOPS (Cost=103 Card=49 Bytes=2989)
6 5 NESTED LOOPS (Cost=5 Card=49 Bytes=1960)
7 6 TABLE ACCESS (BY INDEX ROWID) OF 'PALABRAS' (TABLE) (Cost=3 Card=1 Bytes=19)
8 7 INDEX (RANGE SCAN) OF 'PALABRA' (INDEX (UNIQUE)) (Cost=2 Card=1)
9 6 INDEX (RANGE SCAN) OF 'PK_OCURRENCIAS' (INDEX (UNIQUE)) (Cost=2 Card=140 Bytes=2940)
10 5 TABLE ACCESS (BY INDEX ROWID) OF 'CENTRAL' (TABLE) (Cost=2 Card=1 Bytes=21)
11 10 INDEX (UNIQUE SCAN) OF 'PK_CENTRAL' (INDEX (UNIQUE)) (Cost=1 Card=1)
12 4 TABLE ACCESS (BY INDEX ROWID) OF 'CODTIT' (TABLE) (Cost=3 Card=1 Bytes=24)
13 12 INDEX (RANGE SCAN) OF 'PK_CODTIT' (INDEX (UNIQUE)) (Cost=2 Card=1)
14 3 TABLE ACCESS (BY INDEX ROWID) OF 'TITULOS' (TABLE) (Cost=1 Card=1 Bytes=175)
15 14 INDEX (UNIQUE SCAN) OF 'PK_TITULOS' (INDEX (UNIQUE)) (Cost=0 Card=1)
Statistics
154 recursive calls
0 db block gets
32070 consistent gets
1622 physical reads
0 redo size
305785 bytes sent via SQL*Net to client
2807 bytes received via SQL*Net from client
212 SQL*Net roundtrips to/from client
10 sorts (memory)
0 sorts (disk)
3149 rows processed
The query plan for the query WITHOUT Distinct and Order By is:
Elapsed: 00:00:03.57
Execution Plan
0 SELECT STATEMENT Optimizer=ALL_ROWS (Cost=299 Card=47 Bytes=12220)
1 0 NESTED LOOPS (Cost=299 Card=47 Bytes=12220)
2 1 NESTED LOOPS (Cost=250 Card=49 Bytes=4165)
3 2 NESTED LOOPS (Cost=103 Card=49 Bytes=2989)
4 3 NESTED LOOPS (Cost=5 Card=49 Bytes=1960)
5 4 TABLE ACCESS (BY INDEX ROWID) OF 'PALABRAS' (TABLE) (Cost=3 Card=1 Bytes=19)
6 5 INDEX (RANGE SCAN) OF 'PALABRA' (INDEX (UNIQUE)) (Cost=2 Card=1)
7 4 INDEX (RANGE SCAN) OF 'PK_OCURRENCIAS' (INDEX (UNIQUE)) (Cost=2 Card=140 Bytes=2940)
8 3 TABLE ACCESS (BY INDEX ROWID) OF 'CENTRAL' (TABLE) (Cost=2 Card=1 Bytes=21)
9 8 INDEX (UNIQUE SCAN) OF 'PK_CENTRAL' (INDEX (UNIQUE)) (Cost=1 Card=1)
10 2 TABLE ACCESS (BY INDEX ROWID) OF 'CODTIT' (TABLE) (Cost=3 Card=1 Bytes=24)
11 10 INDEX (RANGE SCAN) OF 'PK_CODTIT' (INDEX (UNIQUE)) (Cost=2 Card=1)
12 1 TABLE ACCESS (BY INDEX ROWID) OF 'TITULOS' (TABLE) (Cost=1 Card=1 Bytes=175)
13 12 INDEX (UNIQUE SCAN) OF 'PK_TITULOS' (INDEX (UNIQUE)) (Cost=0 Card=1)
Statistics
3376 recursive calls
0 db block gets
33443 consistent gets
1061 physical reads
0 redo size
313751 bytes sent via SQL*Net to client
2807 bytes received via SQL*Net from client
422 SQL*Net roundtrips to/from client
90 sorts (memory)
0 sorts (disk)
3149 rows processed
I would appreciate a lot if somebody can tell me how to improve the performance of the query with Distinct and Order By.
Thank you very much,
Icaro Alzuru C.Hello,
I am getting an slow answer when I add Distinct and Order By to the query:
Without Distinct and Order By lasts 3.57 seconds; without Distinct and Order By lasts 28.15 seconds, which it's too much for our app.
The query is:
select distinct CC.acceso, CC.ext_acceso, TIT.TITULO_SALIDA
from (((Ocurrencias CT01 inner join
palabras p0 on (CT01.cod_palabra = p0.cod_palabra and p0.palabra like 'VENEZUELA%' AND p0.campo = 'AUTOR')) INNER JOIN
CENTRAL CC ON (CT01.ACCESO = CC.ACCESO AND CT01.EXT_ACCESO = CC.EXT_ACCESO))) inner join
codtit ctt on (CC.acceso = ctt.acceso and CC.ext_acceso = ctt.ext_acceso) inner join
titulos tit on (ctt.cod_titulo = tit.cod_titulo and ctt.portada = '1')
where CC.nivel_reg <> 's'
ORDER BY 3 ASC;
The query plan for the query WITH Distinct and Order By is:
Elapsed: 00:00:28.15
Execution Plan
0 SELECT STATEMENT Optimizer=ALL_ROWS (Cost=301 Card=47 Bytes=12220)
1 0 SORT (ORDER BY) (Cost=301 Card=47 Bytes=12220)
2 1 SORT (UNIQUE) (Cost=300 Card=47 Bytes=12220)
3 2 NESTED LOOPS (Cost=299 Card=47 Bytes=12220)
4 3 NESTED LOOPS (Cost=250 Card=49 Bytes=4165)
5 4 NESTED LOOPS (Cost=103 Card=49 Bytes=2989)
6 5 NESTED LOOPS (Cost=5 Card=49 Bytes=1960)
7 6 TABLE ACCESS (BY INDEX ROWID) OF 'PALABRAS' (TABLE) (Cost=3 Card=1 Bytes=19)
8 7 INDEX (RANGE SCAN) OF 'PALABRA' (INDEX (UNIQUE)) (Cost=2 Card=1)
9 6 INDEX (RANGE SCAN) OF 'PK_OCURRENCIAS' (INDEX (UNIQUE)) (Cost=2 Card=140 Bytes=2940)
10 5 TABLE ACCESS (BY INDEX ROWID) OF 'CENTRAL' (TABLE) (Cost=2 Card=1 Bytes=21)
11 10 INDEX (UNIQUE SCAN) OF 'PK_CENTRAL' (INDEX (UNIQUE)) (Cost=1 Card=1)
12 4 TABLE ACCESS (BY INDEX ROWID) OF 'CODTIT' (TABLE) (Cost=3 Card=1 Bytes=24)
13 12 INDEX (RANGE SCAN) OF 'PK_CODTIT' (INDEX (UNIQUE)) (Cost=2 Card=1)
14 3 TABLE ACCESS (BY INDEX ROWID) OF 'TITULOS' (TABLE) (Cost=1 Card=1 Bytes=175)
15 14 INDEX (UNIQUE SCAN) OF 'PK_TITULOS' (INDEX (UNIQUE)) (Cost=0 Card=1)
Statistics
154 recursive calls
0 db block gets
32070 consistent gets
1622 physical reads
0 redo size
305785 bytes sent via SQL*Net to client
2807 bytes received via SQL*Net from client
212 SQL*Net roundtrips to/from client
10 sorts (memory)
0 sorts (disk)
3149 rows processed
The query plan for the query WITHOUT Distinct and Order By is:
Elapsed: 00:00:03.57
Execution Plan
0 SELECT STATEMENT Optimizer=ALL_ROWS (Cost=299 Card=47 Bytes=12220)
1 0 NESTED LOOPS (Cost=299 Card=47 Bytes=12220)
2 1 NESTED LOOPS (Cost=250 Card=49 Bytes=4165)
3 2 NESTED LOOPS (Cost=103 Card=49 Bytes=2989)
4 3 NESTED LOOPS (Cost=5 Card=49 Bytes=1960)
5 4 TABLE ACCESS (BY INDEX ROWID) OF 'PALABRAS' (TABLE) (Cost=3 Card=1 Bytes=19)
6 5 INDEX (RANGE SCAN) OF 'PALABRA' (INDEX (UNIQUE)) (Cost=2 Card=1)
7 4 INDEX (RANGE SCAN) OF 'PK_OCURRENCIAS' (INDEX (UNIQUE)) (Cost=2 Card=140 Bytes=2940)
8 3 TABLE ACCESS (BY INDEX ROWID) OF 'CENTRAL' (TABLE) (Cost=2 Card=1 Bytes=21)
9 8 INDEX (UNIQUE SCAN) OF 'PK_CENTRAL' (INDEX (UNIQUE)) (Cost=1 Card=1)
10 2 TABLE ACCESS (BY INDEX ROWID) OF 'CODTIT' (TABLE) (Cost=3 Card=1 Bytes=24)
11 10 INDEX (RANGE SCAN) OF 'PK_CODTIT' (INDEX (UNIQUE)) (Cost=2 Card=1)
12 1 TABLE ACCESS (BY INDEX ROWID) OF 'TITULOS' (TABLE) (Cost=1 Card=1 Bytes=175)
13 12 INDEX (UNIQUE SCAN) OF 'PK_TITULOS' (INDEX (UNIQUE)) (Cost=0 Card=1)
Statistics
3376 recursive calls
0 db block gets
33443 consistent gets
1061 physical reads
0 redo size
313751 bytes sent via SQL*Net to client
2807 bytes received via SQL*Net from client
422 SQL*Net roundtrips to/from client
90 sorts (memory)
0 sorts (disk)
3149 rows processed
I would appreciate a lot if somebody can tell me how to improve the performance of the query with Distinct and Order By.
Thank you very much,
Icaro Alzuru C. -
i returned my old ipod and ordered a new one a few days ago and i was never given a tracking number for the new one that is being shipped
Go to the Apple Store webpage and in the upper right go to Account and select Track an Order. There you will find the status of your order. You only get a tracking order when the items ships.
-
Hi there,
We're heavy users of Keynote and have noticed a new bug has recently been introduced into something that was stable. I think it has emerged in Keynote 5.2, could have been Keynote 5.1 also.
It's in the area of Set Timing and Order of each build when used on a Smartbuild. You can no longer set the Start Build field for each instance within the Smart build when the instances are interspersed between other items. The Start build field is just blank and unselectable.
To see this :
1. Create a bullet point list with 4 lines
2. Set build to Appear
3. Set "Set Timing and Order of each Build" to on
4. Create a Smart Build - set to flip
5. On the Smart Build Set "Set Timing and Order of each Build" to on
5. re-order the items in your Build Order so that they alternate between the bullet point and the smart build flip
At this point, you used to be able to set the bullets so that they Started on Click and then set the smart builds to Start with previous. This gave you a nice and very useful effect where you could click to reveal a bullet point and at the same time flip in a corresponding image. We've used this loads of times in our company presentations.
With a recent keynote update ( I think 5.2 maybe, could have been 5.1) this functinality has been lost. have tried it on Lion and Mountain Lion and it's not an OS issue, its a Keynote issue.
Could anyone from Apple acknowledge that they know the issue and suggest if it will get fixed? Right now we're hunting round for an old Keynote 9 DVD so we can install a pre build 5.2 version.
ThanksHi glennelliott72,
I've noticed the bug you describe and to me it's very irritating.
I also found some differences in the build menu between the last release and the previous one, and between the Mac OS X and iOS versions. For instance, the blast build doesn't exist anymore in Keynote 5.2 but it's still in the version for iOS 6.
What is your experience about?
I currently use OX Lion.
Thank you -
Hello,
1) If company is providing free goods, then will it be associated for order type or with pricing condition.
for e.g. On purchase of 100 qty. if 10% foods are free, then how is this associated.
2) Also if i want to provide free goods only for a particular customer group, lets say wholesale, then how will it be associated
with pricing conditions and order type.
RegardsHi,
There are two cases:-
1.Ur company is providing free goods as a sample.
2.If some customer buys some quantity of product u provide some free goods with it.
1st Case:-
if u want goods to b send as a free sample then u can directly use TANN item category with doc type or .
2nd Case :
Free goods is something that the customer is given after he buys certain quantity of the product/material.
Free goods is a strategy to increase sales volume by luring the customer that if he buys 10 products one will be absolutely free.
Free Goods:Goods that are given as additional goods as part of the ordered goods are called as free goods.Here the unit of measure of free goods should be the same as standard goods.
Example:If you are are ordering 10 maggi sauce bottle you will be paying for only 8 bottles 2 is given as freegoods.
price will not be reflected in pricing or billing.this is inclusive freegoods
Exclusive freegoods.
wherein the freegoods are given as additional good to that of the ordered goods
Example:For 4 coffee vending machine 1 kg coffee powder isgive as free goods
Sample goods:these are the goods which are given as pert of the promotional activity to increase the sales.
here the customer is not paying money.
Free goods - In SAP there are two types Exclusive and Inclusive.
Exclusive - Buy 2 and get 1 free. This means you have to buy minimum 2 pieces then on that you will get 1 piece absolutely free.
Inclusive - Buy 2 get 1 free. In this case it means you are paying for only 1 item and the other item is absolutely free.
Configuration:
IMG - Sales & Distribution - Basic Functions - Free Goods - condition technique for free goods -
1. create the condition table(Take one field as customer group also if u want to provide free goods only for a particular customer group).
2. maintain access sequence and assign the condition table to the access sequence.
3. maintain condition type and assign the access sequence to the condition type.
4. maintain the procedure for free goods and assign the condition type to the free goods procedure.
5. Activate free goods determination. In this enter sales org., dis channel, division , docu pri pro, cust pri pro and the free goods procedure.
6. now go to VBN1 - create free goods determination. Select your condition type, key combination and enter. Here you enter sales org, dis channel, customer no., Valid from and Valid to dates. Then you first select whether it is exclusive or inclusive free goods determination. By default it will be inclusive if you click on exclusive it will become exclusive and on top it will display inclusive. Here you enter minimum quantity for free goods and from what order quantity the number of free goods. You can control the delivery also in the second last column(free goods delivery control).
Save the record. Go to VA01 create the sales order , enter the item and the minimum quantity for free goods .
Thanks & Regards,
Deepaks -
See R/3 Quotes and Orders in CRM 7.0 front end
Hi friends,
Assuming if a new CRM system is being setup, and we connect it to backend ECC sytem - Can we see in CRM the already created Quotes and Orders for a given Customer Account in R/3.
After the CRM system is setup, all the customer master accounts from R3 are replicated to CRM system.
How to meet the above requirement.
Regards
SadhuHi,
you can either download the existing orders from R/3 with the download object SALESDOCUMENT or you can connect an ERP system to access ECC data directly (see note 1236015 for restrictions and http://help.sap.com/saphelp_crm70/helpdata/EN/90/725d22d2c049a8ada480ea3939c53e/content.htm, http://help.sap.com/saphelp_crm70/helpdata/EN/45/73b94278560c31e10000000a1550b0/content.htm,
http://help.sap.com/saphelp_crm70/helpdata/EN/47/463fc2b61c1a41e10000000a1553f7/content.htm).
Best Regards,
Michael -
List of issues and fixes for procure to pay process and order to cash process for a trading company
Dear All Gurus
Kindly tell me where I can find the list of all issues arising in procure to pay process
and order to cash process and there fixes for a trading company in support project
Thanking You
Abdul BaseerHi Abdul,
There are no standard list to provide, you should identify the issue through regression testing and raise an SR or create a thread accordingly we can help you.
Note:- Issues are vary to instance to instance, version to version, installation to upgrade etc.. -
How to put order in a delivery block ? on basis of shipto and order reason
Hi can any one tell if there is any way duirng the order creation (Va01) we can read the shipto no and order reason code to put the orders on a delivery block ? the idea is to do this only for certain shipto which have a soecial order reason.
we are looking for solution via configuration first and if that is not possible then via some order header level user exit. in case of user exit we can read the special shipto number from a custom table....
if this is not possible to use ship to number then we can use the soldto numbers along with the special order reason code.
so if the order is having a shipto sold =xxxx and order reason code is zzzz then put the order on a delivery block....
once the delivery block needs to be lifted we do not want to hit this logic in the order changed mode( va02)
look forward to hear from the experts any solutions....or suggestions....thanks in advanceRaj,
The issue here is the while creating the order the system needs to validat two things 'sold-to-party and order reason'.
I am still not sure whther this can be achieved through non ABAP way. check for some exits, if available.
Prase -
Replication of quotation and order from CRM to ECC
Hi experts,
We are trying to replicate a quotation and order created in CRM to ECC. We have maintained the same transaction types and item categories in both ECC and CRM. Is there anything else that is required to be done for proper replication??
Now while trying to replicate, we are getting this error: "Partners from account group 0005 are not permitted for partner function BP (Notification E VPD 000)"
How to solve this??
Please Guide.
Regards
Aakshi SuriWe maintained Partners from account group 0005 for partner function BP. Now we are again getting these errors:
u2022 Account Assigment Object Successfully Assigned to Item 0000000010 (Notification S C( 312)
u2022 SALES_HEADER_IN has been processed successfully (Notification S V4 233)
u2022 The sales document is not yet complete: Edit data (Notification W V1 555)
u2022 Sales document 0005000080 was not changed (Notification E V4 219)
u2022 Status "Obsolete status" of material 101123900 does not allow external procurement (Notification E ME 053)
u2022 Error in SALES_ITEM_IN 000010 (Notification E V4 248)
Is there any place where we can check the notifications??
Kindly help us in resolving this error.
Regards
Aakshi -
Regarding Goods issue date and order date.
Hi All,
Could you please tell me from where we can fetch Goods issue date and Order date.
Waiting for your reply.Preeti,
Goods issue date/order date of what ?
Goods can be issued in a number of ways, in reference to many types of documents. In each case, the GI date and order date are found in different places.
Please elaborate your request.
Best Regards,
DB49 -
How can i import and order photo books from older iPhoto versions?
I have made a photobook which i have not ordered at apple yet. It's on another macbook still running iphoto 07 (unable to update iphoto, because to old for Mavericks)... Somehow i can't import this album on my laptop running iphoto 9.5.1 and order it from here...
Does anyone have solution?Read again - the word "import" does not appear in either answeer - you never ever import one iPhoto library into another one
books do not actually exist - they are simply database entries - so you have to move the entire iphoto library
1 - rename it on the source machine
2 - Connect the two Macs together (network, firewire target mode, etc) or use an external hard drive formatted Mac OS extended (journaled)
3 - drag the iPhoto library intact as a single entity from the old Mac to the pictures folder of the new Mac
4 - depress the opeion key and launch iPhoto on the new mac
5 - select the library with the book, convert it as needed and you will be ready move forward
- be sure to
Before ordering your book preview it using this method -http://support.apple.com/kb/HT1040 - and save the resulting PDF for reference - the delivered book will match it.
there may be differences in the book due to a new system
Spacing added for clearity in reading
LN -
Could someone please explain what P to P and Order to Cash cycle?
Could someone please explain what Procurement to Pay and Order to Cash cycles mean? Thanks.
Hi,
Pl.visit following links for P2P cycle.
http://erpschools.com/articles/procure-to-pay-cycle#13480480234441&79412::resize_frame
http://oracleapplicationsfunctional.blogspot.in/2011/08/procure-to-pay-p2p-cycle-in-purchasing.html
http://www.shareoracleapps.com/2010/05/procure-to-pay-cycle-in-oracle-apps-r12.html
and visit following links for O2C cycle.
http://erpschools.com/articles/order-to-cash-cycle#13480481951911&21367::resize_frame
http://www.youtube.com/watch?v=2GhAbWGz7iA
http://knoworacle.wordpress.com/2008/12/08/data-flow-for-11i-order-to-cash-cycle/
http://oracleapps88.blogspot.in/2012/08/order-to-cash-cycle.html
http://www.slideshare.net/anand5538/order-to-cash-cycle-9647606
HTH
Sanjay -
PROCURE TO PAY AND ORDER TO CASH CYCLE
Can anyone please give me a good material on " Procure to pay cycle" and " Order to cash cycle".
Regards
Amitavaafter sales order we have to do direct billing ?
here is a scenario that my client sale a service product out of which he recognise 60% as revenue at the time of sales made and 40% as accrual for next 20 years even though full payment receive immediately or it may installment with in some 4-5 years
can any one help how to map this
Thanks
Priyaranjan
Maybe you are looking for
-
I have a ipod that is lock my old computer is broken,and I try to unlock it on my new computer please i need help!!!!!! it won't even let me shut the ipod off also
-
Is credit card needed for updating/downloading free games?
I finally somehow made a apple ID on games center, then I tried to download a free game. But when I click instal it said that this apple ID is first time using in iTunes (or something like that) and that I need to review my account. When I click revi
-
HI, I need java code to access CVS files.Pls help me. Regards Seenu
-
What is difference in wiki, documents and blog
I have Lion server installed and an active Wiki. There are also Documents and Blogs and Wiki's. What is the distinction between them. You can have documents and blogs or documents and wiki. It seems like my users don't understand the differences and
-
Default Dashboard and Reports Home Page
Hello All, 1. I was wondering whether it is possible to change the default dashboard. Users currently have to select the appropriate dashboard and press the "Show" button to display a custom dashboard, I would like this to be the default if possible.