Approval of the workflow of the PO

Dear all,
Our users need to share the work list for the PO approval with other workflow in the Department, but if the user other than the one that received the original notification approves PO. history of approval workflow still shows the original name recipients and not the answering machine as the approver. He is not even puts the message as "approving on behalf of" as in the case if the notification is sent to any other user.

Suggestions how to capture the answering machine as an approver?

Published by: 989622 on 6 March 2013 06:27

I was able to find where it is.

The PO_WF_PO_NOTIFICATION. POST_APPROVAL_NOTIF has a logic (which doesn't make much sense), but if the owner of the session (user) does not correspond to the original purchaser of the notification, it is the answering machine for the original recipient.

SELECTION fu. USER_ID
IN l_responder_id
OF fnd_user fu,.
wfn wf_notifications
WHERE wfn.notification_id = l_nid
AND wfn.original_recipient = fu.user_name;

l_session_user_id: = fnd_global.user_id;

IF (l_responder_id is not null) THEN

IF (l_responder_id <> l_session_user_id) THEN

/ * in 2 scenarios:
1. when the answer is made from electronic mail using the guest user feature
2. If the answer is made from sysadmin login
*/

PO_WF_UTIL_PKG. SetItemAttrNumber (itemtype-online itemtype,
ItemKey-online itemkey,
ANAME-online "RESPONDER_USER_ID."
value-online l_responder_id);

PO_WF_UTIL_PKG. SetItemAttrNumber (itemtype-online itemtype,
ItemKey-online itemkey,
ANAME-online "RESPONDER_RESP_ID."
value-online l_preparer_resp_id);

PO_WF_UTIL_PKG. SetItemAttrNumber (itemtype-online itemtype,
ItemKey-online itemkey,
ANAME-online "RESPONDER_APPL_ID."
value-online l_preparer_appl_id);
ON THE OTHER

IF (l_session_resp_id is nothing) THEN

/ * possible when the answer is made from the list of default tasks
without selecting a valid responsibility * /.

PO_WF_UTIL_PKG. SetItemAttrNumber (itemtype-online itemtype,
ItemKey-online itemkey,
ANAME-online "RESPONDER_USER_ID."
value-online l_responder_id);

PO_WF_UTIL_PKG. SetItemAttrNumber (itemtype-online itemtype,
ItemKey-online itemkey,
ANAME-online "RESPONDER_RESP_ID."
value-online l_preparer_resp_id);

PO_WF_UTIL_PKG. SetItemAttrNumber (itemtype-online itemtype,
ItemKey-online itemkey,
ANAME-online "RESPONDER_APPL_ID."
value-online l_preparer_appl_id);
ON THE OTHER

/ * all values available - possible when the answer
After you have chosen a correct responsibility * /.

/ * bug 5333226 : If the values of responsibility_id and demand
ID are available but are incorrect - that is not in line to tell the
SLS (subledger security). This can happen when a response is made
through email or the background process picks up the wf.
This can happen due to the fact that the sender / background process
the framework established by the notification/wf door it last processed * /.

IF (l_preserved_ctx = 'TRUE') THEN

PO_WF_UTIL_PKG. SetItemAttrNumber (itemtype-online itemtype,
ItemKey-online itemkey,
ANAME-online "RESPONDER_USER_ID."
value-online l_responder_id);

PO_WF_UTIL_PKG. SetItemAttrNumber (itemtype-online itemtype,
ItemKey-online itemkey,
ANAME-online "RESPONDER_RESP_ID."
value-online l_session_resp_id);

PO_WF_UTIL_PKG. SetItemAttrNumber (itemtype-online itemtype,
ItemKey-online itemkey,
ANAME-online "RESPONDER_APPL_ID."
value-online l_session_appl_id);
ON THE OTHER

PO_WF_UTIL_PKG. SetItemAttrNumber (itemtype-online itemtype,
ItemKey-online itemkey,
ANAME-online "RESPONDER_USER_ID."
value-online l_responder_id);

PO_WF_UTIL_PKG. SetItemAttrNumber (itemtype-online itemtype,
ItemKey-online itemkey,
ANAME-online "RESPONDER_RESP_ID."
value-online l_preparer_resp_id);

PO_WF_UTIL_PKG. SetItemAttrNumber (itemtype-online itemtype,
ItemKey-online itemkey,
ANAME-online "RESPONDER_APPL_ID."
value-online l_preparer_appl_id);

END IF; -(l_preserved_ctx = 'TRUE')

END IF; -(l_session_resp_id is null)

END IF; --(l_responder_id <> l_session_user_id)

END IF; --(l_responder_id n'est pas null)

So, I need to create a custom code to work around this logic...

Tags: Oracle Applications

Similar Questions

  • Approval for the creation of the organization workflow

    Hello

    I need to set up a workflow approval for the creation of the organization. When the administrator tries to create a new org, approval should go to an administrative group. The org should get created once the approval is made. I configured a workflow approval for the purpose of resource Xellerate organization. I created a unconditional task where the assignment tab has the admin group. When I test, the org is created without going through the approval process. Is could someone please tell me what I'm missing?

    Thank you
    PETREA

    Published by: red1 22 January 2011 08:38

    Go to the tab resource Grant > organization > select dummy Org > fill object

    Try this with XELSYSADM.

    You will see the org model.

    _____________

    Step additional---> >

    Create dummy Org
    Go in manage Org
    Select dummy Org
    Select the management group
    Click on assign
    All users

  • Approval of the Oracle project


    Hi all

    I need like this and help me how to achieve this requirement for needs of the company

    Requirement:

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

    "If someone creates a project in Oracle Apps project accounting, the project gets approved on its own.

    Company want to use oracle standard workflow that sends the draft to the immediate supervisor of the owner for approval. »

    (1) what are the requirements for this type of requirement?

    (2) what is the workflow that is triggered when the project is created and how to get approval for the project?

    (3) what is the exact workflow which approves this project?

    Thank you

    @P

    Hello

    (1) > configuration > system > status. Find the statues of project and implement your workflow for each position you wish to control.

    (2) project status Change Workflow, project workflow Extension is also called.

    (3) PAPROJWF.wft

    Thank you

    Gene

  • Automatic approval when the applicant is approver

    Hello

    I am setting up a workflow for approval of level one (using SOA in 11gR2PS2) where approval is a role (say A) IOM. Still it works great except for the fact that, when a member of role requests (A), the request is forwarded for approval rather than get automatically approved.

    I know a way to solve this is by adding a java embedding task and questioning IOM to find out if the applicant is a member of the approval group and then auto approve in the workflow. But, is there some direct way to know, am I missing any configuration of the workflow? I think it should be out of the box feature - please let me know if you have faced a similar problem before?

    Thank you

    Olga

    You can try to put your function there and have it be = 'true' if it returns a string.  If it is Boolean, you must indicate in your statement of equal to equal.  You will need to know just where to assign the variable to, or be able to reference it.

    As nice as it would be to use OOB, chances are its features will never support your business needs.  Any deviation, and it won't work.  But the fun is customize the composite of soa and learn all the intricacies of this.

    -Kevin

  • Approval of the force

    I was asked to develop a query that finds all the Bills that have been approved of the force approval process. I don't know how to get this information.

    1. The same manually approved invoices as forced approval?
    2. What workflow actually approves the invoice?
    3. How can I tell the difference between a regular approval workflow and a force approval workflow?

    You can provide any help will be appreciated.

    Hi Paul,.

    1 and 3.  Yes, manaully approved bills are the same as forced invoices. So ff field ap_invoices_all.wfapproval_status is set to 'MANUALLY APPROVED', then 'Force approval' option was used.

    2. the workflow APINV process manages approval.

    Cheryl

  • Error when approval of the application...

    Hello

    I created a composite SOA in the approver 1st level is Manager and second level approval is a role. When I put the request the task is entrusted to the Manager and manager approves it. The task is assigned to the role. However the question is, when a member of the role trying to approve the task, the following error is thrown. Please note that it is able to reject the application if, only if approved, I see the error below.

    Although it shows the newspaper as warning, but on the approval of the user interface, it generates an error. That is to say. "" An error occurred ".

    Clues Pls!

    # < 7 August 2012 15:42:56 IS > < opinion > < Stdout > < bubo.stadi.sonera.fi > < soa_server1 > < ExecuteThread [ASSET]: '3' for queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <>< a94ee5b878875ef9:-47c429e2:138eb2557d6: - 8000-000000000007 520 d > < 1344343376602 > < BEA-000000 > < < 7 August 2012 15:42:56 IS >

    < WARNING > < oracle.soa.services.workflow.persistency > < BEA-000000 > < < PredicateImpl.getPredicateCondtion > request values for columns that can contain several types of identity (users, groups, approles) should be IdentityType or an IdentityType object list. Incorrect use of "WF_NONEXISTENT_ASSIGNEE" for the "wfa.assignee" column > >

    # < 7 August 2012 15:42:56 IS > < opinion > < Stdout > < bubo.stadi.sonera.fi > < soa_server1 > < ExecuteThread [ASSET]: '3' for queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <>< a94ee5b878875ef9:-47c429e2:138eb2557d6:-8000-000000000007d51f > < 1344343376602 > < BEA-000000 > < < 7 August 2012 15:42:56 IS >

    < WARNING > < oracle.soa.services.workflow.persistency > < BEA-000000 > < < QueryUtil.warnForUseOfNonIdentityTypeValues > request values for columns that can contain several types of identity (users, groups, approles) should be IdentityType or an IdentityType object list. Incorrect use of "WF_NONEXISTENT_ASSIGNEE" for the "wfa.assignee" column > >

    You have the right to request approver. Add the approver to the administrator application role.

    Thank you
    Suren

  • PO approval to the customer notification

    Hello

    When a purchase order is created and is sent on for approval, when finally approved is the principal or buyer will receive an email indicating his approved? Fact this feature exist in Oracle and if so, what settings are required to allow the same.

    Thank you
    Shilpa.

    Hello
    Your question: is this option only available in also 11i or R12?
    Rep. : Yes available in 11i and R12...

    Q: can we do something with the PO approval workflow for this notification?
    Rep. : Hope you did install appropriate to the Type of Document (purchase > Setup > purchases > Types of documents)...

    WF '' derives from the type of Document. In the Document type attribute for example say purchase order approval Workflow Standard is normally defined as: approval of PO and the process of starting the workflow as: PO approval process... Top

    We believe below are the sine qua non for WF send mail for approval...
    S ' ensure that notification mailer is running
    -WF background process is expected

    Kind regards
    S.P DASH

  • Approval of the AD

    Hello!
    I want to create an approval workflow to create users in AD. For example, before commissioning user in AD resouce the demand should go to the target user for approval. I created the process in the process, added to the task definition and define users targeted for approval in the assignment tab. But as a first step, the request goes to the xelsysadm (main system administrator), how do I remove xelsysadm the approvers of the process?

    Go to definition of standard approval process

    In the task to approve attach tcComplete adapter system.

  • I have a MBP of 2009 end. I updated the material to 8 GB of ram with an SSD of 240gig. I want to run the new OSX, but is not on the list approved for the update. Anyone know why?

    I have a MBP of 2009 end. I updated the material to 8 GB of ram with an SSD of 240gig. I want to run the new OSX, but is not on the list approved for the update. Anyone know why?

    It is a decision that was made by Apple.  El Capitan is the newest OSX that will support a 2009 MBP.

    This is not uncommon.  My 2006 MBP came with Tiger, but is limited to OSX Snow Leopard.

    Old hardware ends up by becoming obsolete with newer technology.

    Ciao.

  • MacBook pro pending approval of the device keychain

    just updated to El Capitan of X9.5 and continue to spread a message that iCloud Keychain on my macbook pro "awaiting the approval of the device. signed in iCloud on my iPhone, opens iCloud on my iPhone (without message or prompt or elements) and checked the details of account system preferences iCloud that the macbook pro is a camera on my account tab.  what Miss me?

    Hello jnlyn5,

    Thank you for using communities Support from Apple!

    The following articles will be useful to solve the problem do not receive the verification code, you need on your iPhone to activate iCloud Keychain on your Mac.

    Get help using iCloud keychain

    Be sure to check this section:

    If you do not receive the SMS verification code

    1. Make sure you have a solid cellular network on your phone connection.
    2. Make sure that your phone number can get SMS messages. To check, ask someone to send you a text message.
    3. Make sure that the correct phone number is associated with your account:
      1. On your iPhone, iPad or iPod touch, tap Settings > iCloud > Keyring > advanced. (In the iOS 7, tap Settings > iCloud > account > keychain.) Make sure that the verification number phone number is correct. If this isn't the case, enter a different phone number.
      2. On your Mac, choose Apple menu > System Preferences. ICloud-click, and then click Options next to keychain. (In OS X Mavericks or an earlier version, click on iCloud, and then click Account Details). Make sure that the verification number phone number is correct. If this isn't the case, enter a different phone number.

    More information on iCloud Keychain can be found here:

    Frequently asked questions about iCloud keychain

    Have a great day!

  • Why do I need approval of the connected administrator as an administrator.

    My computer says I need admin approval, but I am registered as an administrator. How can I fix it?

    Hello

    What operation / application says you need approval from the Admin?

    If it is to run some programs in a right click > run as administrator.

    To remove malware using some anti-malware programs you need to start the program by performing the same > right-click > run as admin.

    Assistance to give, to more information.

    See you soon.

  • Have only administrator under Vista and it won't allow me to install Office 2007, saying: I need approval from the Admin... what gives?

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Have only administrator under Vista and it won't allow me to install Office 2007, saying: I need approval from the Admin... what gives? Ideas:

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    Hello. The new Admin still doesn't let me download the software. IERU! Any suggestions?

    Make sure that there is no "leftovers" MS Office components on your computer. This tutorial of MS to run an uninstall operation. Select Office suites 2007 button.
    http://support.Microsoft.com/kb/290301

    After that... Suggestions:
    Try to install the 2007 release after each suggestion is complete.

    1. run a full scan with your security program. See if he catches something.

    2. make a file system check... sfc/scannow

    Start button > Search box type cmd > look up, do a RIGHT click oncmd.exe > click onRun As Administrator > in this window cmd black and white, type at the prompt flashing sfc/scannow > press theENTER key.
    Note: there is a space between 'sfc' and ' / '.
    To sit and wait. It will take time.
    When finished, exit the cmd window.
    Reboot (restart your computer)

    3 do a disc check chkdsk/f/r...

    Start button > Search box, type cmd > look up, right-click on cmd.exe > Run As Administrator > in the black and white window, at the command prompt flashes, type chkdsk/f/r > press the Enter key.
    Note: there is a space between 'chkdsk' and ' / '.

    The screen will say something like cannot do it now, but you want to run it on reboot. Click on 'y' as in Yes > press > window cmd of output.
     
    Restart your computer. It will take a while. DO NOT stop the machine. Just wait.
     

    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • No approval of the last period of one month.

    Hello

    No approval of the last period of one month. Totally in confusion. Anyone know what the problem is.  We are totally confused. Help, please.

    You say that your applications are queued for a month now?
    These days, it's rather normal to have rather long waiting times until the apps are approved, it is mainly because of the Port-A-tuna (but I have suggested, that you browse through some other threads on this forum for more information).

    A month is now the peak time for approved applications, so it will only take more time to ensure that your applications will be approved/rejected.

    Sometimes you can speed up the process by BlackBerryDev Twitter, but it does not always help. There are also some BlackBerry people on this forum who can help, so contact them is an option to consider: samyotte

    I hope that your applications are approved soon :-)

  • I have a virus and I'm unable to access my work on laptop. Can change different user still cannot load the software due to the approval of the administrator, and my passwords do not work for administrator help

    (1) obviously a virus

    Cannot access my work via my username 2)
    (3) have been using quest and when I try to load the necessary software administrator does not allow me to load and my passwords for the administrator no longer work.
    (4) how to remove approval of the administrator so I can access my former user name works.

    I'm moving your question to the space of the Windows 7 forum for user accounts.

    It is doubtful that it is a virus problem, but if you think it is, follow the advice of ahaap.

    -steve

  • Example for research policy on the approval by the OIM 11 g API

    Hello

    Can someone please share sample for political research on the approval by the IOM 11 GR 2 API:

    List<ApprovalPolicy> approvalPolicies = approvalPolicyService.search(ApprovalPolicySearchCriteria searchCriteria);

    ApprovalPolicySearchCriteria searchCriteria = new ApprovalPolicySearchCriteria();

    searchCriteria.setConditionClause (approval_policy_name, sample_pol_name, ApprovalPolicySearchCriteria.ConditionOperator.EQUAL);

Maybe you are looking for