Crosstab repeating group

Hi all...
My data is not properly arranged inside the crosstab..I'm using for-each-group above the crosstab..so for the loops inside the crosstab I'm using as current-group...Here is my template structure
<?for-each-group:GROUP;NAME?>
<?NAME?>
inside crosstab
(1,1)<?horizontal-break-table:1?>
(1,2)<?for-each-group@column:current-group();./FROM_DATE?><?FROM_DATE?><?end for-each-group?>
(2,1)<?for-each-group:current-group();./DATE?><?variable@incontext:G1;current-group()?><?DATE?>
(2,2)<?for-each-group@cell://GROUP;./FROM_DATE?><?($G1[(./FROM_DATE=current()/FROM_DATE)]/VALUE)?><?end for-each-group?><?end for-each-group?>
outside the crosstab...
<?end for-each-group?>The 2X2 of the crosstab data doesn't display properly....if I replace GROUP with current-group() in 2X2 then also the data is not showing up properly(In this case for jun-2007 the cell should be empty..the values are moving to the left)
Here is my sample XML..
<LIST_GROUP>
<GROUP>
<NAME>Product1</NAME>
<DATE>2007</DATE>
<FROM_DATE>Jun</FROM_DATE>
<VALUE>.01223</VALUE>
</GROUP>
<GROUP>
<NAME>Product1</NAME>
<DATE>2007</DATE>
<FROM_DATE>Jul</FROM_DATE>
<VALUE>.03</VALUE>
</GROUP>
<GROUP>
<NAME>Product1</NAME>
<DATE>2007</DATE>
<FROM_DATE>Aug</FROM_DATE>
<VALUE>.12181</VALUE>
</GROUP>
<GROUP>
<NAME>Product1</NAME>
<DATE>2007</DATE>
<FROM_DATE>Sep</FROM_DATE>
<VALUE>-.02168</VALUE>
</GROUP>
<GROUP>
<NAME>Product1</NAME>
<DATE>2007</DATE>
<FROM_DATE>Oct</FROM_DATE>
<VALUE>-.0041215</VALUE>
</GROUP>
<GROUP>
<NAME>Product1</NAME>
<DATE>2007</DATE>
<FROM_DATE>Nov</FROM_DATE>
<VALUE>-.001269</VALUE>
</GROUP>
<GROUP>
<NAME>Product1</NAME>
<DATE>2007</DATE>
<FROM_DATE>Dec</FROM_DATE>
<VALUE>.008112</VALUE>
</GROUP>
<GROUP>
<NAME>Product1</NAME>
<DATE>2007</DATE>
<FROM_DATE>NET</FROM_DATE>
<VALUE>0.16526</VALUE>
</GROUP>
<GROUP>
<NAME>Product1</NAME>
<DATE>2008</DATE>
<FROM_DATE>Jul</FROM_DATE>
<VALUE>.0023</VALUE>
</GROUP>
<GROUP>
<NAME>Product1</NAME>
<DATE>2008</DATE>
<FROM_DATE>Aug</FROM_DATE>
<VALUE>.0081</VALUE>
</GROUP>
<GROUP>
<NAME>Product1</NAME>
<DATE>2008</DATE>
<FROM_DATE>Sep</FROM_DATE>
<VALUE>-.0068</VALUE>
</GROUP>
<GROUP>
<NAME>Product1</NAME>
<DATE>2008</DATE>
<FROM_DATE>Oct</FROM_DATE>
<VALUE>-.0045</VALUE>
</GROUP>
<GROUP>
<NAME>Product1</NAME>
<DATE>2008</DATE>
<FROM_DATE>Nov</FROM_DATE>
<VALUE>-.0069</VALUE>
</GROUP>
<GROUP>
<NAME>Product1</NAME>
<DATE>2008</DATE>
<FROM_DATE>Dec</FROM_DATE>
<VALUE>.0082</VALUE>
</GROUP>
<GROUP>
<NAME>Product1</NAME>
<DATE>2008</DATE>
<FROM_DATE>NET</FROM_DATE>
<VALUE>5.8134</VALUE>
</GROUP>
<GROUP>
<NAME>Product2</NAME>
<DATE>2008</DATE>
<FROM_DATE>Jul</FROM_DATE>
<VALUE>.0021</VALUE>
</GROUP>
<GROUP>
<NAME>Product2</NAME>
<DATE>2008</DATE>
<FROM_DATE>Aug</FROM_DATE>
<VALUE>.0105</VALUE>
</GROUP>
<GROUP>
<NAME>Product2</NAME>
<DATE>2008</DATE>
<FROM_DATE>Sep</FROM_DATE>
<VALUE>-.011</VALUE>
</GROUP>
<GROUP>
<NAME>Product2</NAME>
<DATE>2008</DATE>
<FROM_DATE>Oct</FROM_DATE>
<VALUE>-.0064</VALUE>
</GROUP>
<GROUP>
<NAME>Product2</NAME>
<DATE>2008</DATE>
<FROM_DATE>Nov</FROM_DATE>
<VALUE>-.0077</VALUE>
</GROUP>
<GROUP>
<NAME>Product2</NAME>
<DATE>2008</DATE>
<FROM_DATE>Dec</FROM_DATE>
<VALUE>.0115</VALUE>
</GROUP>
<GROUP>
<NAME>Product2</NAME>
<DATE>2008</DATE>
<FROM_DATE>NET</FROM_DATE>
<VALUE>7.621116883267159045635106212873101891E-02</VALUE>
</GROUP>
<GROUP>
<NAME>Product3</NAME>
<DATE>2008</DATE>
<FROM_DATE>Jul</FROM_DATE>
<VALUE>0</VALUE>
</GROUP>
<GROUP>
<NAME>Product3</NAME>
<DATE>2008</DATE>
<FROM_DATE>Aug</FROM_DATE>
<VALUE>0</VALUE>
</GROUP>
<GROUP>
<NAME>Product3</NAME>
<DATE>2008</DATE>
<FROM_DATE>Sep</FROM_DATE>
<VALUE>-.0172</VALUE>
</GROUP>
<GROUP>
<NAME>Product3</NAME>
<DATE>2008</DATE>
<FROM_DATE>Oct</FROM_DATE>
<VALUE>-.0118</VALUE>
</GROUP>
<GROUP>
<NAME>Product3</NAME>
<DATE>2008</DATE>
<FROM_DATE>Nov</FROM_DATE>
<VALUE>-.0076</VALUE>
</GROUP>
<GROUP>
<NAME>Product3</NAME>
<DATE>2008</DATE>
<FROM_DATE>Dec</FROM_DATE>
<VALUE>.0113</VALUE>
</GROUP>
<GROUP>
<NAME>Product3</NAME>
<DATE>2008</DATE>
<FROM_DATE>NET</FROM_DATE>
<VALUE>-2.5286995958204800000000000000000000021E-02</VALUE>
</GROUP>
</LIST_GROUP>I came across a similar thread but was not solved...
.rtf Crosstab inside repeating group
The below link was helpful but here the author was using 2 differnt groups..and a variable was refered in the data column of the crosstab..but if I use the same variable in the data column of mine its erroring out saying incorrect path...
http://winrichman.blogspot.com/2008/08/cross-tabs-problem-with-grouping-and.html
Thanks in Advance...

Use this and let me know :)
<?for-each-group:GROUP;NAME?>
<?NAME?>
inside crosstab
(1,1)<?horizontal-break-table:1?>
(1,2)<?for-each-group@column:/LIST_GROUP/GROUP;./FROM_DATE?><?FROM_DATE?><?end for-each-group?>
(2,1)<?for-each-group:current-group();./DATE?><?variable@incontext:G1;current-group()?><?DATE?>
(2,2)<?for-each-group@cell://GROUP;./FROM_DATE?><?($G1[(./FROM_DATE=current()/FROM_DATE)]/VALUE)?><?end for-each-group?><?end for-each-group?>
outside the crosstab...
<?end for-each-group?>Updated section
http://winrichman.blogspot.com/2009/03/crosstab-issue.html

Similar Messages

  • Blank Page with repeated group header getting displayed

    Hello All,
    One more help i need,
    Am having a formula field in the group header for the same reprot which i have posted earlier and am displaying some text based on the condition and the option repeat group header is checked for each page.
    the issue here i am having is while exporting the report to .txt (flat file)
    the formula field is displaying same static data (i.e. the formula field is not evaluating while exporting to .txt)
    could you please help in resolving this.
    Thanks
    Ranjeet

    Hi Ranjeet,
    Can you attach that report with sample data to this thread?
    --Naga

  • Repeating Group header on each page

    Hello Everybody,
    I have two groups in my report. For my first group value, i have given report - group expert - options and checked "Repeat group header on each page" assuming that my first group values will appear on each page. But it is not doing so. In one of the page the group footer values are appearing without my first group values.
    I belive my problem is my second group values are ending in one page and first group values are  extended to next page . Can any one please hep me.

    if that is the case Narukonda 1, there are several sap notes dealing with this issue...please see this sap note [here |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313333333133373339%7D.do]which deals with both orphaned group footers and group headers.

  • How to repeat group head on each page

    I have problem with repeat group heaf on each page, I've ticked the option 'Repeat group head on each page' from the Change Group Option. But the group head didn't appear on each page when I previewed the report. Does anyone have a solution/explaination to this?
    Cheeers

    Sorry Gents, I did't make my porblem clear.
    To James Terry
    Yes, My reports contain one or more sub-groups (only group 1's group header needs to be repeat on each page).
    To Graham Cunningham
    I found pages , containing only group 1's group footer summarized info, don't display group 1's group header. Just like what you said ' It will only repeat on pages that display group information'. Is this a bug or sort of default rule? What else can I do if I want the group header to repeat on each page no matter whether there is group info or not, besides moving the info from group header to pager header?
    Thanks a lot.
    Regards
    Joseph

  • Repeat Group Header On Each Page not working

    Hi,
    I have a report that have 3 subreport, and in the Subreport, there is Group Headers that enabled the option "Repeat Group Header On Each Page". It works fine in the CR10 preview. However, the header won't repeat in the PDF generated by JRC.
    Any Idea?
    Thanks a lot!!

    Hi,
    Doesthe JRC engine uses CR10 jars or XI\R2 jars? Can you possibly try it with latest set of Eclipse jars? You can download it from Diamond.
    Thanks
    Aasavari

  • Repeat group footer on each page

    Hi all,
    I have a regular report with 1 Group. My problem is that my report doesn't repeat group footer on each page. I know that in Grouping options there is an option for "Repeat Group Header on each page" checkbox which makes the Group Header print on each page. I've found that Header and Footer both work together and that if you print Header it will print footer as well. The thing is I have paging functionality (<a href='http://www.crystalreportstrainingbootcamp.com/resources/trainers_talk_detail.asp?Title=03'>click here for paging details</a>) in my report in the Group, so once it reaches 14 lines in Details it goes to the next page, prints the GROUP HEADER but not the GROUP FOOTER on each report page.
    Does anybody know why?
    I found the following topic: <a href='http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do;jsessionid=90BF3D79A308CCF6B58F1E2656225CDD?cmd=displayKC&docType=kc&externalId=c2004981&sliceId=&dialogID=360384&stateId=1%200%20356275'>Creating a fake group header for orphaned group footers</a> but it's for CR 7. Was it resolved in newer releases of CR or it still needs a work around? I'm not even sure if that will fix my problem...
    Thank you,
    Tatyana

    Hello,
    please give us the verison of your Crystal Reports product that we can investigate
    Regards,
    Falk

  • Repeat Group Header on Each Page in Subreport won't reflect when generate by JRC

    Hi All,
    I have a report that contain several Subreports. Inside the Subreport, there are Group Header section. I have checked the option of "Repeat Group Header on Each Page". It works fine when I preview in Crystal Report. But when I using JRC to generate the report result. The group header only display on the first page of the group details.
    More, Crystal 10 Common Monthly Hot Fix (English) already installed.
    Any idea?
    Thanks a lot for your help!
    Donald

    Hi,
    Doesthe JRC engine uses CR10 jars or XI\R2 jars? Can you possibly try it with latest set of Eclipse jars? You can download it from Diamond.
    Thanks
    Aasavari

  • Force the Summary Sub totals on same page as the Repeating Group

    Hello folks,
    I have a Group by Left Report where I am showing Patients and the Visits that they have taken for each Department.
    I am then doing a Sub Total of the number of Visits the Patient has taken. I would like to make sure that the sub total shows
    up on the same page as the data in the Repeating Group. I tried using an Anchor but the Report does not like it.
    It gives an Error: REP 1213 - Field references column at a frequency below its group when I anchor from Repeating frame to the sub total footer
    and REP 1814 Report cannot be formatted. Object 'Horizontally' can never fit within 'M_1' when I try to anchor the other way.
    My goal is to show the Sub Totals (Total) on the same page as the Patient and not go to the next page. I have enclosed the single dashed line and the Total (Label and field) in a Frame.
    Output of Report:
    Patient ID     Patient Name              Department              Visit
    ======================================================================
    1001           Mary Poppins              Department 001              3
                                             Department 002              4
                                             Department 003              1
                                             Total                       8
    1002           Peter Pan                 Department 001              2
                                             Department 002              1
                                             Department 003              2
                                             Total                       5
                                             -----------------------------Thanks in advance!

    Pls set the property(page protect of the frame containing both sub total and patient details) to yes.

  • Need to display data from one group while in another repeating group

    I have a repeating group in my .rft file which displays line level data that has a quote number in it.
    At the end of this repeating group I need to display the total for the quote number but these values are in another group that's within a differnt group higher up in the XML tree. Both of the groups have quote number so there is a link between the two. How do I do this? When I add the "higher up" repeating group within the current group I can't get any data to show. Any help would be appreciated.
    Kind Regards

    Here's the data, I do know how to to move up the tree like a file system but I think my problem is I need to move up the tree and repeat based on the value (quote number) of the lower node.
    For instance for each quote number in repeating group G_FORX_OPS_QTE_ORDER_LINES loop through the occurances of same quote number in G_OPPCAT_BREAKDOWN so I can get a total of the fields by quote number
    This is overly simplified but it would be like this
    <?for-each-group:G_FORX_OPS_QTE_ORDER_LINES;QUOTE_NUMBER?>
    quote number 1428
    various line level data....
    various line level data....
    etc....
    -- Open loop to get data from other group (Only get data for quote 1428!!)
    <?for-each-group:/FORX_AS_OPPOR/LIST_G_OPPORTUNITY_SHEET/G_OPPORTUNITY_ID/LIST_G_OPPCAT_BREAKDOWN/G_OPPCAT_BREAKDOWN;./QUOTE_NUMBER1?>
    Total For Quote 1428
    Billing Class
    BILLABLE: Billable total in dollars
    INTERNAL: Internal total in dollars
    <?end for-each-group?>
    <!-- Generated by Oracle Reports version 6.0.8.26.0
    -->
    - <FORX_AS_OPPOR>
    - <LIST_G_OPPORTUNITY_SHEET>
    - <G_OPPORTUNITY_ID>
    <COMMENTS1>Opportunity Includes Quote Number(s): 1428-2 1443-1 1444-1 Order Number(s): 159038-10 159044-3</COMMENTS1>
    <CUSTOMER_ID>1183</CUSTOMER_ID>
    <UPDATED_BY>CTYNER</UPDATED_BY>
    <DEPOSITS>5704.68</DEPOSITS>
    <OPPORTUNITY_ID>1000216</OPPORTUNITY_ID>
    <OPPORTUNITY_NAME>1000216:UAT DEMO</OPPORTUNITY_NAME>
    <CUSTOMER_NUMBER>103736</CUSTOMER_NUMBER>
    <ENTITY>FSG</ENTITY>
    <SOLD_TO>ALLSTATE INSURANCE COMPANY</SOLD_TO>
    <CONTRACT_ID>S620_N</CONTRACT_ID>
    <SALESREP_ID>2239</SALESREP_ID>
    <SALES_REP_NAME>Conley, Michael</SALES_REP_NAME>
    <ORDER_ACCEPTANCE>Skokie</ORDER_ACCEPTANCE>
    <BOOKED_COUNT>2</BOOKED_COUNT>
    <TERRITORY_NAME>Enterprise - Enterprise</TERRITORY_NAME>
    - <LIST_G_OPPCAT_BREAKDOWN>
    - <G_OPPCAT_BREAKDOWN>
    <QUOTE_NUMBER1>1428</QUOTE_NUMBER1> First Occurence of 1428
    <INT_ITM_TYPES>HARDWARE</INT_ITM_TYPES>
    <OPPORTUNITY_ID3>1000216</OPPORTUNITY_ID3>
    <INT_BILLING_CLASS>BILLABLE</INT_BILLING_CLASS>
    <SUM_ITM_COUNT>5</SUM_ITM_COUNT>
    <SUM_ITM_PRICE>151500.4</SUM_ITM_PRICE>
    <SUM_ITM_COST>1688</SUM_ITM_COST>
    <SUM_ITM_GPM>149812.4</SUM_ITM_GPM>
    <SUM_ITM_MARKUP>88.7514218009478672985781990521327014218</SUM_ITM_MARKUP>
    </G_OPPCAT_BREAKDOWN>
    - <G_OPPCAT_BREAKDOWN>
    <QUOTE_NUMBER1>1428</QUOTE_NUMBER1> Second Occurence of 1428
    <INT_ITM_TYPES>INVOICE_ADJUSTMENT</INT_ITM_TYPES>
    <OPPORTUNITY_ID3>1000216</OPPORTUNITY_ID3>
    <INT_BILLING_CLASS>BILLABLE</INT_BILLING_CLASS>
    <SUM_ITM_COUNT>4</SUM_ITM_COUNT>
    <SUM_ITM_PRICE>29.72</SUM_ITM_PRICE>
    <SUM_ITM_COST>0</SUM_ITM_COST>
    <SUM_ITM_GPM>29.72</SUM_ITM_GPM>
    <SUM_ITM_MARKUP />
    </G_OPPCAT_BREAKDOWN>
    - <G_OPPCAT_BREAKDOWN>
    <QUOTE_NUMBER1>1443</QUOTE_NUMBER1>
    <INT_ITM_TYPES>HARDWARE</INT_ITM_TYPES>
    <OPPORTUNITY_ID3>1000216</OPPORTUNITY_ID3>
    <INT_BILLING_CLASS>BILLABLE</INT_BILLING_CLASS>
    <SUM_ITM_COUNT>5</SUM_ITM_COUNT>
    <SUM_ITM_PRICE>2084</SUM_ITM_PRICE>
    <SUM_ITM_COST>1748</SUM_ITM_COST>
    <SUM_ITM_GPM>336</SUM_ITM_GPM>
    <SUM_ITM_MARKUP>.192219679633867276887871853546910755149</SUM_ITM_MARKUP>
    </G_OPPCAT_BREAKDOWN>
    - <G_OPPCAT_BREAKDOWN>
    <QUOTE_NUMBER1>1444</QUOTE_NUMBER1>
    <INT_ITM_TYPES>HARDWARE</INT_ITM_TYPES>
    <OPPORTUNITY_ID3>1000216</OPPORTUNITY_ID3>
    <INT_BILLING_CLASS>BILLABLE</INT_BILLING_CLASS>
    <SUM_ITM_COUNT>4</SUM_ITM_COUNT>
    <SUM_ITM_PRICE>1500.4</SUM_ITM_PRICE>
    <SUM_ITM_COST>1364</SUM_ITM_COST>
    <SUM_ITM_GPM>136.4</SUM_ITM_GPM>
    <SUM_ITM_MARKUP>.1</SUM_ITM_MARKUP>
    </G_OPPCAT_BREAKDOWN>
    - <G_OPPCAT_BREAKDOWN>
    <QUOTE_NUMBER1>1444</QUOTE_NUMBER1>
    <INT_ITM_TYPES>INVOICE_ADJUSTMENT</INT_ITM_TYPES>
    <OPPORTUNITY_ID3>1000216</OPPORTUNITY_ID3>
    <INT_BILLING_CLASS>BILLABLE</INT_BILLING_CLASS>
    <SUM_ITM_COUNT>4</SUM_ITM_COUNT>
    <SUM_ITM_PRICE>66.28</SUM_ITM_PRICE>
    <SUM_ITM_COST>0</SUM_ITM_COST>
    <SUM_ITM_GPM>66.28</SUM_ITM_GPM>
    <SUM_ITM_MARKUP />
    </G_OPPCAT_BREAKDOWN>
    - <G_OPPCAT_BREAKDOWN>
    <QUOTE_NUMBER1>1428</QUOTE_NUMBER1>
    <INT_ITM_TYPES>EXPENSE_ADJUSTMENT</INT_ITM_TYPES>
    <OPPORTUNITY_ID3>1000216</OPPORTUNITY_ID3>
    <INT_BILLING_CLASS>INTERNAL</INT_BILLING_CLASS>
    <SUM_ITM_COUNT>1</SUM_ITM_COUNT>
    <SUM_ITM_PRICE>0</SUM_ITM_PRICE>
    <SUM_ITM_COST>22.98</SUM_ITM_COST>
    <SUM_ITM_GPM />
    <SUM_ITM_MARKUP />
    </G_OPPCAT_BREAKDOWN>
    - <G_OPPCAT_BREAKDOWN>
    <QUOTE_NUMBER1>1444</QUOTE_NUMBER1>
    <INT_ITM_TYPES>EXPENSE_ADJUSTMENT</INT_ITM_TYPES>
    <OPPORTUNITY_ID3>1000216</OPPORTUNITY_ID3>
    <INT_BILLING_CLASS>INTERNAL</INT_BILLING_CLASS>
    <SUM_ITM_COUNT>1</SUM_ITM_COUNT>
    <SUM_ITM_PRICE>0</SUM_ITM_PRICE>
    <SUM_ITM_COST>22.98</SUM_ITM_COST>
    <SUM_ITM_GPM />
    <SUM_ITM_MARKUP />
    </G_OPPCAT_BREAKDOWN>
    - <G_OPPCAT_BREAKDOWN>
    <QUOTE_NUMBER1>1428</QUOTE_NUMBER1>
    <INT_ITM_TYPES>REVENUE_ADJUSTMENT</INT_ITM_TYPES>
    <OPPORTUNITY_ID3>1000216</OPPORTUNITY_ID3>
    <INT_BILLING_CLASS>INTERNAL</INT_BILLING_CLASS>
    <SUM_ITM_COUNT>1</SUM_ITM_COUNT>
    <SUM_ITM_PRICE>20</SUM_ITM_PRICE>
    <SUM_ITM_COST>101</SUM_ITM_COST>
    <SUM_ITM_GPM />
    <SUM_ITM_MARKUP />
    </G_OPPCAT_BREAKDOWN>
    </LIST_G_OPPCAT_BREAKDOWN>
    - <LIST_G_FORX_OPS_QTE_ORDER_LINES>
    - <G_FORX_OPS_QTE_ORDER_LINES>
    <ORDER_ACCEPTANCE1>SKOKIE</ORDER_ACCEPTANCE1>
    <COMMITMENT />
    <COMMITMENT_APPLIED_AMOUNT />
    <PARTIAL_COMMENTS />
    <COMMENT_FOR_INVOICE />
    <QUOTE_DATE>07/13/2009 02:00:10PM</QUOTE_DATE>
    <LINE_NUMBER>1</LINE_NUMBER>
    <EXTD_SELLING_PRICE>880</EXTD_SELLING_PRICE>
    <ORDER_PAY_TERM>Automated Term Due in 44 Days</ORDER_PAY_TERM>
    <QUOTE_PAY_TERM />
    <ITEM_CATEGORIES>HARDWARE.MACHINE.SERVER.</ITEM_CATEGORIES>
    <QUOTE_STATUS>Order Submitted</QUOTE_STATUS>
    <QUOTE_USER>Tyner, Chris</QUOTE_USER>
    <OPPORTUNITY_ID1>1000216</OPPORTUNITY_ID1>
    <DATASOURCE>1</DATASOURCE>
    <HEADER_ID>398631</HEADER_ID>
    <LINE_ID>900897</LINE_ID>
    <LINE_TYPE_ID>1181</LINE_TYPE_ID>
    <ORDER_NUMBER>159038</ORDER_NUMBER>
    <ORDER_VERSION>10</ORDER_VERSION>
    <TEAM>IBM</TEAM>
    <OPPORTUNITY_NAME1 />
    <QUOTE_NAME>1000216:IBM:UAT DEMO</QUOTE_NAME>
    <QUOTE_NUMBER>1428</QUOTE_NUMBER>
    <QUOTE_VERSION>2</QUOTE_VERSION>
    <NEW_PARTIAL>0</NEW_PARTIAL>
    <COMMIT_DEL_DATE>13-JUL-09</COMMIT_DEL_DATE>
    <ORDERED_QUANTITY>1</ORDERED_QUANTITY>
    <PO_NUMBER>098534089</PO_NUMBER>
    <GROUP_NUM>1</GROUP_NUM>
    <INVENTORY_ITEM_ID>845256</INVENTORY_ITEM_ID>
    <ORDERED_ITEM>7978BDU</ORDERED_ITEM>
    <PRODUCT>7978BDU</PRODUCT>
    <ITEM_DESCRIPTION>X3550, XEON QUAD CORE E5430 80W 2.66GHZ/1333MHZ/12MB L2, 2X1GB CHK, O/BAY 2.5IN HS SAS, SR 8K-I, PCI-E RISER CARD, ULTRABAY ENHANCED DVD-ROM/CD-RW COMBO DRIVE, 670W P/S, RACK</ITEM_DESCRIPTION>
    <MANUFACTURER_DESCRIPTION>IBM</MANUFACTURER_DESCRIPTION>
    <TYPE />
    <EQUIPMENT_CODE>B</EQUIPMENT_CODE>
    <TAX_CLASS_CODE>HW</TAX_CLASS_CODE>
    <CLS />
    <SUBINVENTORY />
    <UNIT_LIST_PRICE>0</UNIT_LIST_PRICE>
    <ITEM_UNIT_COST>800</ITEM_UNIT_COST>
    <VENDOR_INVENTORY_RETURN />
    <SHIPPING_TYPE />
    <SHIPPING_ORG>DSP</SHIPPING_ORG>
    <SOLD_TO1>ALLSTATE INSURANCE COMPANY</SOLD_TO1>
    <SOLD_TO_ACCOUNT_NUMBER>103736</SOLD_TO_ACCOUNT_NUMBER>
    <INVOICE_TO_LOCATION>10110384</INVOICE_TO_LOCATION>
    <INVOICE_TO>ALLSTATE INSURANCE COMPANY</INVOICE_TO>
    <INVOICE_TO_ACCOUNT_NUMBER>103736</INVOICE_TO_ACCOUNT_NUMBER>
    <INVOICE_TO_ADDRESS1>2775 SANDERS RD</INVOICE_TO_ADDRESS1>
    <INVOICE_TO_ADDRESS2 />
    <INVOICE_TO_ADDRESS3 />
    <INVOICE_TO_ADDRESS4 />
    <INVOICE_TO_EMAIL />
    <INVOICE_TO_PHONE_NUMBER>847-402-0223</INVOICE_TO_PHONE_NUMBER>
    <INVOICE_TO_ADDRESS5>NORTHBROOK, IL, 60062-6110, US</INVOICE_TO_ADDRESS5>
    <INVOICE_TO_CONTACT>CRAIG SOCKEL</INVOICE_TO_CONTACT>
    <L_INVOICE_TO_LOCATION>10110384</L_INVOICE_TO_LOCATION>
    <L_INVOICE_TO_ACCOUNT_NUMBER>103736</L_INVOICE_TO_ACCOUNT_NUMBER>
    <L_INVOICE_TO>ALLSTATE INSURANCE COMPANY</L_INVOICE_TO>
    <L_INVOICE_TO_ADDRESS1>2775 SANDERS RD</L_INVOICE_TO_ADDRESS1>
    <L_INVOICE_TO_ADDRESS2 />
    <L_INVOICE_TO_ADDRESS3 />
    <L_INVOICE_TO_ADDRESS4 />
    <L_INVOICE_TO_EMAIL />
    <L_INVOICE_TO_PHONE_NUMBER>847-402-0223</L_INVOICE_TO_PHONE_NUMBER>
    <L_INVOICE_TO_ADDRESS5>NORTHBROOK, IL, 60062-6110, US</L_INVOICE_TO_ADDRESS5>
    <L_INVOICE_TO_CONTACT>CRAIG SOCKEL</L_INVOICE_TO_CONTACT>
    <SHIP_TO_ACCOUNT_NUMBER>103736</SHIP_TO_ACCOUNT_NUMBER>
    <SHIP_TO>ALLSTATE INSURANCE COMPANY</SHIP_TO>
    <SHIP_TO_LOCATION>10271260</SHIP_TO_LOCATION>
    <SHIP_TO_ADDRESS1>3075 SANDERS RD STE 12C</SHIP_TO_ADDRESS1>
    <SHIP_TO_ADDRESS2 />
    <SHIP_TO_ADDRESS3 />
    <SHIP_TO_ADDRESS4 />
    <SHIP_TO_ADDRESS>NORTHBROOK, IL, 60062-7119, US</SHIP_TO_ADDRESS>
    <SHIP_EMAIL>[email protected]</SHIP_EMAIL>
    <SHIP_TO_PHONE_NUMBER>847-402-0223</SHIP_TO_PHONE_NUMBER>
    <SHIP_TO_CONTACT>ORLANDO LOPEZ</SHIP_TO_CONTACT>
    <L_SHIP_TO_ACCOUNT_NUMBER>103736</L_SHIP_TO_ACCOUNT_NUMBER>
    <L_SHIP_TO>ALLSTATE INSURANCE COMPANY</L_SHIP_TO>
    <L_SHIP_TO_LOCATION>10271260</L_SHIP_TO_LOCATION>
    <L_SHIP_TO_ADDRESS1>3075 SANDERS RD STE 12C</L_SHIP_TO_ADDRESS1>
    <L_SHIP_TO_ADDRESS2 />
    <L_SHIP_TO_ADDRESS3 />
    <L_SHIP_TO_ADDRESS4 />
    <L_SHIP_TO_ADDRESS>NORTHBROOK, IL, 60062-7119, US</L_SHIP_TO_ADDRESS>
    <L_SHIP_EMAIL>[email protected]</L_SHIP_EMAIL>
    <L_SHIP_TO_PHONE_NUMBER>847-402-0223</L_SHIP_TO_PHONE_NUMBER>
    <L_SHIP_TO_CONTACT>ORLANDO LOPEZ</L_SHIP_TO_CONTACT>
    <DEL_TO_ACCOUNT_NUMBER>103736</DEL_TO_ACCOUNT_NUMBER>
    <DEL_TO>ALLSTATE INSURANCE COMPANY</DEL_TO>
    <DEL_TO_LOCATION>10110327</DEL_TO_LOCATION>
    <DEL_TO_ADDRESS1>3075 SANDERS RD</DEL_TO_ADDRESS1>
    <DEL_TO_ADDRESS2 />
    <DEL_TO_ADDRESS3 />
    <DEL_TO_ADDRESS4 />
    <DEL_TO_ADDRESS>NORTHBROOK, IL, 60062-7119, US</DEL_TO_ADDRESS>
    <DEL_TO_EMAIL />
    <DEL_TO_PHONE_NUMBER>847-402-0223</DEL_TO_PHONE_NUMBER>
    <DEL_TO_CONTACT />
    <UNIT_SELLING_PRICE>880</UNIT_SELLING_PRICE>
    <BILL_TO_LAST_UPDATE>21/04/2009 02:25:18PM</BILL_TO_LAST_UPDATE>
    <SHIP_TO_LAST_UPDATE>13/07/2009 01:31:45PM</SHIP_TO_LAST_UPDATE>
    <BILL_TO_UPDATED_BY>SLUMPP</BILL_TO_UPDATED_BY>
    <SHIP_TO_UPDATED_BY>CTYNER</SHIP_TO_UPDATED_BY>
    <ORDER_QUOTE_USER>CTYNER</ORDER_QUOTE_USER>
    <PARTICIPANTS>Conley, Michael Order:159044 100% and Conley, Michael Order:159038 100% and Conley, Michael Quote:1443 50% and Jones, Maureen Quote:1443 50%</PARTICIPANTS>
    <ORDERED_DATE>07/13/2009 02:23:23PM</ORDERED_DATE>
    <BOOKED_DATE>07/13/2009 02:31:15PM</BOOKED_DATE>
    <ORDER_QUOTE_STATUS>BOOKED</ORDER_QUOTE_STATUS>
    <ORDER_USER_STATUS>RE-BOOK REQD</ORDER_USER_STATUS>
    <BUYER>Tyner, Chris</BUYER>
    <SERIAL_NUM>45784687</SERIAL_NUM>
    <INVOICE_HANDLING_FORMAT_VALUE />
    <INVOICE_HANDLING_FORMAT />
    <PRINT_TRADE_NAME_VALUE>No</PRINT_TRADE_NAME_VALUE>
    <ITEM_EXTD_COST>800</ITEM_EXTD_COST>
    <QUOTE_APPROVERS>Tyner, Chris</QUOTE_APPROVERS>
    </G_FORX_OPS_QTE_ORDER_LINES>

  • Repeat group header on every page before group footer as group spans across

    I have a group which spans across multiple pages.In group there are two subreports in Group footer.I have set all the required parameters to repeat group header on every page in group expert,but not getting desired results,please help....

    I have following structure in my report.
    I have two group headers at the top,first one contains name of the site & site number,second header contains Site-Admin as heading,below which i have kept details section of report which displays name of administrator which repeats details section in case there are more than one adminstrators.
    Below this i have two group footers which individually contain each of the two sub-reports.
    As per data,these individual subreport may or may not begin at the beginning of the new page every
    time,therefore fake group header put at the beginning of these sub-reports may come in middle of the page sometime,so thet cant be done.
    Thank you,please reply if you have another solution....

  • Draw lines within a table (repeating group)

    I have a table of 6X6 (rowsxcolumns) built using Word 2010. The cells starting from 2nd row to 5th row are merged and another table is created in this place with a repeating group. This means, the no. of rows this 2nd table would have is dynamic (based on the results)
    Because of the layout requirement, I need vertical lines drawn for each of the columns in table 1 but excluding Row 1 and Row 6 (these are sort of headers). Is there a way to achieve this?
    I tried using "Draw Shapes" and inserting vertical lines in the positions I want. But since this shape is of constant length and 2nd table contains dynamic rows, it isn't working if it has fewer/greater no. of rows.
    Any ideas would be highly appreciated.
    Thanks!

    Ok,
    I will assume that you have a dataVector that contains Vectors that have a String and an Integer in it. You pass this dataVector to the following method, that returns a Vector which contains the same data grouped. I assume also that your dataVector is sorted before:
    public Vector groupVector(Vector dataVector) {
    Vector r;
    Vector v = new Vector(2,2);
    if (dataVector.size()==0) return null; // no data there - return null
    String name = (String) ((Vector) dataVector.elementAt(0)).elementAt(0);
    int sum = 0;
    for (int i = 0; i<dataVector.size();i++)
    { String curname = (String) ((Vector) dataVector.elementAt(i)).elementAt(0);
    if (name.equals(curname))
    { sum += ((Integer) ((Vector) dataVector.elementAt(i)).elementAt(1)).intValue(); }
    else
    { r = new Vector(2);
    r.add(name);
    r.add(new Integer(sum));
    v.add(r);
    name = curname;
    sum = ((Integer) ((Vector) dataVector.elementAt(i)).elementAt(1)).intValue();
    } // end else
    } // end for-loop
    r = new Vector(2);
    r.add(name);
    r.add(new Integer(sum));
    v.add(r);
    return v;
    } // end of methodI have not tested it nor compiled - leave that to you
    Hope this helps
    greetings Marsian

  • How to use a header column in a repeating group

    I am trying to create a BIP report (11.1.1.6.2) with an XML file as source. The XML files start with a few header fields, followed by the actual data. For example:
    <DATA>
    <PARAMETERS>
    <P_ORDER>Order</P_ORDER>
    <P_CUSTOMER>Customer</P_CUSTOMER>
    </PARAMETERS>
    <LIST_DETAILS>
    <DETAIL>
    <V_ORDER>12345</V_ORDER>
    <V_CUSTOMER>Oracle</V_CUSTOMER>
    </DETAIL>
    <DETAIL>
    <V_ORDER>67890</V_ORDER>
    <V_CUSTOMER>Microsoft</V_CUSTOMER>
    </DETAIL>
    </LIST_DETAILS>
    </DATA>
    The desired output should combine a field from the <PARAMETERS> group and a field from the <DETAIL> group in one line. So with this example data it should look like this:
    Order: 12345
    Customer: Oracle
    Order: 67890
    Customer: Microsoft
    In my RTF template I created a repeating group <?for-each:DETAIL?> and put everything in that repeating group. Unfortunately BIP leaves the values for the fields in the <PARAMETERS> group empty.
    I also tried to nest two repeating groups. First: <?for-each:PARAMETERS?>, within that: <?for-each:DETAIL?>. This does not solve the problem.
    How can I achieve my desired output?
    Paul

    try
    <?xdoxslt:set_variable($_XDOCTX,'LVarORDER',P_ORDER)?>
    <?xdoxslt:set_variable($_XDOCTX,'LVarCUSTOMER',P_CUSTOMER)?>
    <?for-each:DETAIL?>                                 |           <?V_ORDER?>
    <?xdoxslt:get_variable($_XDOCTX,'LVarORDER')?>      |
    ----------------------------------------------------|-----------------------------------
    <?xdoxslt:get_variable($_XDOCTX,'LVarCUSTOMER')?>   | <?V_CUSTOMER?><?end for-each?>

  • Repeating group level headings.

    Using the table wizard, I have created a "group above" table with two levels like this:
    Group Level 1
    Group Level 2
    table_element_1 table_element_2 table_element_n
    On the first page, both group level 1 and group level 2 print. As I get subsequent group level 2 breaks, the report won't repeat level 1 so I only get Group level 2 in my heading. The output is coming out like this:
    Group Level 1
    Group Level 2
    table_element_1 table_element_2 table_element_n
    Group Level 2a
    table_element_1 table_element_2 table_element_n
    Group Level 2b
    table_element_1 table_element_2 table_element_n
    I always want to repeat group level 1 in my table heading. Is there a an xml or template command that I can use to say "always print" ?
    I'd like to see it like this:
    Group Level 1
    Group Level 2
    table_element_1 table_element_2 table_element_n
    Group Level 1
    Group Level 2a
    table_element_1 table_element_2 table_element_n
    Group Level 1
    Group Level 2b
    table_element_1 table_element_2 table_element_n

    Probably you are using tables to format it as each group.
    so in-order to display the group level element 1 ,
    You got to display that element before the second group table .
    its like
    <for-each:level1>
    <GRP-LEVEL1-ELEMENT>
    <for-each:level2>
    <GRP-LEVEL2-ELEMENT>
    ..................something else
    <end-for-each>
    <end-for-each>
    you can select the table and table properties, repeat as header row in top of every page
    pass me your template and xml to fusionDOTobjectATgmailDOTcom.
    i wll have a look at where you went wrong ;)

  • Repeating groups in logical data model

    Hello,
    I am trying to create a logical data model where the following rules are applied:
    Each Renovation Job may include one or more Rooms.
    Each Room can be included in one or more Renovation Jobs.
    Each Room Renovation may have one or more Renovation Types
    Each Renovation Type may be associated with one or more Room Renovations
    The following is a list of tables and their values I have created to support the above (Renovation_Jobs, Room_Codes, Renovation_Type_Codes, Renovation_Room_Types). I put tables "Renovation_Jobs" + "Room_Codes" + "Renovation_Type_Codes" having a one to many relationship to intersection table "Renovation_Room_Types". There are repeating groups in "Renovation_room_type" table (Renovation_job + Room_codes), does this mean I have to create another intersection table for this as well?
    Renovation_Jobs:
    1
    2
    3
    Room_Codes:
    Kitchen
    Bedroom
    Living Room
    Renovation_Type_Codes:
    Paint
    Replace carpet
    Replace light fixture
    Renovation_Room_Types:
    1     Kitchen     paint
    1     Kitchen     Replace light fixture
    1     Bedroom     paint
    1     Bedroom     Replace carpet
    1     Bedroom      Replace light fixture
    1     Living room     Paint
    1     Living room     Replace carpet
    2     Kitchen     Paint
    2     Kitchen     Replace light fixture
    3     Kitchen     Paint
    3      Bedroom     Paint
    3     Bedroom     Replace carpet
    Any help would be appreciated.
    thanks

    Each Renovation Job may include one or more Rooms.
    Entities - Renovation Job Room, Room Renovation (intersection between Renovation Job & Room)
    Each Room can be included in one or more Renovation Jobs.
    Covered by Room Renovation
    Each Room Renovation may have one or more Renovation Types
    Entities - Renovation Type, Renovation Room Type
    Each Renovation Type may be associated with one or more Room Renovations
    Covered by Renovation Room Type
    There are repeating groups in "Renovation_room_type" table (Renovation_job + Room_codes)That's just your foreign key to Room Renovation, isn't it?
    You said that each renovation type may be associated with one or more room renovations.

  • Repeat Group Header on Every Column

    Hello all.  I have a simple two column layout report with three groups.  I would like the group headers to repeat at the top of each column similar to the way they repeat on each page when the "Repeat Group Header On Each Page" check box is clicked.  Any suggestions?

    Zilla Eh, thank you for your help. The column headers are indeed in the group headers, however they do not repeat on each column. For clarification, I've posted a sample page of the report on our website: http://lehivalley.com/catalog09example.pdf. There are three groups on the report. Candy represents Group1, Chocolate represents Group2, and the Product Name (ex. Chocolate Banana Chips) represents Group3. Referencing the example, on the top of the second column I'd like to see Candy (group1), Chocolate (group2), and Chocolate Covered Cookie Dough (group3), repeated prior to the rest of the details being listed.
    Let me know if you have any ideas. By the way, I'm using Crystal Reports XI if that matters. Thanks

Maybe you are looking for