Approval Templates -Terms based on user query looks like cant work

Dear all,
How to use the "terms based on user query"? i try many time but it looks like cant work. do u have any example?
good day...
from
grace

I have found the way:
A simple query to define a proper term in the approval stage:
declare @var int
set @var = 0
Select case(@var) when 1 then 'true'  else 'false' end
Returns 'true'--> Will not execute the approval procedure.
@var = 1  Returns 'false'--> Will execute the approval procedure.

Similar Messages

  • RE:Approval Templates Terms Based on queries (Requires Urgently plzzz ..)

    Hi You All,
    As per requirement we developed the small Addon which is attached to sales quotation & for that AddOn I need a approval which is on based userdefind query.I done this much of portation BUT as per standard. in Approval Template-Setup we have to select Document from Document Tab.but I dont have these std Document I need appproval on that developed AddOn
    Rgs,
    -Dinesh

    Hi Dinesh,
    U cannot find ur user forms in the standard approval list.
    Regards,
    Vasu Natari.

  • Approval Templates' terms - help needed

    Greetings, all!
               I'm having troubles understanding the approval template terms (Modules->Administration->Approval Procedures->Approval templates:: Approval Templates setup form->Terms tab->Terms grid).
               I think I know what the 'Total Document' and "Discount %" terms are but the rest are a haze to me.
               Could anyone tell me how these are evaluated against a sales order for example.
               Any help will be appreciated
    Regards, Yavor

    It would help..If you could be more specific on which other ones you need to understand
    Generally as the terms are worded..
    Deviation from Credit Limit - If you have the Credit limit defined in the BP Master, it would validate against it
    Deviation from Commitment - same as above about against Commitment limit
    Gross Profit % - Document level Gross Profit would be validated
    Discount % - Document level Discount would be validated
    Deviation from Budget - This is when you use Budgets and if the Document causes an deviation from budget for that period...

  • Approval Templates' Terms range bug

    Hi, all
    I'm writing a SAP B1 addon that reads approval templates and tries to evaluate them. Today I noticed a very strange behavior in the SAP application itself. Here is what I do:
               1. A new user called "MyUser" is defined and has permissions to create sale orders
               2. A new approval template called "Discount Range" is defined. It covers sales orders only. Only one originator is defined for that template and that's the newly created one ("MyUser")
                    In the Terms tab of the new template for "Launch Approval Procedure" the "When the following applies" options is selected. In the grid below only the "Discount %" line is checked. The comparison ratio is set to "In range" and the corresponding value is " 3 - 8 ".
              As far as I understand it all this should mean that approval procedure should be triggered for every sales order if it complies with the following:
                  - the user that created it is "MyUser"
                  - the discount percentage for the order document is in the range of 3 to 8, including the two numbers
             I tested after that and all seems to work as expected.
             The real problems comes when I try to set the range value in the following manner " 8 - 3 " - the interface itself allows though it may be wrong to write it this way. In this case the result is that only sales orders with a discount of 3 will trigger the approval procedure. That means that the only number that falls in the range of 8 to 3 is 3 - what about 7 or 4.5.
             If I set the comparison ratio to "Not in range" and the range value to " 8 - 3 " the results are similar - this time any order that has a discount other than 3 will start the approval procedure. Once again the only number that falls in the range of 8 to 3 is 3.
             I tried similar tests with negative numbers just to be sure:
                      For Example the correct range should be " -8 - -3 " while the odd-working should be " -3 - -8"
             I'm using SAP B1 2005 A PL45. Is this bug fixed in later versions of SAP B1 or is there any workaround for it?
             One more thing - what is the meaning of the "Undefined Type" approval template's term (does it trigger any approval procedures or not).
    Thanks in advance
    Edited by: Paul Finneran on Oct 1, 2008 2:09 PM
    Edited by: Rui Pereira on Dec 23, 2008 2:37 PM

    It would help..If you could be more specific on which other ones you need to understand
    Generally as the terms are worded..
    Deviation from Credit Limit - If you have the Credit limit defined in the BP Master, it would validate against it
    Deviation from Commitment - same as above about against Commitment limit
    Gross Profit % - Document level Gross Profit would be validated
    Discount % - Document level Discount would be validated
    Deviation from Budget - This is when you use Budgets and if the Document causes an deviation from budget for that period...

  • I cant start my machine.  The screen only turns grey and then shuts down after 1 minute.  it looks like it working, but nothing happens.

    I cant start my machine.  when i push the starting button, the screen onely turns grey. it looks like its woorking, but nothing happens. 1 year old

    You need to re install OSX. If you have the dmg file downloaded via torrentz this is how you can create a bootable external HD or Flash drive (8 GB+)
    https://discussions.apple.com/message/23957654#23957654
    Peace
    Harry

  • Finding Template Name Based on the Query

    Is there a way to find the Technical Name of a Template in which a query is being used?  I tried the Where-Used command on the query but it doesn't show which templates are using it.

    The "Where used" from the BEx query designer will display all the templates and workbooks which uses that query.
    The template will be displayed only if the dataprovider assignment for the query is done in the template definition not thru the URL.

  • Paypal digital goods looks like it worked but is not processing

    i have an express checkout digital goods payment page. the item cot $5 when i checkout i log in to my paypal account and click pay.money does not leave my account and i don't recive an email. i recievecd this email a few days ago I am not sure if it is connected ( it is not 100% clear ):----------------------------------------------------------------------
    You changed your checkout settings
    Hello aryeh armon,
    You asked us to change the way you pay for eligible items under ₪0.00 ILS.
    Now, we'll charge your credit card for eligible small purchases when the total reaches a certain amount - but never more than ₪100.00 ILS. Charges like these usually clear within a few days, but sometimes it can take up to 21 days.
    If you'd prefer not to pay this way:
    1.  Log in to your PayPal account.
    2.  Click Profile.
    3.  Click My checkout settings.
    Help:
    https://www.paypal.com/il/cgi-bin/helpweb?cmd=_help
    Security Center:
    https://www.paypal.com/il/security
    Please do not reply to this email because we are not monitoring this inbox. To get in touch with us, log in to your account and click "Contact Us" at the bottom of any page.
    Copyright © 1999-2015 PayPal Inc. All rights reserved.
    Consumer advisory: PayPal Pte Ltd, the Holder of the PayPal™ payment service stored value facility, does not require the approval of the Monetary Authority of Singapore. Consumers (users) are advised to read the terms and conditions: https://www.paypal.com/il/sg/cgi-bin/webscr?cmd=p/gen/ua/ua-outside carefully.
    PayPal Email ID  PP1612 - d135211523328 when i go to that settigns page there is nothing there.only setting are"* Skip the "thank you" page during checkout* How to pay when you don't have a PayPal balance: by the eay i have never changed my checkout settings.  

    >burned with Nero
    That MAY be your problem... I think Nero (a part of...) is mentioned in one of the below...
    Things and Software to AVOID when authoring/burning a DVD
    Start --> http://forums.adobe.com/thread/608660
    #2 has WHY Explained http://forums.adobe.com/thread/607390
    Plus http://forums.adobe.com/thread/562941

  • Google API Keys for GCM in Chromium looks like dont work

    I am trying to use the service of Push Messaging function of Chrome(Chromium), theoretically I have to get a ChannelId where the communication would be established between the browser and Google Cloud Messaging(GCM), in Chrome I can get that Channel without problems, but in Chromium I don't get Channel, I don't get error, only I don't have anything, I contacted some people in the forums for Chromium and they suggest that the API keys for this funcionality(Google CLoud Messaging) maybe are not correct or there is a problem with the API  keys embedded in the build of Chromium for Arch.
    I don't know if this is the correct place to post this question, the people of Chromium suggested me that I contact to the package mantainer to reviwe if there is a problem with these API keys.
    I am using Arch 3.9.4-1, Chromium 27.0.1453.93 (Build para desarrolladores 200836).
    If this is not the correct place to post this kind of question and somebody knows where can I post it please tell me, and if somedoby can help me with my question I would be thankful.
    Thanks in advance.

    Hi Gsaison,
    Do you have any progress on these issues? Im working on the same solution right now (SWV + GoogleMaps JS v3 ) I've got some weird issue when i try to spawn a StageWebView inside a View on IOS, it appears inside a scroller and is not open for finger interaction anymore. I use the eskimo framework, but then again, nothing fancy going on there for the rest. I've tried all of the the stage.stageScaleMode options but non of them work. Got any help?
    Kind regards,
    Roy

  • Blue tooth looks like not working

    Got i5 bur what ever i do the blue tooth just does not working

    What are you trying to connect your phone to?  Here are the supported files http://support.apple.com/kb/ht3647

  • Related to approval   template

    hi
      i am using the sap 2005b with 36 patch
      i want to set the approval for particular condition and in that   approval there is one option  that is "terms based on user query"
    so i want save the query to that option. so what is procedure for that  please help me
    regards
    sandip

    Hi Sandip,
    1) Write a Query in Query Generator and save it.
    2) Then go to Approval Templates - Setup and in Terms Tab Click on when the Following Applies
    3) Under "Terms Based on User Queries" Double Click on 1st Row of the Matrix. It will open the Query Manager.
    4) Select the Saved Query and Double Click on it. It will automatically placed in that matrix
    if it helps you, give reward points.
    Thanks
    Sravan Kumar Pothu

  • Query for terms in approval template of approval procedure

    dears
    i need to write  a user query for approval template terms that chek for any price zero in invoice items .
    i tried the true query
    select 'true' from inv1 where $[inv1.price]=0
    however the invoice executed without asking for approval procedurs.
    any help will be appreciated!!
    talal

    Hi,
    Its not possible on row level Price.
    Try to Document total procedure, it will work.
    SELECT Distinct 'True'  FROM OINV T0 WHERE $[OINV.DocTotal]='0.00'
    Thanks,
    Madhan.

  • Terms In Approval Templates

    Hi All,
    what if I give, multiple terms based on user queries in approval template ?
    If a template contains 4 terms based on 4 user queries.
    How would I know which query fired during approval ?
    thanking you
    Malhaar

    Hi gordon,
    The approvals were firing properly in 8.8.
    After upgrade to 8.81 pl 07, we added one warehouse and created one series for that.
    In one of our approval we were capturing series of the invoice.
    In that approval we added newly created series with or condition.
    after that series related approval stopped firing.
    Please help.
    Thanking you
    Malhaar

  • Approval Procedure - User Query .....!!

    Hi Experts,
    In our organisation we have a approval procedure applicable on sales order. There are two authorizer authorises specfic users request. Now the problem is for a specific customer order can we use a separate query to change the authorizer ??
    Example : -
    Approval Stage 1 : Authorizer A : User 1, User 2
    Approval Stage 2 : Authorizer B : User 3, User 4
    Now, User 2 requires approval of specific customer order which will authorise by Authoriser B.
    Is there any way to write a query on Approval Template for that
    or User 2 has to be added on both the Approval Stage
    or anything else ?? Please guide.
    Regards,
    SK

    Hi,
    There is no way to write a query on Approval Template for that. User 2 has to be added on both the Approval Stage.
    Thanks,
    Gordon

  • Adding New Originator in Approval Template

    Hi,
    1. I initially created 5 users where when they create Sales Orders, they will have to go through the approval stage. The condition which was set is based on query. When I add additional users in the approval template to go thru this process, there's a message says 'No ratio has been defined'.
    What could caused this?
    2. After i add new users, do i have to reselect the query in able for them to go thru this approval process?
    Appreciate your help.
    Rgds,
    Harith

    Hi,
    When you Select the "When the Following  Applies" options you can view two windows below that option.
    In first Window, You can view the "Choose", "Term", "Ratio", "Value" Columns. In "Choose" Column you will find Check Box. In "Terms" Column you find Condition terms (ie,. like Deviates from budget, Discount% etc). In "Ratio" column  you find conditions like Greater Tha, Less than etc., In "Value" column you should give the  value based on which the condition works.
    When you Select the Checkbox then the corresponding Condition will be taken for Approval Procedure.
    In Second Window, "Terms Based on User Queries" You will select the query you have generated for approval process.
    If you are using Second Window you do not select any options in First window. You can view one of the option was selected after you have linked the query in second window.
    Raja.S

  • Custom Approval Templates

    Hi All,
    Is it possible to add UDO screen, to the Documents section of Approval Templates screen.  With this, I would like to add a custom approval template for my own screen / document.
    For Example:
    When I goto Administrator --> Approval --> Approval Templates --> Documents, I see a list of screen names, for which we can set custom Approval Templates.  Can I add any other screen, which is missing here (either a SAP screen or an Add-on screen)?

    I'm afraid this is not possible in current b1 system.
    This is because the Approval Template background logic are designed with hardcode. This makes it not possible for the users to integrate their own documents with the b1 Approval module.
    Possible workarounds are like adding own restrictions to certain document change and send an alert to the manager. However, these logics should be realized by the customer add-on itself, rather by the b1 approval module.

Maybe you are looking for

  • MBP and 23" ACD Issues

    If I start Bootcamp with my MBP screen shut I get all sorts of black screens before Windows Xp sp3 starts completely. Sometimes it never comes up. Also with screen shut Xp will not shut down but hangs on the Windows is shutting down screen. With the

  • SAP R/3 Enterprise for PI

    Hi, We currently have SAP R/3 Enterprise version which is 4.7 installed on Sun OS. We are thinking of introducing PI 7.1 or 7.3 into the landscape. Is it possible to integrate PI with SAP 4.7.  I know that there would not be a local integration engin

  • 'Group in stack' command fails with selected photos in Lightroom 1.2

    I am a Mac user (new Intel iMac running OS 10.4.11), and have successfully been able to stack photos up until this point. Now suddenly, they will not stack. I've color labelled photos in a shoot by theme, and have been stacking them. I can't see anyt

  • Is there a way to have the same information appear twice on a form?

    I have a form set up for campers to register for a week of camp The first page is general information the 2nd page will be a Health record. When I print it off 1 page goes to the registration table and 1 page to the Nurse. I need the campers name and

  • Error when addding members in account dimension

    Hi all,             I am working on consolidation.for currency translation and inte-company elimination in consolidation i want use business rules.can some body tell me which business rules can i use and what are the business rules exist total.is wri