Question about changing states

I have a component based on a skinnableContainer that is hidden in stateA and visible in stateB. The problem is when the container is hidden in stateB the components within the container are still visible. Is there a way to hide the container and all its components? FYI the states are defined at the component level.
thanks

Here is the sample code, I removed unrelated code.
Custom component cod
<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
         xmlns:s="library://ns.adobe.com/flex/spark"
         xmlns:mx="library://ns.adobe.com/flex/mx"
         xmlns:components="components.*"
         width="100%" height="100%" creationComplete="group1_creationCompleteHandler(event)">
    <s:states>
        <s:State name="State1"/>
        <s:State name="viewSearch"/>
        <s:State name="viewCart"/>
    </s:states>
    <s:transitions>
        <s:Transition fromState="*" toState="viewCart">
            <s:Parallel>
                <s:Resize target="{productSearchContainer}" duration="500" />
                <s:Resize target="{cartContainer}" duration="500" /> 
            </s:Parallel>
        </s:Transition>
        <s:Transition fromState="*" toState="viewSearch">
            <s:Parallel>
                <s:Resize target="{productSearchContainer}" duration="500" />
                <s:Resize target="{cartContainer}" duration="500" />
            </s:Parallel>          
        </s:Transition>  
    </s:transitions>
    <fx:Declarations>
    </fx:Declarations>
    <s:layout>
        <s:HorizontalLayout paddingLeft="10" paddingTop="20" paddingRight="10" gap="5"/>
    </s:layout> 
    <components:ProductSearchContainer id="productSearchContainer" width.viewCart="0" width.viewSearch="200"/>
    <components:CartContainer id="cartContainer" width.viewCart="200" width.viewSearch="0"
                              width.State1="0" alpha.viewSearch="0" alpha.viewCart="1"/>
</s:Group>
CartContainer code:
<?xml version="1.0" encoding="utf-8"?>
<s:SkinnableContainer xmlns:fx="http://ns.adobe.com/mxml/2009"
                      xmlns:s="library://ns.adobe.com/flex/spark"
                      xmlns:mx="library://ns.adobe.com/flex/mx"
                      xmlns:components="components.*"
                      width="{fixedWidth}" height="100%">
    <s:layout>
        <s:VerticalLayout paddingBottom="0" paddingLeft="5" paddingRight="10" paddingTop="10"/>
    </s:layout>
    <s:Label id="title" text="Your Shopping Cart" styleName="standardBoldText"/>
    <s:List id="cartList" width="100%" height="100%" dropEnabled="true"
            dataProvider="{acCart}" itemRenderer="renderers.CartRenderer"/>
    <mx:Spacer height="10"/>
    <!--<s:HGroup horizontalAlign="right" width="100%">
        <s:Label text="Total:"/>
        <mx:Spacer width="10"/>
        <s:Label text="zzzzz"/>
    </s:HGroup>
    <s:HGroup horizontalAlign="right" width="100%">
        <s:Label text="Shipping:"/>
        <mx:Spacer width="10"/>
        <s:Label text="zzzzz"/>
    </s:HGroup>-->
    <s:HGroup horizontalAlign="right" width="100%">
        <s:Label text="Grand Total:" styleName="standardBoldText"/>
        <mx:Spacer width="10"/>
        <s:Label text="{usdFormatter.format(total)}" styleName="standardBoldText"/>
    </s:HGroup>
    <s:HGroup horizontalAlign="right" width="100%">
        <s:Button label="Submit Order"/>
    </s:HGroup>
</s:SkinnableContainer>

Similar Messages

  • Question about delete statement

    I have question about delete statement...
    i am performing some simple delete statement against one table..but its taking so long..How can we check whether particular delete statements actually deleting records or not..?

    Is the associated select-statement returning rows or not?
    If yes -> delete is deleting
    If no -> delete is just using CPU-cycles
    To tune the delete-statement, you have to tune the corresponding select-statement. To tune the select-statement, you want to read the thread When your query takes too long ...

  • Question about changing a Snow Leopard Server network settings

    We have an Xserve running Mac OS X Server 10.6.8, the primary services running on it are afp, smb, dhcp, dns, jabber and the calendar sever.
    Right now we have a router connecting two networks together, 192.168.0.0/24 and 192.168.1.0/24. The Xserve has a static IP address in the 192.168.0.0/24 range.
    In order to combine two phone systems into one I am required to combine the above networks, this will involve removing the router and changing the subnet mask on every device from 255.255.255.0 to 255.255.254.0, any device that is currently part of the 192.168.1.0/24 network will also need to have it's router setting changed from 192.168.1.1 to 192.168.0.1. That part should all be easy.
    However, this is my first experience expanding a network past a standard class C and am wondering if there is anything I need to watch for on my Snow Leopard Sever.
    Specifically I wonder about dhcp settings, right now there are two dhcp servers, the Xserve which provides dhcp for 192.168.0.0/24 and the router that provides dhcp for 192.168.1.0/24. Once the router is removed the Xserve will need to provide dhcp for the entire network.
    Looking at the Xserve dhcp configuration right now I have one subnet defined providing addresses 192.168.0.5 to 192.168.0.125.
    Can I simply click the + to add another subnet and add for instance a range of 192.168.1.5 to 192.168.1.125?
    Will it simply give out all of the ip addresses in the first range and then start with the 2nd? Or do I need to find a single range of ip addresses large enough to meet my needs? (e.g. 192.168.1.5 to 192.168.1.225 or something).
    Is there anythign else to watch for after making this type of network setting change?
    Thanks in advance.

    Thank you for your very detailed reply.
    I understand the problems that can arise using 192.168.0.x and 192.168.1.x and if this were a new project I would definitely switch to something else, however in this case we have been using these ip ranges for years (they were in use here long before I started) and I don't want to have to redo all of my dns settings at the same time I make these other changes so I'm going to stick with the same ip's we are using at least for now. Anyone here needing vpn access has already dealt with this issue but we  have very few vpn users so it has not been a major problem for us to date.
    My biggest question is about increasing the size of the dhcp pool. For instance, after I change all the network settings and set up a /23 network is it possible to have a single dhcp pool that includes some ip's in the 192.168.0.x range and others in the 192.168.1.x range? I guess what I am asking is when I am in Server Admin and click on DHCP one of the tabs across the top is "Subnets". Right now there is a single "subnet" configured that provides addresses from 192.168.0.5 to 192.168.0.125.
    Ideally I would like one dhcp pool that provides ip's in the range of 192.168.0.5 to 192.168.0.125 and then if all of those are used up, moves to 192.168.1.5 to 192.168.1.125. Can I do that by simply adding another "Subnet"  so there are two? Or do I have to find one larger single range? (e.g. 192.168.1.5 to 192.168.1.225?) You may have already answered this indicating I have to have a single larger range but I just want to be sure.
    The parts about changing subnet masks, and routers and all that I think I have a pretty good understanding of.
    Your last paragraph is something I have been worried about, I do have a feeling that after making this change there will probably be unforseen issues that will need to be resolved, I'm just hoping it is not too many. For the scope of this thread I will just focus on issues that may arise with the Snow Leopard Server however.
    Again, thank you for your help.

  • Question about changing values of a total by selecting a check box.

    OK, so what I did was create a form for my workplace that totals the value an employee's quality of work. what i want this form to do is: In one cell the total is a 100 point value. In one column i have a markable checkbox and in the column next to that there is a point value for that particular category. what i want is to be able to check a box next to category and have the corresponding point value deducted from the "100" total. for example if I check the box next a value of 40, then the 100 becomes a 60 automatically. I am new to numbers, and any spreadsheet app for that matter so any help would be greatly appreciated.

    Tommyboy29 wrote:
    Another question about my last post: numbers will only let me add 2 to 3 cells in the formula to change the "total" number of 100. is there a way to add more then 3 cells? i have 9 cells total that i want to have the ability to subtract from that same total?
    There is no such limit in Numbers. I'm guessing that you ran out of room in the formula edit line in the Formula Bar.
    Grab the double line and pull it down to expand the edit area.
    Jerry

  • Question about 'write' statement

    Hi,
    A question on write statement.
    I have a internal table itab which has field var. I am looping at this itab and writing horizontal heading output like below.
    example on the output heading:
    (3 spaces) itab-var (20 spaces) itab-var (20 spaces) itab-var.
    the coding is:
    loop at itab.
    write: 3 itab-var.
    endloop.
    I want to increase the space by 20 for every loop. How to increase this 3 by 20? Can we accomplish this way?
    Thank you for your time.

    hi krishen,
    just add 20 inside the loop , so that after every loop its value increases by 20
    for example:
    data: v  type i.
    v=3.
    do 3 times.
    write: at v(20).
    v=v+20.
    end do.
    hope it will help you
    regards
    Rahul sharma
    Edited by: RAHUL SHARMA on Sep 4, 2008 7:47 AM

  • Question about changing ID3 images

    Hey everyone. I recently changed my podcast artwork. I use Powerpress, so changing the MAIN artwork was quite easy. So for this question, I am referencing only the individual art that is displayed with each individual episode.
    I know that for iTunes to recognize a change in episode artwork, that it cannot have the same name as the previous. The new artwork embedded does have a new name but is it the artwork that needs a different name, or the entire mp3 that needs a new name? Once artwork becomes embedded as ID3 I'm not sure if it loses its name altogether. So I need to know specifically what needs a new name for iTunes to update my episode art? Pic name or mp3 name?
    Thanks for your time!

    Thanks for the response Roger.
    So just to be clear, I have changed the images embedded in my MP3s. I then re-uploaded them to Libsyn using the replace function. So I now have MP3s with the exact same name as before, but with a new image embedded. Are you saying iTunes will see the image change in each episode even though the name of my MP3 is exactly the same?
    So far, iTunes has immediately updated my main podcast image but all my individual episodes still have the old image.
    You can probably see what I'm talking about by searching iTunes for Netflix Junkies. You'll see that 'episodes' has different artwork than 'podcasts' in the search results. Do I just need to wait it out? Or rename my mp3s?
    Keep in mind, there is another podcast with the same name no artwork. This is not my podcast but someone else's.
    Thanks again!

  • Beginner question about prepared statements...PLEASE help! :-)

    First let me say thanks for the assistance. This is probably really easy to do, but I'm new to JSP and can't seem to figure it out.
    I want to dynamically populate a table that shows whether a particular person has an appointment at a given date and time with a user. To do this, I want to query the MySQL database for the lastname of the person with the appointment that occurs with the user at the year, month, date, and time, in question.
    THE CODE BELOW DOESN'T WORK (obviously) BUT SOMEWHAT ILLUSTRATES WHAT I'M TRYING TO ACCOMPLISH:
    <%
    Driver DriverTestRecordSet = (Driver)Class.forName(MM_website_DRIVER).newInstance();
    Connection ConnTestRecordSet = DriverManager.getConnection(MM_website_STRING,MM_website_USERNAME,MM_website_PASSWORD);
    PreparedStatement StatementTestRecordSet = ConnTestRecordSet.prepareStatement("SELECT lastname FROM appts_pid1 WHERE user_id='<%=(((Recordset1_data = Recordset1.getObject(user_id))==null || Recordset1.wasNull())?"":Recordset1_data)%>' AND year='<%= yy %>' AND month='<%= months[mm] %>' AND date='<%= dates[dd] %>' AND appttime='16:15:00'");
    ResultSet TestRecordSet = StatementTestRecordSet.executeQuery();
    boolean TestRecordSet_isEmpty = !TestRecordSet.next();
    boolean TestRecordSet_hasData = !TestRecordSet_isEmpty;
    Object TestRecordSet_data;
    int TestRecordSet_numRows = 0;
    %>
    The real problem comes in the prepared statement portion. If I build the prepared statement with static values like below, EVERYTHING WORKS GREAT:
    PreparedStatement StatementTestRecordSet = ConnTestRecordSet.prepareStatement("SELECT lastname FROM appts_pid1 WHERE user_id='1' AND year='2002' AND month='October' AND date='31' AND appttime='16:15:00'");
    But when I try to use dynamic values, everything falls apart. It's not that the values aren't defined, I use the user_id, year <%= yy %>, month <%= months[mm] %>, etc. elsewhere on the page with no problems. It's just that I can't figure out how to use these dynamic values within the prepared statement.
    Thanks for reading this far and thanks in advance for the help!!!!

    Hi PhineasGage
    You are little bit wrong in your
    your preparedStatement.
    Expression tag within scriptlet tag is invalid.
    Whenever you are appending the statement with
    expression tag, append it with "+" and remove
    expression tag.
    Hopefully it will work
    ThanksThanks for the response!
    I know that the expression tag within scriptlet tag is invalid. I just need a workaround for what I want to do.
    I'm unclear what you mean by "Whenever you are appending the statement with expression tag, append it with a "+" and remove expression tag".
    Could you give an example?
    In the meantime, I've been trying to digest the docs on prepared statements and have changed the code to look like:
    PreparedStatement StatementTestRecordSet = ConnTestRecordSet.prepareStatement("SELECT lastname FROM appts_pid1 WHERE user_id= ? AND year= ? AND month= ? AND date= ? AND appttime='13:15:00'");
    StatementTestRecordSet.setInt(1,1);
    StatementTestRecordSet.setInt(2,2002);
    StatementTestRecordSet.setString(3,"October");
    StatementTestRecordSet.setInt(4,31);
    Again, WITH THE STATIC VALUES, THIS WORKS FINE...but when I try to use expressions or variables like below, things don't work:
    StatementTestRecordSet.setInt(2,<%= yy %>);
    Obviously, I'm doing something wrong, but there has to be a way to use variables within the prepared statement.
    ALSO, the values are being passed to this page via URL in the form:
    samplepage?user_id=1&year=2002&month=October&date=31
    Based upon this information, is there another way (outside of stored procedures in the db) to do what I want to do? I'm open to ideas.

  • A question About SUBMIT statement

    Hi,
    By SUBMIT statement, i can trigger another report. If the called report runs into dump, how can i detech/catch the dump in the calling report? I tested. It seems impossible to catch the dump. The calling report will also dump.
    My question is, if the called report runs into dump, how to detect the dump and avoid dump in calling report?
    Thanks in advance,
    Best Regards, Johnney.

    hi
    you can catch this kind of error or exeption from the respective report
    then pass this error or exeception to the calling report
    go through the  example I  am giving , ti have done it like this only  
    SUBMIT zgurep03 AND RETURN WITH SELECTION-TABLE li_seltab .
    then in the called reprot
    *Check ledger
      SELECT SINGLE * FROM t881 WHERE rldnr = p_rldnr.
      IF sy-subrc NE 0.
        SET CURSOR FIELD 'P_RLDNR'.
         MESSAGE e448 WITH p_rldnr
          MESSAGE e446 INTO lv_text .
          lv_type = 'E'.
    Capturing the error messages.
    EXPORT lv_text TO MEMORY ID 'TX'(004).
    EXPORT lv_type TO MEMORY ID 'TP'(005).
    in calling report
      IMPORT gv_type1 TO gv_type FROM MEMORY  ID 'TP'.
      IMPORT gv_text1 TO gv_text FROM MEMORY ID 'TX'.
    preparing error message in the callge report for the calling report
    PERFORM prepare_message
            USING sy-msgid
                  lv_msgno
                  lv_msgv1
                  lv_msgv2
                  lv_msgv3
                  lv_msgv4
            CHANGING gv_text.
    preparing  error message
    FORM prepare_message  USING    p_sy_msgid
                                   p_sy_msgno
                                   p_sy_msgv1
                                   p_sy_msgv2
                                   p_sy_msgv3
                                   p_sy_msgv4
                          CHANGING p_gv_text.
      CALL FUNCTION 'FORMAT_MESSAGE'
        EXPORTING
          id        = p_sy_msgid
          lang      = 'EN'
          no        = p_sy_msgno
          v1        = p_sy_msgv1
          v2        = p_sy_msgv2
          v3        = p_sy_msgv3
          v4        = p_sy_msgv4
        IMPORTING
          msg       = gv_text
        EXCEPTIONS
          not_found = 1
          OTHERS    = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    I guess this will solve your problem
    Regards
    Prashant

  • Question about changes in currentRow

    Dear Community,
    In Creator 2004Q4 data tables you can use the "currentRow" in value binding expressions as currentRow['column']. Now with Creator 2, one must use currentRow.value['column']. I would like to know what else has changed about this. Can any of you explain or point me to the appropiate tutorial/article about the currentRow concept?
    Thank you in advance.
    Antonio.

    As far as I can recall, nothing besides the notation
    has changed. Under the covers, currentRow is a
    temporary request attribute used when iterating the
    rows of a table. As such, it can be used in binding
    expressions. We changed the notation when we
    introduced data providers. The new notation ensures
    when evaluating an expression that what you want is
    the value for the current row and the specified field
    key. (To get the value, the data provider's getValue
    method will be called.)Thank you for your answer. I have a more specific question:
    I'm using arrays of DTO (Data Transport Objects) with Tables. Everything wasf fine until I've had to deal with a DTO with a nested class, ie:
    public class MyHelperDTO {
      private String name;
      public String getName() {
        return name;
      public void setName(String name) {
        this.name = name;
    public class MyDTO {
      private Long id;
      public Long getId() {
        return id;
      public void setId(Long id) {
        this.id = id;
      private MyHelperDTO helpDTO;
      public MyHelperDTO getHelpDTO() {
        return this.helpDTO;
      public void setHelpDTO(MyHelperDTO helpDTO) {
         this.helpDTO = helpDTO;
    }It is possible to access the properties of the inner DTO from a currentRow, ie. currentRow.value['helpDTO'].value['name']? I've actually solved in another way, but I'm still curious about it.
    Thank you in advance.
    Antonio.

  • Question about changing a file type into another file type

    Hello. This isnt a java question but you guys have been so helpful in the past I hope its ok if I ask this question for a friend.
    How can I import a scriptware file into Screenwriter 2000, or change a .scw file into a .tag file?
    Anyone who can help thanks.

    I know nothing about scriptware or Screenwriter. But, my only advice is to see if Scriptware can export some other file type (not necessarily a .scw file) that Screenwriter can read. Sometimes, when I have two text editors whose native formats are incompatible (like opening a paper typed in a new version of Microsoft Word using an old version of WordPerfect or something), I save the file as an RTF file, rather than in the native format. Maybe something like that applies to your situation, too.
    Hope that helps.
    Jason

  • Question about changing TimeCode of media clip

    Hello,
    The short I'm working on was shot in 35mm, 24fps. First of all, some info about the project:
    - One-light transfer to BetaSP PAL (the dailies were sped up by 4% to match PAL's framerate), with burned in TC and keycodes
    - Made a dupe of the dailies in DVCam PAL with slave codes so that the DVCam's address track matches the burned in TC
    - Captured each lab reel as one long media clip into FCP (8 reels in total)
    - Creat subclips for each scene and for sync'ing audio.
    Everything worked out fine except for 1 lab reel. During the DVCam dupe, the TC jumped by 1 frame half way into the reel. So in the last half of this reel, the address track is 1 frame off (comparing to the burned in TC). Luckily, the TC jump didn't occur during any important scene.
    Since making another DVCam dupe was not an option (long story about working in Asia), I thought of a way around this. I divided this reel into 2 sections at the point where the TC jump occured. I created an Auxiliary Code for the section with the 'bad' TC so that the Aux Code matches the burned in TC.
    Now the rough cut is done. I need to export an EDL to re-telecine the neg for full grading.
    My question: is it a bad idea to do an EDL with both regular TC and Aux Codes? Or should I just change the TC on the 'bad' reel ?
    Sorry for the length explanation. Thanks in advance.
    G5 2.3GHz Dual Core, 4.5GB RAM, 2 500GB drives   Mac OS X (10.4.4)   Powerbook G4 on OS 10.3.9
    G5 2.3GHz Dual Core, 4.5GB RAM, 2 500GB drives   Mac OS X (10.4.4)   Powerbook G4 on OS 10.3.9
    G5 2.3GHz Dual Core, 4.5GB RAM, 2 500GB drives   Mac OS X (10.4.4)   Powerbook G4 on OS 10.3.9

    You're probably fine using the Aux TC in your EDL.
    In that case, should I create Aux TC for the lab reels with the correct TC as well (with the Aux TC being the same as the address track? That way the EDL would only deal with just the Aux TC rather than a mixture of regular TC and Aux TC.
    you could make a new DVCam PAL from your
    captured footage (restoring the matching TC with the
    burned in TC) and then recapture the media you used
    from the fixed section.
    I don't have access to a deck that allows preset TC. Would it be the same if I just change the TC on the bad section? I know that typically it's not advisable to change TC in media clips. But in this case, it's just the dailies, not the final media.
    TD

  • Question about network statement in OSPF and BGP

    The network statements in OSPF and BGP can be used to advertise networks. But I'm not clear under what circumstances would make more sense to use network statements to advertise a network than by using other methods to have the network learned by other routers.
    Here is an example: assume I'm running BGP on router A. I want to advertise network 10.1.1.0/24 to other BGP peers. I have a OSPF route for this network. I can do 2 things: one is to use "network 10.1.1.0 mask 255.255.255.0", the other is to do "redistribute OSPF ... route-map OSPF-INTO-BGP", and create a prefix list to permit 10.1.1.0/24.
    Both would work to have this network learned by other BGP peers. But which is better for what purpose?
    Thanks a lot
    Gary

    Hi Gary,
    There is one little difference between the use of the two approaches - the route injected into BGP by using a network statement will carry an Origin attribute of IGP, whereas the route injected using redistribution will have an Origin attribute of Incomplete. Now, that is not a huge issue since you can always change that whatever value you desire both with the use of the network statement and redistribution. The important thing, however, is that in the BGP best path selection process, the Origin attribute comparison is fairly high up and will prefer a route with the attribute of IGP.
    Apart from that, there is absolutely no difference between using the network statement and using redistribution with a route-map that matches exactly on the same route that you would have specified with the network statement.
    I guess one advantage of using the redistribute approach is that it does not clutter up the BGP config. If you wish to add more routes, you simply add them to the prefix list so that you don't really touch the BGP config portion at all..
    Hope that helps - pls do remember to rate posts that help.
    Paresh

  • Question about call statement in trigger

    I faced a question in written exam.
    A CALL statement inside a trigger allow us to call
    a)package
    b)procedure
    c)function
    d)another trigger
    Can anyone give me answer with reason?
    I used CALL statement inside trigger but not allowing to use it. Might be earlier in oracle CALL statement we can use..its only a guess so I am asking in forum..
    plz guide me..
    rgds,
    pc

    You can use CALL in a trigger without resorting to EXECUTE IMMEDIATE
    SQL> create table t1 (
      2    col1 number
      3  );
    Table created.
    SQL> create procedure t1_proc
      2  as
      3  begin
      4    dbms_output.put_line( 'In T1_PROC' );
      5  end;
      6  /
    Procedure created.
    SQL> ed
    Wrote file afiedt.buf
      1  create trigger trg_t1
      2    before insert on t1
      3    for each row
      4* call t1_proc
      5  /
    Trigger created.
    SQL> set serveroutput on;
    SQL> insert into t1 values( 1 );
    In T1_PROC
    1 row created.I can't think of any reason that you'd actually intentionally structure your code this way in this day and age because it would be rather likely to cause confusion for whoever had to support this in the future. But it is valid syntax that probably made sense back in Oracle 5.
    Justin

  • Question about import statements

    Why is it that I must have the import statement on the
    same frame
    and same layer
    as the AS code that utilizes the Class that I am importing?
    At least that is how it appears.

    Because that is how it works.
    Remember, import doesn't actually "import" anything. It is
    just a shortcut so you don't have to type the whole package name
    every time you use the coded in your example.
    It is actually kind of nice when you come back to code later
    or if you open somebody else's code (that you have to update or
    change) and to see at the top, "Oh, this bit of code has a reliance
    on class blah.blah.Yadda." In a way it kind of helps enforce a bit
    of good coding practice.

  • Question about sql statement

    Hi expert,
    I have following sql statement, function 'hiroc_get_delta_amount1' and 'hiroc_get_delta_amount2' are separately used in select and where subclause. these two function are exactly same, except that there is a inserting log statement inside. for function 'hiroc_get_delta_amount1' , logs are supposed to write into log table1, whereas for function 'hiroc_get_delta_amount2' , logs are supposed to write into log table2. after running this sql, I got data loaded into log table2, however, there is no data loaded into log table1.
    could you please tell me why there is no data in log table2 for function
    1. sql statement;
    select
    pp.policy_premium_pk,
    pp.policy_fk,
    pp.policy_term_fk,
    pp.risk_fk,
    pp.coverage_fk,
    pp.transaction_log_fk,
    pp.coverage_component_code,
    hiroc_rpt_user.hiroc_get_delta_amount1(pp.policy_fk, pp.policy_term_fk, pp.risk_fk, pp.coverage_fk, pp.transaction_log_fk, pp.coverage_component_code),
    pp.rate_period_from_date
    from PRODBKUPDW_MART.rmv_policy_premium pp
    where pp.rate_period_type_code = 'TERM_COVG'
    and pp.coverage_component_code 'NETPREM'
    and hiroc_rpt_user.hiroc_get_delta_amount2(pp.policy_fk, pp.policy_term_fk, pp.risk_fk, pp.coverage_fk, pp.transaction_log_fk, pp.coverage_component_code) != 0
    group by pp.policy_premium_pk,
    pp.policy_premium_pk,
    pp.policy_fk,
    pp.policy_term_fk,
    pp.risk_fk,
    pp.coverage_fk,
    pp.transaction_log_fk,
    pp.coverage_component_code,
    pp.rate_period_from_date;
    2. log inserting statement used for both functions:
    (1) function 'hiroc_get_delta_amount1'
    insert into HIROC_RPT_USER.LOG_TEST1 values (v_start, sysdate,
    p_policy_fk,p_policy_term_history_fk,p_risk_fk,p_coverage_fk,p_transaction_log_fk,p_comp_code);
    COMMIT;
    (2) function 'HIROC_GET_DELTA_AMOUNT_1'
    insert into HIROC_RPT_USER.LOG_ZB_TEST_1 values (v_start, sysdate,
    p_policy_fk,p_policy_term_history_fk,p_risk_fk,p_coverage_fk,p_transaction_log_fk,p_comp_code);
    COMMIT;

    Are your functions using autonomous transactions?
    We also need more information about the log tables etc. as we cannot tell what the problem would be from just that query, and no data.

Maybe you are looking for

  • Keyboard and trackpad on macbook pro retina (13") not working sometimes

    Hi - not sure if everyone has had the same problem as well. For me, the keyboard and trackpad sometimes just don't work and when that happens, the bluetooth sign seems to be different (as attached here). Does someone know how to solve it? Much oblige

  • PDF with flash files

    i am trying to convert PPT files that have embedded flash videos to PDF format with ACROBAT 9 PRO -- but i'm running in to problems. ideally i would like to just open the PPT file in POWERPOINT, and use the "convert to Adobe PDF" menu command.  howev

  • Any menu exit or badi for tcode F110

    Dear all, My requirement is that whenever the user runs tcode F110, a flat file has to be generated with all the details from tcode F110. How can i do that? Should i change the std pgm or any menu exit or badi available. Plz help me in this regard.

  • Problems with email account

    Hello. I am having problems with my Mac email account. I think that by mistake I linked my account to Verizon.com email and now when I open my Macmail it gives me the following message: "There may be a problem with the mail server or network. Verify

  • P6-Unifier Integration q

    Has anyone been able to move following information from P6 to Unfier successfully? 1. Dependencies What Data Mapping do you use for dependencies?  Column   -> XML Element   ........in the Activity tab of the data mapping windows. 2. activity Planned