Printing subtotal in XML report

Hi,
how can I display subtotals for each customer if we have 3 customers.
Here each customer has more than one row.
How can I set this in RTF for XML report.
jyothi

I believe your question is answered in the XML Publisher User/Developers Guide at http://www.oracle.com/technology/documentation/applications.html
HTH
Srini

Similar Messages

  • Print Images in XML Report

    Hi,
    I do have a requirement to print digital signature in a Quote, the signature is been stored as a picture (longraw datatype per_images table) in HRMS Tables
    HRMS Responsibility -> people -> Enter and Maintain -> Picture, here we will upload the signature of a person and this need be printed in XML Report.
    In the Report Builder if we change the ‘file format’ to ‘Image’ we are able to display the image , but when we are register in APPS, we not able to get the image, even XML tags are not been generated.
    Regards,
    Satish.

    Here...this should help !
    BLOB image in XML Publisher

  • Printing parameter values in xml report, and displaying it in header of the

    Hi All,
    Can anybody give me an idea to print the parameter values in the xml report.
    My requirement is like, I have 10 parameters in report builder, I have generated the xml file and created the .rtf template and finally registerted in oracle apps. But now, the requirement is to print the parameter values in the report output.I don't see any xml tags in the xml output.
    Any suggestion will be appreciated.
    Thanks in advance.

    I think all the XML attributes can contain lexicals. If you bring up the property palette against the report object you can just set the following:
    XML Tag Attributes: myParameter="&<P_1>"
    where P_1 is your user parameter.

  • Barcode printing in XML report PDF output

    Hi All,
            I want to print barcode of invoice number / purchase order number in the XML report PDF output.
            Anyone please suggest me with your ideas and experience.

    Hi Bogdan,
    The steps mentioned in the doc is what i did in order.
    I couldn't understand the step # 13 & 14.
    Log in as XML Publisher Administrator
    Navigate to Administration --> Font Files --> Create Font File
    Available fields are Font Name and File
    --> for Font Name, choose any descriptive name
    --> file will browse your PC to locate the font file
    Navigate to Font Mappings -->Create Font Mapping Set
    Mapping name is the name you will give to a set of fonts.
    Mapping code is the internal name you will give to this set
    Type: 'PDF Form' for PDF templates. 'FO to PDF' for all other template types.
    Create Font Mapping (this allows you to add fonts to a set)
    Font Family is the exact same name you see in MS Word under Font. If you don't use the same name the font will not be picked up at runtime.
    Style and weight must also match how you use the font in the RTF or PDF layout template. Normal and Normal are good defaults.
    Language and Territory should remain blank (NULL) unless you have a strong business reason, as these fields can cause the font not to be picked up at runtime.
    Navigate to Configuration General -> FO Processing -->Font Mapping Set. This can also be done at Data Definition and Template level, via the corresponding Edit Configuration button on those pages. The hierarchy is Site-> Data Def -> Template.
    Select your new mapping set.
    Make sure the font is not referenced under File --> Properties --> Custom in the RTF template file.
    Under General, set a Temporary Directory. The font will be stored under a /fonts directory at runtime, initially created the first time the font is used.
    Upload a template that uses your special font and test using preview or by submitting a concurrent request.

  • How to print multiple footers for each page in RTF template xml report.

    Hi,
    How to print multiple footers for each page in RTF template xml report.
    i am able to print ( two sets ) ...
    up to last page ( one template ) and for last page ( another template).
    i want to change the footer information based on the group value printed in the report ( it might be 5 to 6) In every report run.. can you please check and let me know do we have any feasibility to achieve this.
    Thanks in advance.
    Regards,
    KAP.

    You can remove all other logic, like last page only contents (start@last-page:body), etc and section breaks if any you have inserted manually.
    Just have for-each@section logic.
    It would be difficult for me to guess what you have done without looking at your RTF or describing here.

  • How to print XML report in French Language?

    Hi,
    I need to print XML report in French language, currently it display in English language.
    I have used following steps:
    1. I enabled French language on my oracle apps instance.
    2. Created the concurrent program with output type as XML
    3. Created Data Definition using XML Publisher Responsibility
    4. Created template. At the time of creation of templete, enabled Translatable check box and click Apply
    5. Once template is uploaded, you will find two buttons. Export Translation and Upload Translation.
    6. Clickd on Export Translation. XLF file opened.
    7. In XLF file - e. g. source-language="en-US" target-language="fr-FR".Source is English and fr is for French language and FR is territory.
    8. Update the target fields in French language. In the below example source field is in English language and target is in French language. This indicates that wherever the Invoice Date is present in RTF template it will be
    replaced by the target field in french language.
    <source>Invoice Date:</source>
    <target>Date de facture:</target>
    9. Updated the same for all fields and finally import the updated translation file.
    10. But When i run report , output display in English not in French.
    Please any one can help, what should in do next to print in French Language.
    Thanks,
    Sunil Mane
    Edited by: 973411 on Nov 30, 2012 6:56 AM

    Are you selecting the Template at the time of Program submission?
    Check in the Options while submitting the Program

  • Printing XML report (with report.xsl stylesheet) shows font colors, but not table highlight colors

    I am trying to print the XML report generated by TestStand to a PDF in order to archive it.  When the XML report is rendered in Internet Explorer, everything looks fine -- Sequence names are highlighted in teal, Pass is in green, Fail is highlighted in red.
    However, when I print this page to a PDF (using BullZip PDF printer, or even the XPS printer), all of the table highlighting is gone.  The UUT Result in the header is red or green font color depending on the pass/fail state, but sequence names and any formatting applied to tables within the body of the report have no highlighting.
    Is the stylesheet altering what is rendered when the XML file is printed?
    This is the output when viewed in IE 
    This is the output when viewed as a PDF printed from the same file viewed in IE.
    Thank you,
    Matt
    Solved!
    Go to Solution.

    Hey Matt,
    This is actually because of a default setting in Internet Explorer to not print background colors on webpages. To change it, simply go to the Page Setup screen (on IE9, you click the gear icon, then Print > Page Setup) and select the option to print background images and colors. After doing this, the printed report should contain the colors you see on your screen.
    Daniel E.
    TestStand Product Support Engineer
    National Instruments

  • Issue with XML report printing on R12 instance

    Hi,
    I'm facing issue with printing xml reports on R12 instance and followed the note (How To Print XML Publisher PDF Reports Via The Concurrent Manager:metalink id:338990.1) and configured the pasta printer,still printer output is showing the junk charcters.
    Please let me know how to resolve the issue?.

    Hi Hussien,
    We are on 12.1.1 / 11g with AL32UTF8 character set, we have custom reports developed in BI publisher and some some migrated reported from earlier version.
    Both BI publisher based custom like PO/Invoice/Cheque Print & seeded reports like "Active users/responsibilites" are being generated successfuly in pdf output. when copied to desktop and printed it prints properly. But when trying to direct output to printer from concurrent request it is printng junk.
    I checked pasta configuration, all required ghostscripts tools are on the AIX box, am I missing anything in R12?
    Regards

  • Special character printing in xml reports

    Hello,
    When i am trying to print euro symbol in xml report, i am getting some '?' symbol instead of euro symbol.
    Need your suggestion here what extra tags we need to use for the same.
    I have designed rtf file and inserted euro symbol using word doc.
    Thanks,
    Amar

    In Report properties at XML prolog Value field change to below code:
    <?xml version="1.0" encoding="windows-1252"?>
    or try like below
    copy contents to BI Publisher Desktop\Template Builder for Word\fonts in your <oracle_home>\lib\fonts
    Regards,
    Ajay Reddy
    Edited by: user13259014 on Feb 23, 2011 12:06 PM

  • XML report Duplex Printing

    How to print XML report pdf output print both side on paper?

    I'd like you to make sure that you are using CR version 12.2.3.456. To get to this version, you need to apply SP 2:
    https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
    and then FP2.3:
    https://smpdl.sap-ag.de/~sapidp/012002523100015892592009E/cr2008v1_sp2fp23.exe
    Let me know if that helps.
    Ludek

  • XML Reports completes in warning

    Hi gurus,
    I am having trouble our developer have made XML report and registered it when he is running the concurrent request is completing in warning (yellow color) and no output is generate and below is the log file for the concurrent request.
    we never had any XML report in our environment this is the first time so do we need to do any setup for XML reports to generate fine ?
    also where is OPP service log files location ?
    Thanks
    Regards,
    HASSAN
    General Ledger: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    GLTS module: GL_TRIAL BALANCE ACCOUNT WISE SUMMARY
    Current system time is 22-OCT-2011 12:20:40
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    p_set_of_books_id='1001'
    P_CHART_OF_ACCOUNTS_ID='30008'
    p_company='001'
    COMP2='001'
    p_project='1101'
    p_project_to='1101'
    p_period='200612'
    p_period_to='201112'
    Forcing NLS_NUMERIC_CHARACTERS to: '.,' for XDO processing
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    Enter Password:
    Report Builder: Release 10.1.2.3.0 - Production on Sat Oct 22 12:20:42 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 785118 on node TEST at 22-OCT-2011 12:20:57.
    Post-processing of request 785118 failed at 22-OCT-2011 12:20:58 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    ------------- 2) PRINT   -------------
    Not printing the output of this request because post-processing failed.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 22-OCT-2011 12:20:58
    ---------------------------------------------------------------------------

    hassanksa wrote:
    the desktop version of xml pub which our developer used for report development was not compatible with our apps
    then i recommended developer with the correct version once he used the right one the reports worked fineThanks for the update and for sharing the solution!
    Hussein

  • Problem calling XML Report Publisher from Oracle Reports

    Hi,
    I'm facing a problem in calling XML Report Publisher from Oracle Reports.
    Basically, I'm trying to customise Dunning Letter program. The program which is submitted calls another program. I have customised the second program and added a call to a stored procedure which in turn calls XML Report Publisher.I have created a template and attached it to the second program as well.
    The procedure code is as follows.
    v_request_id := FND_REQUEST.SUBMIT_REQUEST(application => 'AR'
    ,program => 'ARDLP_NON_SRS'
    ,description => 'Dunning Letter Print from Dunning Letter Generate'
    ,sub_request => FALSE
    l_status := fnd_concurrent.WAIT_FOR_REQUEST
    ( REQUEST_ID => v_request_id,
    INTERVAL => 15,
    MAX_WAIT => 180,
    PHASE => l_phase,
    STATUS => l_status_code,
    DEV_PHASE => l_dev_phase,
    DEV_STATUS => l_dev_status,
    MESSAGE => l_message );
    v_xml_req_id := FND_REQUEST.submit_request(application => 'XDO',
    program => 'XDOREPPB',
              argument1 => v_request_id,
    argument2 => 'FLS DE AR Dunning Letter Print - German',
    argument3 => 603, -- changed 665 -- was 551,
    argument4     => NULL,
    argument5 => 'N',
    argument6     => 'RTF',
              argument7     => 'PDF');
    Now, there are two problems I'm facing...
    1. when the second program('Dunning Letter Print from Dunning Letter Generate') gets called it executes this procedure ... logically the 'Dunning Letter Print from Dunning Letter Generate' should get called twice ... second time from the procedure. Its getting called multiple times .. as many as 15 - 20 times.
    2. The Xml Report Publisher program ultimately gets called but its erroring out with the following error:
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.DS_APP_SHORT_NAME DS_APP_SHORT_NAME, B.DATA_SOURCE_CODE DATA_SOURCE_CODE, L.LOB_TYPE LOB_TYPE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE (L.LOB_TYPE = 'TEMPLATE' OR L.LOB_TYPE = 'MLS_TEMPLATE') AND L.APPLICATION_SHORT_NAME= :1 AND L.LOB_CODE = :2 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :3 AND L.TERRITORY = :4 ) OR (L.LANGUAGE = :5 AND L.TERRITORY = :6) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
    I have checked from database that the XDO_LOBS/ XDO_TEMPLATES_B table has corresponding registration data.
    I don't know what's creating the problem.
    If anyone has customised the Dunning Letter program before or having any idea about this problem, please help me out ..
    Thanks

    satrajit,
    Now I am getting the same error you got, Can you please tell me the solution you found?.
    XML Report Publisher 5.0
    Updating request description
    Waiting for XML request
    Retrieving XML request information
    Preparing parameters
    Process template
    --XDOException
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE L.LOB_TYPE = :1 AND L.APPLICATION_SHORT_NAME= :2 AND L.LOB_CODE = :3 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :4 AND L.TERRITORY = :5 ) OR (L.LANGUAGE = :6 AND L.TERRITORY = :7) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.initStream(TemplateInputStream.java:309)
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.<init>(TemplateInputStream.java:187)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.getTemplateFile(TemplateHelper.java:776)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:1269)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:807)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)

  • Overide XML Report Publisher renaming?

    Anyone know if it is possible to prevent the XML Report Publisher report from renaming the concurrent request on completion. This makes it very difficult for users to understand what requests are, especially when they are automatically submitted from other concurrent programs.
    For example in EBS 11.5.10+ I have a dunning letter custom where the standard "Dunning Letter Print from Dunning Letter Generate" process submits the bursting program and 2 instances of XML Report Publisher, one for the printed dunning letters and one for the summary report. We could live with the bursting report name but both the XML Report Publisher instances complete with the same name! How is the user supposed to know what is what?
    Cheers,
    Dave

    Glad someone else thinks so!
    I can see the reason behind what it does and it's fine for manually submitted "XML Report Publisher" requests but when you get to submitting it from another concurrent program the renaming is a pain, especially if you are submitting multiple reports from the same request (e.g. detail and summary reports). Users just don't know what they are supposed to be looking at!
    Hopefully Tim will pick it up but I suspect it will have to be a future fix rather than something we can change right now. Roll on a new release for EBS!
    Cheers,
    Dave

  • XML Report Publisher program is erroring out

    Hi All,
    I've customized the AR Customer Statements.
    I've created a data definition as "ARXSGP" and uploded the sample_output.xml of Statement Generation Program to it. Also I've created a Data template as "ARXSGPO" and attached the data definition "ARXSGP" to it and uploaded the customized rtf file "XXHCC_CLE_F_ARCUSBALSL.rtf" and set the default output type to PDF.
    As I donot wish to call the XML Report Publisher program manually every time when I Print the Statements through Print Documents-->Statements.
    So I've done the below customization in ARXSGP.rdf file ie; Print Statements Report which is an Oracle Report.
    I've added the below code in After Report trigger.
    =======================================
    FUNCTION AfterReport
    RETURN BOOLEAN
    IS
    BEGIN
    Below code added for Customer Statement Case Study
    DECLARE
    l_req_id NUMBER := 0;
    L_XML_LAYOUT BOOLEAN := TRUE;
    BEGIN
    L_XML_LAYOUT := FND_REQUEST.ADD_LAYOUT (TEMPLATE_APPL_NAME => 'AR', TEMPLATE_CODE => 'ARXSGP', TEMPLATE_LANGUAGE => 'en', TEMPLATE_TERRITORY => 'US', OUTPUT_FORMAT => 'PDF');
    IF L_XML_LAYOUT THEN
    srw.message(20001, 'Template is picked ');
    srw.message(20002,'Concurrent request Id : '||:p_conc_request_id);
    l_req_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
    'XDOREPPB',
    NULL,
    NULL,
    FALSE,
    :p_conc_request_id,
    222, -- Receivables
    'ARXSGPO', -- Statement Generate
    'en-US', -- English
    'N',
    'RTF',
    'PDF');
    IF l_req_id > 0 THEN
    COMMIT;
    ELSE
    srw.message(20004, 'Failed to submit request');
    END IF;
    ELSE -- Not L_XML_LAYOUT
    srw.message(20005, 'Template is not picked ');
    END IF;
    END;
    --------------------Code Ends----------------------------
    SRW.USER_EXIT('FND SRWEXIT');
    RETURN (TRUE);
    END;
    ==============================================
    After Printing the Statements through Print Documents-->Statements
    Statement Generation Program is being called and later XML Report Publisher program is also being invoked.
    But the XML Report Publisher Program is erroring out with below error.
    XML Publisher: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XDOREPPB module: XML Report Publisher
    Current system time is 03-SEP-2012 17:42:18
    Oracle XML Publisher 5.6.3
    java.lang.NumberFormatException: For input string: "ARXSGPO"
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:447)
         at java.lang.Integer.parseInt(Integer.java:497)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:215)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Output file size:
    0
    ------------- 1) PUBLISH -------------
    Disabling requested Output Post Processing. Nothing to process. The output of the request is zero byte.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 03-SEP-2012 17:42:22
    Please help out with a solution.
    Thanks,
    Tech D

    for r12 add one row for parameter "Dummy for Data Security" from desc of XDOREPPB
    follow works for me
    SQL> set serveroutput on
    SQL>
    SQL> declare
      2    v_request_id   number;
      3  begin
      4 
      5   begin fnd_global.apps_initialize(0, 20419, 0); end;
      6   v_request_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
      7                                              'XDOREPPB',
      8                                              NULL,
      9                                              NULL,
    10                                              FALSE,
    11                                              'N', -- Dummy for Data Security
    12                                              9888637, -- Request
    13                                              0, -- Template Application
    14                                              'XXAND10_1', -- Template
    15                                              'en-US', -- Template Locale
    16                                              'N', -- Debug Flag
    17                                              'RTF', -- Template Type
    18                                              'RTF' -- Output Format
    19                                              );
    20 
    21    dbms_output.put_line(v_request_id);
    22    if v_request_id > 0 then
    23      dbms_output.put_line('successfully submitted.');
    24      commit;
    25    else
    26      dbms_output.put_line('not submitted.');
    27      rollback;
    28    end if;
    29 
    30  end;
    31  /
    9888651
    successfully submitted.
    PL/SQL procedure successfully completed
    SQL> 'Y' for "Dummy for Data Security" also works for me
    SQL> declare
      2    v_request_id   number;
      3  begin
      4 
      5   begin fnd_global.apps_initialize(0, 20419, 0); end;
      6   v_request_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
      7                                              'XDOREPPB',
      8                                              NULL,
      9                                              NULL,
    10                                              FALSE,
    11                                              'Y', -- Dummy for Data Security
    12                                              9888637, -- Request
    13                                              0, -- Template Application
    14                                              'XXAND10_1', -- Template
    15                                              'en-US', -- Template Locale
    16                                              'N', -- Debug Flag
    17                                              'RTF', -- Template Type
    18                                              'RTF' -- Output Format
    19                                              );
    20 
    21    dbms_output.put_line(v_request_id);
    22    if v_request_id > 0 then
    23      dbms_output.put_line('successfully submitted.');
    24      commit;
    25    else
    26      dbms_output.put_line('not submitted.');
    27      rollback;
    28    end if;
    29 
    30  end;
    31  /
    9888652
    successfully submitted.
    PL/SQL procedure successfully completed
    SQL>

  • Page number problem  in xml report

    hi all,
    I have created one xml report  for purchase order
    I want to print the page number and po number for each page ,
    to achieve this i have inserted at header section the page number as "1"
    but it is displaying for only 1 and 3rd and 5th pages and so on
    kindly help me on this 
    thanks for all in advance.

    >
    i have inserted at header section the page number as "1"
    >
    why?
    >
    but it is displaying for only 1 and 3rd and 5th pages and so on
    >
    of course
    use
    >
    Page numbering
    Insert page numbers into your final report by using the page numbering methods of your word processing application. For example, if you are using Microsoft Word:
    1. From the Insert menu, select Page Numbers...
    2. Select the Position, Alignment, and Format as desired.

Maybe you are looking for

  • How do i create a duplicate of an itunes song

    Hello, I'm spinning iTunes 10.5.2. I am attempting to create playlists of songs from concerts (mostly metal) that I had attended over the years and am having no problems creating the playlists. However, my troubleshooting issue is that I also want th

  • HT204161 email associated with two different Apple IDs keeps me from logging in

    It seems I have two different apple id accounts both associated with the same recovery email address. As I enter to "Manage My Apple ID" it tells me I need to verify my email address. Specifically, it says "A verification email was previously sent to

  • Lists JS question

    look at the side menu on this page http://www.houseoffraser.co.uk/tops+for+men/207,default,sc.html I am trying to recreate it, except i only want the sub items (the grey ones) to be displayed when the mouse moves over its headder catagory (IE the rel

  • Can ship to party be changed while creating delivery?

    Hi All,   I've created a delivery for a sales order using the fm "RV_DELIVERY_CREATE",while creating the delivery using this fm can i change the 'ship_to_party'?

  • Variable to track position in timeline

    Hi guys, I am trying to create a variable in Actionscript 2 that will record the position in the timeline, so Flash knows the user's last position on the timeline. The first line in the mc is: var portfoliostate; On frame 20 of the timeline, I have t