Forms Personalization:Global variable Error

Hi,
Two Forms one is AR transactions and 2nd is AR TO AP,
navigating from ACTIONS menu in Transactions window to call AR TO AP form
Have defined Global Variable for Transaction Number in AR R12, AS,
Object Type - Global variable
Target object - MAIN_TRX_VALUE
Property name - Value
Value - :TGW_HEADER.TRX_NUMBER_MIR
And want to use this global variable in another calling form AR TO AP but not getting value of generated transaction Number in my form field TRANSACTION_NUMBER which is defined as in personalization
Object Type - ITEM
Target object - BLK_CTRL.Transaction_number
Property name - Value
Value - :GLOBAL.MAIN_TRX_VALUE.
Any Syntax error?have done all trial n error menthod.
Using followin syntax in form 10g WHEN NEW FORM INSTANCE,
:Blk_Ctrl.Transaction_Number := :global.MAIN_TRX_VALUE ;
Any other way to fetch TRX_NUMBER_MIR value?
On Priority.THANKS.

hi
u did not mention error and u r forms version?
sarah

Similar Messages

  • Forms Personalization : Global Variable in Procedure parameter

    Hi All,
    I have created the global variable XX_INSERT which holds the constant value "INSERT".
    I am trying to pass this global variable in execute procedure built in as below,
    ='begin
    XX_GLOBAL_PACKAGE.call_proc
    (''' || ${item.global.xx_insert.value} || ''' );
    end'
    But, i'm getting the the following error, Tokens in the string could not be evaluated. Please check the syntax.
    If anybody have any ideas, plz share it.
    Thanks

    Try
    ${global.xx_insert.value}
    Instead of
    ${item.global.xx_insert.value}
    Hope this helps,
    Sandeep Gandhi

  • 10g declare :global variable error (bad bind variable)

    In a 10g form, I tried this code in the pl/sql block and in the spec of a library package
    begin
       :global.config := 'x';
    ...upon compile, I get an error
    "bad bind variable"
    ...encountered the symbol "GLOBAL" when expecting one of the following...It doesn't like :GLOBAL.variablename := 'x';
    What am I doing wrong?
    Thank you.

    globals are allowed in librarys, but in libraries you have to use COPY and NAME_IN to access objects you access via :-logic in forms-modules, e.g. setting the global would be like
    COPY('X', 'GLOBAL.CONFIG');Edited by: aweiden on 29.10.2008 19:33

  • Forms Personalization issue condition error in post-forms-commit.

    I am trying to personalize PERWSEAC form (i.e. Assignment costing form in HRMS).
    In the post-forms-commit, I added condition like this
    :SYSTEM.CURRENT_BLOCK = 'COST' AND 1=1, when validated it is working fine.
    And at runtime it throws error like this "The condition :SYSTEM.CURRENT_BLOCK = 'COST' AND 1=1 could not be evaluated because of error"
    If condition is changed to :SYSTEM.CURRENT_BLOCK = 'COST' it works fine.
    Please suggest what is going wrong, before it was working fine.

    Hello,
    This is the "standalone" Forms forum. Ask personnalization questions in the dedicated E-Busines Suite forum.
    Francois

  • FORM personalizations, get an error: One or more required fields ....

    when Action type is set to Bulitin, and Builtin Type is RAISE FORM_TRIGGER_FAILURE, then press button: Apply Now to get the following error:
    One or more required fields are missing values.
    Why?
    Thanks

    I open the form:FNDCUSTM.fmb, to find the code:
    if :FND_FORM_CUSTOM_PROPS.ARGUMENT_TYPE IS NULL or
    :FND_FORM_CUSTOM_PROPS.OBJECT_TYPE IS NULL or
    :FND_FORM_CUSTOM_PROPS.TARGET_OBJECT IS NULL or
    :FND_FORM_CUSTOM_PROPS.PROPERTY_NAME IS NULL THEN
    fnd_message.set_name('FND','FND_CUSTM_REQUIRED');
    fnd_message.error;
    else
    app_form_customizations.get_property
    (:FND_FORM_CUSTOM_PROPS.ARGUMENT_TYPE,
    :FND_FORM_CUSTOM_PROPS.OBJECT_TYPE,
    :FND_FORM_CUSTOM_PROPS.TARGET_OBJECT,
    :FND_FORM_CUSTOM_PROPS.PROPERTY_NAME,
    :FND_FORM_CUSTOM_PROPS.FOLDER_PROMPT_BLOCK,
    :PARAMETER.FORM_ID);
    end if;
    so I know why is that.
    Thank you for your help.

  • Installing Forms 6i Unbound variable error

    I am having a problem installing Forms 6i on an NT box(4.0 service pack 4). It has Personal Oracle 8i installed but I don't think that is connected to the problem.
    Anyway, the install stops part way through with the message "rsf73.vrf(281) Unbound variable 'deinstl'". Any help would be greatly appreciated.
    Also, is there any real difference between personal oracle 81 and Enterprise 8i? Things look awfully similar after the install of both.

    Dear Don,
    In this forum you should met many similar problems. But I suggest you to edit your config.sys file and add this :
    SHELL=C:\COMMAND.COM /P /E:255
    It will add length of your environment path to 255. PATH_TOO_LONG_PROMPT means that your environment couldn't hold Developer's Path anymore (Default environment for Win'98 is 64).
    Hope this Help.
    Regards,
    Franko Lioe

  • Global Variable in report

    i am working with some global variables in all of my application including forms and reports. the global variables are created in the when new-form-instance trigger of the main form. the global variables are accessible throught the forms but i d,not know how i can access the same global variables in my reports. pls some one help me to solve the problem.

    If you only want to read the global parameters in Reports, you can pass them as parameters. Otherwise, you must put your global variables into a database table, for forms and reports are not sharing the same session.

  • Forms personalization and global variable

    Hi,
    I'm trying to call a procedure in forms personalization and using a defined global variable. The data in the global variable is number. In the procedure, some of the parameter has a number datatype and I'm converting the global variable using to_number eg (to_number(:global.XX_LINE_NUM). This fails with error message ora-01403 no data found. I've tried putting the above into a variable with datatype number in the declare statement, and it errors as well.
    Does anyone knows the syntax to convert the global variable to number datatype in personalization.
    Thanks

    Ask in this forum : OA Framework

  • About global variables in forms personalization

    Hi all,
    I did forms personalzation based on global variables.
    When when i login for the first time untill and unless i validated the global variables the following error is displaying.
    Tokens in the string could not be evalated. please check the syntax.
    Once i validated the global variables then it will working fine.
    Did any of you have faced this problem please let me know the solution.
    Thanks and Regards
    Zaheer.
    Edited by: zaheer on Feb 5, 2010 1:23 AM
    Edited by: zaheer on Feb 5, 2010 1:24 AM

    Hi again;
    In addition to above please check:
    Form Personalizations in Oracle E-Business Suite (Release 12) [ID 395117.1]
    Information About the Oracle Applications Form Personalization Feature in 11i [ID 279034.1]
    Hope it helps
    Regard
    Helios

  • Assign a value to a global variable - form personalization

    Hi All,
    We have a requirement in which we want to display a message depending upon the out parameter of the procedure in form personalization.
    We are using 'Builtin' with the buitin type 'Execute a Procedure'.
    And the argument passed is :
    *='declare
    l_request_id Number;
    l_out_come VARCHAR2(10);
    begin
    apps.xx_sr_email_pkg1.xx_sr_email_p1
    ('''||${GLOBAL.XX_CUST_ACCOUNT_ID.VALUE}||''',
    '''||${GLOBAL.XX_INCIDENT_ID.VALUE}||''',
    '''||${GLOBAL.XX_EMAIL_TYPE.VALUE}||''',l_request_id);
    :GLOBAL.XX_REQUEST_ID := l_request_id;
    end'*
    But its not assigning the value of l_request_id to the gloabal variable XX_REQUEST_ID.
    Can you please help?
    Thanks

    I don't have a solution but a work around.
    What if you create a function that accepts the same in parameters and returns the message.
    And then you create an action of the type message and in the message you call the function such as
    = select xx_sr_email_pkg1.sr_email_f1 .... from dual
    Sandeep Gandhi

  • Referencing Global Variable in Forms DDL (Form Personalization R12)

    Team,
    I'm saving a profile option in a Global variable GLOBAL.FLINV_PROFILE_VALUE when a form opens.
    Then I am clearing the variable using Forms DDL and calling FND_PROFILE.SAVE function.
    I need to then reset the profile option with a second call to FND_PROFILE.SAVE. I'm trying to use Forms DDL, i.e.
    DECLARE
    a BOOLEAN;
    BEGIN
    a := fnd_profile.SAVE ('PER_SECURITY_PROFILE_ID'
    , '''||:global.flinv_profile_value||'''
    , ''USER''
    , ''1110''
    , NULL
    , NULL
    END;
    but I'm not finding a proper way to pass that global variable. Is there a way to reference these variables in the DDL? Should I use 'Call a procedure' and format the call differently?
    Any ideas are welcome.
    Joe

    Not sure why your using an anonymous block. Personalization rules should look like the following in a *.ldt file.
    BEGIN FND_FORM_CUSTOM_RULES "314"
    FUNCTION_NAME = "INV_INVITSNU"
    DESCRIPTION = "Disable Query-Enter Mode"
    TRIGGER_EVENT = "WHEN-NEW-BLOCK-INSTANCE"
    TRIGGER_OBJECT = "MTL_SERIAL_NUMBERS"
    SEQUENCE = "20"
    CREATED_BY = "34307"
    CREATION_DATE = "2012/04/22"
    OWNER = "USER123"
    LAST_UPDATE_DATE = "2012/04/22"
    LAST_UPDATE_LOGIN = "145888118"
    ENABLED = "Y"
    FIRE_IN_ENTER_QUERY = "N"
    FORM_NAME = "INVITSNU"
    RULE_TYPE = "A"
    BEGIN FND_FORM_CUSTOM_ACTIONS "314" "314"
    SEQUENCE = "10"
    PROPERTY_VALUE = "5"
    ARGUMENT_TYPE = "B"
    CREATED_BY = "34307"
    CREATION_DATE = "2012/04/22"
    OWNER = "USER123"
    LAST_UPDATE_DATE = "2012/04/22"
    LAST_UPDATE_LOGIN = "145888118"
    TARGET_OBJECT = "MTL_SERIAL_NUMBERS"
    ACTION_TYPE = "P"
    ENABLED = "Y"
    OBJECT_TYPE = "BLOCK"
    MESSAGE_TYPE = "S"
    BUILTIN_TYPE = "C"
    LANGUAGE = "*"
    PROPERTY_NAME = "195"
    MENU_SEPERATOR = "N"
    END FND_FORM_CUSTOM_ACTIONS
    BEGIN FND_FORM_CUSTOM_SCOPES "314" "20" ""
    LAST_UPDATE_DATE = "2012/04/22"
    OWNER = "USER123"
    CREATION_DATE = "2012/04/22"
    CREATED_BY = "34307"
    LAST_UPDATE_LOGIN = "145888118"
    END FND_FORM_CUSTOM_SCOPES
    END FND_FORM_CUSTOM_RULES

  • Global Variable in Oracle Forms 6i

    Hi,
    How & where to define global variable in Oracle form 6i and also let me know how to access it.
    Thanks in advance
    Regards,
    Sanket

    hi
    Global variable are forms specifice variable.
    it can store character value upto 255 for all usages.
    We can initialize it when we declare otherwise give error if we did not assign it any value.
    Oracle 10g it can take upto 4000 bytes
    GLOBAL.ur_globalvar := TO_CHAR(15);
    or
    :GLOBAL.ur_globalvar:= '15';
    or
    Remmber numeric values are implicitly converted by oracle 2 character
    :GLOBAL.ur_globalvar:= 15;
    -- which can then subsequently be accessed using...
    :GLOBAL.ur_globalvar;
    -- To destroy a global variable and release its memory, use the ERASE built-in procedure:
    Erase('GLOBAL.my_var'); Regards,
    Abdetu...

  • Use global variable in reports which is declared in forms

    Hi All,
    I have declared and used a global variable in Forms and after that I'm running a report and I want to use the same variable in reports.
    How can I use that.
    Regards
    Praveen Kr. Arora

    Hi Rizwan,
    Thanks for prompt reply.
    Can you explain in more detail with example.
    Though I'm calling report from menu item and I have created report file with three parameters.
    In menu item I have created a parameter list with same three parameters but whenever I tried to run then it gives Invalid ID error for all three parameters.
    Regards
    Praveen Kr. Arora

  • How to pass global variables to call stored procedure in form personalizati

    Hi,
    We want to call a custom store procedure with 2 paramterts, I am storing values into 2 global variables.
    We want call the custom store procedure with global variable values in form personalizations.
    We tried like
    ='declare
    begin
    SUR_TEST_ORDER_LINE_UPD.update_order_line (:global.xx_line_id, :global.ship_set_id);
    end'
    Could you please suggest.
    Advance Thanks
    Subbu

    Hi,
    Doc number (MOS Doc 743490.) is avaiable in metalink or ?Yes.
    Note: 743490.1 - Customization in Oracle Applications
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=743490.1
    Regards,
    Hussein

  • Global variable declaration in form routines

    Hi All,
    i am new of the smartforms, i have a small problem in smartforms.
    i need to display the one text based on the condtions, already i have putted the condtions in the condition tab for the text, i need to compare the one more condtion, the condtion is TB_INFORMATION IS NOT INITIAL.
    the code was devaloped in the formroutines , i need to implement the one condtion in the form routines,
    the condition is if TB_INFORMATION IS NOT INITIAL is not initial
                                  va_information = x.
                                endif.
    already i declared the variable in the global defination ,but i am getting the error.
    where can i declare the global variable in form routines.
    Please help me,
    Thanks & Regards
    charan

    declare in global data and it will be visible and available in form routines too.

Maybe you are looking for