Nested Group Problem
SSRS 2008 R2
I have a reported with 2 nested groups.
Top Level - Product Category
Second Level - Warehouse
When the report runs it should only show the Product Category groups.
When the + is clicked next to Product Category it should show the Warehouse groups for that Product Category.
When the + is clicked next to Warehouse it should show the details for that warehouse.
For some reason when I initially run the report I see the first Product Category group and then one line of the details from each of that Product Category's Warehouse. I don't see the Warehouse group at all. I then see the second Product Category group and
one line of the details from each of it's warehouses and so on.
+ Product Category 1
detail line for first warehouse
detail line for second warehouse
+ Product Category 2
detail line for first warehouse
detail line for second warehouse
If I click the + next to Product Category I see the Warehouse Groups below it and the detail lines disappear. Another words it looks correct for that Product Group. I can then click on the + by the Warehouse and see its details just like I should.
Another words I can expand it to look like the following:
- Product Category 1
- Warehouse 1
details line for first warehouse
+ Warehouse 2
+ Warehouse 3
+ Product Category 2
detail line for first warehouse
detail line for second warehouse
What could be causing this?
Thanks,
Scott
I got my answer from Google.
It turns out that I needed to set my visability in the group section instead of the row section.
Similar Messages
-
Crystal Report Nested Grouping Problem, Duplicate record
Post Author: paltapas4
CA Forum: General
Hi,
I am facing problem while creating 2 individual groups in Crystal report 10.0 .
My first group is Quarter & 2nd one is Department. When I created 2nd group it comes automatically under 1st group i.e Quarter, that why departments are duplicating under quarter. But I want to create 2 individual group.
Present Report output
1st Group u2013 2008 Quarter1
2nd Group u2013 Test1 department
2nd Group u2013 Test2 department
2nd Group u2013 Test3 department
2nd Group u2013 Test4 department
1st Group u2013 2008 Quarter2
2nd Group u2013 Test1 department
2nd Group u2013 Test2 department
2nd Group u2013 Test3 department
2nd Group u2013 Test4 department
1st Group u2013 2008 Quarter3
2nd Group u2013 Test1 department
2nd Group u2013 Test2 department
2nd Group u2013 Test3 department
2nd Group u2013 Test4 department
1st Group u2013 2008 Quarter4
2nd Group u2013 Test1 department
2nd Group u2013 Test2 department
2nd Group u2013 Test3 department
2nd Group u2013 Test4 department
Report output expected
1st Group u2013 2008 Quarter1
1st Group u2013 2008 Quarter2
1st Group u2013 2008 Quarter3
1st Group u2013 2008 Quarter4
2nd Group u2013 Test1 department
2nd Group u2013 Test2 department
2nd Group u2013 Test3 department
2nd Group u2013 Test4 department
Please help me out. Thanks in advance.
Regards,
TapasPost Author: sharonmtowler
CA Forum: General
you created 1 group for the qtr, and then you created a group for department. if you place the department in the group header it should only return the 1st value it hits, and supress the duplication. is that what you did? -
Nested Group Function without Group By Problem
Hey everyone,
I have 3 tables as below:
TABLES
ITEM (Item_no, Item_price, desc)
DeliveryItem (delivery_no, item_no, quantity)
Delivery (delivery_no, delivery_date)
SELECT desc, MAX(SUM(quantity)) FROM DeliveryItem, Item, Delivery WHERE Item.item_no = DeliveryItem.item_no AND Delivery.delivery_no = deliveryitem.delivery_no;
And I'm trying to output description of most delivered item but I got an error like SQL Error: ORA-00978: nested group function without GROUP BY. Could you help me to fix my code?
ThanxHi,
DESC is not a good column name; you could get errors if the parser thinks it means DESCending. I used DESCRIPTION instead, below.
I think the best way is to do the SUM in a sub-query, lkike this:
WITH got_r_num AS
SELECT item_no
, SUM (quantity) AS total_quantity
, RANK () OVER (ORDER BY SUM (quantity) DESC) AS r_num
FROM deliveryitem
GROUP BY item_no
SELECT i.description
, r.total_quantity
FROM got_r_num r
JOIN item i ON r.item_no = i.item_no
WHERE r.r_num = 1
;If you want to do it without a sub-query:
SELECT MIN (i.description) KEEP (DENSE_RANK LAST ORDER BY SUM (di.quantity)
AS description
, MAX (SUM (quantity)) AS total_quantity
FROM deliveryitem di
JOIN item i ON d1.item_no = i.tiem_no
GROUP BY i.description
;If you do nested aggegate functions, then every column in the SELECT clause must be an aggregate applied to either
(a) another aggregate, or
(b) one of the GROUP BY expressions.
That's why you got the ORA-00937 error.
This second approach will only display one row of output, so If there is a tie for the item with the greatest total_quantity, only one description will be shown. The RANK method will show all items that had the highest total_quantity.
It looks like the delivery table plays no role in this problem, but it there's some reason for including it, you can join it tpo either query above.
Of course, unless you post test copies of your tables (CREATE TABLE and INSERT statements) I cn't test anything.
Edited by: Frank Kulash on Nov 6, 2010 10:57 AM -
Getting a list of users and permission from a folder including nested groups
$project_folder = "\\servername\foldername\foldername1"
Get-Acl $project_folder |
ForEach-Object {
$_.Access | Add-Member -MemberType NoteProperty -Name Path -Value $_.Path -PassThru
} |
ft -GroupBy Path -Property IdentityReference, AccessControlType, FileSystemRights > foldertst.csv
The above command gives me a list of all the users who have access to foldername1. (including users and groups).
How do i modify this code to get the information of the nested groups for this folderSorry, I won't be providing a complete solution, just a few suggestions and comments.
first thing will be to determine for each ACE (access control entry) whether the IdentityReference refers to a user account or a group. If a group, you will then need to process each of its members, each of which will share the FileSystemRights of the current
ACE.
But... if any of the members are other groups, you will need to process them recursively as well. Recursively.
There are a few gotcha's, though:
you need to recognize and avoid infinite recursion when, for example, group A is a member of group B which is a member of group A. One way to do this is to keep a list of all groups encountered, processing each only once.
if one ACE belongs to group C, another belongs to group D, group A is a member of C, and group B is a member of D, you must ensure that all members of A and B are listed with ACE C and ACE D.
Once you have identified all user accounts you might find that some have multiple records. For example, user AA might belong to group A, and get unlimited access through the ACE owned by group C, but deny read access through the ACE owned by group D. If
the first mention of this user in your output shows he has unlimited access, that will, of course be incorrect. at the very least the output should be sorted by username. You could attempt to amalgamate all of his various accesses (like the effective permissions
tab) into a single one. But it would be difficult to show which group memberships contributed which aspects of his access permissions in any kind of simple or intuitive way.
security configurations can easily become overly complex. The best solution is to simplify and standardize how permissions are applied and how groups are nested. I have had to do this on occasion, and the problem of determining how things should be permitted
from how they actually are is probably the most complicated part of the job.
good luck.
Al Dunbar -- remember to 'mark or propose as answer' or 'vote as helpful' as appropriate. -
How to create Nested Group membership in OAM?
Hello,
I am facing a problem now about creating nested group membership in OAM. Although all documents mention that nested group membership is available in OAM and the "uniquemember" attribute's target object class covers both "inetorgperson" and "groupofUniqueNames", I still cannot find the option in Selector to add "group" members.
Please kindly suggest.
Thank you.
Liu PengLiu,
You've been very helpful, so I thought that I'd try to "return the favor" :)...
If you want to change the background color of that bar that contains the "Users Groups" to something other than dark blue, you can do it by editting the following file (this path is on Windows):
C:\Program Files\NetPoint\identity\oblix\lang\shared\sltr_navbar.xsl
I changed the line:
<table width="100%" border="0" bgcolor="#006699" cellpadding="0" cellspacing="0">
TO:
<table width="100%" border="0" bgcolor="#CCCCCC" cellpadding="0" cellspacing="0">
which, on my system, changes the bar background color from dark blue to gray.
Obviously, you can change the color to whatever you feel is appropriate, but the gray background definitely makes the links more visible :)!!
Here's a website that'll let you experiment with the color codes:
http://colorcombos.com/combotester.html
or choose a color visually:
http://www.liu.edu/cwis/CWP/library/colors.htm
You'll need to restart the OAM servers after making the change for it to become effective.
Thanks for your help!
Jim -
Hopefully someone out there can help solve this one.
How do you get a child window to automatically resize within a parent
window?
On their own both the child window and the parent window behave as
expected but once we attempt to load the child window into the parent
window the child window is sized to some unknown but excessively large
size.
Can this be solved with some creative use of parent size relationships
or do we have to programmatically size the child window?
Any help/comments/suggestions would be greatly appreciated.
Sincerely,
Sean G. GermainGlen,
Thank you for the prompt reply.
We have already done what you suggested (My explanation was not very
clear ... sorry) to no avail.
Any more takers and/or ideas anyone?
Thanks,
Sean
-----Original Message-----
From: Glen A. Whitbeck [SMTP:[email protected]]
Sent: Monday, January 26, 1998 2:47 PM
To: GERMAIN Sean
Cc: 'Forte Users Group'
Subject: Re: Nested Window Problem
You may need to dynamically tell the child window what its parent is (such
as a named grid that exists on the parent window). Setting the child
window to size to its parent should work once the child window knows who
its parent is. You should be able to put your window into that grid at
specified row and column coordinates. To reset the parent and position a
widget in a grid, you do something like the following:
<Widget>.Parent = NIL;
<Widget>.Row = 1;
<Widget>.Column = 1;
<Widget>.Parent = <TargetGrid>;
I believe that you should be able to do the same thing for a window, too
(using "Self.Window" instead of "<Widget>").
Glen
GERMAIN Sean wrote:
Hopefully someone out there can help solve this one.
How do you get a child window to automatically resize within a parent
window?
On their own both the child window and the parent window behave as
expected but once we attempt to load the child window into the parent
window the child window is sized to some unknown but excessively large
size.
Can this be solved with some creative use of parent size relationships
or do we have to programmatically size the child window?
Any help/comments/suggestions would be greatly appreciated.
Sincerely,
Sean G. Germain<< File: vcard.vcf >> -
Nested groups ,multi-valued groups,nested roles ,multi-valued roles
Does OID support
1)groups, nested groups and multi-valued groups
2)nested roles and multi-valued roles
Thanks in advanceYou will typically see problems when multi-valued attributes are in the range of 10k-20k values. 10 values in a multi-valued attribute should not have much impact at all.
-
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> -
Hi All,
I like to keep track of Groups and Users added into our Domain Admins. Yes, it should always be minimal, but if I can have a daily report just to be certain, I'll sleep better.
The following works just fine if there is a single nested group. I cannot get it to work properly if there is more than one. I'm hoping you'll see what I'm missing.
Works fine:
$admins = get-adgroupmember "domain admins"
foreach($i in $admins){if($i.objectClass -eq "group"){ get-adgroupmember $i.samaccountname |foreach {New-Object PSObject -Property @{ username = $_.name;Group = $($i.name)}} | select username,group | export-csv c:\Users_and_Groups.csv -Notypeinformation}}
Does not work well. Result is that the "Group" information doesn't change to the correct group:
$myCol=@()
foreach($admin in $admins){if($admin.objectClass -eq "group"){$myCol+=$admin.samaccountname}{foreach($i in $myCol){get-adgroupmember $i | foreach {New-Object PSObject -Property @{ username = $_.name;Group = $($admin.name)}} | select username,group
| export-csv c:\Users_and_Groups.csv -Notypeinformation}}}
Here is what I have in $myCol:
PS C:\Users\Administrator> $myCol
MarketingPSO
RMSysAdmins
I tried shortening up the one-liner a bit more, but for some reason the "RMSysAdmins" is the only Group listed even though Leia and Han are in the MarketingPSO Group:
foreach($i in $myCol){get-adgroupmember $i | foreach {New-Object PSObject -Property @{ username = $_.name;Group = $($admin.name)}} | select username,group }
username
Group
Leia Organa
RMSysAdmins
Han Solo
RMSysAdmins
c3po
RMSysAdmins
Darth Vader
RMSysAdmins
Boba Fett
RMSysAdmins
Thank you very much for your time,
Mr MisterHi Mr Mister,
To get nested group members, this script is for your reference:
function Get-ADNestedGroupMembers {
[cmdletbinding()]
param ( [String] $Group )
Import-Module ActiveDirectory
$Members = Get-ADGroupMember -Identity $Group|sort-object objectClass -descending
$members | % {
if($_.ObjectClass -eq "group") {
Get-ADNestedGroupMembers -Group $_.samaccountname
} else {
New-Object PSObject -Property @{ username = $_.name;Group = $Group }}
Get-ADNestedGroupMembers "groupname"
If there is anything else regarding this issue, please feel free to post back.
Best Regards,
Anna Wang
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
PS CS6: It'd be helpful to have the option to collapse or expand the nested groups and layers all at once. Autodesk Maya has a similar feature in it's outliner that allows for you to do this.
And as Jeffrey Tranberry answered there:
• Open/close all layer groups (folders) at the current level of hierarchy: Cmd-click the arrow next to the group - This is handy when you want to open/close, say, all the top-level groups without disturbing the open/closed state of any groups nested within them.
• Open/close all layer groups nested within the current one: Opt-click the arrow next to the group - This is nice when you want to open/shut a bunch of nested groups, without affecting any that lie outside the target group.
• Open/close all layer groups, period: Cmd-Opt-click the arrow next to a group So, to keep things simple: when in doubt, Cmd-Opt-click a group’s arrow and you’ll collapse/expand all groups.
* On Windows please substitutes Ctrl for Cmd and Alt for Opt. . -
Report design Grouping problem
I'm currently designing a report, something like an invoice. The invoice number is usually on the page header. But now i want to create a report to list down all the invoice numbers in the 'details' but when i drag the 'invoice number' data to 'details'
it only show 1 row of numbers, wheareas the data has few rows of it. How can i make it view all my numbers?Hi Eugene,
Thank you for posting in MSDN forum.
Since this forum is discuss the VS test issue, so
I’m afraid that it is not the correct forum for this issue.
As you said that the report design grouping problem, I suggest you could try to consult this issue directly to the VS Report Controls forum:
https://social.msdn.microsoft.com/Forums/en-US/home?forum=vsreportcontrols , maybe you will get better support.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Hello all,
How can I use a nested group function in a select statement?
For example: select sum(count(id), column a, column b from table_name group by???
Thanks in advance!select sum(CNT) column_a, column_b
from (select count(id), column_a, column_b from table_name
group by column_a, column_b)
group by column_a, column_b -
Nested group function without group xmlagg
I am getting nested group function without group by xmlagg when using the xmlagg function inside another xmlagg function. Find the table structure and sample data here,
CREATE TABLE "TEST_TABLE"
("KEY" NUMBER(20,0),
"NAME" VARCHAR2(50 ),
"DESCRIPTION" VARCHAR2(100 )
Insert into TEST_TABLE (KEY,NAME,DESCRIPTION) values (1,'sam','desc1');
Insert into TEST_TABLE (KEY,NAME,DESCRIPTION) values (2,'max','desc2');
Insert into TEST_TABLE (KEY,NAME,DESCRIPTION) values (3,'peter',null);
Insert into TEST_TABLE (KEY,NAME,DESCRIPTION) values (4,'andrew',null);
select
XMLSerialize(document
xmlelement("root",
xmlagg(
xmlelement("emp"
, xmlforest(Key as "ID")
, xmlforest(name as "ename")
, xmlelement("Descriptions",
xmlagg(
xmlforest(description as "Desc")
) as clob indent
) as t
from test_table;Then i removed the xmlagg function from the above select query and used xmlelement instead
select
XMLSerialize(document
xmlelement("root",
xmlagg(
xmlelement("emp"
, xmlforest(Key as "ID")
, xmlforest(name as "ename")
, xmlelement("Descriptions",
xmlforest(description as "Desc")
) as clob indent
) as t
from test_table;This is working fine, but xml created with empty elements for Descriptions element for key 3 and 4 which has null values. I need don't need Descriptions element in the xml when it has null value. Please help me to resolve this.You can do it with a correlated subquery :
SQL> select xmlserialize(document
2 xmlelement("root",
3 xmlagg(
4 xmlelement("emp"
5 , xmlforest(
6 t.key as "ID"
7 , t.name as "ename"
8 , (
9 select xmlagg(
10 xmlelement("Desc", d.description)
11 order by d.description -- if necessary
12 )
13 from test_desc d
14 where d.key = t.key
15 ) as "Descriptions"
16 )
17 )
18 )
19 ) as clob indent
20 )
21 from test_table t;
XMLSERIALIZE(DOCUMENTXMLELEMEN
<root>
<emp>
<ID>1</ID>
<ename>sam</ename>
<Descriptions>
<Desc>desc1_1</Desc>
<Desc>desc1_2</Desc>
<Desc>desc1_3</Desc>
</Descriptions>
</emp>
<emp>
<ID>2</ID>
<ename>max</ename>
<Descriptions>
<Desc>desc2_1</Desc>
<Desc>desc2_2</Desc>
<Desc>desc2_3</Desc>
</Descriptions>
</emp>
<emp>
<ID>3</ID>
<ename>peter</ename>
</emp>
<emp>
<ID>4</ID>
<ename>andrew</ename>
</emp>
</root>
Or an OUTER JOIN + GROUP-BY :
select xmlserialize(document
xmlelement("root",
xmlagg(
xmlelement("emp"
, xmlforest(
t.key as "ID"
, t.name as "ename"
, xmlagg(
xmlforest(d.description as "Desc")
order by d.description -- if necessary
) as "Descriptions"
) as clob indent
from test_table t
left outer join test_desc d on d.key = t.key
group by t.key
, t.name
;Edited by: odie_63 on 11 juil. 2012 14:54 - added 2nd option -
Error in nested group function used with column name.
Hi Team,
If i used nested group function with column name its not working. Could you please any one suggest me.
How to use it.
Regards,
Venkat.
Please find Spool ........
SQL> select user_name,max(max(CNT)) from (select USER_NAME,count(*) CNT from v$open_cursor group by USER_NAME)
2 group by user_name,CNT;
select user_name,max(max(CNT)) from (select USER_NAME,count(*) CNT from v$open_cursor group by USER_NAME)
ERROR at line 1:
ORA-00937: not a single-group group function
SQL> select max(max(CNT)) from(select USER_NAME,count(*) CNT from v$open_cursor group by USER_NAME)
2 group by user_name;
MAX(MAX(CNT))
605Venkat wrote:
Hi Sayan
Its giving output like below, but not given maximum CNT.
SQL> select user_name,max(CNT)from (select USER_NAME,count(*) CNT from v$open_cursor group by USER_NAME)
2 group by user_name;
USER_NAME MAX(CNT)
BANES_LERG 6
VENE_USER 8
USER3 339
DBUS 106
VEL_USER 37
SYS 597
6 rows selected.Check it - Re: Error in nested group function used with column name.
and previous post -
Nested Groups in Component Model
Is it possible to have a nested group in the Component Model? For example, I have a group of metatdata. That group is called Class and consists of the following fields:
- Department
- Number
- Title
- Level
There can be 1:n of these Classes.
These Classes compose a group called Notice. There can be 1:n Notices. The metadata may look like this.
Notices
-- Notice1
---- Dept1
---- Number1
---- Title1
---- Level1
-- Notice2
---- Dept2
---- Number2
---- Title2
---- Level2
I'm busy wearing a different hat at the moment on another project and don't have a lot of time to research this. Thoughts? Thanks in advance for any contribution.Hi Bill,
Here are a few ideas that i hope help. In answer to your question, Groups cannot have groups.
1. Your group could add a new attribute in your group that is an array of another BPM Object in a "Model" object
2. You could store the information nested in a relational database.
When it comes to a presentation, you'd probably want a header that shows the list of "Class" (surprised it let you name the group this without a runtime error). The user would then click one of the "class" items at the top of the scren and then you'd display the nexted group in a section of the screen below the header of the presentation. You'd use a "View" object for the UI and this View would have a group called "NestedStuff" dedicated to displaying the nested array for the class group item picked in the header.
Dan
Maybe you are looking for
-
I recently bought a new Macbook pro and i have a windows computer that had itunes match on it, i connected my ipad and synced it to my macbook but now i cant get itunes match is there a way i can change my itunes match from my other itunes onto this
-
Process chain running :doubt
Hi, I had scheduled one process chain which is running now--- now its in last step that is "deleting overlapping request in infocube----" i had checked this job : it is running with out any hassles-- now after this only AND process is there to finish
-
Problem with playing DVD's after burning...Premier Elements 11
Hi guys! Built a computer for a customer a while back and was wondering if someone can look at the hardware and see if what might be causing a problem... He can burn directly from Premiere Elements 11 but the dvd player wont play them afterwards... H
-
"Maybe it much early in the game, Ooh, but I thought I'd ask you just the same..." I know Logic 8 has just come out but I can still think of lots of things I'd like to have in Logic. But here is one wish I have that is not exactly a L8 feature. I wis
-
Hi I have example of object creating spec and body How map to PL/Table this object? How to Execute the object function? Result should be SYSDATE; CREATE TYPE Appointment_t AS OBJECT ( scheduled_date DATE, MAP MEMBER FUNCTION compare RETURN DATE CREAT