Cannot end date the element

There was an element defined wrongly in the system as follows:
the element is defined as final close while it was suppose to have been defined as Last Standard process. I have managed to end date its links as of 01-JAN-2010 now when i am trying to end date the element as of 01-jan-2010 it is giving me the follwoing error"
APP-PAY-06213: Formula result rule use this input value
Check you formula result rules for indirect results that feed this input value.
I have checked the formula result rule there is no formula attached to this element.
Kindly help me!

Please run this query to find out which elements are using the element you want to end date as indirect results.
Remove the indirect results and try end dating the element.
SELECT  ET.ELEMENT_NAME,psp.PROCESSING_RULE, ff.FORMULA_NAME, pfr.RESULT_NAME,
pfr.RESULT_RULE_TYPE, et1.ELEMENT_NAME et_to_end_date,iv.NAME,iv.UOM, et.REPORTING_NAME
FROM
PAY_STATUS_PROCESSING_RULES_F psp,
PAY_FORMULA_RESULT_RULES_F pfr,
ff_formulas_f ff,
PAY_ELEMENT_TYPES_F ET,
PAY_ELEMENT_TYPES_F ET1,
PAY_INPUT_VALUES_F IV
WHERE
psp.FORMULA_ID=ff.FORMULA_ID
AND pfr.STATUS_PROCESSING_RULE_ID=psp.STATUS_PROCESSING_RULE_ID
AND et.ELEMENT_TYPE_ID=psp.ELEMENT_TYPE_ID
AND et1.ELEMENT_TYPE_ID=pfr.ELEMENT_TYPE_ID
AND iv.INPUT_VALUE_ID=pfr.INPUT_VALUE_ID
AND pfr.RESULT_RULE_TYPE = 'I'
AND ET1.ELEMENT_NAME = :element_to_end_dateHTH

Similar Messages

  • Getting error when trying to end date the element links

    When i am trying to end date the element link and i am getting a error message as ORA-01403: no data found if i click on the details button the following message is displayed:
    ORA-01403: no data found
    FRM-40735: ON-DELETE trigger raised unhandled exception ORA-01403.
    If i click on Ok button it bringgs another popup message that reads as follows:
    An Unexpected Error- 1403 has occured.An alert has been sent to the system administrator.
    ORA-01403: no data found
    I am really not getting why my link is not end dating.
    Could anyone advice me on how i can end date my element links.
    NB:the date track i am using is 01-DEC-2009 and no prayroll or quick pay has been processed as of this date

    Pl see if enabling an Forms Runtime Diagnostics (FRD) trace can help identify the cause
    MOS Doc 373548.1 - How To Collect And Use Forms Trace (FRD) in Oracle Applications Release 12
    MOS Doc 167635.1 - How To Perform Forms Runtime Diagnostics (FRD) Tracing in Applications 11i
    HTH
    Srini

  • How to Disable/End Date an Element Link/Element in HR 11.5.7(Fam.Pack G)

    We want to disable some element links that are no longer valid. These element links are assigned (element entries) to certain employees based on the eligibility criteria set (e.g. Organization/Job/Grade/etc). However we want to disable these elements from a specific date onward as they are no longer valid. I tried to end date either the element entry or the element link but I got the message "Field is protected against update".
    From help the only thing I found regarding deleting an element is to delete all element entries linked to that element link and then delete all element links linked to that element to be able to delete or end date the element.
    But what we need to do is only to disable the element links and not to delete them all together and lose any historical records related to these element entries.
    If anyone has any idea on how to deal with this issue will be highly appreciated.
    Thanking you in advance.
    Elena

    Hi again,
    I made a search regarding elements/links and managed to find an old document (2002) regarding links and following the suggestion there I managed to end date the element links in request.
    In order to end date the Element Link since it does not allow
    you to make any updates you have to try to DELETE it and then select END DATE instead of PURGE.
    Thank you!
    Best regards,
    Elena

  • End date the use of a certain subtemplate and call another in its place

    Hi All,
    How can we refer to multiple subtemplates so as to end date the use of certain subtemplate say on Dec 31 2007 and start referring to another subtemplate in its place from Jan 1 2008??
    Any pointers to the same will be extremely helpful.
    Thanks in advance.

    This work, but its hardcoded and not really flexible. You can also change the date format to compare whatever you want I guess. Hope it can help!
    <?import:file:///C:/sub_2007.rtf?>
    <?import:file:///C:/sub_2008.rtf?>
    <xsl:if test="xdoxslt:sysdate('YYYY')='2007'"><?call-template:sub_2007?></xsl:if>
    <xsl:if test="xdoxslt:sysdate('YYYY')='2008'"><?call-template:sub_2008?></xsl:if>

  • How programmatically to end date employee element?

    I have requirement to create a new element that has to expire in three month.
    Can anybody point me in the right direction on how to do it?
    Thank you,

    To clarify, do you require the element type to end after 3 months of the effective start date, or do you require the element entries to end 3 months after the entry start date? If it's the latter, and you are running payroll, you could easily do it using a formula (or a change to the existing formula if there is one already against that element)
    If you really want to do it programatically like through pl/sql, then use pay_element_entry_api.delete_element_entry (with a date-track mode of 'DELETE') - the entry will then be end-dated as at the supplied p_effective_date value.
    Clive

  • End dated the Element link, redo the changes.

    Hi,
    I have end dated element links as of 1-JAN-2012, now I have to undo the changes.remove the end date. How can I do that?
    Thanks

    Set your effective date to a couple of days before the end date, e.g. 30-DEC-2011. Then query back the link in question, then click the 'Delete' button. Say 'Yes' to the next question, then when it gives you date-track options, choose 'Delete Next Change', and choose 'Save'. Be warned, it could take some time if it's a heavily-used element!
    Clive

  • Cannot navigate to the elements of a T-list populated at runtime

    I'm populating a T-list dynamically at runtime using a query. The list gets populated without any error at runtime. I'm using the following program unit to populate the list :
    DECLARE
    v_recsql Varchar2(1000); -- The SQL for creating the Record Group.
    v_recgrp RecordGroup; -- Record Group
    v_status Number; -- Return Value of Populate_Group function.
    BEGIN
    v_recsql := 'SELECT setup_code, description
    FROM setup_types
    WHERE organization_id = :parameter.org_id
    ORDER BY setup_code';
    -- Create the Record Group
    v_recgrp := CREATE_GROUP_FROM_QUERY('v_recgrp', v_recsql);
    IF NOT ID_NULL(v_recgrp)
    THEN -- No Error, record group has been successfully created.
    -- Populate Record Group
    v_status := POPULATE_GROUP('v_recgrp');
    IF v_status = 0
    THEN -- No Error. Record Group has been Populated.
    POPULATE_LIST('b_res_setups.setup_code', 'v_recgrp');
    message('Populated the list successfully');pause;
    END IF; -- IF v_status = 0
    -- Delete the Record Group as it is no longer needed.
    DELETE_GROUP('v_recgrp');
    END IF; -- IF NOT ID_NULL(v_recgrp)
    END;
    The problem is when i use the above program unit, then after populating the T list i'm unable to navigate to any element of my choice using the mouse. The focus returnes to the first element everytime i click any other element.
    My query is :
    v_recsql := 'SELECT description, setup_code
    FROM setup_types
    WHERE organization_id = :parameter.org_id
    ORDER BY setup_code'
    But when i use the following query to populate the record group there's no problem.
    v_recsql := 'SELECT description, setup_code
    FROM setup_types
    WHERE organization_id = :parameter.org_id
    ORDER BY setup_code'
    In the table setup_types the column setup_code is a not null column i.e. it cant have null values, whereas the column description can have null values.
    Please help,
    Abhishek.

    There is unique constraint or index on SETUP_CODE column?
    Probably, the list contains duplicated values.

  • How to end date links

    hello gurus,
    I wld like to knw hw i can end date element links for elements that are already attached to the employees. I have already manage to terminate the staff. now i want to end date the links of all the elements that are not in use by our company.
    Note: The links to each element are 3 and there are 100 elements so 300 links are to be end dated.
    Please advice.
    Edited by: user12011641 on Oct 3, 2011 6:56 AM

    You can use the API -
    PAY_ELEMENT_LINK_API.DELETE_ELEMENT_LINK(...)
    For P_DATETRACK_DELETE_MODE, try options other than ZAP -      
    Indicates which DateTrack mode to use when deleting the record. You must set to either ZAP, DELETE, FUTURE_CHANGE or DELETE_NEXT_CHANGE. Modes available for use with a particular record depend on the dates of previous record changes and the effective date of this change

  • How to set up start and end dates for validity of contract account in FICAx

    Hi,
      Can anyone tell me where can I set up the validitiy period for the contract account in FICA. In contract creation, I could just see the contract validity start date. I also need to know the validity end date. Please let me know the solution asap.
    Points will be awarded for all the useful answers.
    Thanks
    Santosh

    Yes, you're right, you would then need to develop a lot of user exits to prevent the re-use of the contract account after the validity date.
    I'm think in a strange solution, it could work but you'll need to test it. if a contract account is marked for deletion (Field FKKVKP-LOEVM equal to 'X') no further action can be made over it, When you create you contract account you can schedule a change using as validity date (Field BUS000FLDS-VALDT ins the change contract account screen) to the end date of you contract account and set this deletion flag. then you run FPP2A to activate the schedule changes, before you get to the end date the flag is not set, when you get to the end date FPP2A will activate the flag and the contract account becomes not usefull.
    If you do this, you have be careful because all the postings to the contract account won't be possible, it means that if there are payment to be made, interests to be calculated, etc... nothing will be posted.
    Cheers,

  • Fnd_user_pkg.updateuser - Remove End Date from Users

    As part of an upgrade, we need to end-date the vast majority of our users.
    I've used the fnd_user_pkg.updateuser API to populate the end_date on the fnd_user table.
    However, when I've come to test removing the end-date, I can't seem to do it. In the example below, the end_date remains populated.
    DECLARE
       CURSOR usercur
       IS
          SELECT fu.user_name
            FROM apps.fnd_user fu
           WHERE user_name = 'TEST_ACCOUNT';
    BEGIN
       FOR myuser IN usercur
       LOOP
          fnd_user_pkg.updateuser(
             x_user_name      => myuser.user_name
           , x_owner          => 'CUST'
           , x_end_date       => NULL
       END LOOP;
    END;On the example on this post:
    http://apps2fusion.com/forums/viewtopic.php?f=99&t=108
    They removed the end-date via:
    x_end_date => SYSDATE + 10000);
    However, that's not really removing the end date, it's just setting it to a long time in the future.
    I wondered if I might be missing something obvious?
    Any advice much appreciated.
    Thanks

    Only obvious thing you are missing is that you have posted this to the wrong forum, you need to be on e-business forum.
    BTW - have you tried re-setting the password at the same time?
    regards,
    Robert.

  • Hyperion Planning dynamic forms based on start and end date across years

    Hi All,
    I have a requirement where i need to be able to view a form showing periods across years that are dynamically built depending on the start and end dates. If i have a start date of 01/11/2009 and an end date of 31/7/2013 i want to be able to view a form that shows all of the periods (Jan,Feb etc) in a form that is driven by these dates, in addition it will need to show the actual scenario up to the current month and the forecast from the current month to the end date. So basically if a user inputs the start and end dates the form will display the relevant periods driven by these dates.
    Any tips very much appreciated!

    Hello,
    This is difficult to realize, but you can get quite far with a workaround. The first question is, where do you want to input your selection of time periods? Assuming you have a webform with the complete timeline in months and years and you type in the start period and end period.
    Webforms have the option to suppress rows and columns.
    This can be extended with option of empty cells or not empty cells.
    You will need to apply your creativity on this.
    Put every month-year combination in a column and add the suppression.
    Calculate the timeline between start period and end period with a dummy member, so data exists for these and columns will show.
    Maybe you will need to copy the required timeline into a separate version for this, to avoid having periods which were outside the selection and still have data.
    I hope these hints help a bit in this challenge.
    Regards,
    Philip Hulsebosch
    www.trexco.nl

  • E-mail when auction is closed before end date

    Hi everyone,
    We are using SRM 4.0 (SRM_SERVER Release 500 Level 09) and we are facing the following situation:
    When an auction is closed before the end-date the system sends an e-mail message to the invited bidders with no text in the body of the message and with the following header: "Auction xxxx canceled".
    We are using BBP_CHANGE_SF_BID BAdI to determine what smartform will be used for each process type. The smartforms were created from the standard BBP_BIDINV_BID. However, we have removed the FO_WITHDRAW_AUC folder from our smartforms due to the fact that we do not want its content to be sent to bidders.
    Could you help me with that?
    Thanks!

    Hi Vikram,
    Thanks for posting your issue,
    You can switch of alerts and set E-Mail Notification to Yes under your Workflow Tasks list > Settings > Advanced Settings. By doing so user specified in AssignedTo will receive e-mail notification when task is created and if task ownership is not changed
    during your workflow this will be the only mail sent by system.
    Since you are already using SharePoint designer you also have option to include Send an Email action in your workflow (after task is created). This option is better if you want to send some specific info to user.
    Also, browse the below mentioned URLs to create workflow step by step
    http://sharepointsolutions.com/sharepoint-help/blog/2010/03/create-a-detailed-custom-task-notification-with-a-sharepoint-designer-workflow/
    http://sharepoint-community.net/forum/topics/configure-email-notification-for-discussion-board-activity
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Start and End Dates check

    Hi,
    I have a requirement to find the list of persons who have overlapping dates.
    Each person can have many start and End Dates, but only one row that has a NULL end date, the active record. If the start and end dates are overlapped, like in the example below, the second row should have a start date of 24-DEC-2006 and not 22-DEC-2006. Is it possible to list those persons who have overlapping dates/gap in the dates.
    Empl_ID Start Date End Date
    12345 01-JAN-2006 23-DEC-2006
    12345 22-DEC-2006 13-JAN-2007
    12345 14-JAN-2007 NULL
    Any help is greatly appreciated.
    Thanks!

    Hi Patrick
    I like where you are coming from. I hope you don't mind but I have extended your idea slightly to add in a PARTITION BY clause to make sure we look at records for the same person. Also, if we LAG to get a previous record shouldn't we LAG the END_DATE and compare it with the current START_DATE?
    LAG(END_DATE,1) OVER (PARTITION BY EMPL_ID ORDER BY START_DATE)
    Doing this, then the results would look like this:
    Empl_ID Start Date End Date Lag Date
    12345 01-JAN-2006 23-DEC-2006 NULL
    12345 22-DEC-2006 13-JAN-2007 23-DEC-2006
    12345 14-JAN-2007 NULL 13-JAN-2007
    This would give the SIGN an issue because in the first record the LAG would be NULL and in the last record the END_DATE would be NULL. So it looks like some manipulation of NULLs has to take place as well which I will deal with later.
    SIGN((LAG(END_DATE,1) OVER (PARTITION BY EMPL_ID ORDER BY START_DATE)) - START_DATE)
    Anytime the difference between the Lag Date and the Start Date is positive this means this is an overlap which means we do need to look for any variance where the SIGN is 1.
    Using the other function, we could use LEAD like this:
    LEAD(START_DATE,1) OVER (PARTITION BY EMPL_ID ORDER BY START_DATE)
    Doing this, then the results would look like this:
    Empl_ID Start Date End Date Lead Date
    12345 01-JAN-2006 23-DEC-2006 22-DEC-2006
    12345 22-DEC-2006 13-JAN-2007 14-JAN-2007
    12345 14-JAN-2007 NULL NULL
    which when combined with SIGN becomes: SIGN((LEAD(START_DATE,1) OVER (PARTITION BY EMPL_ID ORDER BY START_DATE)) - END_DATE)
    This time you would be looking for the SIGN to be -1
    Personally, I think I would prefer the LEAD function because a) there would always be a START_DATE, and b) we could replace all of the possible NULLs with the SYSDATE to get a final calculation like this:
    SIGN(NVL(LEAD(START_DATE,1) OVER (PARTITION BY EMPL_ID ORDER BY START_DATE),TRUNC(SYSDATE)) - NVL(END_DATE, TRUNC(SYSDATE)))
    Based on the current date being 17-NOV-2009, you would now get this result:
    Empl_ID Start Date End Date Lead Date
    12345 01-JAN-2006 23-DEC-2006 22-DEC-2006
    12345 22-DEC-2006 13-JAN-2007 14-JAN-2007
    12345 14-JAN-2007 17-NOV-2009 17-NOV-2009
    Best wishes
    Michael

  • Payables Employee Listing Report Doesn't Reflect End-Date

    We are running apps 11.0.3 on HP-UX 11, 8.0.5 database. When we run the Employee Listing in AP, the employees we have end-dated continue to show up when we run the report for only 'Active' employees. We don't have HR installed, so I don't know where else to end-date the employees (other than the employees screens in AP) so they won't show up on this report.
    Any ideas?

    In the "Enter Employees" screen within Payables, current practice is to end-date an employee when they are terminated in the Employment Dates field (there is a from and to field; the from is populated with the sysdate as employees are added). If you click "More" and go to the Person Information form, you can also From-To date the address detail. I tried end-dating this, but it didn't show up on the report either.
    As mentioned before, we don't have HR installed (maybe a partial but there was no activity there) so Payables is the only place we maintain employees.

  • JDev 10.1.3: ADF - How to end-date a record

    I am fairly new to ADF, but I have a question about end-dating a record. I have a table with a start and end date on a record. I have created a method that will allow the user to copy a record. I have an ADF read-only table, they select the record and click the copy button. This then displays an ADF form that allows the user to clone that record and make any changes to it. The user can enter a start date for this record. Could someone point me in the right direction or provide some documentation on how to then be able to go back and end-date the originally selected record with the start-date that the user just entered? I thought maybe I could override the doDML method in the Entity Object, but I am unsure how to find the original record that the user had selected?

    Well done on getting the bits together, let's consider your code next.
    0) You refer to attribute 29. This is going to get you in trouble if the attr index ever gets re-arranged. Instead you could probably do something like:
    Fees001RowImpl row = (Fees001RowImpl)getCurrentRow();
    ...then you can refer to the row attribute accessor:
    row.getX() (where X is your attribute name ... this assumes you've created the RowImpl class for the VO).
    (with apologies I've had to guess at some of your class names here, so you may need to tweek the class names to match your exact code)
    1) Why in endDateRecr() are you calling createRootApplicationModule()? This will create a separate transaction with the db and is probably the reason you're not seeing your record until refresh. If the client interface method is in your ViewObjectImpl you should be able to just call getApplicationModule(). Something like the following:
    AppModuleImpl am = (AppModuleImpl)getApplicationModule();
    This should also give you the advantage that you can now refer to the Fees001ViewObject directly like this:
    Fees001ViewObject vo = am.getFees001View1();
    ....and that'll isolate you from a name change of the view object which you've hardcoded in the findViewObject call.
    2) You loop through the Fees001 VO. Instead you could use vo.getKey() to find your exact row (assuming you have the PK).
    3) You set the fee attribute 2 + 3; similar to above you could cast the fee row to an instance of Fee001RowImpl then call the actual setter methods provided for each attribute, isolating you from any changes in the order index of the attributes.
    4) Any reason you're explicitly committing within the model layer method? This is similar to the argument that you should never commit inside a database pl/sql package as it's not obvious to the outside caller that this is occurring. Instead leave the commit for your UI ActionListener.
    Hope this helps. As I said it's a little hard to give you exact code as I don't know your object names etc, but hopefully will steer you in the right direction.
    CM.

Maybe you are looking for

  • MSI 990XA-GD55 power phase design

    Hi, I am new to the forum. Bilding my 1st rig and am just wondering what is the power design of the 990XA-GD55 MB is it 8+2 or something else? Can't find info on that anyware... MSI shoud have that info at the MB's home page, it's very helpfull in di

  • Is it possible to have Different Interval Ranges for the same Doc Type

    Dear All, Here is the issue.Is it possible to have different interval ranges for the same document type according to certain condition.Like my client , wants his interval ranges  be divided according to region(which are many) Regards, Sameer Jalees

  • Portrait landscape mystery switch

    photos in my iPhoto library have mysteriously gone from one orientation to the other. maybe related background --- This mystery was preceeded by an error when syncing my iPhone that said "the following image was not copied to your iPhone because it c

  • Converting RGB to grayscale

    I am acquiring an image and the output appears to be a grayscale image, but the text states that it is in fact an RGB image. I'd like to save some space and convert it into a GrayScale image. I have labview 8.2 and I don't have vision. Is there any w

  • [Solved]Gnome settings problem

    Hi all. I have some strange problems with Gnome 3.2, it is hard to explain but these screenshots should: http://bildr.no/image/1012613.jpeg http://bildr.no/image/1012614.jpeg In the first picture you can see that something that is selected by default