Print When with two conditions

I only want to print a page if two conditions are met. On each section I am using the following Print When Condition:
DateFormat(query.asofdate, "mm/dd/yyyy") NEQ DateFormat(calc.AmtDate, "mm/dd/yyyy")  AND LSNumberFormat((query.bal + calc.anticipated), "_.__") LTE LSNumberFormat(25.00, "_.__").
The date check works great by itself and the amount check works great by itself but I can't get them to work together. Any ideas?
I am using CF10.

Cozmo2 wrote:
That fixed the problem Thanks!
Is there anyway I can apply this to the whole page and not have to add it to every sections 'Print When Condition'?
One way would be to exclude records that meet those conditions. That way you would not need to take them into account in your report.

Similar Messages

  • Formated Search: Auto refresh with two conditions.

    Hi,
    I've created a Formated Search in one of my column.
    I defined my formated search as :
    - Auto refresh "When Exiting Altered Column" Item No.
    - Display Saved Values.
    Now how can I make it Auto refresh with two conditions?
    - Auto refresh "When Exiting Altered Column" Item No.
    And
    - Auto refresh "When Field Changes" Customers/Vendor Code.
    - Display Saved Values.
    Is there any way to make it work?
    Thanks In Advance.
    Bruce.

    Hi Bruce,
    You could try this trick.
    You need to execute SELECT1 in Col1 when Item No. column is altered or the Customer code is changed.
    Then, in the Item No. column asign a new Formatted Search which selects the Item No. column value (Its value) when the Customer code is changed.
    And in the Col1 asign a formatted search that acts when the Item No. column is altered.
    I think this should do the trick.
    Let us know if works.
    Regards,
    Ibai Peñ

  • Calculation of tax with two conditions

    hi all,
    i have an issue regarding tax in condition in po.
    i want the calculation of tax should be on two condition basis, while i am giving value in tax code field in invoice tab.
    1. when i am entering tax code, the value like- L1- 4%, L2- 12%, that is calculating on gross price.
    supose- GP- 100
         tax- 4%-     4
                        104
    then am puting fright charge- 10
    so total is 114
    2. supose- GP- 100
             fright     -  10
                            110
    then a will calculate- 4% on 110
    how this could be done, the 2nd one.
    thanks&regards
    susanta

    Hi,
    For this you have to treat Freight as a Discount Condition Type in MM Pricing
    Take a copy of RA01 in M/06 and keep it as Positive Condition
    Here keep
    Cond. class   A Discount or surcharge
    Calculat.type A Percentage
    Cond.category Blank
    And Plus/minus - A (Positive)
    Use this in Pricing Procedure (M/08) after Gross Price ad Discount conditions (before Subtotal)
    Now
    Base Price = 100
    Freight = 10
    Subtotal = 110
    Tax (4%) = on Subtotal

  • Excel 2013 bug printing when using two printers with same driver

    Hi,
    Was advise by "Community" to post this one here.
    The environment:
    Window 7 Sp1 x64
    Office 2013 Sp1 32 bit
    Windows 2012 Server (current patches).
    Two IDENTICAL network connected printers shared from above Windows 2012 server.
    As the two printers are the same, they both use the same printer driver.
    Printer A is set to Greyscale. This is the default printer.
    Printer B is set to Full Colour.
    Open Excel and start a blank worksheet.
    Choose Print - this shows the default printer (Printer A) - then Printer Properties - this verifies that the Default Printer is set to Greyscale as expected.
    Change printer within Excel to Printer B - then printer properties again - this shows us that printing is STILL in Greyscale ignoring the Printer B settings. Printing will indeed produce a greyscale print on Printer B.
    The reverse is also true - if we set Printer B (Color) as the Default, then choose Printer A (Greyscale) inside Excel, it will then show (and print) in Full Color - ignoring the printer A setting of greyscale.
    This ONLY occurs when connecting to Shared Printers on a Windows host (Server 2012 in this case).
    Direct IP printing from Win 7 to the printer works as expected (printer settings honoured).
    Non-Windows server based printer sharing works as expected (printer settings honoured).
    This ONLY occurs in Excel. Other programs including other Office components do not exhibit this bizarre behaviour.
    This ONLY occurs where the same driver is used by both printers.
    In effect, Excel is transposing the Default printer's settings onto whatever printer is chosen if it uses the same driver.
    Installing Office 2013 Service Pack 1 made no difference.
    This appears to be a long running issue (search result show Excel 2007,2010* and Windows 2008R2 server references).
    *Confirmed same behaviour with Windows XP and Excel 2010.
    This appears to affect multiple brands of printer (Xerox, Konica Minolta). Confirmed with 3 different generation Konica Minolta (Postscript) copiers and Dell multifunction (with PCL drivers).
    Does anyone have a solution for this ? 
    Is there a setting hidden in Excel that should be changed ?
    Is there a server setting to "isolate" the two printers from each other ?
    Regards
    Ian

    KR,
    Thanks for the reply but note I said "The reverse is also true - if we set Printer B (Color) as the Default, then choose Printer A (Greyscale) inside Excel, it will then show (and print) in Full Color - ignoring the printer A setting of greyscale."
    Also, it is the printer properties that are being set. I believe the setting you refer to is per worksheet ?
    Cheers
    Ian

  • Filtering a range with two conditions and totalling the filtered set

    I have got to :
    =SUMIF(LOOKUP(1, 1::K2:K79,  1::L2:L79), "=✓", 1::I2:I79)
    The error message is "SUMIF requires that all range arguments are the same size".
    My understanding is that :
    LOOKUP(1, 1::K2:k79, 1::L2:l79) will return a set of values filtered from L2:L79 in table 1 that correspond with all rows in K2:K79 (in the same table) that contain the numerical value 1.
    That set of values is then used as the first argument in a SUMIF statement to be filtered on "=✓" producing a subset whose corresponding rows in I2:I79 will be totalled.
    I've given it a good bit of effort now for a couple of hours and hope that someone can help me out of my amateur quandary with a formula that will achieve the same thing, because I am giving up : ie :
    Product
    Month
    Eligible product (✓) or not (x)
    Cost
    Teddy Bear
    1
    x
    £35.00
    High-resolution PC Monitor
    1

    £600.00
    Electric Fan
    1

    £45.00
    Newspaper subscriptions
    1
    x
    £45.00
    Snack foods
    1
    x
    £15.00
    Telephone line installation
    1

    £80.00
    Office chair
    2

    £75.00
    I need to efficiently calculate the total cost of "Eligible products" bought in Month 1.

    Hi b,
    LOOKUP returns a single value corresponding to the first match it finds for the search value.
    As I understand it, you wnt the SUM of all 'cost' values where the month is "1" AND 'eligible' is checked.
    For a SUM depending on more than one condition being TRUE, the function of choice is SUMIFS.
    If Row 1 is a Header row, and Row 179 is the last row in your table (or if no rows below that will match both conditions), you can omit the row part of each range address.
    I'm confused as to which column contains the amounts to be summed, so I've made these assumptions:
    K = month
    L = eligible
    M = cost
    O2: =SUMIFS(M,K,"=1",L,"=√")
    (The formula may go in any cell not referenced by the formula. My choice to place it in O2 was arbitrary.)
    Regards,
    Barry
    PS: Apple has provided an excellent guide to writing formulas in Numbers. The iWork Formulas and Functions User Guide is available for download via the Help menu in Numbers. It provides a description of each function with at least one example of how it may be used.
    B

  • Script with two conditions

    hi friends
     I am new to PowerShell and i am studying hard since I've found it excellent to automate administrative tasks in my network.
    I am trying to write an script whichchecks if ADDS service (which its service name is NTDS) exist & also if it is running, then my command which creates a set of objects in AD be executed (new-ADobject
    I am familiar with get-service Cmdlet & also with basic "if statement", which is
    if (my condition) {
    do stuff
     but I don't know how to combine these things to make the final code.
    may someone please write me the code, so that a begin to study about the different parts of the final code?
    thanks a lot

    I would start by studying hte very basic compnents of PowerShell.
    You can write an if statement after only a few minutes of studying.  Itis easy.  Try it:
    Start here:
    http://technet.microsoft.com/en-us/scriptcenter/dd742419.aspx
    For the absolute beginner:
    http://www.powershellpro.com/powershell-tutorial-introduction/powershell-tutorial-conditional-logic/
    ¯\_(ツ)_/¯
    hello thanks. I studied and I learned how to use multiple conditions in my code,
    but still have problem with writing the condition itself in this certain circumstance.
    so am I on the right way by this:
    $myservice = get-service -name NTDS | select status
    if ($myservice -eq "running") {
    New-ADObject.......

  • Reminder with two conditions

    I need a script that iCal can trigger which will show a message ("Pay credit cards") if a) the date of the month is later than the 15th and b) if I haven't yet indicated that I've paid. I can do this in Filemaker, and I've created an applescript that will show the message based on the date, but I can't figure out how to create an applescript with an "I paid" answer field—one that will will stay "paid", once I select it, until the 15th of the next month. I'm obviously an inexperienced applescripter and help would be much appreciated.

    This is a rather unique situation that may require more understanding of your setup than is available… as such you might not get a direct answer.
    It seems to me that there are a couple of ways you can do here, depending on where you want to put the logic.
    You mention Filemaker, but I'm not sure whether you mean you're already using Filemaker and you want your script to integrate with it, or whether you mean you know how to do this in Filemaker, but not AppleScript?
    Storing the 'paid' status is relatively easy but it's not clear how you intend to indicate whether you've already paid or not (if this script pops up on the 15th, how is it supposed to know that you've already paid?
    So in short, you need to provide more details before anyone can really help you.

  • How to set two Conditions Simultaneously in set where clause

    Hi,
    I have a messgechoice item , and i need to fire messagechoice VO with two conditions.
    For Eg:-- we have three Items ProjectContractor& Work Order on a custom Page , now i need work order list should populate on lelection of project & contractor both, so i have apply a fire partial event on contractor where i i get the parameter values as follows:--
    CO Code
    if("OrderNoself".equals(event))
    String value21 = (String)pageContext.getParameter("ProjectName");
    System.out.println("The Selected Project Name for self Contractor is "+value21);
    String value22 = (String)pageContext.getParameter("ContractorName");
    System.out.println("The SelectedContractor Name for ContractorName is "+value22);
    Serializable [] params11 = {value21,value22} ;
    am.invokeMethod("initWorkOrderNumberself",params11);
    AM Code
    public void initWorkOrderNumberself(String ProjectName,String ContractorName");
    getDprWorkOrderpopVO1().setWhereClause("PROJECT_NAME = " + "'"+ProjectName+"'");
    getDprWorkOrderpopVO1().setWhereClause("CONTRACTOR_NAME = " + "'"+ContractorName+"'");
    getDprWorkOrderpopVO1().executeQuery();
    Now when i run my form then Work order list only populateon set conditions ofContractor NAme only.
    Please suggest....

    Hi Tarun,
    Thanx for ur reply,
    i have used below mwntioned code provided by you but still i m getting error...
    public void initWorkOrderNumber(String ProjectName,String ContractorName)
    //getDprWorkOrderpopVO1().setWhereClause("CONTRACTOR_NAME = " + "'"+ContractorName+"'");
    //getDprWorkOrderpopVO1().executeQuery();
    getDprWorkOrderpopVO1().setWhereClause("PROJECT_NAME =:1 AND CONTRACTOR_NAME=:2");
    getDprWorkOrderpopVO1().setWhereClauseParams(null);
    getDprWorkOrderpopVO1().setWhereClauseParam(1,ProjectName);
    getDprWorkOrderpopVO1().setWhereClauseParam(2,ContractorName);
    getDprWorkOrderpopVO1().executeQuery();
    ERROR:---
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (select * from omaxe_work_order_headers
    where work_order_number is not null) QRSLT WHERE (PROJECT_NAME =:1 AND CONTRACTOR_NAME=:2)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862)
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:985)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:210)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:152)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:721)
         at omaxe.oracle.apps.xxopa.boqmain.webui.OmaxeDPRCO.processFormRequest(OmaxeDPRCO.java:107)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: ORA-01006: bind variable does not exist
    Regards
    Saurabh

  • Choosefrom list with multiple conditions

    Hi all, I'm trying to get a choosefromlist to work with two conditions.
    the code'I'm using is:
                Dim oCons As SAPbouiCOM.Conditions = oCFL.GetConditions()
                Dim oCon As SAPbouiCOM.Condition = oCons.Add
                Dim oCon2 As SAPbouiCOM.Condition
                oCon.Alias = "ValidFor"
                oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
                oCon.CondVal = "Y"
                oCon2 = oCons.Add
                oCon2.Alias = "PrchseItem"
                oCon2.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
                oCon2.CondVal = "Y"
                oCFL.SetConditions(oCons)
    However I get zero results.
    When I use them one at a time it works fine and I know that there are records in the table that meet the given conditions.
    Can Anybody help me?
    Regards,
    Jeroen Verbeek

    you need to use Relationship
    Dim oCons As SAPbouiCOM.Conditions = oCFL.GetConditions()
    Dim oCon As SAPbouiCOM.Condition = oCons.Add
    oCon.Alias = "ValidFor"
    oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
    oCon.CondVal = "Y"
    oCon.Relationship = BoConditionRelationship.cr_AND;
    oCon = oCons.Add
    oCon.Alias = "PrchseItem"
    oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
    oCon.CondVal = "Y"
    oCFL.SetConditions(oCons)
    Edited by: Danilo Kasparian on Apr 14, 2011 4:08 PM

  • APEX Interactive Report Compute Case with multiple conditions to highlight

    My ultimate is to highligt a row in an interactive report based on two conditions. I didn't see a way to use the highligt feature with two conditions. So I thought I would try to create a computation based on the two conditions. Then use that result for the highligting. Though I don't seem to be a be able to use multiple conditions in my computation Case statement. Is there a different syntax?
    Here is what I have:
    Case
      When  C = 'Open' and  I > 15 Then 'True'
      Else 'False'
    End The error I get is: Invalid computation expression. and
    Application Express 4.0.2.00.07
    Thanks!
    Edited by: cjmartin on Jan 10, 2012 10:57 AM

    I'm surprised no one responded to this. What I did to resolve this issue was create a nested case statement. I don't think this was a good solution, but I can't find anyone else giving input. I know I can create another computational column in the select statement for the report, but the 'Interactive Report' part is where this should be. I want my clients to calculate what they want. Kind of hard when you can not use an 'and' for a range criteria.

  • Batch job with 2 conditions

    Hi,
    We have a program that will create a batch job and then we need to go to SM35 to run that batch job manually. We want to avoid this manual step and what we want to do is to as soon as our program runs it will create a batch job and then batch job should kick off automatically.
    One of the solution that came to my mind is to schedule a batch job with two conditions:
    1. in first condition it will run our main program
    2. and in 2nd step it will look out for the batch job that created in SM35 and will kick off that, but I am not sure how can i do this using Sm36.
    I was also wondering if there is another way so that we can just avoid the batch run for the second step?
    So can you please help me with this.
    Thanks,
    Rajeev

    SM35 -> batch sessions, so I assume you are talking about these.
    You can start sessions under program control by submitting program RSBDCSUB after creation of the session.
    Thomas

  • How to do two sided printing automatically with HP 7520 printer

    All that I am trying to do is to make my printer do two sided or double sided printing.  No matter what I check IT DOES NOT WORK.  I checked "2-sided, 1 to 2, NOTHING.  What amazes me is that this worked until recently and now it just will not do double sided printing.  I am probably doing something wrong, but WHAT?
    This question was solved.
    View Solution.

    filgrastin
    Generally speaking, duplex printing is accessed / adjusted from Printing Preferences.
    If you are printing from within an application, for example, within Word or within your Browser, you might reach Printing Preferences from Print Preview.
    Reference:
    Manage Print Output with Print Preview
    Excerpted:
    Print Preview – Accessing the Printing Preferences
    Browser Page > File > Print Preview > Properties
    Properties Accesses Printing Preferences:
    Paper Source (Tray Selection), Paper Size, Media, Orientation, Print on Both Sides, Page Order
    Reference: Printing Preferences
    ================================================
    Click the Kudos Thumbs-Up to say Thank You!
    And...Click Accept as Solution when my Answer provides a Fix or Workaround!
    I am pleased to provide assistance on behalf of HP. I do not work for HP. 
    Kind Regards,
    Dragon-Fur

  • How to print devlievery document with out condition record mess type

    Hi,
    Actually user want to take the sample print out  ( Hard copy ) of the delivery note and other documents for reference, even the message type processed, not processed and even ended with errors also
    I have written a program to display the delivery document numbers  with check boxses and added one button in application tool bar.
    onece user executed the program, he will able to see all the delivery or sales numbers with checkboxes.
    now requirement is, users will select check box and click on the print button it should fire printouts in local printer of user location.
    for this what we are planning is we want to maintian the entries in NAST by RV_MESSAGE_* function modules and printing the output immedaietly
    If any one worked on this kind of requirement, please suggest step by step, how we can print the documents with directly maitaining the message types with out condition records
    Thanks in advance.
    Raju

    Hi,
    Generally if we create any document ( sales or delivery ), based on the condition record message type will be created and with message type details print will be triggered when the medium is 1, date time 4
    But in my case i want to take the printout irrespective of the message and condition records
    i want to take printout even if the message processed,not processed and ended with error.
    is there any way to take the print of the documents by using function modules or updation of NAST table.
    Please help me.
    Thanks in advance
    Raju

  • My photos are not printing right with adobe manages color but works when i use printer manages color. never had any issues untill a week ago.

    my photos are not printing right with adobe manages color but works when i use printer manages color. never had any issues untill a week ago.

    We use CS6, yes we calibrate using x-rite. I have always had adobe manage colors when printing. This problem just occurred, all my settings are the same as they have been for years. The only thing we did lately is do an update to CS6. We thought it might be our printer but when we use the printer manages color it works fine, The problem with adobe manages color is it is not blending the light highlights like on top of the cheeks with the colors around the cheeks  and its putting a faint red between the two it just does not have a smooth transition. I printed a photo that I had printed 4 months ago with no issue, and this time it had the issue that I am dealing with now. Somehow the photo shop manages color is not getting the right info to my printer.  
    I set paper type
    set quality
    no color adjustment
    set my profile
    Teri

  • I have a L7680 All in with two new print heads but the new cyan/magenta shows yellow monitor status.

    I have a L7680 All in with two new print heads but the new cyan/magenta shows yellow monitor status. Ink status, cyan more than 50% and magenta is a 25% w/no low ink warnings... Just ran a clean print head again, print out looks good now but the status of the new cyan/magenta shows yellow monitor status. Is it time to buy another..When I purchased this printer it had to be replaced 3 times because of problems... Just a lemon?
    thx for your help in advance...
    Jim

    Could you share a link to the page?
    Seeing it in context and in our browsers is much easier to debug.
    If not, make sure to run the validator here The W3C Markup Validation Service and clear out any problems. HTML errors, especially structural ones, will cause all kinds of display problems in various browsers/versions/platforms.

Maybe you are looking for

  • Will not recognize jump drive nor allow me to open DVD tray

    Intermittantly, my G5 will not show my jump drive nor a CD on the desktop. At those times, it will not open the DVD tray either. When this happens, I can go to system profiler and see both the jump drive and the CD--it's just not showing up on the de

  • Apps from Ipod Touch won't start

    Hello everyone, Since about a day and a half I have been having problems with my Ipod Touch. All of the apps I got via the App store fail to start up. That is, they start up, the opening screen of the app quickly flashes and I am returned to the home

  • RESTful JSON Inconsistencies by Design?

    I am working my way into using the BusinessOBjects RESTful web services.  I have a Java application and i am using the GSON library (form Google) to convert JSON returned from BusinessObjects RESTful web services into Java Objects.  GSON requires tha

  • Captivate 7 won't launch (Windows 7)

    Having installed Captivate 7 (64-bit) on Windows 7, I've found the program won't actually open. Launching it asks for the Adobe ID, while the program flashes up for a second in the background. Having entered the ID, nothing happens. Trying to launch

  • PE02 - Multi NAA

    Dear all, I try a rule to calculate: Amount = number * value of constant ZG002 The code is below: NUM=ANZHL AMT=KZG002 MULTI NAA ADDWT 1003 PRINT *Note: currency of Amount has 0 decimal places. But, the result is not stored in amount. Please help me