ValidateData.js - apply changes to data form

Hi,
I've modified the ValidateData.js file to add a button to a form. My question is how do I actually see the changes I've made in the file appear in the data form? In layman's terms, how do I execute the code inside ValidateData.js?
Thank you!

user12169513 wrote:
I refreshed the browser and restarted Planning. What do you mean by event?If the app server is weblogic then any changes will require a restart of the planning app service, if it is tomcat you can just log out/in of planning.
The event = which function did you put it in, maybe sharing your code will help further
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • Form apply changes results in Unable to fetch custom authentication functio

    created a simple form/report application using the wizard and no modification of any kind and I can do everything except apply changes to any field on form screen -
    got the following error:
    Unable to fetch custom authentication function body in application - HTTP 500 Internal Server Error
    any ideas??
    Thanks.

    I am using data base account.
    more info:
    the table I am working with is an existing table with large number of columns. to simplify testing I created the following table as a select from original table:
    CREATE TABLE APPS.FGS_TEMP_2
    TASK_ID NUMBER(15) NOT NULL,
    PROJECT_ID NUMBER(15),
    TASK_NUMBER VARCHAR2(25 BYTE) NOT NULL
    CREATE UNIQUE INDEX APPS.FGS_TEMP_2_IDX1 ON APPS.FGS_TEMP_2
    (TASK_ID)
    LOGGING
    ALTER TABLE APPS.FGS_TEMP_2 ADD (
    CONSTRAINT FGS_TEMP_2_CON
    PRIMARY KEY
    (TASK_ID)
    USING INDEX APPS.FGS_TEMP_2_IDX1);
    and again used wizard to create a simple tabular form to view and edit - now I am able to edit and apply changes to PROJECT_ID , TASK_NUMBER but not TASK_ID ?? which I guess is a different problem.
    here is the table I am trying to create the form for to edit and add - this is an existing table with few thousands rows.
    CREATE TABLE HED.EDD_CPR_EMP
    EDD_CPR_ID NUMBER NOT NULL,
    UNIQUE_PAYROLL_ID VARCHAR2(10 BYTE) NOT NULL,
    CPR_PERSON_ID NUMBER,
    LEGACY_PAYROLL VARCHAR2(7 BYTE),
    GEN_LEGACY_PAYROLL_FLAG VARCHAR2(1 BYTE),
    LOGIN_ID VARCHAR2(7 BYTE),
    BEMS_ID VARCHAR2(10 BYTE),
    STD_USER_ID VARCHAR2(10 BYTE),
    STD_UNIX_ID VARCHAR2(10 BYTE),
    CMS_PERSON_ID NUMBER,
    PERSON_TITLE VARCHAR2(10 BYTE),
    FIRST_NAME VARCHAR2(30 BYTE),
    MIDDLE_INITIAL VARCHAR2(1 BYTE),
    LAST_NAME VARCHAR2(40 BYTE),
    SUFFIX VARCHAR2(10 BYTE),
    EXT_FULL_NAME VARCHAR2(80 BYTE),
    KNOWN_AS VARCHAR2(30 BYTE),
    ORIGINAL_HIRE_DATE DATE,
    BENEFIT_DATE DATE,
    LAST_HIRE_DATE DATE,
    HIRE_CODE VARCHAR2(30 BYTE),
    HIRE_CODE_DESC VARCHAR2(30 BYTE),
    TERMINATION_DATE DATE,
    TERMINATION_REASON_CODE VARCHAR2(3 BYTE),
    TERMINATION_REASON_DESC VARCHAR2(30 BYTE),
    LAST_DAY_WORKED DATE,
    BADGE_EXPIRATION_DATE DATE,
    ACCT_BUSINESS_UNIT VARCHAR2(2 BYTE),
    ACCT_LOCATION VARCHAR2(2 BYTE),
    ACCT_DEPARTMENT VARCHAR2(4 BYTE),
    ACCT_BUSINESS_UNIT_DESC VARCHAR2(30 BYTE),
    ACCT_LOCATION_DESC VARCHAR2(30 BYTE),
    ACCT_DEPARTMENT_DESC VARCHAR2(30 BYTE),
    HR_DEPARTMENT VARCHAR2(10 BYTE),
    HR_ORG_LEVEL_CODE VARCHAR2(15 BYTE),
    HR_ORG_STRUCTURE_CODE VARCHAR2(12 BYTE),
    HR_ORG_FUNCTION_CODE VARCHAR2(2 BYTE),
    HR_DEPARTMENT_DESC VARCHAR2(30 BYTE),
    HR_ORG_LEVEL_DESC VARCHAR2(30 BYTE),
    HR_ORG_STRUCTURE_DESC VARCHAR2(51 BYTE),
    HR_ORG_FUNCTION_DESC VARCHAR2(30 BYTE),
    HR_PARENT_DEPARTMENT VARCHAR2(10 BYTE),
    US_PERSON_STATUS VARCHAR2(30 BYTE),
    SHIFT VARCHAR2(1 BYTE),
    SCHEDULED_WORK_WEEK_HOURS VARCHAR2(3 BYTE),
    PART_TIME_CODE VARCHAR2(1 BYTE),
    EXPLICIT_EMAIL_ADDRESS VARCHAR2(240 BYTE),
    STABLE_EMAIL_ADDRESS VARCHAR2(240 BYTE),
    URL_ADDRESS VARCHAR2(240 BYTE),
    PERSON_STATUS_CODE VARCHAR2(1 BYTE),
    PERSON_STATUS_DESC VARCHAR2(12 BYTE),
    PERSON_TYPE_CODE VARCHAR2(1 BYTE),
    PERSON_TYPE_DESC VARCHAR2(16 BYTE),
    HRMS_STATUS_CODE VARCHAR2(1 BYTE),
    HRMS_STATUS_DESC VARCHAR2(30 BYTE),
    MANAGER_BEMS_ID VARCHAR2(10 BYTE),
    MANAGER_NAME VARCHAR2(85 BYTE),
    SJC_OCCUPATION_CODE VARCHAR2(2 BYTE),
    SJC_JOB_FAMILY_CODE VARCHAR2(2 BYTE),
    SJC_FLSA_CODE VARCHAR2(1 BYTE),
    SJC_LEVEL_CODE VARCHAR2(1 BYTE),
    SJC_SMC_CODE VARCHAR2(3 BYTE),
    EEO1_CAT_CODE VARCHAR2(1 BYTE),
    SJC_OCCUPATION_DESC VARCHAR2(25 BYTE),
    SJC_JOB_FAMILY_DESC VARCHAR2(25 BYTE),
    SJC_FLSA_DESC VARCHAR2(30 BYTE),
    SJC_SMC_DESC VARCHAR2(25 BYTE),
    EEO1_CAT_DESC VARCHAR2(25 BYTE),
    HOURLY_JOB_CODE VARCHAR2(5 BYTE),
    JOB_TITLE VARCHAR2(60 BYTE),
    HOURLY_GRADE VARCHAR2(2 BYTE),
    HOURLY_UNION_CODE VARCHAR2(20 BYTE),
    HOURLY_UNION_DESC VARCHAR2(60 BYTE),
    DIRECT_INDIRECT_CODE VARCHAR2(1 BYTE),
    MANAGEMENT_LEVEL_CODE VARCHAR2(1 BYTE),
    MANAGEMENT_LEVEL_DESC VARCHAR2(30 BYTE),
    TEMPORARY_ASSIGNMENT_CODE VARCHAR2(1 BYTE),
    WORK_SCHEDULE_CODE VARCHAR2(30 BYTE),
    ROLE_TYPE VARCHAR2(1 BYTE),
    ROLE_DESCRIPTION VARCHAR2(13 BYTE),
    PERSON_CREATION_DATE DATE,
    PERSON_LAST_UPDATE_DATE DATE,
    LOCATION1_BUILDING_NUMBER VARCHAR2(6 BYTE),
    LOCATION1_FLOOR_NUMBER VARCHAR2(6 BYTE),
    LOCATION1_ROOM_NUMBER VARCHAR2(6 BYTE),
    LOCATION1_STREET_ADDRESS1 VARCHAR2(60 BYTE),
    LOCATION1_STREET_ADDRESS2 VARCHAR2(60 BYTE),
    LOCATION1_STREET_ADDRESS3 VARCHAR2(60 BYTE),
    LOCATION1_CITY VARCHAR2(30 BYTE),
    LOCATION1_STATE VARCHAR2(2 BYTE),
    LOCATION1_POSTAL_CODE VARCHAR2(30 BYTE),
    LOCATION1_COUNTRY VARCHAR2(70 BYTE),
    LOCATION1_LAST_UPDATE_DATE DATE,
    LOCATION2_BUILDING_NUMBER VARCHAR2(6 BYTE),
    LOCATION2_FLOOR_NUMBER VARCHAR2(6 BYTE),
    LOCATION2_ROOM_NUMBER VARCHAR2(6 BYTE),
    LOCATION2_STREET_ADDRESS1 VARCHAR2(60 BYTE),
    LOCATION2_STREET_ADDRESS2 VARCHAR2(60 BYTE),
    LOCATION2_STREET_ADDRESS3 VARCHAR2(60 BYTE),
    LOCATION2_CITY VARCHAR2(30 BYTE),
    LOCATION2_STATE VARCHAR2(2 BYTE),
    LOCATION2_POSTAL_CODE VARCHAR2(30 BYTE),
    LOCATION2_COUNTRY VARCHAR2(70 BYTE),
    LOCATION2_LAST_UPDATE_DATE DATE,
    MAIL1_SITE_CODE VARCHAR2(3 BYTE),
    MAIL1_STATION VARCHAR2(10 BYTE),
    MAIL1_LAST_UPDATE_DATE DATE,
    MAIL2_SITE_CODE VARCHAR2(3 BYTE),
    MAIL2_STATION VARCHAR2(10 BYTE),
    MAIL2_LAST_UPDATE_DATE DATE,
    WORK_PHONE1 VARCHAR2(20 BYTE),
    WORK_PHONE1_LAST_UPDATE_DATE DATE,
    WORK_PHONE2 VARCHAR2(20 BYTE),
    WORK_PHONE2_LAST_UPDATE_DATE DATE,
    CELLULAR1 VARCHAR2(20 BYTE),
    CELLULAR1_LAST_UPDATE_DATE DATE,
    CELLULAR2 VARCHAR2(20 BYTE),
    CELLULAR2_LAST_UPDATE_DATE DATE,
    PAGER1 VARCHAR2(20 BYTE),
    PAGER1_PIN VARCHAR2(30 BYTE),
    PAGER1_LAST_UPDATE_DATE DATE,
    PAGER2 VARCHAR2(20 BYTE),
    PAGER2_PIN VARCHAR2(30 BYTE),
    PAGER2_LAST_UPDATE_DATE DATE,
    PAGER3 VARCHAR2(20 BYTE),
    PAGER3_PIN VARCHAR2(30 BYTE),
    PAGER3_LAST_UPDATE_DATE DATE,
    FAX VARCHAR2(20 BYTE),
    FAX_LAST_UPDATE_DATE DATE,
    CREATED_BY NUMBER,
    CREATION_DATE DATE,
    LAST_UPDATED_BY NUMBER,
    LAST_UPDATE_DATE DATE,
    REQUEST_ID NUMBER(15),
    PROGRAM_APPLICATION_ID NUMBER(15),
    PROGRAM_ID NUMBER(15),
    PROGRAM_UPDATE_DATE DATE,
    LAST_UPDATE_LOGIN NUMBER,
    WIN2K_CREATED_BY VARCHAR2(25 BYTE),
    WIN2K_UPDATED_BY VARCHAR2(25 BYTE),
    L3_EMP_ID VARCHAR2(9 BYTE),
    MANAGER_CPR_ID NUMBER,
    SALARY_JOB_CODE VARCHAR2(10 BYTE),
    JOB_FLSA VARCHAR2(10 BYTE),
    BADGE_NUMBER VARCHAR2(50 BYTE)
    Thanks for the help.

  • Formscentral - how do I change required date format to long date (e.g. January 2, 2014) in a form field?

    Formscentral - how do I change required date format to long date (e.g. January 2, 2014) in a form field?  I can't seem to change it from the short date format.

    Hi,
    I would suggest you to change the form language to English (UK), Here are the steps:-
    1. Open your form in FormsCentral
    2. Clik on Options tab
    3. Click on Language and Formatting and check out the selection for Form Language and make sure English (U.K.) is selected and the default date format should be day/month/year.
    Regards,
    Nakul

  • How to change the date format in xml form?

    hi,
    How to change the date format in xml form?
    For example:  11/20/2008 3:00:03 PM    ->   11-20 03:00
    Any opinions greatly appreciated!
    Thanks.
    Edited by: ke wenxing on Dec 2, 2008 8:33 AM

    You could go to System - User Profile - Own Data would take you to the "maintain user profile screen"
    Click the defaults button and change the date format.This changes date format for all the dates in your login.

  • How to change the order of parent member on data forms

    Hi,
    Is there any way to show parent on top of its children in data form row level?
    By default data form display members like this:
    __Child 1
    __Child 2
    +Parent
    Instead of above i want this sequence:
    +Parent
    __Child 1
    __Child 2

    Have a read of
    Can we change the display order of member set functions like @Idescendant?
    Re: the order of member showing in dataform
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Data Forms - Dynamic changing months

    Hi,
    In my form i must have actuals and forecast. So e. g. Actuals(Jan, Feb) -> Forecast (Mar, Apr....). This layout will change next month. Actuals (Feb, Mar) -> Forecast (Apr, May....) The problem is to set-up the data form to move the "start" month in forecast scenario. I have my actuals set up as substitution variables. Problem is that when i set up 12 subs. variables to cover the whole year and then move one month further i do not want that last subs. variable to be set up but then the data form will not work. And if i set it up lets say continuosly i will finish with something like... Nov, Dec, Jan in the same year and i want it to finish with december.
    Thank you very much for your help
    lubos

    I have one option for you, the data coming for Actuals can be loaded on Actual as version member. Load the forecast on the forecast version member, pull both the versions in the webform with supress the missing data. This should work as your actual data will not have anything for months in future so the future months will be supressed, and anything coming in the forecast will only for future months and not the months that have passed so past months will be supressed.
    Hope this approach works for you
    --XAT                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Can we change the employee number on the employee master data form ?

    Hi,
    Simple question but can we change the employee number on the employee master data form ? We need to use the same employee numkbers from another system but just cannot interact with the employee no. in SAP 2007 ?
    Thank you,
    MB

    You canu2019t modify the employee number. It is assigned by the system sequentially.
    But you can define a user defined field to store the other systemu2019s identifier or use (and even rename) some other field to store this information.

  • I want to store the data form the PWM and the value of the changing duty cycle into a file simultaneously and continually

    i want to store the data form the PWM and the value of the changing duty cycle into a file simultaneously and continually but having problem.Please can anyone help out.
    Attachments:
    data.vi ‏60 KB

    Hello,
    Have you looked at the "Write Binary File.vi" and "Read Binary File.vi" examples?
    They give you a good clue as how to write and read arrays to and from binary files.
    For your data it means that you could put the two data items to write in an array and write the array to file, for the read its important to in what sequence the number were written to file.
    Kind regards,
    André
    Regards,
    André
    Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)

  • Error when applying changes in Form

    I get the following error when saving changes in a form. The Form was created using the Report and Form application. If someone can pls help, I would greatly appreciate it!!
    ORA-20505: Error in DML: p_rowid=APL11163, p_alt_rowid=transcontrolnum, p_rowid2=, p_alt_rowid2=. ORA-06550: line 1, column 99: PLS-00201: identifier 'transcontrolnum' must be declared ORA-06550: line 1, column 9: PL/SQL: SQL Statement ignored
    Error Unable to process row of table APL_TRANSACTION
    OK

    You should check the source of your page items:
    P?_TRANSCONTROLNUM
    It looks like you don't have this column in your table or there is a typo in the source.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • HBR sequence on data form does not execute when Planning data form is saved

    Has anyone experienced this issue before in Planning? Below I have included the scenario and what has been attempted to correct the situation.
    We are using Hyperion Planning/Essbase 9.3.1, sequence contains 3 business rules - 2 executed on the Workforce Cube and 1 transfers totals from Workforce Cube to Main cube. 2 of the BR's contain run-time prompts - 1st BR in the sequence (calculation in Workforce) and 3rd BR in the sequence (transfer of Workforce totals to Main). We are using Projects to assign access priviledges to the BR's and sequences. All 3 business rules, as well as the sequence itself, validate successfully in the admin services console.
    In Planning the data form contains BR Properties to "Save on Exit", "Use members on data form" and "Hide prompt". Have tried removing BR from data form, then put BR back on data form. Also tried building a new sequence in EAS console and attaching that BR to the existing data form. Neither of these attempts were successful. Tried building an entirely new data form with the newly created sequence, still unsuccessful. Was able to execute the sequence successfully when processed from the Tools -> Business Rules menu. Sequence was once again successful when I tried modifying the data form to remove property "Hide prompt". Problem with leaving the form in that state is, our users would not know which Planning server they were on as they access the Planning application through Workspace and we currently have 2 application servers in this environment - so essentially they have a 50/50 chance of selecting the correct server.
    We have this same setup in another environment where the execution of the sequence on the data form works successfully. We have compared everything that I can think of and it all appears the same in both environments - in fact this used to be successful in this environment, but all of a sudden stopped working earlier this year - we have not applied any patches or upgrades to either environment. Do not know if this is relevant or not, but we do currently utilize Netscaler in both of these environments.
    Any experiences with this type of situation or suggestions at this point would be greatly appreciated.

    I don't have a solution for you but more steps to solve the problem
    You are ultimately on the right track in some ways but break it down into it's components.
    The problem could like in the business rule, the form connection, the variables, even the order of operations could all be in play.
    So I would strip this baby down to its bare bones then build it back up.
    1) Run the business rule. Each one separately and only after the previous ones is complete without variables and without touching the form
    Is it successful: go to 2
    If it isn't successful: trouble shoot the calc and or try running in EAS natively to see if that gives you ideas
    2) Run the calc outside the form but with variables included. Did it prompt you correctly.
    Is it successful: go to 3
    If it isn't. What is wrong with the variable
    3) Now attach it to the form but don't hide the prompts
    Still good go to 4
    4) hide the prompts and run on save
    And if it fails on step four then it's not picking up the right variables in the prompt. And you need to look at why it wouldn't grab the right item.
    This will isolate your problem for you and give you steps to fix it. Ultimately 99% of the time something did change in the structure for example that is impacting the calc. And when you isolate the problem this will reveal itself quite quickly.

  • Formatting header rows in data form in hyperion planning

    Hello Friends,
    I want to format header rows in data form in hyperion planning (formatting like Bold, Italic etc...) Is there any way to do that?

    I could be wrong. That's why i thought i should post this one.
    This is from 11.1.2.2.300 readme
    Customizing the Style of Header Cells in Forms
    Applying a bold style to all forms
    1.  From HyperionPlanning.war\custom, open HspCustom.css and insert this class code:
    customheaderStyle
    Font-family:<font>;
    Font-size:<size>;
    Font-weight:bold;
    For example, to use bolded garamond 14 as the style for header cells you would specify:
    customheaderStyle
    Font-family:garamond;
    Font-size:14;
    Font-weight:bold;
    You can also change the font and the font size in the same portion of code.
    Perform the tasks in "Registering Customized Skins in Applications".
    Applying a bold style to one form
    Determine the ID of the form to customize by running this query in which ‘<FORM_NAME’ is the name of the form:
    Select object_id AS FORM_ID,object_name AS FORM_NAME from hsp_object 
    where object_name like ‘<FORM_NAME>’
    For example, to modify a form called "1.30 Per Payor – Metrics”, you would run this query:
    Select object_id AS FORM_ID,object_name AS FORM_NAME from hsp_object where object_name like "1.30 Per Payor-Metrics"
    When the ID is returned, create a css class in HspCustom.css using the following format.  HspCustom.css is in HyperionPlanning.war\custom.
    “customheaderStyle_<FORM_ID>”
    Set font-weight in .customheaderStyle as bold as shown below. You can also change the font and the font size in the same portion of code.
    customheaderStyle
    Font-family:<font>;
    Font-size:<size>;
    Font-weight:bold;
    To use different styles on individual forms, create a css class for each form.
    so there is a way to create custom headers
    Regards
    Celvin
    http://www.orahyplabs.com

  • SampleValidateData.js OR ValidateData.js script files for Hyperion forms

    Hi All.
    We're running Hyperion EPM 11.1.1.2 and I want to create some custom javascript functions for a Planning data form. I want to work within SampleValidateData.js or ValidateData.js but I can't find either of these files.
    We're running Tomcat and 11.1.1.2 EPM Planning.
    Thanks!

    It's possible the Planning webapp is deployed remotely. Check the tomcat server.xml file for a context tag that references HyperionPlaning. There you can find out where the HyperionPlanning directory that has custom under it is located.
    It's also possible that planning is running directly from an unpacked war. In which case you will need to change the unpackWARs setting to true in server.xml in order to readily work with the validation javascript.
    Regards,
    Robb Salzmann

  • How can I fix the 1st column width (member) in Planning data forms

    Hi all,
    does anybody know a trick, how I can fix the first column width in planning data forms? I need a composite data form (Planning 9.3.1) and the problem is, that in the first form the member names are longer. So Planning sizes the column as it is needed to display the full member name. The member names of the second data form are shorter, so the data entry cells are not exactly among each other for both data forms and that looks terrible....
    Thanks and kind regards
    André

    There are 3 ways of setting the width in webforms:-
    1. There is a global setting for input box length which has a syntax of FormInputBoxLength=30.
    2. When you specify the format for each of the dimensions you can choose to select the width of either a column heading or a row heading. In the following example, each time you specified the dimension ‘Account’ a format would be applied to its header. The syntax for this would be something like… HeaderOptionAccount=Length:50,Style:font-size: 12pt;font-family: calibri
    3. Each column can have its own width specified. The syntax for this can be setting in each of the column’s code. For example C6=Blank,Style:Background-color:rgb(203,218,231);width:3 would just show a thick vertical line as the width is so small.
    You can not set widths in data grids through the normal settings. You can manually change the widths and save the grid though. This can be done in the xml directly. For example… <HDRWIDTH idx=”0″ width=”50″/>.
    Then load the amended xml file back into the system.

  • How can i check for posted but not yet commited changes in a form

    Dears
    I make changes programmatically in a form then i post it using (Post built in).
    If the user exits the form, i make check for any changes in the form to commit it using the system variable :system.form_status
    Unfortunately the value of this system variable is 'Query' not 'Changed' because of using the post built in.
    Is ther another system variable ( or any another way ) that check for posted but not yet commited changes in the form ?
    Thanks a lot
    Mostafa Abolaynain

    I had faced similar situation. Using of package variable which identifies, what is the user's latest action.
    This is just a workaround.
    Capture what the user has performed into a variable say, PKG_VAR.ACTION,
    This will be assigned values like List L, and Create C, Update U and Saved S.
    If commit is executed,assing the status S to the variable.
    So while closing,
    IF :system.form_status = 'CHANGED' or PKG_VAR.ACTION in ('C','U') THEN     
    -- validate the data, n perform commit.
    else
    -- just close the form.
    end if;
    Regards
    Deepz : )

  • Change delivery date on sales order -- change of Billing date on item

    Hi,
    We are trying to change a delivery date for a sales order's item, if we do so normally the billing date on that item's billing tab will change automatically also.
    Now, for a specific sales order the billing date in the billing tab is not changing.
    We compared 2 sales orders .. the same statusses - no blocks - ... and with one it works (changing of the billing date) and with the other it does not work..
    Please help !
    thanks a lot!

    Hi,
    Check the following.
    If invoice dates are defined for the customer, the system proposes the billing date from the invoice date calendar. If no invoice dates are agreed, then the actual goods issue date is formed on the basis of delivery related billing. In order related billing, the billing date of the order forms the basis of the billing date.
    If you are billing services, the system proposes the date of services rendered. You can change the date manually in the sales document.
    If you are using a billing plan to bill a project, the system can propose billing dates for the billing plan on the basis of planned or actual dates in the corresponding milestone.
    In a billing plan for a maintenance or rental contract, you can specify rules by which the system determines billing dates on the basis of other dates in the contract.
    Regards
    Nadarajah Pratheb

Maybe you are looking for