Compare and validate values between fields on different objetcs

The main problem we are having right now is that we need to define a business's rule that compares two amounts between two different objects (in our case, account and custom object 3) and do a subtraction in order to check if the money amount value of the client is over zero to cover accidents with his insurance policy can cover the 100% of the accident or less but we need to assure that the money amount value can´t exceed the available amount (Monto Disponible).
An example is:
Object Account
Available Amount: 450,00$
Object Custom Object
Accident's Amount: 600,00$
Payment Amount: 600,00$
In this example we can’t give authorization to the medical institution since the total billed amount exceeds the available amount.(The Payment Ammount > Available Ammount so there is no auth.)
Can you tell us if this possible?. Can we make arithmetic operations between fields of different objects?.

Dragosd,
You can take Bob's suggestion and create a Webapplet that then displays your report information as a related item. I have a document I can send you if you need information on how to do this.
regards
Alex

Similar Messages

  • Navigate between 2 reports and pass values between 2 different columns

    Hello
    I have a question about navigating from 1 report to another while passing the value from column 1 to column 2 in the second report...
    In OBIEE 11G, I create action link on report 1, column 1 and this action link is navigate to BI Content and the destination is report 2. Now report 2 has column 2, which is an alias of column 1 from report 1, from user's point of view they are the same, but from OBIEE point of view they are different.
    My action link is able to navigate to report 2, however, the value in column 1 which I clicked to execute the navigation, does not get passed to column 2 in report 2..
    Is there a way around this issue?
    Let me know if I need to provide more clarification
    Thanks

    Thank you Anirban
    I think this is the best solution you just provided.The current post and the post at below looks same
    Navigate from report to dashboard and  pass values between different column
    is it not answered?
    Thanks :)
    Edited by: Srini VEERAVALLI on May 7, 2013 3:07 PM

  • To find the date type fields in the row and validate those date fields

    TYPES : BEGIN OF TY_MARA,
              MATNR TYPE MARA-MATNR,
              ERSDA TYPE MARA-ERSDA,
              ERNAM TYPE MARA-ERNAM,
              LAEDA TYPE MARA-LAEDA,
              MTART TYPE MARA-MTART,
            END OF TY_MARA.
    DATA : it_mara TYPE STANDARD TABLE OF ty_mara,
          it_mara1 TYPE STANDARD TABLE OF ty_mara,
           wa_mara TYPE ty_mara.
    loop at it_mara into wa_mara.
      describe field wa_mara-ersda type c_data.
    if c_data eq 'D'.
      CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY'
        EXPORTING
          date                            = wa_mara-ersda
       EXCEPTIONS
         PLAUSIBILITY_CHECK_FAILED       = 1
         OTHERS                          = 2
      IF sy-subrc eq 0.
    wa_mara-ersda = '00000000'.
        append wa_mara to it_mara1.
        write :wa_mara-matnr,wa_mara-ersda.
        else.
            wa_mara-ersda = '00000000'.
        append wa_mara to it_mara1.
        write :wa_mara-matnr,wa_mara-ersda.
      ENDIF.
      endif.
      endloop.
    This issue regarding how to find the date type fields in the row and validate those date fields.If its not a valid date ,i have to assign initial value to that.
    I've tried that for single field using describe field.Please help me do that for all fields.

    Hi Sam,
     I believe we had discussed the same issue in the below thread. Can you please refer the below one?
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/d93e16ff-c123-4b36-b60b-60ccd34f6ca7/calculate-time-differences-in-infopath?forum=sharepointcustomizationprevious
    If it's not helping you please let us know
    Sekar - Our life is short, so help others to grow
    Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
    you see a reply being an answer to the question of the thread, click "Mark As Answer

  • Pass values between panels in different UI files

    Hi All,
    Is there a way to pass values between panels belonging to User Interface files ? Or is it easier to have one .uir and different .c and .h files ?
    Thanks,
    Kanu

    I should say that it's not possible for you to trap events from the first popup,and this depends on the basic concept of "popup panel".
    When you install a popup panel, all user interaction with existing panels is excluded: all focus it aimed at the popup only, no other user interface event is generated. If you launch another popup from the first one, the second popup prevails over the first one and no event can be generated on the first panel until the second one is closed.
    Handling a chain of two popup panels while looping on GetUserEvent can lead to unpredictable situation not so easy to untangle.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Pass values between fields

    Hi, Can anyone tell me how can I pass values between two fields. I have a combobox feild in edit.uix and I want to pass this value to a text field in browse.uix. Can anyone tell me how can I do it.
    Thanks

    add a second form in your jsp.
    and put this hidden field in it.
    and post this new form.

  • Validate value not field

    Hi,
    I want to validate value, but my code is validating field.
    AUTHORITY-CHECK OBJECT 'Zmat'
               ID 'MSTAE' FIELD 'YMSTAE'
                 ID 'YMSTAE' FIELD 'AA'
                ID 'ACTVT' FIELD '01'.
    Any answers.

    hi,
    for validating value you need to use AT selection-screen on filed.
    to validate whether the user is authorised to enter a value into the field we need the above code u gave.
    hope it works.
    thanks

  • Adding New Field and Passing Values Between Screens

    In the Oracle Projects Create Project screen, I've been asked to add a new LOV for Organization (LOV copied from a subsequent page) - and then pass the selected value to the next page and default in the value based on the selection on the first page.
    I understand I'll be modifying the first page's XML to add the new LOV, but how can I get the second page to recognize the value selected on the first page? Do I need to pass this as a parameter?
    Thanks in advance for your help!

    Thanks - I understand that the CO should not be extended, and other posts in this forum mention that the AM should not be extended either.
    What is the recommended extension path in a scenario like the one I describe above (adding a field to a seeded page and trying to pass it to the second page)?
    Sorry for all the questions - I couldn't find this scenario described elsewhere in the forums!

  • Navigate from report to dashboard and  pass values between different column

    Hello
    I have a question about navigating from 1 report to a dashboard page while passing the value from column 1 to column 2 in the second report...
    In OBIEE 11G, I create action link on report 1, column 1 and this action link is navigate to BI Content and the destination is a dashboard page, which has column 2 used as dashboard prompt and there are 3 reports all use column 2 to filter. Now the column 2 in the dashboard page is an alias of column 1 from report 1, from user's point of view they are the same, but from OBIEE point of view they are different.
    My action link is able to navigate to dashboard, however, the value in column 1 which I clicked to execute the navigation, does not get passed to column 2 as the dashboard prompt doesn't get this value upon navigation..
    Since I can't put column 1 in dashboard 2 nor can I put column 2 in report 1. Because our data model is done in the way that if I use column 1 or column 2 in both places, it will be circular joins...
    Is there a way around this issue?
    Let me know if I need to provide more clarification
    Thanks

    Sid
    Here is the thing..
    Let's say we have Dimension 1, dimension 2 and fact 1 and fact 2
    In one report, you need to show Dimension 2 and fact 1 so Dimension 2 joins to fact 1.
    In some other cases, you need to shown dimension 1 and fact 2 stuffs, but dimension 1 can't get to fact 2 without going through dimension 2. So Dim 1 --> Dim 2 --> Fact 2
    Then in some other cases, you need to show Dim 1 and Fact 1 reports..
    In means, your model will look at:
    Dim1 --> DIm2 and Dim 1 --> Fact 1 and Dim 2 --> Fact 1.. This is just a simpler version of a much more complex model that I am dealing with now..
    So in this case, you can't just use Dim 1 attributes across the board. For some dashboards, you will have to create alias of Dim 1, call it A1_Dim1, un-join Dim1 with Dim 2 or to fact 1 to avoid circular joins... Then in different reports, you either use columns from Dim 1 or A1_Dim1..
    Now Dim1 and A1_DIM1 are really the same thing, but they are not according to OBIEE...
    So my problem is, in report 1 where Dim1 is used, it can't past values to Dashboard 2 where A1_DIM1 is used as dashboard prompt..
    I want to know if there is a way around this issue
    Hope this makes more sense now
    Thanks

  • Compare and test values in two tables

    hi everbody, I use oracle 10g
    I have a table for large itemsets called L shown below with values
    ITEMS CODE
    b 1
    c 2
    d 3
    e 4
    d:e 5
    b:c 6
    I generate all candidate combinations firstly 2-sequences for in code field values for that I use below code
    select ltrim(replace(sys_connect_by_path(code,','),',',':'),':') comb,level
    from L
    where level > 1
    connect by level =2 ;
    some candidate examles generated above code shown belown ( i interest only comb results values )
    comb
    1:1
    1:2
    1:3
    1:4
    1:5
    1:6
    2:1
    2:2
    6:1
    6:6
    I have another table called T2 shown below with some values
    TID     ITEM     CID     T_DATE
    1     b     1     05.05.1999
    1     c     1     05.05.1999
    2     e     1     17.05.1999
    3     d     2     13.05.1999
    4     b     2     19.05.1999
    4     c     2     19.05.1999
    5     d     2     21.05.1999
    6     a     3     07.05.1999
    6     b     3     07.05.1999
    7     d     3     15.05.1999
    7     e     3     15.05.1999
    8     b     4     11.05.1999
    8     c     4     11.05.1999
    9     c     4     16.05.1999
    now I want to test every items belong to candidate code generated above with item values of T2 table
    in test table T2 is grouped by CID and T_DATE. I want to compare items belong to current code with item of T2 table. if first item(s) in candidate combination is found in T2 table , second item(s) must be found too if there is. but this first and second item(s) together must be found same CID but at different T_DATE belong to that CID. if found, this candidate okey for me.for example we take candidate 3:1. items are d ( code 3 ) and b ( code 1 ) respectively. first item d is searched for CID = 1, it is not found. now we search item d for CID = 2 again , yes it is found in TID=3 row then we look another item b for CID=2 but item b must be found after d row for same CID and at different T_DATE. yes item d is found too for CID=2 after b item at different T_DATE in TID=4 row. that is we wants, is customer ( for example CID 2) buy item b after buying item d same customer at another time as sequence. second example may be candidate 5:6. is customer buy items b and c together ( for code 6) after at another time buying items d and e ( code 5 ) together by same customer
    NOTE : I use code field sequence values for pointer of items. items may be used directly on generating candidate process and used comparing process with T2 table
    thanks for smart idea....

    In addition I would suggest you read this:
    http://forums.oracle.com/forums/help.jspa
    and learn to use the tags to format the parts of the post that belong in fixed format.                                                                                                                                                                                                                                                                                                                                                                       

  • Pass values between views of different window

    Hello Experts,
    I am a newbie in ABAP Webdynpro. I have 2 views in 2 different windows. I want to pass values calculated from one view to the other view. But i cannot connect the views.
    If the views were within the same window, I could connect them using inbound and oubound plugs with parameters. However in this case i am unable to establish the navigation link between these 2 views.
    Has anyone of you experts come across such kind of requirement? If so, can you please guide how to connect the 2 views?
    Thanks and regards,
    Nitish.

    Everyone,
    I was finally able to connect the 2 views by using the component controller.
    I created an attribute on the context of the component controller and read/set of the attribute of component controller on the button click event.
    To access the attribute of the component controller, please find below a code snippet which was useful to me:
    Data declaration for accessing the component controller
    DATA:
           lo_component     type REF TO if_wd_component,
           lo_context       type REF TO if_wd_context,
           lo_controller    type REF TO if_wd_controller,
           lo_node          type ref to if_wd_context_node,
           lo_child         type REF TO  if_wd_context_node.
    DATA lo_el_test_depts  TYPE REF TO if_wd_context_element.
    get component controller API
      lo_component = wd_comp_controller->wd_get_api( ).
      lo_controller ?= lo_component.
    accessing the context of the component controller
      CALL METHOD lo_controller->get_context
       RECEIVING
       context =  lo_context.
    lo_context is the required context, from here we can manipulate its components
    get to the root node in context of component controller
      lo_node = lo_context->root_node.
    using lo_node i was able to  read and write to the attribute i created in component controller.
    Thank you all for your help.
    Nitish.
    Edited by: Nitu_0105 on Apr 8, 2011 3:29 PM

  • Moving Values to fields of different data types- Conversion

    I'm having trouble figuring out how to move a value from a field of a <b>char type</b> to a field of <b>structure RSDSSELOPT</b> type in a different itab.
    I'll show you what I have so far.
    DATA: BEGIN OF ITABAPI OCCURS 0,
          SEARCHFLD LIKE ZDOLTARC03-SEARCHFLD,
          VALUE LIKE ZDOLTARC03-VALUE,
          END OF ITABAPI.
    DATA: BEGIN OF ITAB_GO occurs 0,
             FIELDNAME LIKE RSDSTABS-PRIM_FNAME,
             SELOPT_T TYPE RSDS_SELOPT_T,
          END OF ITAB_GO.
      LOOP AT ITABAPI.
         MOVE: ITABAPI-SEARCHFLD TO ITAB_GO-FIELDNAME,
               <b>ITABAPI-VALUE TO ITAB_GO-SELOPT_T.</b>
         APPEND ITAB_GO.
      ENDLOOP.
    As an alternative I tried feeding the value into ITAB_GO-selopt_t-low, but breaking down the structure that far may be beyond the capabilities of the processor.
    If anyone knows a way to feed a char value into the structure field please help.
    N L

    Hi Natasha,
    my advice is: don't try to do it in just step. Instead,
    DATA: LT_RANGE TYPE TABLE OF RSDSSELOPT WITH HEADER LINE.
    LOOP AT ITABAPI.
       MOVE: ITABAPI-SEARCHFLD TO ITAB_GO-FIELDNAME.
       CLEAR: LT_RANGE.
       REFRESH: LT_RANGE.
       LT_RANGE-SIGN = 'I'.
       LT_RANGE-OPTION = 'EQ'.
       LT_RANGE-LOW = ITABAPI-VALUE.
       APPEND LT_RANGE.
       ITAB_GO-SELOPT_T[] = LT_RANGE[].  
       APPEND ITAB_GO.
    ENDLOOP.
    Pls let us know if it helped. BR,
    Alvaro

  • How to get key and text value of field "TNDRST" in VTTK from R/3 into BI

    There is one field call "TNDRST(Tender Status)" in SAP table VTTK in R/3. We can find  key value, but we are unable to find text for this field in VTTK. However we can see text value if we double click domain:TNDRST and go to value range.
    Questions, how to get key value and text of TNDRST together in BI. Do we need to create a master data source for TNDRST text information in R/3 and extracting into BI, if yes, how to? Are there any easy way to do it??
    Thanks,
    Sudree

    Hi Sudree,
    You need to create a generic Text Datasource to extract this information into BI System.
    1. Create a generic DS based on Table: DD07T
    2. The fields should be put in the extract structure.
              DOMNAME (Make this as Selection in the DS ) -
    Filter the Domain Name
              DOMVALUE_L -
    Key Value of Tender Status
              DDTEXT -
    Text / Description
              DDLANGUAGE -
    Language
    3. DD07T is the table with all the Domain names & their values, so in the Infopackage enter the Selection Value for DOMNAME as 'TNDRST' and then run it.
    Or you can create a view out of this table based on DOMNAME filter as 'TNDRST'.
    Regards,
    Chathia.

  • How to call one Main MXML from another main MXML file and pass values between them?

    Hi,
    I am trying to populate a datagrid from a XML file ,which I have done successful
    I am able to get data out of the datagrid on clicking on any element
    Now when I click on any element in datagrid I want call a new mxml file which is also have Aplication tag and I want to pass that value of clicked element to it
    This is the code I am using for getting data from XML into data grid in 1st MXML file and the XML file used.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:s="library://ns.adobe.com/flex/spark"
                     xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"  initialize="exp.send()">
         <fx:Declarations>
             <s:HTTPService id="exp" url="expLab1.xml" result="
    resultHandlerQuestionBar(event)"/>
         </fx:Declarations>
         <s:Panel x="74" y="218" width="485" height="333" title="Work On Configured Experiments" id="p1" fontSize="14" chromeColor="#9BFDAB" dropShadowVisible="false" contentBackgroundColor="#E4EEE6" contentBackgroundAlpha="1.0" backgroundColor="#67B6AC" textAlign="left">
              <mx:DataGrid  x="35" y="33" width="338" height="88" dataProvider="{experimentdetails}" chromeColor="#FCFCFC" contentBackgroundColor="#FFFFFF" selectionColor="#FAFBFD" rollOverColor="#FCFDFF" focusColor="#FCFDFD" itemClick="onItemClick( event );">
                  <mx:columns>
                     <mx:DataGridColumn id="j1" dataField="experimentName" headerText="" itemRenderer="jaya">
                     </mx:DataGridColumn>
                  </mx:columns>
             </mx:DataGrid>
         </s:Panel>
         <fx:Script>
             <![CDATA[
                 import mx.collections.ArrayCollection;
                 import mx.controls.Alert;
                  import mx.events.FlexEvent;
                 import mx.events.ListEvent;
                 import mx.rpc.events.ResultEvent;
                 [Bindable]
                 private var workbenchname:ArrayCollection;
                  //private var a:String;
                 private function resultHandlerQuestionBar(event:ResultEvent):void
                    experimentdetails=event.result.List.experimentList.experiment;  
                 [Bindable]
                 private var experimentdetails:ArrayCollection;
                  private var alert:Alert;
    private var data:String;
                 private function onItemClick( e:ListEvent ):void {
       data= experimentdetails.getItemAt(e.rowIndex).experimentName.toString();
                    alert=Alert.show(experimentdetails.getItemAt(e.rowIndex).experimentName.toString());
             ]]>
         </fx:Script>
    </s:Application>
    and the xml file is:
    <?xml version="1.0" encoding="UTF-8"?>
    <List>
       <workbench>Basic Movement</workbench>
         <experimentList>
           <experiment>
             <experimentName>Distance with varying time</experimentName>
             <Rating>2</Rating>
             <expNO>1</expNO>
           </experiment>
           <experiment>
             <experimentName>Distance with Constant time</experimentName>
             <Rating>1</Rating>
             <expNO>2</expNO>
           </experiment>
           <experiment>
             <experimentName>Time taken while decelerating</experimentName>
             <Rating>3</Rating>
             <expNO>3</expNO>
           </experiment>
          </experimentList> 
    </List>
    Now the code for 2nd MXML is as follows
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                         xmlns:s="library://ns.adobe.com/flex/spark"
                         xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
          <fx:Declarations>
                <!-- Place non-visual elements (e.g., services, value objects) here -->
          </fx:Declarations>
          <s:Label text="lable1" >
          </s:Label>
    </s:Application>

    Check out ExternalInterface class:
    http://livedocs.adobe.com/flex/3/html/help.html?content=passingarguments_2.html
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance - Flex 2 and 3 ACE certified
    www.ChikaraDev.com
    Flex Training and Support Services

  • Pressing on Tab marks a field and not moves between fields

    Hi,
    I have an MVC app with some fields on the screen.
    The issue is that when I press the TAB key the data in the field is marked and the marker does not move to the next field.
    I had the same page in a not MVC BSP and I did not have this issue.
    This is in Firefox.
    Any clues?
    thanks,
    Itay

    Hi Raja,
    Thanks for your help but that is not the solution for my problem.
    I found the error, I had a field and a text for it and while doing some mass changes I put the model field reference in the text description by mistake.
    After I removed it, the tab is working good again and the cursor is moving among all other fields.
    Thanks,
    Itay

  • Reduce field size and space between fields

    Is there any trick to reduce the size of a field more than "normal" and the space between fields?
    I'm creating a form that looks like at table of 5 rows and 8 columns.
    Some of the fields is with list function, and they in special take more space than other fields.
    When changing the form layout in the web browser I could move the "listfields" to different places and suddenly I can for example reduce them from 124 to 114 that is the smallest I have seen them. Also if try to reduce the same field later it just pops up from 114 to 139.
    The space between fields is also annoying large when I try to keep this form as small as possible.
    Why am I asking for this?
    I know I can increase the size of the form, but I want it as small as possible for the smartphones.
    The "listfields only contains number from 1 to 9, so they can be very small.

    Hi,
    We currently have minimum widths defined for each field type. It shouldn't be possible to reduce the size of a field below that minimum width. If possible, could you please share your form with me ([email protected]) to allow me to investigate the behavior that you are seeing with your "listfields"? Also, could you describe how you were moving fields when you saw the field width reduce from 124px to 114px?
    Instructions for sharing a form can be found here - http://forums.adobe.com/docs/DOC-2462.
    Currently the spacing between fields cannot be modified.
    Regards,
    Brian

Maybe you are looking for

  • Error during deploying the java patches.

    Hi gurus. error during deploying   jtechf patch.through SDM.when deploying SQL TRACE the probelm occured.

  • How do I view hidden media files on iPad Air?

    I recorded some interviews on a third-party app (Voice Recorder Pro) that I need to edit. I tried email the file to myself  from the app so I could access the .m4a file, but I got an error saying I need to download it from iTunes.  I cannot figure ou

  • Help make this work in as 3.0

    why am i getting this error? how do i fix it? im following a flash 8 tutorial and im using cs3 this is the only main problem I have come across so far please help me convert this so it works in as 3.0 Warning: 1090: Migration issue: The onRollOver ev

  • Can't change constraints for TextField

    Hi all, I am working on midlet and I need the following functionality at one form. On that form there are ChoiseGroup and TextField. Depends on choosen item in ChoiceGroup the TextField should become editable or uneditable. All works fine until TextF

  • As a TCS4 subscriber since Oct. 2012 I am entitled to an upgrade to Acrobat XI, no?

    Hi. I'm a TCS4 subscriber since October 2012. I was told when I subscribed that I'd be eligible for an upgrade to the upcoming Acrobat 11, but it never happened. Currently I have Acrobat X Pro installed. How do I go about obtaining my upgrade to Acro