Multiple result to attribute values

We have a requirement where we find several rate amount of disk (c) for a given condition.

The conditions are the customer's name and Dates.

For a customer there can be several rate amount (c) drive there.

for example

Customer name Effective Date (c) drive amount perc
CUST-A 20% JAN - MAR
CUST-A 15% JAN - MAR
CUST-A 10% JAN - DEC
CUST - A MAR - DEC 5%


And this way there could be several disk (c) amount rate given the date of the transaction. If the transaction date is saying in February, then we have three disk (c) 20, 15% and 10%. If the transaction is in MARCH, and then we have four lines 20, 15, 10 and 5. It can be potentially be any number of disk (c) amount rate effective lines for a given date. We want to show all these lines of amount of disk (c) in the invoice lines.

How to model to make me any effective disk (c) amount lines?

If I use excel to model the rule
a. I'm not going to be able to compile if are repeated the same conditions. for example: -.
Customer name Effective Date (c) drive amount perc
CUST-A 20% JAN - MAR
CUST-A 15% JAN - MAR

b. also, the result would be only a single value.

c. I can't have several attributes of the conclusion in the form of columns because like that I'm limiting disk number place (c) there are design time.

Receive your answer.

-Sreeram.H

* strange spelling for disk (c) amount because of the spam filter set for the forum.

Wow this spam filter is ridiculous. Diskount it out then.

Rather than hardcode the diskounts in the rules, you can define an entity called "customer diskounts" with a separate instance for each diskount.

You can then add a condition to each diskounts that indicates whether this particular diskounts applies to the current assessment:

the customer diskounts is applicable if
...the customer name for the customer diskount = the customer name and
...the transaction date >= the customer diskount start date and
...the transaction date <= the customer diskount end date

You can then use the various functions of Instance * if() to perform all the calculations. For example, to summarize the diskounts you can use:

the transaction diskount = InstanceSumIf(the customer diskounts, the percentage of the customer diskount, the customer diskount is applicable)

Tags: Oracle Applications

Similar Questions

  • "Error 0xBFF69012 attribute value is out of range" for Point Grey Grasshopper2 GS2-GE-50S5M

    Try to get the camera above to work at MAX. Running on LabView 2010 SP1 with Vision Acquisition software August 2010.

    Errors illustrated: error 0xBFF69012 attribute value is out of range

    Camera works perfectly well on the supplied software advanced Grey. Point Grey Image Filter Driver installed. Turned off the Windows Firewall. Card (http://www.sonnettech.com/product/prestogigproec34.html) Ethernet supports Jumbo Frame.

    Read through the following measures without result:

    http://digital.NI.com/public.nsf/allkb/FCE7506A3AF7636C862576240072716D

    http://digital.NI.com/public.nsf/allkb/A0A1CE4704265BF2862578CA007A4CF8

    How will I know if there is a problem with the XML file?

    What are the possibilities that this device is not compatible with IMAQdx?

    Thank you.

    Problem solved in new firmware version 1.25.3 - 00.

    Contact Gray Point to this firmware.

  • change the way dynamic link attribute value

    Is it possible to dynamically change the link of a workflow attribute value, attaching it to a configuration specific vCO (attribute) based on a drop-down menu in the presentation of the workflow?

    I'm looking for an easy way to maintain a minimal set of workflows and configurations for the provision of the ESX hosts based on the environment.  I have a unique set of workflows that manage commissioning, and multiple configurations of vCO defined by ESX hosting environment (i.e. values by default attributes/for DNS, AD, IP settings for laboratory, test, prod, site1, site2, etc..).  I would like to be able to select a hosting environment configuration given in a drop-down list when I start the workflow, which would then set some attributes of workflow to the value of their corresponding configuration attributes.

    Any ideas, or is there a better approach?

    You can check the object 'Server' script, there is a method to access the ConfigurationElementCategory and from there, you can get your ConfigurationElement.
    So, you can use the solution above, Martin and in access to script Action ConfigurationElement.

  • extraction of intermediate with Server 10.2 determinations of attribute values

    I have a situation where we wrote a 10.2 modules to calculate an amount average by a factor of (among others) and deployed using the server of determinations, tested and have since moved.

    Now, we write a new service from 10.3 to accomplish the different features. We are requiring the 10.2 service factor and want to avoid storing the factor in both services. We would like to call the service 10.2 for the factor. However, we did not factor an attribute of objective/high level in 10.2 modules. Yes, we could crack open 10.2 service and modify it so that the factor is an exit, but then we have to a regression test that we all over again. Is it possible to change our SOAP request for modules of 10.2 and pull factor without altering the deployed modules? We know the public name for the factor we want.

    Thank you
    Phillip

    Yes, you should be able to get any desired attribute value by sending just under an attribute node additional without value, but with the result-style game.

    For a "specific": SACO service

    
    

    or "generic": service of ODS

    
    

    More information in http://docs.oracle.com/html/E24274_01/Content/Technical%20Reference/Get_Answers.htm assistance

    Concerning
    Andrew

  • UPDATE: link cfdiv to SWC have not multiple results

    Sorry guys, it seems that my code was not displayed correctly on my original message and therefore not arises.

    Please see below my question/problem. -Thanks!

    ---------------------------

    Hey guys,.

    Something strange is happening. I'm using CF8 and I have multiple records in a table, and they all appear very well with a table in a query cfoutput = "foo". However, I use cfdiv instead of enjoy the partial-page updates.

    So I lie my cfdiv to a cfc as well as when it is run, it displays only the first record. I had similar problems with the help of query cfoutput and divs in the past. Is there something about the div tags that don't allow not to display multiple results?

    Here is my code:

    < component cfinvoke = "services. PostService"method ="getPosts"returnvariable ="post">

    < name cfinvokeargument = "numberOfRows" value = "4" >

    < / cfinvoke >

    < cfoutput >

    < cfdiv bind = 'cfc:services. PostService.getPosts (4) ">"

    #post.description # < br / >

    < / cfdiv >

    < / cfoutput >

    Here's my component in case you need to look at:

    < cfproperty output = "no" >

    < cffunction = access "getPosts" name = "remote" >

    < cfargument "numberOfRows" type = name = "numeric" required = "yes" >

    < cfset var getPosts = "" > "".

    "< cfinclude template ="... / dal/qry_getPosts.cfm ">"

    < cfreturn getPosts >

    < / cffunction >

    < / cfproperty >

    Thanks for any help you can provide.

    Thank you

    Chris

    Well, here's what I see.

    You don't need to call the cfc at the beginning that your statement of bind is that invoking it for you and you don't need the #post.description # in the cfdiv.

    If you find yourself with

    Second, this is never returned by the cfc in function appears in the cfdiv. To return a query will not work here, you must have your function to process the request and return the actual code html to display.

    I hope this helps.

    Richard

  • UI Scripting - attribute value

    Is it possible to get an attribute value when UI scripting?

    Using accessibility Inspector, I see an accessibilityVisibleRows attribute in an AXOutline element, but I don't know how to get their hands on it.

    As a first step, try statements like those below, one at a time:

    say application "System events".

    say process of 'Finder '.

    attributes of Diagram 1 of ...

    the attributes name 1 of ... outline

    the attributes value contour 1 of ...

    value of attribute [attribute name] 1 of ... outline

    end say

    end say

  • How to display the different attribute value in the ToolTip of selectonechoice

    In the selectonechoice when hovering over the values in the drop-down list, it displays the same value in the ToolTip too. I want to see the value of another attribute in the ToolTip.

    For example if the list displays the name of the lov, ToolTip should show its description attribute value. I tried assigning a different value to shorDesc, but have no effect on the values of the ToolTip.

    selectonechoice_tooltip.jpg

    < af:selectOneChoice value = "#{row.bindings.TfesNdx.inputValue} '"

    label = "#{row." Bindings.TfesNdx.label}.

    required = "#{bindings." ATfes.hints.TfesNdx.mandatory}.

    shortDesc = "#{bindings." ATfes.hints.TfesNdx.tooltip}"/ / changed it to shortDesc =" #{row.bindings.Notes.inputValue} "does not yet "

    ID = "soc17" autoSubmit = "true" >

    < f: selectItems value = "#{row.bindings.TfesNdx.items} '"

    ID = "si17" / >

    < / af:selectOneChoice >

    PS: Using 11.1.1.7.0 version adf

    You probably need property shortDesc on af:selectItem http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_selectItem.html

    For example, you can use af:forEach to make your items to select like in this blog post: http://learnfrommike.blogspot.com/2013/11/adf-using-selectonechoice-in-afiterator.html

    Dario

  • executeQuery tent get/set a different attribute to a blob type attribute value

    Hi all

    I use the p9172975_R12_GENERIC patch file.

    I have a customized OPS page and he is required to include a few more fields to the page, among them the paid one is to facilitate the download and upload of a file.

    To achieve this upload of file, I use messagefileUpload point of style and I am able to successfully create the folder with the file that is being stored in the blob column.

    When I try to update the record, it gives the error below

    ""oracle.jbo.domain.DataCreationException: Houston-25009: failed to create an object of type: oracle.jbo.domain.BlobDomain with value: 81".

    Here the 81 value belongs to another attribute (a column of data type number). When I checked the table, attribute values are registered in their corresponding columns.

    The error occurs when vo.executeQurey is called.

    Could you help me with this problem?

    Thank you

    K. Kumar

    Hi Johny,

    After seeing your reply, I figured that it would be incompatible index attribute in the VORowImpl.java, but could not identify any incompatibility comes from the VORowImpl.java file.

    So, I deleted the original Version and it created again, to my surprise its works very well!

    Thanks for your help.

    See you soon

    K. Kumar

  • ADF | Retriving of popup lov attribute value

    Hello

    JDev: 11.1.1.6.0

    I'm trying to select a popup lov attribute value, as well as another attribute value must store them on the corresponding fields.

    EX: when I select point id pop-up window in the table

    table.PNG

    It displays popup and selecting a value of line to select the item id,

    search.PNG

    When I select the product id to the value of time even product category to category, product description value description of the category in the table.

    as below

    afterTable.PNG

    give me suggestions for values

    Concerning

    Is it comes to lov based model, then you can assign several attributes of lov to several attributes of your ViewObject (in the editor where you describe lov).

    Dario

  • How can I restrict a query to the right results where a value occurs more than once.

    I am trying to identify the data where a foreign key id appears several times for a report.   Usually, there is one line in the table, but sometimes there are several lines. I want only the line returned multiple results.  No matter where clause I think is illegal.

    Here's what I want:

    Select exempt_cert_id, count of tb_exempt_cert_zones (exempt_cert_id)

    where count (exempt_cert_id) > 1

    Exempt_cert_id group

    Try having count (*) > 1

    - -

    SELECT

    - -

    HTH - Mark D Powell.

  • Export xml attribute values

    Dear java expert,

    I was trying to export script attribute value to the .txt format. I have attached the screenshot for your reference.  Please me friends suggestion.

    Screen Shot 2016-03-26 at 11.58.38 AM.png

    I use the system: Mac, indesign Cs6.

    Thanks in advance to all

    Dear friends,

    I share my java coding below, based on this question.

    myDocument var = app.activeDocument;

    Var log = new File(app.activeDocument.filePath+"/log.html");

    log. Encoding = "UTF-8";

    log. Open ("w");

    log.writeln(")

    ");

    log.writeln(")

    ");

    FindEmail (myDocument);

    log.writeln(")

    Text (in the template)Found (Href tag)
    ");

    log. Close();

    Alert ("completed");

    function FindEmail (elm)

    {

    for (var i = 0; i)< elm.xmlelements.length;="">

    {

    XMLelementName = elm.xmlElements [i].markupTag.name.toString ();

    if(XMLelementName=="img")

    {

    for (j = 0; j

    {

    var cc = elm.xmlElements [i] .silence

    Alert (CC);

    var aa = elm.xmlElements [i] .xmlAttributes [j] .name

    if(AA=="src")

    {

    alert (aa);

    var BB = elm.xmlElements [i] .xmlAttributes [j] .value;

    log.writeln(")« + cc + »' + elm.xmlElements [i] .xmlAttributes [j] .value + ".");

    alert (cc + ' ~ ~ ' + aa + "~ ~" + bb);

    }

    }

    }

    FindEmail (elm.xmlElements [i]);

    }

    }

    Thank you

  • I am reorganizing the attribute value using javascript. see code below

    Hi all

    I am reorganizing the attribute value using javascript. see code below and suggest me

    EX: id = "to THE:1" reorganize to id = "to THE:2"

    myDoc var = app.activeDocument;

    var myGlueCodePath = app.filePath + "/ Scripts/XML rules/glue code.jsx";

    var myFile = File (myGlueCodePath);

    app.doScript (myFile);

    If (app.documents.length! = 0) {}

    var myRuleSet = new Array)

    new findObjAttribute ("//auq")

    );

    {with (MyDoc)}

    var elements = xmlElements;

    __processRuleSet (Elements.Item (0), myRuleSet);

    }

    }

    else {}

    Alert ("you have no open documents!");

    Exit();

    }

    function findObjAttribute() {}

    myIdName = "findObjAttribute";

    This.XPath = ("[/ / auq[@id]");

    This.Apply = function (myElement, myRuleProcessor)

    {

    elmName = myElement var .markupTag .name;

    {with (MyElement)}

    try {}

    var myAttName = myElement .xmlAttributes .itemByName ("id") .value;

    SS var = myAttName.replace(/[A-Z]+\:/,""); "

    var SSS = ss - 1;

    myAttName = myAttName.replace(/[0-9]/,sss)

    $.writeln (myAttName);

    } catch (e) {};

    }

    }

    }

    Your code re - order the value correctly, but you don't have the update attribute in the element.

    Try this,

    myAttName = myAttName.replace(/[0-9]/,sss);

    myElement.xmlAttributes.itemByName("id").value = myAttName;

  • Substitute label attribute values?

    Hello!

    I want to replace the default values to view label attribute and replace them with the translations that I receive a database table.

    I made custom classes TranslateViewDefImpl (overloaded function "getAttributeDefImpls"), which extends ViewDefImpl, TranslateViewObjectImpl ("getViewAttributeDefImpls" overloaded) extends from ViewObjectImpl, TranslateViewRowImpl ('createViewRowAttrHints' after this overloaded post) extends from ViewRowImpl where I try to substitute the attribute definitions.

    I used "setProperty" method on the definition of attribute to set the "AttributeHints.ATTRIBUTE_LABEL" and at first, everything seemed fine - the right of the attribute translation appeared. But the problem is when you have two or more clients with different locale by using the same page. In case of replacement methods using '(AttributeHints.ATTRIBUTE_LABEL, labelTranslation) adi.setProperty', label prepares for the right customer (a) local translation, but the problem is when another customer B with different regional settings accesses the same page. Initially, he sees the right translations, but when the first customer A refreshes the page, all attribute label translations are wrong locale (using the locale settings of client B). When client A refreshes the new page, labels are still in the local right, but when client B refreshes, it sees translations of customer locale.

    It seems that these overloaded classes are all static for the application and when a property is set, all clients use the same property, adi.getProperty (AttributeHints.ATTRIBUTE_LABEL) returns the same value for all clients using the application.

    Then I stumbled on this next post. At first, I thought I found the solution, but when I tried this approach, it did not work. This is the code:

    AttributeDefImpl at = (AttributeDefImpl) vo.getAttributeDef(0);  
    
         at.setProperty(AttributeDefImpl.ATTRIBUTE_LABEL +"_ResId",   
                        "VEmployees.Id_LABEL");  
      
         at = (AttributeDefImpl) vo.getAttributeDef(1);  
         at.setProperty(AttributeDefImpl.ATTRIBUTE_LABEL +"_ResId",   
                        "VEmployees.LastName_LABEL");  
      
         ViewDefImpl viewDef = (ViewDefImpl) ((ViewObjectImpl) vo).getDef();  
         //Create custom properties bundle definition  
         PropertiesBundleDef rb = new PropertiesBundleDef(viewDef);  
         rb.setPropertiesFile("com.cs.blog.dynamicbundle.model.VEmployeesBundle");  
           
         viewDef.setResourceBundleDef(rb);  
    
    

    I can't find documentation anywhere using '_ResId' with AttributeDefImpl.ATTRIBUTE_LABEL and setting my own resource Pack (which pulls all the translations of a data source). When I use this approach, label attribute values are not changed and have their default value.

    Help, please. Is my approach far? How did did you translate see attribute labels using translations of the database?

    I use JDevelper 11.1.2.3.0

    Marko,

    All you need is:

    1. your EO to point to a ListResourceBundle class, instead of the boot of property by default, as I described above.

    2. each attribute EO have the right name for the label:

    <>

    Name = "CountryNo".

    Precision = "22".

    ColumnName = "CountryNo."

    SQLType = 'NUMBER '.

    Type = "Java.Math.BigDecimal"

    ColumnType = 'NUMBER '.

    IsPersistent = "false".

    IsUpdateable = "false" >

    <>

    ResId ="COUNTRY_NO_LABEL" / > ".

    <>

    ResId = "DefaultNumberFormatter_FMT_FORMATTER" / >

    <>

    ResId = "MASK_NUMBER_1" / >

    Here, you will need to COUNTRY_NO_LABEL either a key in your package of dynamic resource.

    As for my last comment, I'm just pointing out that if you add your labels through JDeveloper UI (thanks to the tab of the UI data), JDeveloper might try to change your class code ListResource. Is why better do it manually, I think.

    Hope this helps,

    Florin

  • Get the attribute value of a def page table by using el expression.

    Hello

    Use Jdeveloper 11.1.2.0.0 and have a requirement like this for which a sample is created. Requirement is as follows...

    1. do you have a Taskflow with a readonly employee table.
    2. by clicking on a button called "itinerary" checks if the selected line, the attribute Manager id value = 200 then go to the first page on the other if the value attribute id manager is 200 then go to the second page.


    Through the def page, if it has the form, then we can access the attributes like #{data.view_FirstPageDef.ManagerId}. In the case of acquisition of the same attribute value from the table using the def page? is what I am unable to get...

    Come to the notion of routing using the router on Taskflow activity. But I am unable to get the selected row in a table of employee page def attribute value. Can anyone suggest on the same...


    Thank you and best regards,
    Olivier G

    On the router, right-click on its icon in the workflow and create a page definition. Then in the file def, add an iterator based on the same view of the table object in the first page, then add a value attribute that is mapped to the managerId in the iterator of the View object. Finally in the router, you can write EL expressions along the lines of #{bindings. ManagerId.inputValue = 200} or #{bindings. ManagerId.inputValue! = 200}.

    CM.

  • Failed to retrieve attribute values when executing the validation on update

    IAM trying to do validation on user create and update operations:

    currently able to perform validations on iam create user operation
    (Note: my validations require organization name which iam get using form user act_key only)

    but when I try to trigger the same code for update, it do not recover key, infact the same code does not even get attribute values.
    given that I don't get any key of the organization. together to update validation failed.

    My EventHandler.xml looks like this:
    < eventhandlers xmlns = "http://www.oracle.com/schema/oim/platform/kernel" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation = "http://www.oracle.com/schema/oim/platform/kernel orchestration - handlers.xsd" >

    <!--> custom validation event handlers
    <-validation Manager
    Class = "test. IOM. EventHandler.UserFormFieldValidation ".
    entity-type = 'User '.
    operation = "CRΘER."
    name = "UserFormFieldValidation".
    order = "1000" / >

    <-validation Manager
    Class = "test. IOM. EventHandler.UserFormFieldValidation ".
    entity-type = 'User '.
    operation = 'CHANGE '.
    name = "UserFormFieldValidation".
    order = "1000" / >
    < / eventhandlers >

    Please suggest what needs to be done in this case.
    Note: iam using the same code for postings of these two operations (operation to create and update the operation of user profile)

    Thanks in advance

    as mentioned above:
    get the key of the user and then get the name of the organization.

    You can get the params modifed by using:
    HashMap orchVal = orch.getParameters ();

    You can use this to get the fields that you can still use to your validation.

    Note: If you change an attribute and do not send any value he always added to the card with the value null.

    It may be useful

Maybe you are looking for

  • Unlocked iPhone sprint 6 sec on AT &amp; T

    RRecently unlocked my iPhone sprint 6 sec, the intention was to use on AT & t. currently does not work and I get a lot of contradictory information from Apple, sprint and AT & T on whether or not it should work. Have a bit of luck with this themselve

  • Unable to view video message

    LAT week I was able to view a video message I had received. This week, when I click on the message, I get a blank screen with a loop going in circles. I skyp day and windows 8, ideas?

  • Shortcuts in Windows Vista

    When you type e-mail, a new tab opens whenever the letter 'T' is reached. Also seems to be some shortcuts introduced when various keys are affected. Very frustrating and cannot understand why this happens. Also in the case of Word, often together sen

  • Cannot find the product key for Microsoft Office 2007 on laptop

    I have MS Office 2007 pre-installed on my Toshiba laptop that I recently had to do a recovery and now my MS Office programs i.e. MS Word and Excel are blocked and I can not use! Where can I find the product key for pre-installed Microsoft Office 2007

  • Impossible to activate the Agent FTR

    Dear all, I tried to activate the FTR agent but, impossible to activate it. When I checked the logs, I could see the following errors. "14/09/30 10:28:03.564 ECHO FATAL [Thread-40] com.quest.ftr.agent.ComMonitorThread - ComMonitorThread taken NoClass