AME rules does not seem to be working properly

Hi ,
Product : EBS --11.5.10.2 AME B rollup 2 .
In AME B Transaction type -Purchase Requisition Approval.
I created custom attribute :Line Item : Calc_reqline_total :
Calculate requisition line total group by category segment1 and attribute7 as below
select suma from
select sum(prl.unit_price * prl.quantity) suma,prl.attribute7 attr,mck.segment1 cat1
from mtl_categories_b_kfv mck,
po_requisition_lines_all prl ,
po_req_distributions_all prd
where mck.category_id = prl.category_id and
prl.requisition_header_id = po_ame_setup_pvt.get_new_req_header_id(:transactionId)
and prl.requisition_line_id = prd.requisition_line_id
group by prl.attribute7,mck.segment1
po_requisition_lines_all prl1,
mtl_categories_b_kfv mck1
where prl1.requisition_header_id =po_ame_setup_pvt.get_new_req_header_id(:transactionId)
and prl1.attribute7 = attr
and mck1.category_id = prl1.category_id
and mck1.segment1 = cat1
order by prl1.requisition_line_id
No I defined condition : Category Segment1 in "Med Supplies"
Category Segment1 in " Furniture"
30,000=<Requisition total =<50,000
30,000=<Calc_reqline_total =<50,000
1000 =<Calc_reqline_total=<5,000
1000 =<Requisition total =<5,000
Approval Group : Approver 1 --
Approver 2.
Created Rules :
List Creation : Rule 1 for Header: Requsition_total >30K and has Line item : Med supplies as segment1 and has Line Item : Calc_reqline_total> 30K --Add approver 1
List creation : Rule 2 for header :requisition >1K and has Line Item "Furniture" as segment1 of cat and has Line Item :calc_reqline_total > 1K--Add approver 2
When I create a requisition with multiple line
3 Lines have Category segment1 as Med Supplies-- Sum of all the line amounts for these lines 32,400
2 Lines have category segment1 as Furniture --sum of all the line amounts for these lines is 600 which is less then 1K limit .
and Requisition total is 33K
When i see the final result -- Approver 1, Approver 2 are getting added to the list .
I can see the Calc_reqline_total populated properly against each line ...but when the rules are getting applied I feel its not considering this value ..
Actually speaking if the line amount grouped total is > 30K and Med Supplies is the line amount then it should add approver 1
But it is looking at Furniture also and even thogh the line grouped total is < 1K it some how is adding the approver 2 .
How shuld i Define the rule so that I get only Approver 1 when my custom attribute as in query at line level should be considered for Approver addition .
Please let me know if you wanted any clarification so that I can send sceen shots to your email if you could help.
--Chandra
Edited by: user615883 on Jun 17, 2009 11:35 AM

I figured out a way to do this ....do all the custom related checks in the approval code rather than in conditions ...to keep it simple.

Similar Messages

  • My operating system does not seem to be working

    My operating system does not seem to be working properly.  The system preferences cannot be accessed and itunes won't work either.
    My mac is OS X Version 10.4.11 so is quite old.

    Hello,
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.
    Let us know if that helps or not, or any other problems.

  • "Item Help Subscription" does not seem to be working

    Hi All,
    I am on APEX 4.0.1. and trying to use the feature "Item Help Subscription" which does not seem to be working.
    Here is what I have done.
    -> Created a forms page (page 2) that has an item 'P2_NAME'. Define the "Help Text" for that item.
    -> Created another forms page (page 3) that has an item called 'P3_CUST_NAME'.
    -> In Page Definition for Page 3, Clicked on 'Edit All' icon under 'Items'
    -> Clicked 'Utilities' and selected 'Item Help Subscriptions'
    -> For Item 'P3_CUST_NAME', clicked on the LOV under 'Subscribe To' field and selected 'P2_NAME'
    However when I am clicking on 'Apply Changes' to save the changes, it is not getting saved. The 'Subscribe To' field appears blank even after applying changes.
    What I want to know is - is it a bug or have I missed something ? Is anyone using this feature successfully ?
    Any pointers or help will be highly appreciated.
    Thanks & Regards,
    Ashish Agarwal
    http://www.asagarwal.com

    Hi Ashish,
    I had created Item Help Subscription that you had mentioned.
    But I don't have any problem with this. It creates successfully.
    I am using Application Express 4.0.2.00.06
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • My photo stream does not seem to be working as before with the new PHOTOS update. some of my devices are not getting the uploads/downloads

    My photo stream does not seem to be working as before with the new PHOTOS update. Some of my devices are not getting the uploads/downloads, anyone have this problem?

    Recommend that you post your question in "Photos".
    Remember, Photos is not a replacement for Aperture.

  • TS2634 ipad keyboard does not seem to be working.  I have recharged it ---what else should I do?

    My keyboard attachment to the ipad does not seem to be working.  It has been recharged.  Is there anything else I should be doing?

    When you plug in earphones, or anything in the audio output port, it should be reflected in SYSTEM PREFERENCES>SOUND.  If not, try a PRAM reset.
    http://support.apple.com/kb/HT1895
    Ciao.

  • HT1766 My touch screen does not seem to be working. The slide to unlock will not slide

    My touch screen does not seem to be working. I can not slide to open my phone or slide to turn off.

    You have tried restarting, right? Also, try holding the home and sleep/wake buttons together for at least 10 seconds, until the Apple logo appears. See if that helps. If it doesn't and you think this is a hardware problem, taking it into the Apple Store is your best bet.

  • I just purchased a new to me ibook g4 I have all the disks but the cd does not seem to read them properly. I wanted to re install everythMost everything works anyway except my address book application , help how do I reinstall

    I just purchased a new to me ibook g4. I have all the disks but they do not seem to work properly. When I restart holding the C key they just spit out of the drive. I wanted to reset everything back to factory and start over but no go. Most everything works anyway except my address book application. It seems to be missing. How can I download and reinstall a new address book App. Thanks, John

    iBook G4/1.33 12-Inch (Mid-2005 - Op)
    1.33 GHz PowerPC 7447a (G4)
    Intro Date:
    July 26, 2005
    Disc Date:
    May 16, 2006
    Order No:
    M9846LL/A
    Model No:
    A1133 (EMC N/A)
    Subfamily:
    iBook G4 - Mid-2005
    Model ID:
    PowerBook6,7
    Std. RAM:
    512 MB
    Std. VRAM:
    32 MB
    Std. HD:
    40 GB (4200 RPM)
    Std. Optical:
    8X "Combo Drive"
    Complete iBook G4/1.33 12-Inch (Mid-2005 - Op) Specs
    The problem with accessing the content of the disks is the CD Drive does not seem to access them. It also has a heck of a time ejecting them. Other disks seem to read. The unit came with imovie disks and I can use them. The disks look perfectly good no scratches but they just don't work, I was hoping I could just get a online copy of the address book to replace the one that seems to be missing. Or find it somewhere on my drive. Have no clue where to look though. 

  • %@ page import="..." % does not seem to be working correctly

    Hi,
              I am running Weblogic 6.1 sp1 and I am having a problem with import page
              directive. <%@ page import="my.package.*" %> does not appear to be working
              correctly when I try to reference classes in imported packages (my.package,
              etc.) from the useBean tag.
              The following code works with Resin, but not Weblogic:
              <%@ page import="my.package.*" %>
              <jsp:useBean id="errorBean" class="ErrorBean" scope="request"/>
              If, I take out the page directive, and change the useBean tag to:
              <jsp:useBean id="errorBean" class="my.package.ErrorBean"
              scope="request"/>
              then the page compiles and runs just fine.
              Michael
              

    Here's a snippet from Sun's j2ee tutorial
              (http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/JSPBeans4.html):
              <jsp:useBean id="beanName"
              class="fully_qualified_classname" scope="scope"/>
              But I agree with you, the excerpt you posted seems to include the
              useBean tag, which is misleading.
              Nils
              Michael Hill wrote:
              >
              > I don't think this is the way it is "supposed" to be. Here is an excerpt
              > from the JSP Syntax reference on http://developer.java.sun.com
              > on the page directive:
              >
              > import= "{ package.class | package.* }, ..."
              > A comma-separated list of one or more packages that the JSP file should
              > import. The packages (and their classes) are available to scriptlets,
              > expressions, declarations, and tags within the JSP file. You must place the
              > import attribute before the tag that calls the imported class. If you want
              > to import more than one package, you can specify a comma-separated list
              > after import or you can use import more than once in a JSP file.
              >
              > ---
              >
              > It says the packages are available to tags within the JSP file as long as
              > you place the import before the tag that calls the imported class. In my
              > case, I am placing the import before the <jsp:useBean> tag.
              >
              > Michael
              >
              > "Nils Winkler" <[email protected]> wrote in message
              > news:[email protected]...
              > > I'm pretty sure that you have to specify the fully qualified class name
              > > in the useBean tag. import won't help you here.
              > >
              > > Nils
              > >
              > > Michael Hill wrote:
              > > >
              > > > Hi,
              > > >
              > > > I am running Weblogic 6.1 sp1 and I am having a problem with import page
              > > > directive. <%@ page import="my.package.*" %> does not appear to be
              > working
              > > > correctly when I try to reference classes in imported packages
              > (my.package,
              > > > etc.) from the useBean tag.
              > > >
              > > > The following code works with Resin, but not Weblogic:
              > > >
              > > > <%@ page import="my.package.*" %>
              > > > <jsp:useBean id="errorBean" class="ErrorBean" scope="request"/>
              > > >
              > > > If, I take out the page directive, and change the useBean tag to:
              > > >
              > > > <jsp:useBean id="errorBean" class="my.package.ErrorBean"
              > > > scope="request"/>
              > > >
              > > > then the page compiles and runs just fine.
              > > >
              > > > Michael
              > >
              > > --
              > > ============================
              > > [email protected]
              ============================
              [email protected]
              

  • Automated Backup Does Not Seem to be Working

    I tried to set up an automated backup on an Azure Web App. It's on the Standard Plan. It allowed me to configure it and after I did so I got a notification saying it was set up. And I see now that it has a status of "Created". But it does not seem
    to have moved any further -- and it has been about 15 minutes.
    I did successfully get a manual backup of the site to work last night with the same configuration.
    Any ideas as to what I may be doing wrong?
    Thank you.

    Hi,
    I would request you to check under backup options, scheduled backup is on.
    And also please make sure that the Backup and Restore feature requires an Azure storage account and container that must belong to the same subscription as the web app that you are going to back up.
    Do check this and let us know so that we can investigate further.
    Regards,
    Azam khan

  • Im having trouble restoring my MacBook Pro, "Comand" and R does not seem to be working for me.

    Everytime i try to restore it, it opens normaly to log it with a pop up window saying my start up disc is full. When i log in, my desk top is missing along with my personal wallpaper. Cant seem to do anything when i log in and i really need my comouter for work, someone please help. Just want to restore it.

    1. System Preference > Sound > Output
       "Settings for the selected device"
       Is the pointer for "Balance" set in the middle?
    2. Try to push the headphone a bit more into the port.
    3. Reset PRAM. http://support.apple.com/kb/PH4405
    4. Reset SMC.   http://support.apple.com/kb/HT3964
    5. If any of these steps does not help, contact Apple.
    Best.

  • SMTP routing table does not seem to be working correctly.

    Why isn't the SMTP routing table working properly?
    <P>
    First, make sure you have the routing table setup correctly.
    Entries in the Routing table are in the following format:
    <P>
    <incoming recipient domain>:<route to this host>
    <P>
    For example, if you want all mail addressed to [email protected]
    to be routed to mailhost1.realdomain.com, you would add the following
    line to the SMTP routing table:
    <P>
    virtualdomain.com:mailhost1.realdomain.com
    <P>
    With the above option, any mail coming in addressed to <anyone>@virtualdomain.com
    will be routed to mailhost1.realdomain.com. The recipient email
    address will not be re-written, so mailhost1.realdomain.com needs to
    accept mail addressed to the original address, @virtualdomain.com,
    even though it is in realdomain.com.
    <P>
    Before adding, changing or deleting any SMTP routing table entries, double-check
    with the DNS Administrator that the host names you specify are valid,
    registered host names. If in doubt, you can use IP addresses for the
    "route to" host, but not for the "incoming recipient domain".
    <P>
    Wild cards can be used in mail routing table options, but they indicate that a
    hostname <B>will</B> fill that spot. For example:
    <P>
    *.domain.com:mailserver1.domain.com
    <P>
    In the above example, any mail addressed to <anyone>@<anyhost>.domain.com
    will be routed to mailserver1.domain.com. However, mail addressed to
    <anyone>@domain.com will not be routed. To fix this, add this
    line:
    <P>
    domain.com:mailserver1.domain.com
    <P>
    <B>Note:</B> You cannot use the SMTP routing table to route all mail
    addressed to a specific domain to a specific account. You would need to use
    a "Mail Pool" account for this, which is only available in Messaging Server
    3.5+.

    is this entry valid for routing table in nms v 4.15 p6
    * : anotherhot.mydomain.com:5000
    assuming that my anotherhost is listening and accepting on port 5000 for smtp connections. and i wanna forward all the mails to that host
    regards
    Prashant

  • Open with Application... setting does not seem to be working

    Mac OS X 10.6.6, FF 4.0 (RC1), Microsoft Excel 2011 14.0.2. I needed to download several files with .xls suffix.
    Firefox asked what I wanted to do with the file, I indicated Open with Excel, and retain this setting. I then tried the next download, and the "Open With..." button showed no settings. I check the Preferences>Applications area, and Excel is there as the application of choice, but it does not appear as the "Open With" application in the download dialog box. If I just go ahead and download, the file does not open. If I *do* re-select Excel, then the file downloads and opens properly, but the setting is not retained for the next download, even though the "always do this" box is checked. It's a minor issue.

    Has nobody experienced this issue before?

  • The form filling application does not seem to be working

    The automatic form filling does not appear to be working

    You have or had an extension installed (MegaUpload toolbar) that has changed the user agent from Firefox/3.6.4 to Firefox/2.0.0.4.
    You can see the Firefox version at the top and the user agent at bottom of the "Help > About" window (Mac: Firefox > About Mozilla Firefox).
    You can check the '''general.useragent''' prefs on the '''about:config''' page.
    You can open the ''about:config'' page via the location bar, just like you open a website.
    Filter: '''general.useragent'''
    If ''general.useragent'' prefs are bold (user set) then you can right-click that pref and choose ''Reset''.
    See [[Web sites or add-ons incorrectly report incompatible browser]] and [[Finding your Firefox version]]
    See also http://kb.mozillazine.org/Resetting_your_useragent_string_to_its_compiled-in_default
    To see all the History and Cookie options, select: Firefox > Preferences > Privacy > History: Firefox will: "Use custom settings for history" - See [[Options window - Privacy panel]]
    Firefox > Preferences > Privacy > History: "Remember search and form history"
    See also [[Form autocomplete]]

  • Why does not  open(fileObj,rawOpt); work properly?

    Hi!
    I'm trying to open a RAW file without header, so I want to say to Photoshop what dimensions I want. This is my idea:
    var filename = File.openDialog("RAW");
    if (filename) {
    var rawOpt = new CameraRAWOpenOptions();
    rawOpt.settings = CameraRAWSettingsType.CAMERA;
    var fileObj = new File(filename);
    rawOpt.bitsPerChannel = BitsPerChannelType.EIGHT;
    rawOpt.width=30;
    rawOpt.height=1000;
    rawOpt.channelNumber=3;
    docRef = open(fileObj,rawOpt);
    But my Photoshop CS2 fails telling me that docRef = open(fileObj,rawOpt); is not implented.
    However, if I use open(fileObj) it works, but it shows me a dialog to insert dimensions and I don't like that.
    Any idea/suggestion?
    Thanks a lot for your time.
    BTW. I inserted this question in the wrong forum before, so now I put it here. Sorry for any inconvenience.

    Thank you for your reply.
    The "does not work" means that the motor doesn't move with servo type.
    In MAX, there is no error when a target position is less than 999 in 1-D Interactive, but doesn't move. When the target position is more than 1000 and I click "Apply" and "Start", error ramps of "Motor off" and "Following error occurred" are red. And the motor doesn't move.
    I thought that firstly signals of encorder have been wrong because the motor have not moved with stepper mode of closed-loop and feedback of encorder.
    So I would connect correctly wiring of encorders, but the motor doesn't move.
    Wiring of all is "STEP", "DIR", "AO", "ENC A, B and Index bar" respectively. In MAX, type is servo mode, feedback is encorder, kinds of limit switch are not used.
    I supply it if you need the other setup of wiring or information.
    Regards,
    Megumi

  • The latest iMovie do not seem to be working properly.  the photos and videos become distorted whenever i attach them to the templates.  in one case (Blockbuster Trailer), the video skips thereby making it not in-synch with the music.  what should i do?

    the latest iMovie do not seem to work properly.  the photos and videos become distorted when i attach them to the templates.  in one case (Blockbuster Trailer), the video skips thereby making it not in synch with the music. what should i do?

    bnjr86 wrote:  There have been times when I've walked in there, that I really don't want to deal with VZW anymore and just take my business elsewhere.
    I  wonder if another provider would really be much different?  Read some of the other carrier forums - seems to be the same story everywhere.
    I'm not disagreeing with you - I've found that I am usually more informed about Verizon policies and procedures than some of the reps in our local store.

Maybe you are looking for

  • Drawing a picture within JFrame when I've already created a JFrame

    Hi everyone, I was wondering if you could help me out with this problem I'm getting. I'm creating a program to simulate an 'elevator.' When first creating the project I created a brand new 'Java GUI Form' : 'JFrame Form'. From here I went on to drag-

  • Issues in running a report on an app server

    Hi all,          I have a report that fails daily on one of our app servers.This report fails daily with the failure reason "Failed to open connection. D:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Data\procSched\boprdapp06.xmradi

  • Bookmark through CLIENT_OLE2

    Hello Seniors/Guru/experts we have custom built oralce application (forms 11g). Here is the detail: we have word template(employee record.dot) store in database through blob. And each template have bookmark .i.e. "Emp name". We are able to call that

  • Webforms  & streaming xml

    Hi, I need to produce a document in xml-format send it from webforms to a servlet which receives the XML request, processes it, and then responds with an XML answer. The user is running webforms (6i) and invokes the external program from a button - a

  • Request data for HR ABAP.

    Dear All, I would like to take HR ABAP course from good Institute, so before taking this course what are the basic thing I should know. Could you please give me some date. If possible some Information also. Regards, Chandra.