Conditions for regions depending on more than one element

Good morning,
I've got an easy question: I want a region only to be shown, when elements (:P1_x, :P1_y, :P1_z) are null. this is no problem if showing region depends on only one element:
"Der Wert des Elements in Ausdruck1 ist NOT NULL" --> so Ausdruck1 is filled with: P1_x
But how can I simplfy APEX, that showing region depends on more then only this one element . I tried with AND (P1_x and P1_y and P1_z) or with semikolon (P1_x; P1_y; P1_z), but it doesn't work.
So how can I tell APEX more than only one condition for showing region?
thank you...

Bettina,
Condition type of:
PL/SQL Expression
Expresion:
:P1_ITEM1 IS NULL
AND
:P1_ITEM2 IS NULL
AND
:P1_ITEM3 IS NULL
Does that solve your problem?
Andy

Similar Messages

  • One Account Statement for customer present in more than one company code.

    Hi all,
    We have requirement of printing one account statement for customer present in more than one company code.
    Program RFKORD10 generates more than one statements for customer present in more than one company code.
    Please suggest if any customiztion or program changes need to be done for above issue.
    Thanks.

    If customer is present in more than one company code then you can config in different co codes.
    Now could you brief your requirement, i think you want to print only once and system should print in both company codes at one time. Is it like that?
    Regards
    Ashu

  • Job execution depend on more than one event

    Hi gurus,
    Does anybody know if there is some way to execute a JOB dependent of more than one event raised?
    I have a JOB that need to be executed only when two events are raised.
    I have created those events using tCode SM62.
    Thanks in advance,
    Silvio Messias

    These more complex dependencies cannot be realised in the SAP standard (as far as I know), I assume the events could come in any order, so I have a hard time thinking about a workaround.
    You probably need external scheduling software (like TWS or Batchman), or program your own add-on solution.
    Thomas

  • Sequence contains more than one element error in MVC 5

    I created some models, added the migration and then did an update database operation, though at my last update database operation I got the error message saying:
        Sequence contains more than one element
    Below you can find my migration configuration:
            context.Categories.AddOrUpdate(p => p.CategoryName,
                new Category
                    CategoryName = "Sport"
                new Category
                    CategoryName = "Music"
            context.Subcategories.AddOrUpdate(p => p.SubcategoryName,
                new Subcategory
                    SubcategoryName = "Football"
                new Subcategory
                    SubcategoryName = "Basketball"
                new Subcategory
                    SubcategoryName = "Piano"
                new Subcategory
                    SubcategoryName = "Violin"
            context.Services.AddOrUpdate(p => p.ServiceType,
                new Service
                    ServiceType = "Football player",
                    Category = { CategoryName = "Sport" },
                    Subcategory = { SubcategoryName = "Football" }
                new Service 
                    ServiceType = "Piano lessons",
                    Category = { CategoryName = "Music" },
                    Subcategory = { SubcategoryName = "Piano" }
    The problem occurs with when I add new Services. I already have categories and subcategories, and if I do like Category = new Category { CategoryName = "Music" } then it works but I get Music entry twice in my database (for this example). I want to
    use the already added categories and subcategories. Below also you can find my models definitions.
    public class Category
        [Key]
        public int CategoryID { get; set; }
        public string CategoryName { get; set; }
    // Subcategory is defined the same way...
    public class Service
        public int ServiceID { get; set; }
        public string ServiceType { get; set; }
        public virtual Category Category { get; set; }
        public virtual Subcategory Subcategory { get; set; }
    }

    After reading the article in the link that you have provided, I did the following changes in my models, and created controllers for each of them using Entity Framework, then I created a migration and named it InitialServices. Afterwards, I added a few
    entries in my Configuration.cs file and when I typed Update-Database, I got an error message in package manager saying "RenameIndexOperation", which is marked with red. Below you can find my changed models and my Configuration.cs file, along with the migration
    file created automatically.
    Category.cs:
        public class Category
            [Key]
            public int CategoryID { get; set; }
            public string CategoryName { get; set; }
            public virtual ICollection<Subcategory> Subcategories { get; set; }
    Subcategory.cs:
        public class Subcategory
            [Key]
            public int SubcategoryID { get; set; }
            public string SubcategoryName { get; set; }
            [ForeignKey("Category")]
            public int CategoryID { get; set; }
            public virtual Category Category { get; set; }
            public virtual ICollection<Service> Services { get; set; }
    Service.cs:
        public class Service
            [Key]
            public int ServiceID { get; set; }
            [Required]
            [Display(Name="Service type")]
            public string ServiceType { get; set; }
            [ForeignKey("Subcategory")]
            public int SubcategoryID { get; set; }
            public int Count { get; set; }
            public virtual Subcategory Subcategory { get; set; }
    _InitialServices.cs:
        public partial class InitialServices : DbMigration
            public override void Up()
                DropForeignKey("dbo.Services", "Category_CategoryID", "dbo.Categories");
                DropIndex("dbo.Services", new[] { "Category_CategoryID" });
                RenameColumn(table: "dbo.Services", name: "Subcategory_SubcategoryID", newName: "SubcategoryID");
                RenameIndex(table: "dbo.Services", name: "IX_Subcategory_SubcategoryID", newName: "IX_SubcategoryID");
                AddColumn("dbo.Subcategories", "CategoryID", c => c.Int(nullable: false));
                CreateIndex("dbo.Subcategories", "CategoryID");
                AddForeignKey("dbo.Subcategories", "CategoryID", "dbo.Categories", "CategoryID", cascadeDelete: true);
                DropColumn("dbo.Services", "Category_CategoryID");
            public override void Down()
                AddColumn("dbo.Services", "Category_CategoryID", c => c.Int(nullable: false));
                DropForeignKey("dbo.Subcategories", "CategoryID", "dbo.Categories");
                DropIndex("dbo.Subcategories", new[] { "CategoryID" });
                DropColumn("dbo.Subcategories", "CategoryID");
                RenameIndex(table: "dbo.Services", name: "IX_SubcategoryID", newName: "IX_Subcategory_SubcategoryID");
                RenameColumn(table: "dbo.Services", name: "SubcategoryID", newName: "Subcategory_SubcategoryID");
                CreateIndex("dbo.Services", "Category_CategoryID");
                AddForeignKey("dbo.Services", "Category_CategoryID", "dbo.Categories", "CategoryID", cascadeDelete: true);
    Configuration.cs:
    protected override void Seed(Workfly.Models.ApplicationDbContext context)
                var categories = new List<Category>
                    new Category { CategoryName = "Sport" },
                    new Category { CategoryName = "Music" }
                categories.ForEach(c => context.Categories.AddOrUpdate(p => p.CategoryName, c));
                context.SaveChanges();
                var subcategories = new List<Subcategory>
                    new Subcategory { SubcategoryName = "Football", CategoryID = categories.Single(c => c.CategoryName == "Sport").CategoryID },
                    new Subcategory { SubcategoryName = "Basketball", CategoryID = categories.Single(c => c.CategoryName == "Sport").CategoryID },
                    new Subcategory { SubcategoryName = "Piano", CategoryID = categories.Single(c => c.CategoryName == "Music").CategoryID },
                    new Subcategory { SubcategoryName = "Violin", CategoryID = categories.Single(c => c.CategoryName == "Music").CategoryID }
                foreach (Subcategory s in subcategories)
                    var subcategoriesInDB = context.Subcategories.Where(c => c.Category.CategoryID == s.CategoryID).SingleOrDefault();
                    if (subcategoriesInDB == null)
                        context.Subcategories.Add(s);
                context.SaveChanges();
                var services = new List<Service>
                    new Service { ServiceType = "Football coach", SubcategoryID = subcategories.Single(s => s.SubcategoryName == "Football").SubcategoryID },
                    new Service { ServiceType = "Piano lessons", SubcategoryID = subcategories.Single(s => s.SubcategoryName == "Music").SubcategoryID }
                foreach (Service s in services)
                    var servicesInDB = context.Services.Where(t => t.Subcategory.SubcategoryID == s.SubcategoryID).SingleOrDefault();
                    if (servicesInDB == null)
                        context.Services.Add(s);
                context.SaveChanges();
            }

  • Align more than one element in same line in a selection screen

    I have to align more than one element
    in same line in a selection screen.
    It is possible with the following code.
    now the problem is i need space between these elements. how can i achieve it?
    SELECTION-SCREEN BEGIN OF LINE.
      SELECTION-SCREEN COMMENT (8) txt1.
      PARAMETERS :      location AS CHECKBOX,
                  loc(5) TYPE c.
      SELECTION-SCREEN COMMENT (15) txt2.
      PARAMETERS :     dept AS CHECKBOX,
                  dpt(5) TYPE c.
      SELECTION-SCREEN COMMENT (7) txt3.
      PARAMETERS :  product AS CHECKBOX,
                   prdt(5) TYPE c.
      SELECTION-SCREEN END OF LINE.

    Hi,
    Use SELECTION-SCREEN POSITION option.
    ex: SELECTION-SCREEN POSITION 15.
    Sample code:
    selection-screen: begin of block blk1 with frame.
    selection-screen: begin of line.
    parameters: R1 RADIOBUTTON GROUP RAD1.
    SELECTION-SCREEN position 5.
    SELECTION-SCREEN COMMENT 6(5) comm1.
    parameters: R2 RADIOBUTTON GROUP RAD1.
    SELECTION-SCREEN position 14.
    SELECTION-SCREEN COMMENT 15(5) comm2.
    selection-screen: end of line.
    selection-screen: end of block blk1.
    initialization.
    comm1 = 'File1'.
    comm2 = 'File2'.
    Edited by: Velangini Showry Maria Kumar Bandanadham on May 27, 2008 2:54 PM

  • My serial number is not valid anymore ? I bought my photoshop and I have been using it for a little bit more than one year...

    Hello,
    I bought my Photoshop Extended (PC) last year in the US. I have been using it for a bit more than a year. Today, opening Photoshop, Adobe asks me to pay or enter my serial number. So I enter the number (again), and it says that the number is invalid.
    My version is an official version, I paid for it.
    What I am supposed to do now ?
    Thx

    We are basically users and can't really help with activation. So unless a staff member can check in, you need to speak to Customer Service.
    http://helpx.adobe.com/x-productkb/global/service1.html
    Serial number and activation chat
    or
    800-833-6687
    Monday—Friday, 5am—7pm PT

  • Use Images in Reports in dependency of more than one criteria

    Hello,
    I would like to use Images in Reports as described in Tips & Tricks (green and red point image), but I don't know how to do this if I have more than on criteria. The point is, how to link it to the report. <br>
    I wrote this pl/sql-code, he would check the criterias:
    <br><br>
    BEGIN<br>
    DECLARE<br>
    CURSOR ss_alle IS <br>
    --Abfrage aller Datensätze<br>
    SELECT ID, sbb_site_id, code_swisscom, ok_sent_swisscom, ok_back_swisscom FROM acqueasy.ssvertrag;<br>
    BEGIN<br>
    --Eintrag für Eintrag abarbeiten<br>
         FOR ss_id IN ss_alle LOOP<br>
              --Auf Code prüfen<br>
              IF (ss_id.code_swisscom IS NOT NULL) THEN<br>
              --Zustimmung an Swissom gesendet<br>
              IF (ss_id.ok_sent_swisscom IS NULL) THEN<br>
                   --show red point<br>
              ELSE<br>
                   --show green point<br>
              END IF;<br>
              END IF;<br>
         END LOOP;<br>
    END;<br>
    END; <br>
    <br><br>
    Is it possible to set some variables from the current line of the report, where do I have to put this code and how do I have to replace the comment --show ..point (e.g. "<img "down.gif">")
    <br>
    Thanks for your help

    The solution is much easier: http://www.oracle.com/global/de/community/index_v9.html

  • Does anyone have any efficient techniques for saving mail on more than one machine and in the cloud (I need offline access). Trying to avoid endless message copying.

    I've been in an administrative job at my university, in which I needed to be able to access lots of past email conversations.  I ended up saving *everything* religiously, by copying each email or conversation into an "On My Mac" folder on either my home or office machine, flagging it as copied, then unflagging it and moving it to a like folder on the other machine. As a result I'v now got a trillion folders for various aspects of my job, filled with quite a few messages that I probably no longer even need, but they're way too many to go through and delete one by one.  Unfortunately, I haven't made much use of the iCloud folders, but I'm so tired of having to essentially manually sync my stored mail in the manner I just described, that I'm thinking of starting to file everything to iCloud folders.  The downside of that is that obviously if the internet is down and a given folder wasn't refreshed before it went down, I won't have access to the saved mail.
    Moreover, I'm about to step down from the admin post -- within about 6 months a lot of what I saved won't be needed at all, and going forward, I won't need to save nearly the same quantity of messages for later reference.  I'd like to come up with some viable "triage" strategies for limiting the mail I do save.  
    This is really just an open question:  Does anyone have any good mail filing and storage techniques that you'd be willing to share?  I'm especially interested in criteria you use for what you save and don't save, and where/how you save it. 

    Well, the one set up on exchange 2k3 is now working fine, although no changes were made on either the iPhone or the exchange side, so that's fun, but it still is throwing errors when connecting to the other 2 exchange accounts. The common elements are that both non-functioning exchange accounts are google apps for business accounts. So is one of the ones that's working, by the way. The settings on both accounts are the same as the one that's working, and both worked fine before the 8.3 upgrade. I have no issue accessing both of these accounts on my ipad which is currently on 8.2.x. If it's not the iphone OS at fault, I'm at a loss as to what it could be.

  • Hierarchies dependent on more than one table

    Hi,
    I am using OBIEE 10.1.3.3 and my question relates to creation of hierarchies in the Business Model and Mapping layer.
    I have two tables Countries and Customer (which has a foreign key relationship with Countries). These tables are from the SH schema that comes with the Oracle 10g database.
    When I create a dimension on Customers, OBIEE automatically creates a level for Countries which is the parent of the Customer Detail level. However the Countries logical table has columns related to Region and Subregion and I would like those columns to be assigned to their own respective levels. So I create levels Region and Sub Region and assign the appropriate column to those levels.
    Howver when I run the consistency checker I get the following error -
    "[nQError: 15019] Table Countries is functionaly dependent upon level Countries, but a more detailed child level has association columns from the same table or a
    more detailed table"
    If I delete the region level and assign the region columns back to the countries level, the model becomes consistent.
    I am not sure I understand the exact meaning of this message and I would appreciate it if some one could guide me about it ?
    Thank you

    I don't think I understand .
    This is how my hierarchy looks like
    Total -> Countries (All columns from countries) -> Customers (All Columns form Customers)
    When it is structured as shown above, the repository is consistent.
    Now if I change the hierachy to this -
    Total -> Countries (All Columns from Countries) -> Region (All Columns from Countries) -> Customers (All columns from Customers)
    I get the error mentioned in my earlier post. Why does OBIEE not like this hierarchy ? It looks pretty OK to me ?
    I would appreciate if you elaborate a little

  • Installer does not allow for shortcut changes or more than one

    I have been trying to create a shortcut for the Start Menu and the Desktop. I can create the two shortcuts except they are exactly setup the same. I try to change one or the other and they both revert back to the original settings. In the attached images you will see that I change the subdirectory to nothing. When I come back to the shortcuts area, the subdirectory is back. If I create a second shortcut, it is the same as the first... I cannot change it.
    photo 1: this is how it starts, default
    photo 2: My changes... subdirectory is removed
    photo 3: I leave the shortcuts area
    photo 4: I return to the shortcuts area and the subdirectory is back.
    If I create another shortcut, it will act exactly the same. Both shortcuts will be setup as the first photo. No changes stay.
    What is going on here?
    Attachments:
    shortcuts_setup_anomaly.zip ‏161 KB

    What LabVIEW version is this?
    LabVIEW Champion . Do more with less code and in less time .

  • Can I download and save the shockwave player application for later installation on more than one PC

    I would like to find a  "setup.exe" file for the shockwave player and flash player (to begin with) so I can be sure fellow cowworkers all have the same versions installed on their own PC. This would make it more efficient to share files, explainations etceteras.
    I was given this assignment after I installed virtual drives with Windows, on a few Mac PCs, and now I've been asked for more ways to streamline  file shareing.  I am attempting to convince the foremen, detailers, Crew managers & others to use Windows 8, as it can be synced with everyone's phones, tablets, androids & PCs. This would just be a beginning, mainly for demostration. I hope I haven't taken on an impossible task. Thank you in advance for any help offered.
    Edited by Warlock57

    The full installer is available here

  • It is necessary for me to have more than one window open in Firefox, and the command (New Window) no longer works. How do I have two different websites open at the same time on separate displays?

    I used to be able to open two Firefox windows at a time, with one website on one display and another website on another display. Now when I select New Window, nothing happens.

    You can tear off a tab (right-click: Move to New Window) to open it in another window and resize both windows so you see them at the same time.
    *Fox Splitter: https://addons.mozilla.org/firefox/addon/fox-splitter/
    *Split Pannel: https://addons.mozilla.org/firefox/addon/split-pannel

  • A&D ADSUBCON: wrong qty in delivery for subcontr.PO with more than one item

    Hi gurus,
    i created a subcontracting PO with 2 item: item 10 for 200 PC and item 20 for 500 PC.
    When i create a delivery, using ADSUBCON (because i have to managed special stock E), the delivery quantities are wrong.
    I mean: I obtain a delivery with item 10 for 500 PC and item 20 for 500 PC; same quantity.
    It seems that SAP takes the quantity of the last PO's item ( in my example the qty of the second PO item 500PC).
    I tried to invert the case: PO with item 10 for 500 PC and item 20 for 200 PC. The delivery created has 200 PC for item 10 and 200 PC for item 20
    I also tried to create a PO not for MTO but for MTS and using ADSUBCON transaction the delivery quantity still be wrong but using ME2O it is correct (but this second case isn't my case because i need to manage customer stock E).
    It is for this reason that i suppose that the problem is related to A&D...
    Please, could you help me?
    It is very important and urgent.
    Thank you in advance for your collaboration.

    i've not worked with ADSUBCON txn but could find a a note related to similar issue, have a look at it:
    SAP Note 736737 - ADSUBCON: Problems with the performance and data display
    yogesh

  • Is it possible to add multiple contacts to Safari autocomplete for iPads used by more than one person regularly?

    If there are multiple regular users who both want to take advantage of the Safari autocomplete function for forms can you add multiple people in Settings?

    No, that's not possible.

  • How to generate a report with more than one elements in the same graph??

    I need to generate a custom report in OEM GC 10g featuring volume total capacity information and volume free capacity information both in the same graph on (Y-axis) and time on the (X-axis). I could generate only the total volume capacity graph individually, but how can the combined graph and the graph for free capacity be generated...

    Is it your values in parameter NO separated by coma? And is it
    parameter in where clause?
    Do you want something like :
    from table
    where s_no in (NO) ?
    If is answer "yes" you can create lexical parameter in report.
    You can write in report sowething like:
    select a.field1, a.field2,.....
    from table a
    &COND /* this is if is condition only one line after "from".
    if you have more lien after where then you will put this &COND
    in line where you want to have your multivalue.
    Then in your trigger in form you should write:
    sc_no := 'where a.sc_no in ('||:searchlist.c_no||')';
    ADD_PARAMETER(PL_ID, 'pamametername', TEXT_PARAMETER, sc_no);
    /* again this is if you have only one line with WHERE ili
    conditions */
    or you will write:
    sc_no := 'and a.sc_no in ('||:searchlist.c_no||')';
    ADD_PARAMETER(PL_ID, 'pamametername', TEXT_PARAMETER, sc_no);
    It will substitute line in which is your conditions with
    multivalue.

Maybe you are looking for

  • Want to change my MacBook Pro login wallpaper.

    How can I change the log in wallpaper?

  • Oracle Forms Builder

    Hi Experts, I am learning oracle form builder version 6i where my manager wants me to develop a form with the LOV and data blocks. I dont know the Form Builder. Where i can get the form builder document with the simple form created example. I need it

  • How can I get Hebrew to read RTL in Illustrator CC?

    I already changed the language preference to English/Hebrew in CC. I was able to get it to work in Indesign by changing the setting in the paragraph dialogue box to 'Adobe World-Ready Paragraph Composer, but the same option is not available in Illust

  • Motion 3 files won't open in Motion 4

    I've just upgraded to Final Studio 3 which has Motion 4, but am now unable to open any Motion 3 files. In fact, Motion 4 doesn't appear to be working properly full stop. Any ideas out there?

  • How to Disable or Remove the Click and Call Functi...

    The Skype Click and Call function highlights phone and contact numbers on webpages and emails, and a Skype call can be executed by simply clicking the highlighted number. The easiest way to disable this is to remove or uninstall the Click to Call wit