Based on the reason for the absence. Need the balance of another leave to reduce

Hello

It comes in what concerns the absences, I have a conditional

There are 5 reasons to leave condolences,

(1) the death of the father
(2) death of the mother
(3) death of loved ones
(4) death of in-laws
(5) others

If the pattern is chosen as others+ * then the absence should be reduced by annual leave.

I have defined on annual leave accrued interest. How can I add this value to net calculation based on the reason rules.

It would really help if someone can help me on this.

Best regards, Chandra

I don't think you can reduce some other balance based on the reason. If there must be a vacation, then you should force the user to book time on annual leave. as possible by writing a validation in the user hooks.

Tags: Oracle Applications

Similar Questions

  • Change the Label element based on the value of another element

    Hi guys,.

    I need to put a label of point (A) based on the value of another article (B). I did the following:
    I created a dynamic action.
    When B changes:
    1. present the value of B
    Article 2-updated
    Is element A label: myitem & b.

    Any ideas?

    Best regards
    Fateh

    His work! Check it out now

    Just do it

    $('#mylabel').children('label').children('span').text($v('P1_A'));
    

    Published by: VC on June 9, 2012 11:21

  • Fill a field value based on the value of another field

    Hello
    Could someone tell me what is the problem with the following select statement. For a group of records, trying to fill a field with a value based on the value in another field (problem of status), but the Group of records appears empty just when I put this code in the field.
    Any help would be appreciated
    Thank you


    <? choose:? >
    <? When: IssueStatus = "Open"? >
    <? 1? >
    <? end when? >
    <? otherwise:? >
    <? When: IssueStatus = "closed"? >
    <? 2? >
    <? end when? >
    <? otherwise:? >
    <? When: IssueStatus = "Unresolveable? >
    <? 3? >
    <? end when? >
    <? end otherwise? >
    <? end to choose? >

    Use the following syntax.

    
    
    Display 1
    
    
    Display 2
    
    
    Display 3
    
    
    
  • How to disable a page based on the value of another element on the Page element?

    Hello

    How can I turn a page element using javascript based on the value of another element on the page?

    Eg: P1_TEXT want to be disabled if the value in P1_LCOK = "LOCK".

    How can I do this using javascript. I want this implemt on loading the page.

    Kind regards
    Benz

    Put this function in the page header:

    
    

    and call it in the footer:

    f_disable_item;
    

    Denes Kubicek
    ------------------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    ------------------------------------------------------------------------------

  • Disable the number of items based on the values of another page/table

    Hi people,

    I have a form with 15 fields such as:

    Form1

    id_plan = 1

    level 1 = 2

    level 2 = 2

    level 3 = null

    level 4 = null

    level 5 = null

    level 6 = null

    and so on...

    Later, in another form that I have:

    Form2

    ID

    id_plan (from 'form1')

    account: 10.01 (based on the number of decimal places defined on the level of 'form1')

    So, I need to disable page Form1 items if I had some values of Form2. But only the levels where the account is registered. In the example above, only level 3, level 4, level 5, level 6 and so on would be activated.

    Any suggestion?

    I could put a read only condition for any page in question, is it good? or there is another suggestion?

    Thank you

    bsalvador

    Hi people,

    To resolve my issue, I used the read only option. I chose the body of the PL/SQL function returning a Boolean and put

    Start

    If (CST_RETURN_LEVEL(:P7_ID_PAR_PLANO_GER) > = 2) then

    Returns true;

    end if;

    end;

    where CST_RETURN_LEVEL is a function that returns the last filled level. If the point of the page is at level 2, I test, if CST_RETURN_LEVEL(:P7_ID_PAR_PLANO_GER) > = 2 then I returned true for read only and so on for other page elements.

    Thank you

    bsalvador

  • The default value based on the field from another table to a custom object

    I'm trying to set the default value to a field in the custom object to the value of a field of account. I tried the syntax 50 ways different and just don't get the case. The label for the account field displays the form of s/n, the integration of the tag is ltDBA_ACCT and it appears in the fx reports area as Account.Text_22.

    The field of custom object that I am triying update is also called s/n, which was originally the required field 'NAME '. The name of the table, account, should it be included? Do I need a function to the field?

    I've updated the external ID using the line with syntex < ID > ID (at least higher ID) so I know that it is possible to define a default value, but s / < n >, < ltDBA_ACCT >, 'account '. "" S/n "and so on are simply not working.

    If anyone knows how to get into what I would be really grateful for the help.

    OK, so if you default a field to the value of another object, you must use the JoinFieldValue function. I think you understand that, based on your original post, but I want to be sure you do.

    Then this won't work by default if the folder is created from the object that you want to join the because a default works in record creation and the ID must be available so that it works correctly. It will not work if you choose the record of the related object after that registration of the custom object is created. You can set the default after, but that does not meet your requirements.

    The syntax of the default are the following: JoinFieldValue (ref_record_type, foreign_key, field_name).

    In your case, ref_record_type is '', foreign_key is [] and field_name is ''. The best way is to determine what is the name of the field to create a new workflow for the account and use the Workflow Rule Condition expression builder to choose your field ("DBA") in the list. The value returned by the expression builder must be placed in the field_name variable in the function JoinFieldValue (minus the parentheses and quotes).

    Give it a shot and let me know how you do.
    Thom

  • Trying to update a field of contact based on the comparison of another field of contact

    Hi all: I hope you can show me the light.  I'm trying to update my contact record with a value based on the comparison of 2 contact fields.

    So, is there an easy way to update a contact record with the FieldA value where FieldA is superior to FieldB?

    I did some research and go home empty-handed.  Any ideas?

    Thanks for your help!

    Penny

    Hey Penny,.

    If you compare two numeric fields, you can use the connector of cloud of mathematical functions to find the highest value in a table (A, B, C) for example, or to return if A is greater than B and then update your specified contact field.

    I described how to find the highest value in this post a bit backward, but the images seem to have disappeared - (perhaps a person of Eloqua can restore them somehow?).

    http://topliners.Eloqua.com/message/3539#3539

    Also take a look at this data sheet of mathematical functions of the appcloud for more information!

    http://img.EN25.com/Web/Eloqua/DataSheet_CC_MathFunctions.PDF

    I hope this helps!

    Chris

  • XMLTYPE Datatype - extracted value of an element based on the value in another element

    Hi all

    I have a typical XML problem in which I am trying to extract the value of a property on the base of another.

    Here is an example of XML data:-

    < object type = "InstanceObject:instanceKeyValue" version = "2" >

    < property name = 'name' value = 'COUNTRY' valueType = "string" / >

    < property name = "keyValueType" value = "VARCHAR" valueType = "string" / >

    < property name = "keyValue" value = "SINGAPORE" valueType = "string" / >

    < / object >

    < object type = "InstanceObject:instanceKeyValue" version = "2" >

    < property name = "name" value = "DATA_SET" valueType = "string" / >

    < property name = "keyValueType" value = "VARCHAR" valueType = "string" / >

    < property name = value 'keyValue' = 'April 9, 2014' valueType = "string" / >

    < / object >

    My requirement is-

    If value = 'COUNTRY' under/object/property then I need the property value where @name = "keyValue" that is Singapore.

    But when I do

    SELECT EXTRACT('object/property[@name="instanceKeyValues"]/object/property[@name="keyValue"]/@value')

    I get the two keyValues SINGAPORE09-APR-2014

    While I only need Singapore.

    No idea how we can solve this?

    Sorry, I'm a jerk, so finally I just with this

    with t as)
    Select xmltype)
    '
            
               
               
               
           

           
               
               
               
           


               
               
               
           

    '
    ) x
    of the double
    )

    Select
    Val
    t
    xmltable)
    "for $o in/root/object.
    ["Let $p: = $o/property[@name="keyValue "]
    ["where $o/property[@name="name"][@value="COUNTRY "]
    Return $p'- or return $p/@value'
    go x
    columns
    path of varchar2 (40) Val '@value' - or '.'
    )

    VAL
    Singapore
    India
  • Retrieve the item based on the content of another element

    I have an xml that looks like this

    <? XML version = "1.0" encoding = "UTF-8"? > < WF_EVENT_T xmlns = "http://xmlns.oracle.com/xdb/APPS/GetPOApprovalEvent" >
    < PRIORITY xmlns = "" > 50 < / PRIORITY >
    < SEND_DATE xmlns = "" > 2012-04-27T 15: 33:31.000 + 1200 < / SEND_DATE >
    < RECEIVE_DATE xmlns = "" > 2012-04-27T 15: 34:18.000 + 1200 < / RECEIVE_DATE >
    < CORRELATION_ID NULL = "TRUE" xmlns = "" / >
    < PARAMETER_LIST xmlns = "" >
    < PARAMETER_LIST_ITEM >
    APPLICATION_ID < NAME > < / NAME >
    < VALUE > 201 < / VALUE >
    < / PARAMETER_LIST_ITEM >
    < PARAMETER_LIST_ITEM >
    < NAME > DOCUMENT_DIRECTION < / NAME >
    < VALUE > ON < / VALUE >
    < / PARAMETER_LIST_ITEM >
    < PARAMETER_LIST_ITEM >
    < NAME > DOCUMENT_NO < / NAME >
    < VALUE > 363475 < / VALUE >
    < / PARAMETER_LIST_ITEM >
    < PARAMETER_LIST_ITEM >
    < NAME > ECX_DEBUG_LEVEL < / NAME >
    < VALUE > 0 < / VALUE >
    < / PARAMETER_LIST_ITEM >

    It is an object of purchase wf_event_t from e-Business Suite order. (The list is much longer)

    One of the parameter values is a number of PO

    < PARAMETER_LIST_ITEM >
    < NAME > PO_NUMBER < / NAME >
    < VALUE > 363475 < / VALUE >
    < / PARAMETER_LIST_ITEM >

    What I want to do is to look for the < VALUE > element based on the < NAME > element.

    that is, if NAME = PO_NUMBER THEN
    RETURNS the ELEMENT VALUE

    I suppose I could use a building WHILE in my BPEL but would like to know if there is anyway, this could be done with XPATH?

    See you soon

    Owen

    Hi Owen,.

    The xpath expression will be like:

    / WF_EVENT_T / [NAME = 'PO_NUMBER'] PARAMETER_LIST/PARAMETER_LIST_ITEM / VALUE

    Refer to:
    http://www.w3schools.com/XPath/xpath_syntax.asp

    See you soon,.
    Vlad

    Give points - it's good etiquette to reward an answering machine (5 - useful; 10 - correct) points for their position if they answer your question. If you think it's useful, please consider giving points

  • Changing the speed of a layer of Quicktime, based on the speed of another layer

    Hi everyone I'm new to expressions.

    I'm trying to change the speed of a layer of a quicktime movie. The speed at which he plays should reflect the velocity of another object. Faster, this object moves, the faster the film quicktime plays and vice versa.

    For some reason, adding an expression to time remapping done to work for speed.

    Any help would be appreciated

    Try to set the variable 'factor' to a smaller number.

    Dan

  • Fill a combobox based on the selection of another

    Hi all

    I have a combobox that is filled dynamically. I want to fill an another combox based on the selected item in the combobox first. I use PHP to manage the connection to the database. The drop-down list box cbDivision fills very well.

    Can someone point me in the right direction?

    Here is my code:
    [Bindable]
    public var selectedItem:Object;

    [Bindable]
    private var datalist: ArrayCollection collection;
    private void resultHandler(event:ResultEvent):void {}
    DataList = event.result.data.row;
    }
    [Bindable]
    private var datalist2:ArrayCollection;
    private void resultHandler2(event:ResultEvent):void {}
    Datalist2 = event.result.data.row;
    }

    "" < mx:HTTPService url = " http://127.0.0.1/getDivisions.php"
    ID = "xmlGetDivisions".
    showBusyCursor = "true".
    result = "resultHandler (Event)" "
    method = 'GET' / >

    "" < mx:HTTPService url = " http://127.0.0.1/getFacilities.php"
    ID = "xmlGetFacilities".
    showBusyCursor = "true".
    result = "resultHandler2 (Event)" "
    method = "POST" >
    < mx:request xmlns = "" >
    < DivisionValue >
    {selectedItem.Division}
    < / DivisionValue >
    < / mx:request >
    < / mx:HTTPService >

    "< mx:ComboBox ="116"x ="60"id ="cbDivision"editable ="false"active = 'true' prompt = 'Please select' close ="selectedItem = ComboBox (event.target) .selectedItem, xmlGetFacilities.send ();"initialize =" getDivisions () "dataProvider ="{datalist}"= 'Division' labelField >
    < / mx:ComboBox >

    < mx:ComboBox = "413" x = "60" id = "cbFacility" editable = "false" enabled = "true" initialize = "xmlGetFacilities.send (); ' prompt = "Please sΘlectionner" dataProvider = "{datalist2}" labelField = "Name" > < / mx:ComboBox >


    Thank you in advance!

    No need to answer. I have it working now. It turns out that it was a problem with my PHP code.

  • Display of a field on the form of the user's profile based on the results of another field

    Hello

    I have a requrement in which I'm supposed to display a checkbox based on the selection of the value to the employee type drp down.

    Thus, for example, if the field of employee type is selected with a value of 'Entrepreneur', a box should appear on the user profile form. If the value is anythign to another aprt of the contractor, the form should not display this box.

    Any ideas if this can be achieved OOB or it would require customization to the JSPs?

    Thank you
    Aerts

    You can use ajax and DHTML to achieve this functioanlity. I've already implemented and it works very well.

    See you soon!

  • How to identify all the analyses using a filter based on the findings of another analysis

    How can I identify all analyses in the catalogue that contains a filter based on the results of the analysis another? Due to limitations on TimesTen, we remove all instances of the filter based on another feature of analysis completely.

    Christian Berg says:

    do research on the physical files in the file system

    A quick test, I guess you want to get the assuming you are on Linux, grep would be:

    oracle@demo:SampleAppWebcat () $ grep --files-with-matches --recursive '
    

    From there, you can identify the relevant analyses.

  • How do I delete an article based on the value of another field


    I have a pdf form that I added to the text fields. My challenge is that of the financial section of the form, if the value of a specific field is empty or null, I blank block of signature financial review.  I've been trying to find a way to cover the area of signature with a white box or have a text box with signature block text appear or disappear depending on whether the value is zero or empty.

    If seen many answers on how to make the field itself disappear based on value, but I did find something that causes another field or shape appear or disappear depending on the value of another field.

    Please try the following script,

    var signid = true;

    If (this.getField("finan").value! = 0) signid = true;

    of another signid = false;

    If (SignID) this.getField("signaturefield").display = display.visible;

    else this.getField("signaturefield").display = display.hidden;

    Please let me know if it solves the problem.

  • Deactivating a page element based on the value of another element on the page

    Hello
    I have a page element I want to turn off if the value of another article (drop-down list item) is set to a specific value. I followed the example in the book 'Pro Oracle APEX"(p.320) in this regard. He ordered me to do this in the HTML form element attributes for the element section:
    OnChange = "htmldb_item_change (this); html_DisableOnValue (This, 'Closed', 'P3_PRIORITY', 'P3_ASSIGNED_TO'); »

    It works very well. It disables the element I want to disable. HOWEVER, it does not neutralize the article unless the element with the onchange attribute is changed.

    How can I add features to disable the second element, even if the first element does not change, but contains the value 'Closed' when the user of the first load of the page?

    Thanks for your help and your insight!
    -Reid

    Hello Reid,

    The easiest way would be to (also) a Condition only read the item that you want to disable.

    Greetings,
    Roel

    http://roelhartman.blogspot.com/

Maybe you are looking for

  • Windows Defender service does not start on Windows 7

    On my laptop, Windows Defender is no longer in effect. Reads the message: the service does not start. When I manually try to start the Defender, the massage is: file not found!I can't remove Defender another upodate no longer works. Someone knows a s

  • How can I register my iPhone on the Messages?

    Somehow, Messages lost the ability to take my iPhone messages and takes only iCloud and gmail messages.  How my cell messages (iPhone) at the request of Messages on my MacBook Pro?

  • 11.4 iTunes on Mac not recognizing iPhone 4S more

    Hello. It's my first post here, so really, really hoping that someone can help me! My 2 year old somehow managed to make a hard reset of my iPhone and all that he deleted accordingly. Went to do a backup on my Mac iTunes restore as I always do, howev

  • Slow printing when printing on 6x8inch paper. With the help of my new printer HP Deskjet 1514.

    When I print on a page size 6 x 8 inch using black ink, the time taken to print the page is 1 Minute 40 seconds. It is indeed very slow! When I print the same exact pages on A4, the time taken to print the page is 15 seconds. This is acceptable! I us

  • Connection to the TV with an HDMI cable

    I have a HP G60 laptop with Win7. When connecting to a TV with a high-definition HDMI cable, all I get on the TV screen is my screen background image. No icons, no cursor, nothing. It worked the last time I tried it about 6 months ago.  The graphics