Edit User Function

Hello,
I cannot get the following arguments for APEX_UTIL.EDIT_USER to work:
p_account_locked
p_change_password_on_first_use
p_first_password_use_occurred
I receive the following error when trying to use them. I can use the function with other arguments just fine.
ORA-06550: line 2, column 4: PLS-00306: wrong number or types of arguments in call to 'EDIT_USER' ORA-06550: line 2, column 4: PL/SQL: Statement ignored
Any help would be appreciated.
Thanks,
Minh

I was expecting you to show the code that does not work, the code you need help with exactly as you coded it. However, based on your Application Express version, I don't need to see it. A workaround for the problem is described here: Re: Using APEX_UTIL.EDIT_USER API - prompted for new password on next login .
After you upgrade to 3.1, you will be able to use apex_util.edit_user.
Scott

Similar Messages

  • Problem with Edit IN function between LR 2.3 and PS CS3

    I recently upgraded my system to a Windows Vista 64 bit Core 2 Quad with 8 GB.  Lightroom now works and loads images the way it should. I do have one major concern and need any help possible.
    I am using LR 2.3 in 64 bit and PS CS3 ver 10.0.1 (which is 32 bit - loads slowly but otherwise works fine).  The problem I am encountering is in LR Develop / Photo / Edit In...  - using any of the menu items:
    "Edit in Abode Photoshop CS3"
    "Open as Smart Object In Photoshop"
    "Merge to Panorama in Photoshop"
    "Merge to HDR in Photoshop"
    "Open as layers in Photoshop"
    Photoshop opens but no image(s) are exported and I receive the message in LR - "The file could not be edited because Adobe Photoshop CS3 could not be launched."
    Photoshop, however, was launched but no image exported and so I can't work on the image in PS.  The appropriate TIFF image is created in LR for the first two menu items - nothing for the last three menu items.
    I can create a partial work around by setting PS as an external editor, however, I can't use 4 of 5 of the menu items.
    All the menu items work fine in Windows XPpro.
    Any help is much appreciated.
    PS I also tried the most recent Window 7 RC with exactly the same results.
    Thanks
    Bob

    Don
    I wasn't shouting - I just cut and paste the exact text and font in its original size and type as was shown in the message.  Never had a thought that someone would be offended by cutting and pasting exactly what was in a message - it would appear that John Williams saw it for what it was.
    However, sorry if I offended you.
    Bob
    Date: Mon, 1 Jun 2009 19:15:15 -0600
    From: [email protected]
    To: [email protected]
    Subject: Problem with Edit IN function between LR 2.3 and PS CS3
    There is no reason to shout. There are only other users here trying to help.
    >

  • Unable to edit some functions in APEX Sql Workshop

    Hi
    Users are able to edit some procedures/functions in APEX SQL Work shop. ( Object Browser - functions - EDIT)
    When we press edit we get cursor in the code area and can edit some procedures, But for some procedures when we click edit we don't get cursor in the code area and we are not able to edit the functions/procedures.
    I am using fairfox browser.This is happening with only some. Is there any security.grants issue???
    Thanks
    Sree

    Hi
    This is happening with some procedures, For others this works fine.In IE I get red block in code area.
    EDIT is working for some procedures so I think may not be the browser issue.
    Thanks
    Sree

  • Where is the "DELETE" tab in Edit User in Portal?

    Hi,
    Portal version 3.08 on solaris. I logged on as Portal30. Go to Login Server, Administer User, Edit a user, and I saw a DELETE tab for that user. I can delete a user there.
    However, if I go to Edit user under the Create user portlet. I chose a user to edit,
    but I don't see a "DELETE" tab, I only see tabs like: "Reset to Defaults", "Apply", "OK", "CANCEL".
    Why?
    In portal 3.0.7, NT, I can see the "DELETE" tab in both places. Is this a change for 3.0.8?
    Thanks;
    Kelly.
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Maria Torres ([email protected]):
    IN 3.0.8, IT LOOKS TO ME THAT DELETING THE USER FROM THE LOGIN SERVER AUTOMATICALLY DELETES THE USER FROM THE PORTAL.
    <HR></BLOCKQUOTE>
    I check this in Portal308, deleting user from login server is not equal to delete from portal. In PORTAL30.WWSEC_PERSON$ table still remain personal details of deleted user.
    Is it bug or right functionality?
    For me it is some kind of bug. When you re-create user in sso server it tooks over all pers. data from old user.
    Thanks for any answers
    Marcin
    null

  • Using the Dollar($) Sign in a User Function Implementation

    Hi All,
    Just a quick question: how could you use a dollar($) sign in the implementation (Oracle) of a user function? I'm asking because the table name that I'm using in the implementation happens to contain the dollar sign (I$_FACT_SALES) and from the results I'm getting now, ODI reads the $ as reference to a variable, therefore removing the $-sign from my table name upon execution (I_FACT_SALES). Is there something like a backslash or some other character that could be inserted before the $ so it would register as part of the table name?
    Any response would be greatly appreciated.
    Thanks very much,
    Marco

    You may have 3 options:
    1.) Try using the tablename in quotes "MY$TABLE" or may be MY$$TABLE using double $ symbol
    or
    2.) I found this code snippet : odiRef.getInfo( \\u0022DEST_WORK_SCHEMA\\u0022 )+\\u0022.\\u0022,\\u0022\\u0022)?. So on these lines you can use \\u0022 as a symbol for "
    You can see similar problem/solution/explanation in
    Re: Regular Expression wierdness - problem with $ character
    or
    3.) Change the Work Tables Prefix in Topology Manager > Physical Schema > Your_Schema
    from E$_ , C$_ , I$_ to something like ERR_ , SRC_ , INT_
    Edited by: Ace2 on Dec 2, 2009 9:57 AM

  • Can we Customize Edit User-Defined Table Screen in Fusion Application

    Hi All,
    We have a requirement to add a ADFDI functionality to the 'Edit USer-Defined Table' screen by adding a 'Mass Upload' Button.
    Normally for Some of the screens (Fusion Compensation) i am seeing 'Personalize -> Edit Current Page' Option on Menu items on top. But on 'Edit User-Defined Table' i am not seeing this option in 'Personalize' Menu.
    So the questions is is this screen Customizable in Fusion Application? If So What will be EAR file which we need to use for Customization.
    The screen where we need to add ADFDI Functionality is under 'oracle/apps/setup' path.
    Can anyone point me to the Exact EAR on this and also let me know if we can customize it or not
    Thanks
    Kaja

    Generally the code structure can be observed run-time [url https://blogs.oracle.com/fadevrel/entry/finding_code_artifacts_for_customization]using the composer, however in your case the content comes through a portlet in which case the method does not work as you cannot drill down to the specific region details in the composer. Based on a search through the code I think the regions you are interested are:
    <li>hcmPayroll/userTables/ui/public_html/oracle/apps/hcm/userTables/ui/page/UserTableSearch.jsff --> This is the details page with header "Manage User-Defined Tables"
    <li>hcmPayroll/userTables/ui/public_html/oracle/apps/hcm/userTables/ui/page/ManageUserStructure.jsff --> This is the details page with header "User-Defined Table: <TABLE_NAME>"
    These would presumably be in EarHcmPayroll. I'll see if I can find out how the portlet content can be observed from the RT application..
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • User Function Library for Crystal Reports 10 doesn't work on Win2K3 SP2

    Hi,
    Recently, we have been facing problem with Crystal Reports 10 developer edition on Windows Server 2003 R2 Service Pack2.
    The user function library concept doesnu2019t seem to be working on Windows Server 2003. We had installed CR10 Service Pack 6.
    We have a UFL written in VB 6.0 and this UFL is used in a formula in one of our reports.
    Whenever this report is invoked, the application crashes with a page fault. Dr Watson log files points to a crash occurring in Crystal Reports component.
    To reproduce this problem:
    1) Create a UFL in VB 6.0
    2) Use the UFL in a formula in a report
    3) Create a VB 6.0 application and use CR 10 Report Viewer control
    4) Invoke the report from the application
    5) The application crashes on Windows Server 2003 (SP2).
    This is a high priority issue.
    Is there any other alternative to User Function Library?
    Any help on this will be very much appreciated.
    Thanks in advance.

    Hi,
    Recently, we have been facing problem with Crystal Reports 10 developer edition on Windows Server 2003 R2 Service Pack2.
    The user function library concept doesnu2019t seem to be working on Windows Server 2003. We had installed CR10 Service Pack 6.
    We have a UFL written in VB 6.0 and this UFL is used in a formula in one of our reports.
    Whenever this report is invoked, the application crashes with a page fault. Dr Watson log files points to a crash occurring in Crystal Reports component.
    To reproduce this problem:
    1) Create a UFL in VB 6.0
    2) Use the UFL in a formula in a report
    3) Create a VB 6.0 application and use CR 10 Report Viewer control
    4) Invoke the report from the application
    5) The application crashes on Windows Server 2003 (SP2).
    This is a high priority issue.
    Is there any other alternative to User Function Library?
    Any help on this will be very much appreciated.
    Thanks in advance.

  • User Function Name wrong resultset in Oracle Apps Query

    Hi,
    I am using the below query to extarct the user function names alonng with responsilibity .But doing so i am getting a User Function Name for eg 'Cross Validation Rules' under Order Management User.But thats wrong.Cross validation rules should exists in Receivables,GL and Payables.
    select distinct frv.menu_id, frv.responsibility_id, frv.responsibility_name, fff.function_name, ffft.user_function_name
    from
    fnd_responsibility_vl frv,
    fnd_responsibility frp,
    fnd_form_functions fff,
    fnd_form_functions_tl ffft,
    fnd_resp_functions resp,
    fnd_menu_entries mnu,
    fnd_menus fmn
    where
    fff.function_id = ffft.function_id
    and mnu.menu_id=frp.menu_id
    and mnu.menu_id=fmn.menu_id
    and frv.responsibility_id=resp.responsibility_id
    and mnu.function_id=ffft.function_id
    and resp.rule_type='M'
    and frv.menu_id in (select me.menu_id
    from fnd_menu_entries me
    start with me.function_id = fff.function_id
    connect by prior me.menu_id = me.sub_menu_id )
    and (frv.responsibility_name like '%Order%')
    order by 1
    Kindly any help will be helpful for me

    What is your application release?
    I am using the below query to extarct the user function names alonng with responsilibity .But doing so i am getting a User Function Name for eg 'Cross Validation Rules' under Order Management User.But thats wrong.Cross validation rules should exists in Receivables,GL and Payables.Please try the queries in these docs.
    Script To Extract Submenu And Function Information About A Menu [ID 458701.1]
    HOW TO GENERATE MENU TREE FOR A MENU ATTACHED TO A RESPONSIBILITY IN ORACLE APPLICATIONS 11i ? [ID 312014.1]
    Thanks,
    Hussein

  • Design Editor Crashes on editing USER TEXT

    I am running Designer 9i version 9.0.2.10 on windows XP. Everytime I try to use either Text Editor or HTML editor for editing user text under USER TEXT tab of a module definition, the Designer crashes. I have checked the Text Editor options under the Options menu and they are correctly formatted and defined.
    Any clues?

    We launch DE from the Front Panel. Inbetween we found out that it probably is caused by a conflict with other software on the PC. The problems occur on a PC with a pre-installed developer's image, and then Developer suite 10g installed on top of it. On a PC with "normal" company image it seems to be OK.

  • Using "Edit in" function after upgrading to LR 4.4

    Hello all,
    I upgraded to 4.4 today and when I tried to use the "edit in" function on a photo an move to Elements 10 I got a message that LR was unable to prepare the selected file for editting and it will not be opened.  I tried multiple photos and none of them work.  I also went into preferences and set up Elements editor as my external program.  This worked this morning before the upgrade.  Any ideas?

    xDa7myx wrote:
    I thought that the "Edit In" feature works only with Ps full version (e.x. SC6), no the Element. I read that on LightroomKillerTips.com where they explained how to use this feature that was first introduced in 4.1 update.
    Am I wrong, or "Edit In" Elements was interduced in a later/current update?
    Thank you so much in advance
    You can make "Edit in" open any program, but it's not intuitive. 
    Edit menu, Preferences, External Editing tab.  Then Click "Choose" button, navigate to the program you want (on a PC it will generally be a .exe file in a subfolder of "C:\Program Files" or "C:\Program Files (x86)").  Then tailor other settings (file format, colour space, bit depth...).  Finally (don't forget this) click on the drop down next to "Preset:" and choose "Save current settings as new preset" and give it a suitable name.  That will add your chosen program as a new entry in the "Edit in..." list. 
    As I say, it's not inuitive!

  • Edit User profile Property - grayed out buttons

    I am trying to change the mapping for the Work email property in the User Profile but when I edit the property on the "Edit User Profile Property" page, the Property Mapping for Synchronization's "Remove" button is grayed out as well
    as Add New mappings "Add" button. I am logged on with the Farm account which has admin rights to  the UP.
    ITGirl

    Hi ,
    For the Add New Mapping's "Add" button grayed out, when I change to another/second "Synchronization Connection" from "Source Data Connection" dropdown, then "Add" button will be available.
    For the Property Mapping for Synchronization's "Remove" button grayed out,
    please make sure your Farm account or user account has the following permissions, then check results again.
    http://technet.microsoft.com/en-us/library/ee721049(v=office.15).aspx#MapUserProc
    The user account that performs this procedure is a farm administrator or an administrator of the User Profile service application.
    The user account that performs this procedure is a member of the Administrators group on the computer that is running SharePoint Server.
    Thanks
    Daniel Yang
    TechNet Community Support

  • How to add a Link to Edit User Account Info?

    Hi, I want to add a link that will take me to the edit user page in oiddas, for the current logged in user. I would have thought that this would come standard in portal, as a smark link. But all I have is the Edit Portal Profile link (which allows me to set my default group, default home page, etc). I just want to create a link to edit the current user's account information (and reset their password). Does anyone know how to do that, am I overlooking something?

    Hi Gnoria Bowens,
    You can't add links using 'Acrobat.com Online Service', However you can use Acrobat Standard or Pro software to Create a Link in PDF.
    In Order to Create Links using Acrobat software, Please Visit this Webpage- Adobe Acrobat X Pro * Create a link - This Link Describes the procedure to create link if you are using Acrobat X pro.
    The options  detailed on the above link might differ from the One shown in your version of Acrobat, so if you can let me know the Version of Acrobat you are using, I can help you more Accurately.
    Hope to hear from you soon,
    Regards,
    Rahul Tyagi

  • Can't create, delete or edit users in /LDAPv3/127.0.0.1 via WGM

    Hi guys,
    I have followed Mike Bombiches guide to 'Leveraging AD on Mac OSX.' All was fine yesterday...
    But today I cannot create, delete or edit users in the OD Directory. The New User/Group etc.. icons are greyed out... And yes I am authenticated...
    Any ideas?

    Check the logs.
    Also use dscl for authenticated reading and writing. Its error reporting might be easier to corelate. See man dscl.
    HTH
    -Ralph

  • Problem while using a user function

    Hi,
    I just want to learn how a user function in ODI works.
    I have created a user function(for Oracle technology).
    In Definition Tab, I gave bfun($(branchc))
    In implementation I gave
    if ($(branchc) = 'it' || 'cse') then
    return('IT')
    else
    return('Non-IT')
    end if
    In a mapping rule i am using it as BFUN(STUDENT.BRANCH)
    I am getting the following error...
    Bad Query: ORA-00904: "BFUN": Invalid Identifier
    select BFUN('STUDENT.BRANCH') from EX.STUDENT STUDENT where (1=2).
    EX is my source schema.
    Please help me in resolving this.

    Hi,
    That is a common error on ODI.
    The ODI function, (as ODI variable) is to "substitute words", it means, ODI is a code generator and a function are made to substitute code, not to "execute" that action coded.
    For instance: If there are a "case when" instruction that is necessary be typed over and over again, at several places just change the column to be evaluate, you can create a ODI function to substitute this code avoiding type it several times and better, let the same code in just one place.
    Is a way to have “Object Orientation” coding (OO) to code generation...
    Does it make any sense to you?
    Cezar Santos

  • Incorrect Results When Using an In-Line View and User Function in 10g

    My developers are complaining of incorrect Select statement results when using an in-line view along with a user defined function. Below is the statement:
    select test_f(wo1)
    from
    (SELECT a.WORK_ORDER_NBR, b.work_order_nbr wo1/*, facility_f(A.FACILITY),
    A.PLANNER, A.WO_STATUS, mil_date(A.WO_STATUS_DATE)*, A.WORK_ORDER_TYPE,
    A.WO_DESCRIPTION
    FROM TIDWOWRK A, TIDWOTSK B
    WHERE B.WORK_ORDER_NBR(+) = A.WORK_ORDER_NBR))
    where wo1 is null;
    Test_f() is a user defined function and the above query returns thousands of rows. It should return 308 rows. It is apparent that the target database is not evaluating the "where wo1 is null;" clause.
    select to_char(wo1)
    from
    (SELECT a.WORK_ORDER_NBR, b.work_order_nbr wo1/*, facility_f(A.FACILITY),
    A.PLANNER, A.WO_STATUS, mil_date(A.WO_STATUS_DATE)*, A.WORK_ORDER_TYPE,
    A.WO_DESCRIPTION
    FROM TIDWOWRK A, TIDWOTSK B
    WHERE B.WORK_ORDER_NBR(+) = A.WORK_ORDER_NBR))
    where wo1 is null;
    In the above query return 308 rows. The user function was replaced by an Oracle function. The Where clause is now evaluated correctly.
    The query is executed from an Oracle 10g R2 database and retrieves data from a 9.2.0.6 database.
    I've seen a little information on Metalink. It appears that there was some trouble in 9i, but were fixed in a 9.2.0.6 patch. I don't see any information about a 10.2.0.2 database.
    Anyone have any experiences or a successful solution. I suspect that I will need to report this to Oracle and wait for a patch.
    Thanks,
    John

    I can only think of two reasons for this behaviour:
    1) You are executing these two queries from two different users and there is some policy on the table.
    2) The function doesn't do an upper, but returns null a lot of times, even when the input is a not null value, like this:
    SQL> create table tidwowrk
      2  as
      3  select 1 id, 'A' work_order_nbr, 'DST' facility from dual union all
      4  select 2, null, 'TRN' from dual union all
      5  select 3, 'C', 'DST' from dual
      6  /
    Tabel is aangemaakt.
    SQL> create table tidwotsk
      2  as
      3  select 'A' work_order_nbr from dual union all
      4  select 'B' from dual
      5  /
    Tabel is aangemaakt.
    SQL> create or replace function test_f (a in varchar2) return varchar2
      2  is
      3  begin
      4    return case a when 'A' then null else a end;
      5  end;
      6  /
    Functie is aangemaakt.
    SQL> select count(*)
      2    from ( SELECT a.WORK_ORDER_NBR
      3                , test_f(b.work_order_nbr) wo1
      4             FROM TIDWOWRK A
      5                , TIDWOTSK B
      6            WHERE B.WORK_ORDER_NBR(+) = A.WORK_ORDER_NBR
      7              and a.facility in ('DST', 'TRN', 'SUB')
      8         )
      9   where wo1 is null
    10  /
                                  COUNT(*)
                                         3
    1 rij is geselecteerd.
    SQL> select count(*)
      2    from ( SELECT a.WORK_ORDER_NBR
      3                , to_char(b.work_order_nbr) wo1
      4             FROM TIDWOWRK A, TIDWOTSK B
      5            WHERE B.WORK_ORDER_NBR(+) = A.WORK_ORDER_NBR
      6              and a.facility in ('DST', 'TRN', 'SUB')
      7         )
      8   where wo1 is null
      9  /
                                  COUNT(*)
                                         2
    1 rij is geselecteerd.Regards,
    Rob.

Maybe you are looking for

  • Cost elements set in KEI1 A1 Settle Production Variances?

    Dear Experts, What kinds of cost elements would be set in KEI1 If the PA transfer str. is A1Settle Production Variances? 10     Input price variance 20     Input quantity variance 30     Resource-usage variance 40     Remaining input variance 50     

  • Displaying streamed images in Web Dynpro

    Hi All, I have following scenario to programme. - The DB have "images" stored as BLOB. - I need to read the images (stream) and make them visible in Web Dynpro UI. Problem is i only one way to providing images in Web Dynpro. The images are picked fro

  • Inbound Invoice IDOC mapping Required fields

    Hi All, Please let me know what need to be mapped for the @begin , @segment , TABNAM , SNDPOR, SNDPRT etc like this elements in the IDOC structure. In my scenarion i get Invoices in  XML file so that i can pick that and process it into SAP R/3 by doi

  • 1 monitor used, but 2 detected

    When video drivers are installed the system detects the monitor twice, but I'm only using one. This occurs with the MSI supplied drivers or the latest Nvidia dirvers for winME. Also, the screen size/colors stays fixed at 640X480 and 16 bit. Searching

  • ME5A T code Capturing wrong PR Release Date

    Dear All I am an enduser, we have a KPI for our Procurement team to capture the Avg PR to PO process time. To do so we mainly require PR final Release date & correponding PO Release date. we are using Tcode Me5a to get this details, But it capture wr