Prevent the entry of data into Custom 2 [no] after 2010 P8

Hello

I want to prevent the entry of data in Custom 2 [no] member after P8 2010 because we want to force to pick up the good Profit Center of the user.

"To prevent the entry of data in C2 [none]
If povYear > '2009' and povPeriod > 'P8' then
HS. NoInput "C2 #[no].

I also think about putting security on the [None] custom member 2 after we are done with reconciliation of the history, but I'm afraid the impact it would have on history

Published by: user10931567 on July 16, 2010 11:46

You cannot have any POV conditions in Sub NoInput. This and secondary input performed outside any user and don't have so any views that you can test. These subroutines execute immediateley at the application startup when no users are in the system, and when you load the rules file. For this reason, you must use the membership lists and simply scroll the POVs predetermined in these routines. You need to loop through the years, or in a more intelligent manner:

Void NoInput

HS. [NoInput ' Y #2010.P #Sep.C2 #[None "]
HS. [NoInput ' Y #2010.P #Oct.C2 #[None "]
HS. [NoInput ' Y #2010.P #Nov.C2 #[None "]
HS. [NoInput ' Y #2010.P #Dec.C2 #[None "]

HS. [NoInput ' Y #2011.C2 #[None "]
HS. [NoInput ' Y #2012.C2 #[None "]
HS. [NoInput ' Y #2013.C2 #[None "]
HS. [NoInput ' Y #2014.C2 #[None "]
etc.

End Sub

It is more well done in a loop fixed, but you can see the point that, at any time, you can use an "If...". Then' statement that tests any user POV.

-Chris

Tags: Business Intelligence

Similar Questions

  • Simple way to compensate for the entry of data into an EditField?

    I'm keen to make an edit field with a small image on the left inside the parameter space. I can do it with a BackgroundFactory, but when the user enters the text, it seems bad and image overlays. Is there a simple way to push the starting point of the text box away a little so that I don't cover image?  I guess this could be done with a HorizontalFieldManager, BitmapField and aText field, but it certainly wouldn't be easy because of the border that I currently use.

    I'll respond and say I found an answer that was not too demanding.

    First of all, I place a VertFieldMan with the gradient background I wanted. Then, I set up a HorizFieldMan with the border I wanted around the domestic fields and a white Uni. Then I added a bitmapfield (the image has a white BG) and a textfield to the HFM. The trick was the TextField to draw its own border, so I changed it' to border to the one created with a simple white frame. The result is that it looks like an editable with the image field to the left and the part of editable text left to right.

  • InCopy CS4/Win: preventing the entry or change the text in tables

    Hello

    I have a plugin for InCopy CS4. In this plugin, I like to prevent the entry or editing text in the tables. It works in the window layout, I can detect if the user clicks in a table and then I stop.

    -How can I do this in the closet or article window?

    -Avoid the user to open a table to change the text? I mean the opening of the table through arrow.

    -Do not allow the user to enter text in a table cell?

    Thank you for any suspicion.

    Kind regards

    Hans

    Look for the CTextCommandPreProcess SDK.

    Your boss will be like this:

    IID_IK2SERVICEPROVIDER, kTextPreProcessService,
    IID_ITEXTEDITPREPROCESS, kMyTextPreProcessImpl,

    HTH

    Dirk

  • When I run firefox it takes about 30 seconds and it prevents the functioning of my mcafee? It started after I updated to version 10!

    When I run firefox it takes about 30 seconds and it prevents the functioning of my mcafee? its has started after I updated to version 10!

    Hello

    You can try to update the add-on of McAfee. The latest version is reported to be less problematic. See also this.

  • How to prevent the entry of the data in the cells that don't meet certain conditions

    So, the question is that I have to warn the data to enter into the cell that does not conform '< 500' condition or, on the other hand, satisfy the condition «> 500 "»

    I noticed that the link was broken.

    Here is the example:

    for (r = currentDataGrid.startRow; r)<=currentDataGrid.endRow; r++)="" {="" search="" all="">
    for (c = currentDataGrid.startCol; c)<=currentDataGrid.lastVisibleCol; c++)="" {="" search="" all="">
    Val = getCellVal (r, c); Get the value in the cell (the cube value)
    If ( <= 10="" ||="" val="">20 val) {/ / my rule to block}
    currentDataGrid.readOnly [r] [c] = 1; Block cell
    } //END IF
    } //END SECOND "FOR".
    } / / END FIRST "FOR".

    This isn't a good solution if your form is too large. I use this function while the page is loading (CustomOnLoad() I think).

    Good luck

  • Duplicate validation of levels page to prevent the entry of the data in the database

    Hello

    Can someone please help me with this problem.

    I have a form with two items based on a table. I already have a validation level step to check for null. Now, I would like to create a page-level validation to verify that the duplicate data are not recorded in the database. I would check the database when the user clicks on the button 'create' to ensure that they are not insert record in doubles. If the data already exists, then display the error message and redirect them to another page. I use apex 3.2
    Thank you

    Hello

    Have you tried to write a PLSQL function to check for this?

    I've not tested this precisely, but something like this should work:

    (1) create a Page-level Validation
    (2) choose PLSQL for method
    (3) select function that returns a Boolean for the Type

    For the validation code, you could do something like this:

    DECLARE
    
        v_cnt number;
    
    BEGIN
    
        select count(*)
        into v_cnt
        from
        your_table
        where
        col1 = :P1_field1 AND
        col2 = :P2_field2;
    
        if v_cnt > 0 then return false;
        else return true;
        end if;
    
    END;
    

    If the query returns false, your error message will be displayed.

    Not sure how you would address redirection after this page well. Maybe just allow the user to try again with a different value (in case they made a mistake), or simply press a "Cancel" button to finish creating a new record.

    Amanda.

  • How do I load the response from the Web service data into flashbuilder

    Hi all,

    I got a response from webservice sent by server, now I need to load and parse as xml, how to move forward on the issue after getting the answer please try to solve my problem.

    Thanks & rRegards

    Flashbuilder has 4.6 of this feature of the very good user interface you want to use (not sure another old version).

    and it's almost not requre no programming steps for you to get a XML as an object of value from a webservice.

    Click the menu data, you can learn it by yourself quickly.

  • presence of xmlns prevents the e4x XML data access

    I was pulling my hair out trying simply to access data in a tag of an XML object. When I remove the attribute xmlns, it works, otherwise it doesn't. In the following code when I remove 'xmlns = http://xyz' list the data. What I need to add to keep this xmlns in the XML file and always fill the list box?
    Thanks, JH

    <? XML version = "1.0" encoding = "utf-8"? >
    "" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml ' layout = "vertical" horizontalAlign = "center" >
    < mx:Script >
    <! [CDATA]
    public var ydata:XML =
    "< theResponse xmlns =" http://xyz "> "
    < theReturn >
    < > 1234 myId < / myId >
    < > 2345 myId < / myId >
    < > 5678 myOther < / myOther >
    <-c >
    < / theResponse >;
    []] >
    < / mx:Script >
    < mx:VBox width = "100%" height = "100%" horizontalAlign = "center" >
    < mx:List width = "50%" dataProvider = "{ydata... myId}" height="20%"/ >
    < / mx:VBox >
    < / mx:Application >

    Adding the following code resolves the problem:
    namespace private myNS = "" http://xyz "; "
    Use the myNS namespace.

  • Is anyway to prevent the keyframes to slam into the composition?

    example.png

    I need to replicate the position the KeyFrames and depending on one at the top, but the keyframes keep slam to the sovereign, someone can?

    You are wrong to understand what is happening. You are just zoomed away in time, such that you look at individual images. Key frames are placed at the limits of the image.

    The only way you can get key images out of the limits of the framework is by changing the frame rate of the composition after creating keyframes.

  • OWB 11 GR 2: prevent the designer of data written to the source of the oracle

    Hello

    After having implemented a model of metadata Oracle source I can start a deployment that trying to write the changes to the source. Although I wonder if I do not know at this, I can ruin my source confirming this.

    11 GR 2, I was not able to score so the source model. I was able to create a user with limited rights on the schema of the source database.

    Question a: what are the minimum security for a user of the source settings?
    Question b: is there no way to eliminate build and deploy options for a source of Oracle?

    Thank you
    Georg

    Published by: georgo on 27.04.2011 10:35

    Published by: georgo on 27.04.2011 11:02

    Hi Georg

    You can configure the module and set the property to "Déployable" false. This will disable any type of deployment.

    See you soon
    David

  • The raw files imported into LR CC disappeared after upgrade to El Capitan

    Hello

    Im a user Cannon shooting Raw (CR2) files.

    I kept my brute in retouched and external disk on my mac by LR CC.

    Recently, I upgraded my MBPR at El Capitan and the things happened. Almost all of my raw files I imported into LR disappeared.

    I can't even find raw files in the Finder.

    Meanwhile, the exported JPG files are still there. So, I'm so confused what happened... Is it Apple or LR or my external hard drive?

    Thank you very much.

    Your image files are on an external drive, they are not in Lightroom. Check your external drive for permissions issues and the format of this player. It must be in Mac OS extended (journaled) format. If it's a different format, as Windows NTFS, then you may need to Add On for OS X program to write this drive (you had such an Add On that was removed or disabled by the upgrade of the El Capitan).

    El Capitan is a new Apple Mac system running. It may or may not wear on some of the settings and add on features, you are so use to with the old version of OS X. One of them is the ability to decode, View/view, the Canon RAW file format in the Finder. But these RAW files should always be located on your drive external and displayed in the Finder with a generic icon of any type and ending with the file extension. CR2. You should tell the Finder to display file Extensions. you do this in Finder preferences.

    He is always Apple. They do things without any consideration for their users and other software publishers.

  • Loading the data into Essbase is slow

    Loading the data into Essbase is slow.
    Loading speed of 10 seconds on a record.

    It is used standard KM.

    How it is possible to optimize the loading of data into Essbase?

    Thank you

    --
    Gelo

    Just for you say the patch was released

    ORACLE DATA INTEGRATOR 10.1.3.5.2_02 UNIQUE PATCH

    Patch ID - 8785893

    8589752: IKM SQL data Essbase - loading bulk instead of rank by rank treatment mode when an error occurs during the loading

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Where to find 'Data quality customer Data Services Pack Installation Guide'?

    Does anyone know where to find this document:

    Oracle Enterprise Data quality customer Data Services Pack Installation Guide


    It is referenced in the Oracle® Enterprise Data quality customer Data Services Pack Siebel Integration Guide (Oracle & amp; reg;) Enterprise Data Quality).


    I tried to import the project in my test system, but there are some error messages. Therefore, I would stick to the documentation.


    Kind regards

    Daniel

    Hello

    All the technical documentation for Disqualification 11 g is online here: http://docs.oracle.com/cd/E48549_01/index.htm

    The CD Installation Guide is here: content

    The Disqualification OTN documentation page has the docs for 9.0 if necessary:

    http://www.Oracle.com/technetwork/middleware/oedq/documentation/index.html

    Kind regards

    Mike

  • Specific characters prevent the input Textfield.

    Hello

    There is a .restrict attribute, but as the defined it prevents only other characters to enter in the textfield, restricting the TextField to the characters given.

    I want to prevent the entry of the textfield of characters 1-10 .

    The code below does not properly work.

    txt. Border = true; //


    function down(event:KeyboardEvent):void

    {

         /*

    for (var i: uint = 48; i < 58; i ++)

         {

    If (event.keyCode == I)

              {

    txt.text = txt.text.replace(/.$/,""); "

              }

         }

    */

    No. ASCII, no RegExp

    for (var i: uint = 0; i < 10; i ++)

         {

    If (txt.text.indexOf (String ((i)))

              {

    txt.text = txt.text.replace (String (i),"" ");

              }

         }

    }


    stage.addEventListener (KeyboardEvent.KEY_DOWN, down);

    It must surely be built in method.

    You can restrict the entry of specific characters using the ^ character... only one problem with your intentions... 10 isn't a character...

    TField.Restrict = "^ 0-9.

  • Need help get data with the most recent date of entry into

    Hey guys;

    I need help with fine tuning a query to get the one with the most recent implementation.

    Here's my current query:

    /**********************************************
    Select sge.seal_group_id,
    SGE.equipment_id,
    SGE.effective_date
    of seal_group_equipment EMS.
    seal_group sg
    where equipment_id = 48801
    AND EMS. SEAL_GROUP_ID = SG. SEAL_GROUP_ID
    and sge.end_date is null
    Group of sge.equipment_id, sge.seal_group_id, sge.effective_date
    After having sge.effective_date = max (sge.effective_date)

    ******************************************************/

    Which produces the following results:
    SEAL_GROUP_ID - EQUIPMENT_ID - EFFECTIVE_DATE
    25-48801 - 01/01/1993-00: 00:00
    11730-48801 - 22/08/2003 08:42:11


    What I really need, is to show only the line with the most recent date of entry into
    I hope someone can help
    Thank you

    MAX will not work because the SEAL_GROUP_ID could depart. I would say analytical:

    select seal_group_id,
    equipment_id,
    effective_date
    from (
    select sge.seal_group_id,
    sge.equipment_id,
    sge.effective_date,
    RANK() over (partition by equipment_id order by effective_date desc) r
    from seal_group_equipment sge,
    seal_group sg
    where equipment_id = 48801
    AND SGE.SEAL_GROUP_ID = SG.SEAL_GROUP_ID
    and sge.end_date is null)
    where r = 1;
    

    Keep in mind if two records have the same effective_date, they would both appear.

    Note: query above has not been tested, since there is no script provided.

Maybe you are looking for