Purchase Order Approval Workflow

I am Trying to create purchase order process for my company in a SharePoint list.  I have successfully created a InfoPath form with multiple line Items and have a calculated field as Grand Total Field.  Created a calculated column in
SharePoint for this. Now what I am trying to do is create an approval process workflow that will kick off based on dollar amount from the Grand Total Column or field.  I understand what I should be doing but have run into a snag.
Here is what I have done so far:
Created variables 15,000  2,500  and 500 and set them as numbers.
If Current Item:Grand Total is greater than Variable: 15,000
 Start a task process with Randy Price (Task outcome to Variable: Outcome1 )
Else
 If Current Item:Grand Total is greater than Variable: 2,500
  Start a task process with Randy Price (Task outcome to Variable: Outcome2 )
 Else
  If Current Item:Grand Total is greater than Variable: 500
   Start a task process with Randy Price (Task outcome to Variable: Outcome3 )
  Else
   If Current Item:Grand Total is less than Variable: 500
    Email Randy Price
So Basically for example if the Grand total was 6,000 it should kick off the
 If Current Item:Grand Total is greater than Variable: 2,500 task however it always kicks off the If Current Item:Grand Total is greater than Variable: 15,000.   I am not sure why it is doing this.   Am I missing something ??  
Please Help .
Thanks
Randy
If Current Item:Grand Total is greater than Variable: 15,000

Hi Randy,
According to your description, my understanding is that the workflow cannot work correctly in SharePoint.
I tested the steps below to reproduce your issue, and the workflow worked fine:
Create a list with three columns(for example: num1[single line of text], num2[single line of text], Grand Total[calculated column]). I set the Grand Total=num1+num2.
Create a workflow associated with the list.
In the workflow, select Set Workflow Variable and change the settings to be: Set Variable:15000 to 15000. Repeat the step to create Variable:2500 and Variable:500.
Select If any value equals value, please refer to the picture below:
  5. Repeat step 4 to set the other conditions.
  6. After completing the workflow, then publish it to SharePoint.
How did you set the formula for the calculated column and the workflow variable?
I recommend to test the steps above to see if the issue still occurs.
Best regards.
Thanks
Victoria Xia
TechNet Community Support

Similar Messages

  • Purchase Order - Approval Workflow - Automated EMail to Approvers & Vendors

    Hi there,
    We are on SAP ECC6.0 with ABAP Stack.  That is we do not have Java or Net Weaver Components.  There is a specific requirement to have Workflows set up in SAP ECC6.0.  Here is the detailed requirement:
    1. The Purchase Order in MM is created by the Creator of PO.  At the time of saving of PO, an EMail must automatically go to the 'Approver'.
    2. The Aprpover on receipt of the EMail must approve the PO and an EMail must automatically go to next level, if applicable as per Release Strategy (say amount is beyond some specified $).
    3. The next level, assuming its last level, approves the PO.  On Saving of the PO or on Clicking the Release button, an EMail must automatically go to:
         a. Vendor
         b. Creator of PO
         c. All set of Approvers
         d. Head of Department raising the PO
    Based on all this, is it possible to set this up in Standard SAP ECC6.0 with some basic Customisation thru ABAP.
    Or it is not possible to set up Workflows / Emails sending on click of Release button in our current version with ABAP stack (that is we do not have Net Weaver).
    Whether the Workflows functionalities of SAP are expected to be procured separately?
    Please guide.
    Many Thanks.....

    Thanks Richard.
    But how do I come to know whether WS20000075 is there any specific transaction?
    Basically I would like to know whether Workflow is available with the Standard package of SAP ECC6.0 that I have with me.
    Thanks...

  • SQL to dig into Purchase Order Approval Workflow

    Apologies for a potentially vague and irritating question.
    Using Oracle Purchasing, I go to PO Summary > Find PO > Inquire > View Approval Through Workflow
    This lists the WFLow Activities associated with the PO Approval - below is a sample.
    | Status           | Activity                         | Parent Activity     | Started              | Completed            | Activity Result  |
    | Complete         | PO New Communication             | Email PO            | 21-Sep-2007 15:12:55 | 21-Sep-2007 15:12:55 | Yes              |
    | Complete         | Does User want document e-mailed | Email PO            | 21-Sep-2007 15:12:55 | 21-Sep-2007 15:12:55 | Yes              |
    | Complete         | Email PO                         | PO Approval Process | 21-Sep-2007 15:12:55 | 21-Sep-2007 15:13:11 |                  |
    | Complete         | End                              | Fax Document Process| 21-Sep-2007 15:12:55 | 21-Sep-2007 15:12:55 |                  |
    | Complete         | Does User Want Document Faxed?   | Fax Document Process| 21-Sep-2007 15:12:55 | 21-Sep-2007 15:12:55 | No               |
    ----------------------------------------------------------------------------------------------------------------------------------------------I would really like to know what SQL to use to extract this information, as it would be useful at work.
    However, I'm very stuck in finding it.
    I can do a very simple join between the PO and one of the WFlow tables:
    SELECT pha.segment1
         , pha.wf_item_type
         , pha.wf_item_key
         , wi.*
      FROM po.po_headers_all pha
         , applsys.wf_items wi
    WHERE pha.wf_item_type = wi.item_type
       AND pha.wf_item_key = wi.item_key
       AND pha.segment1 = 1425280;However, I don't know which tables contain the details WFlow info which is listed above.
    There are 2 other related tables:
    applsys.wf_item_activity_statuses
    applsys.wf_item_attribute_values
    But when I look at them, they don't contain values that could tie up with the 'Activity' or 'Parent Activity' above.
    Plus I am not 100% sure about the relationships between Activities and Parent Activities.
    I can see that thw wf_item and wf_item_key link back to the PO.
    But after that I am stuck.
    Please feel free to tell me to clear off for asking stupid questions.
    Thank you

    Hi Jim,
    It's probably worth having a look at the SQL that the standard wfstat.sql script ($FND_TOP/wf) runs to retrieve data from a Workflow. I would guess that the PO screens retrieve data from WF_ACTIVITY_STATUSES amongst other tables, but if you look at the script there will be some code that you can crib to use as you need.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://thoughts.workflowfaq.com ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Purchase Order approval workflows not forwarding through TC SWIA

    Hi
    When I am forwarding work item to other user I am getting following error.
    Work item 000015375242: Forwarding not allowed in status READY
    Message no. WL842
    Diagnosis
    The work item cannot be forwarded in its current status.
    System Response
    The action was terminated and the work item remains unchanged.
    Procedure
    Only work items with one of the following statuses are forwarded by the work item manager (WIM):
    o     Reserved
    o     In process
    o     Executed
    Reserve the work item for yourself before forwarding it.
    could please help

    Hello,
    As the error message says, you can't forward a workitem until you reserve it.
    To reserve a workitem in SWIA try this: first highlight it, Edit > Display Workitem, there you'll see a Reserve button.
    Perhaps someone else knows of an easier way to forward or reserve from SWIA.
    regards
    Paultje Bakker
    Hanabi Technology

  • Purchase order release workflow - urgent

    Hi friends
    When iam creating purchase order it trigger the workflow WS20000075 for releasing purchase order in that purpose what can i do..
    How can i set the Agents
    How can i trigger the events - i think in that purpose using pftc we trigger the workflow.. so i need clear steps from beginning onwards..
    my exact requirement
    once i create purchase order, the workflow will be triggered..
    after that the mail goes to the approver.. if he/she click that mail purchase order release statement want to be open.. after that he/she release purchase order it will goes to the next level..anyone give the step by step procedure..for that
    Thanks
    Gowrishankar

    yes prabakar.. but iam confused..
    You can get step by step workflow for PO using standard workflow
    Release of Purchase Order :WS20000075
    And for two levels of approvals you have to configure in SPRO the path is
    Purchase Order:
    SPRO> Material Management->Purchasing->/Purchase order-->Release procedure ---> Procedure with classification ---> set up procedure with classification ---> double click on Release strategies and Workflow.
    If you don't know about this configuration, you have to confirm with your MM consultant.
    after finish this iam triggering events using pftc
    in that pftc iam choosing business object bus 2012 for po release..
    i think thats enuf..
    After that it is possible to trigger workflow.. when iam create purchase order..
    Thanks
    Gowrishankar

  • Dead Line Monetering in Purchase Order Release Workflow

    Hi Experts,
                     I have  activated Standard Purchase Order Release workflow and it works fine now i have a requirement of Dead Line monetering for 2 days. In Standard Release Activity TS20000166 if i give 2 days in Latest End.
    Will it work in such a way that if the first approvar does not take any action for 2 day then it automatically esculates to the next person in the release strategy.
    Or should i use Modeled Deadline for esculation to next Level.
    Regards,
    Hari

    Hi,
    If you just have 2 days on the latest end tab, the workflow will only send a deadline notification to the current agent and WILL NOT escalate.
    You have to use modelled deadline and in that branch route the workflow to the next approver based on your agent determination rules.
    Satish

  • Purchase Order Approval through Mobile Phone / BlackBerry

    Dear fellows i am interested in Purchase Order Approval through Mobile Phone / BlackBerry. I have seen MSCA Mobile Supply Chain Application Guide but that is for telnet only devices and specific to supply chain. What are setup requirements to make PO approve though "Web App" or "Mobile App" as show in below image URL. We need to work it primarly on BlackBerry.
    http://www.exforsys.com/images/OracleApps/t10_files/image010.gif
    That will require logging in to EBS through Mobile and Making EBS available on Public IP !?! If this all fuss needs to be done then is there some Notification Alert type mechanism which sends email, but here a user could also reply that email with keywords to Approve or Reject that PO !?!
    Thank you.

    Dear Hussein, ur links are iPhone specific and also BPEL Connector specific ("Oracle Buisness Approvals for Managers" BPEL Connector). The links for Blackberry assume that i am atleast already getting emails on blackberry through EBS. Our env is through MS Exchange Server. Where as i believe from ur suggected docs that the EBS needs to have its own direct setup with blackberry
    In our current env we are using Oracle Alerts to Just send an email to user that PO for approval is waiting. We are NOT using "Oracle WorkFlow Notification Mailer". For blackberry will we be locked to use Workflow Mailer (i see patch 6802716 pre req also)!?! or we can still use simple Alerts!?!
    following thread says type "approve" in reply whereas metalink guides tell a URL to click in email. will it be a ...
    href="mailto:[email protected]?body=approve"
    type URL!?!
    http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/po-approval-through-mail-3077383
    ===============================================================
    There are a couple of steps that need to be complete before this will work.
    Pre- Req's
    1. Associate all apps users / approvers with email addresses
    2. sync apps users with workflow
    3. Check workflow users to make sure email is set to HTML.
    4. Configure and enable workflow mailer. You will need configuration information for the email service being used and a mailbox on the email service.
    5. Send a test message from workflow mailer to an apps user.
    If this is successful, then email based approval will work. If the user tries to approve using a smart phone (blackberry, etc.) they will have to hit reply and type approve as the message for approval to work.
    this guy also points to this idea.
    http://secure.meetingexpectations.com/oaug/eLearning/elSchedule.aspx?DayOfWeek=3&mtd=8/1/2007
    ===============================================================
    August 21, 2007
    Session 2
    August 21, 2007 12:00 PM U.S. Eastern (New York) Time
    Approving Requisitions/PO’s in Oracle E-Business Using Blackberry Devices
    Presentation of a solution using Blackberry Devices to approve requisitions and purchase orders in Oracle E-Business Suite. This solution required creating a text message to send to Blackberry users, and modifying the Workflow Java Mailer to be able to correctly read the default messages being sent back from blackberry devices. In addition, profile options were created that allowed simple key strokes to be translated into Approve or Reject options recognized by Oracle Workflow Java Mailer.
    Session Closed
    Presenter, Company: Bolton Carroll, The Revere Group
    this one too...
    =========
    http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/iexpense-approval-via-blackberry-and-iphones-3047841
    This one is DIFFERENT!
    METALINK: List Of Certified Devices For Mobile Field Services and Field Service Wireless [ID 793392.1]
    ========================================================
    Also, recently we have developed something called 'MiniWireless Server', which is a light weight server replacement of Oracle Wireless Server and can be run along with Mobile Server of Oracle Lite. Please refer Metalink note 758680.1 for more details. You may want to communicate this to customer if they are planning for fresh implementation.

  • Fiori Purchase Order Approval - inexplicable missing work items

    I'm asking this here because I have run out of things to try. At the moment we have users of the Purchase Order Approval app finding that some work items don't appear in Fiori, when they have work items visible in business workplace.
    I did the following things in the live system to check the user's work items:
    used function SAP_WAPI_CREATE_INBOX to check which work items they should have
    called the backend gateway service method GET_LIST on class CL_GBAPP_APV_PO_API, with the valid workflow tasks in the filter table. I got the same work items, and as far as I can see this is exactly the information the Fiori app should have got.
    I can't see any obvious way the Fiori app itself would filter the results.
    I've not found relevant SAP notes.
    Any suggestions on other things to check?

    I've added the GET_LIST output and the worklist function which should show the contents of the user's inbox.
    They are seeing nothing in Fiori. We have a custom task but Fiori knows about it from the task filter select option.

  • To SET -UP message type 5 External Send to the purchase order approver

    Hi All
    Please help me to To SET -UP message type 5 External Send to the purchase order approver
    Susan

    Susan,
    This to me sounds like a release strategy setup using workflow. Could you please set up Release strategies initially and and then the workflow part couldd  be handled by a workflow personnel.
    Else, Setup teh message type with medium 7, and partner function MP, put the user name in the partner field. Go to communication method, choose the recipient type and fiull other required parameters and you should be set.
    Edited by: Pavan Kumar on Apr 6, 2010 12:27 PM

  • Issue in Purchase Order approval

    Hi All,
    I am facing an issue in purchase order approval process . Need suggestion from your end.
    Purchase order approval gor failed in the work flow stage 'Get PO Attributes'.
    I could find that this is because one of the line distribution has quantity ordered as 0 .
    And the proc (PO_POAPPROVAL_INIT1.GET_PO_ATTRIBUTES) which is attached to the node 'Get PO Attributes' is ending in error (Divide mby zero error in the proc )
    Workflow is failing on the node 'Get PO Attributes' .
    Function which is getting called : PO_POAPPROVAL_INIT1.GET_PO_ATTRIBUTES
    Since the quantity_ordered in one line Distribution is zero, the function is giving error (while trying to divide by zero).
    Query which is failing is
    " SELECT SUM( ROUND (POD.nonrecoverable_tax * DECODE(quantity_ordered, NULL, (NVL(POD.amount_ordered,0) - NVL(POD.amount_cancelled,0)) / NVL(POD.amount_ordered, 1), (NVL(POD.quantity_ordered,0) - NVL(POD.quantity_cancelled,0)) / NVL(POD.quantity_ordered, 1) ), X_precision ) )
    INTO l_tax_amount
    FROM po_distributions_all POD
    WHERE po_header_id = POHdr_rec.po_header_id;"
    My question is that, how to fix this issue now (any data fix possible? ). As far as I know I will not able to amend the PO now. Kindly give me a work around for this.
    Thanks,
    Arun

    There is a generic datafix script shipped as a patch. This script will help in resetting the document to Incomplete / Requires Reapproval status. There after you can adjust the PO to have correct quantities and re-approve it.
    The datafix script is $PO_TOP/sql/poxrespo.sql. Please read the documentation and try out in test instance first.

  • Purchase Order Approval Notifications and Multiple Currencies

    All,
    If I have a user who creates a requisition in EUR and then submits the requisition for approval to someone who has a default currency of USD, the workflow notification will show the value of the requisition in both EUR and USD. This is because the ICX: Preferred Currency profile option has been set at the user level.
    However, this does not work for purchase order approval notifications, just requisitions. This makes my management unhappy. Oracle Support indicates this is an enhancement request. However, I have a difficult time believing there is not something in the Oracle apps that allows this functionality in the PO Notification. We are on 11.5.10.2.
    Many thanks,
    Jeremy

    Is this what you are looking for?
    http://help.sap.com/saphelp_47x200/helpdata/en/75/ee14a355c811d189900000e8322d00/frameset.htm

  • One step purchase order approval

    Hi,
       I have activated the one step PO approval workflow. How do I assign the agents. I have tried to do it in SPRO - Maintain agent assignemnet for tasks but was unable to do it as I did not get the link.
    Any help is appreciated.
    Joe Vellaiparambil

    Hi
    <b>In the SRM transaction OOCU, use path /  link
    SRM --> SRM-EBP --> SRM-EBP-WFL then you will find agent assignment tab.</b>
    <u>Please refer to these links as well.</u>
    <b>one step approval
    http://help.sap.com/saphelp_srm50/helpdata/en/8b/4fa9585db211d2b404006094b92d37/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/ee/277e3c281f1817e10000000a114084/frameset.htm
    PO: 1 step approval - agent assignment
    how to start one-step workflow..
    Re: how to start one-step workflow..
    Workflow without approval not working
    Workflow configuration step by step guide...
    Re: WS14000145 Approval N-Step for PO skips others approvers
    One step purchase order approval
    <i>Also try this...</i>
    <u>Suggest you to go through the documentation before actually doing it at least once.
    Please check this link:
    https://websmp208.sap-ag.de/ibc-srm
    You will find scenario specific config guides for EBP40. Download the config guide for self-service procurement and gothrough workflow configuration section. This is still the same in SRM50 also.</u>
    Regards
    - Atul

  • Need Example screenshots : Purchase Order Approval 2/3 steps

    Hi, 
       I'm new to workflow.
    Need screen-shots of workflow customization for Purchase order approval with 1, 2 or 3 steps.
    Also if you could provide detail on the Container element used for purchase order
    regards,
    Chandeep Singh
    [email protected]

    Hi chandeep,
    Check out this link . the link is pretty gud with pictorial representation .
    http://www.codeproject.com/useritems/POWorkflow.asp
    this definitely helps you.
    Regards,
    sateesh.

  • Making Purchase Order approval window to pickup custom rtf template.

    Hi,
    We customized our purchase order using rtf method. I changed the print option to text from PDF in Purchasing options so that it will pickup the "print purchase order" which is a program based on rdf.
    My rtf is getting input from this program (POXPRPOP.rdf) Every thing is working fine except that when you say print from purchase order approval window the pdf wont get generated. You had to run another program "XML REPORT PUBLISHER" to get the PDF output.
    This is causing problem in automatic dispatching of Purchase Orders. Can any one help me in how to make the approval window pickup the Custom template while running the "print Purchase Order Program".
    Thanks
    Vish

    Vish ,
    I am also working on that....
    Tell me one thing How you are viewing the XML Data ...Is it from the XSL-FO template??.... In XSL-FO template all the XML data is not present which is generated by Java Program.....
    Check for The Views.... PO%XML.... In these Views whatever the Column names are present you can use those columns as a tag field in your XSL-FO template.....
    Normally in Java program they are taking the all the columns of these views to generate the XML DATA..... But in XSL-FO Template they had not mentioned all the fields..because Many of the columns are not having any data.....
    This is the part of my new R&D..... I still need to apply this thing.....
    Let me know if you have any update for me.......
    Regards
    Ravi

  • Purchase Order Approval through Mobile Phone

    Hi,
    Our EBS environment is with version 11.5.10.2 and database 11gR2.
    We got a requirement of configuring Purchase Order Approval through Mobile Phone / BlackBerry
    Could anyone send few docs related to this.
    Regards,
    Mahesh

    Please see these docs/links.
    Is It Possible To Approve Purchase Orders , Requisitions Via Blackberry, Smart Phone, or PDA? [ID 338874.1]
    Unable to Approve Purchase Orders via Blackberry [ID 444122.1]
    Blackberry Displays the Emails with HTML Tags in the Email Body [ID 802225.1]
    Troubleshooting Inbound Email Notifications [ID 1184846.1]
    Email Notification Approvals Are Discarded [ID 471423.1]
    Missing Html Buttons To Approve, Foward, Reject In Email Notification [ID 395986.1]
    Using Mobile Devices with Oracle E-Business Suite
    http://blogs.oracle.com/stevenChan/entry/mobile_devices_ebs
    Hands-On with Oracle's iPhone Apps
    http://blogs.oracle.com/stevenChan/entry/handson_with_oracles_iphone_apps
    Thanks,
    Hussein

Maybe you are looking for