Need Solution on Forms Customization

Hi All,
We are trying to insert a record in the custom table while Clicking of "Submit"
So We have written the code in WHEN-BUTTON-PRESSED trigger of "Submit" Buttton.
but when we click on submit button the record is inserted properly but it is showing
"frm-40401:No Changes to Save" instead of "Transaction Complete:One Records Applied and Saved".
Can You please provide me the solution.
Thanks in Advance,
Dhana
Edited by: DhanaSurya on Oct 29, 2009 3:34 AM
Edited by: DhanaSurya on Oct 29, 2009 3:34 AM
Edited by: DhanaSurya on Oct 29, 2009 3:35 AM

Hi Srini,
We are using Forms 6i and Oracle Apps-11.5.10.2
We have written the following code in the WHEN-BUTTON-PRESSED trigger of Submit Button.
Declare
l_division VARCHAR2 (20);
l_div_mgr VARCHAR2 (50);
l_reg_mgr VARCHAR2 (50);
l_vpo VARCHAR2 (50);
l_approver VARCHAR2 (50);
l_person_id NUMBER;
l_full_name VARCHAR2 (30);
l_email_address VARCHAR2 (30);
i_user_id NUMBER
DEFAULT TO_NUMBER (fnd_profile.VALUE ('USER_ID'));
CURSOR c1
IS
SELECT org_code, manager, initiator, vpo,
approver
FROM xxmz_cust_hierarchy
WHERE UPPER (initiator) = UPPER (l_full_name);
BEGIN
BEGIN
SELECT employee_id
INTO l_person_id
FROM fnd_user
WHERE user_id = i_user_id;
EXCEPTION
WHEN OTHERS
THEN
l_person_id := NULL;
END;
BEGIN
SELECT full_name, email_address
INTO l_full_name, l_email_address
FROM per_all_people_f
WHERE person_id = l_person_id
AND object_version_number = (SELECT MAX (object_version_number)
FROM per_all_people_f
WHERE person_id = l_person_id);
EXCEPTION
WHEN OTHERS
THEN
l_full_name := NULL;
l_email_address := NULL;
END;
OPEN c1;
LOOP
FETCH c1
INTO l_division, l_div_mgr, l_reg_mgr, l_vpo, l_approver;
EXIT WHEN c1%NOTFOUND;
IF :xxmz_cust_det.cust_cbx = 1
AND :xxmz_cust.notes IS NOT NULL
THEN
INSERT INTO xxmz_cust_det
(customer_number,
customer_id,
customer_name,
bill_to_address,
write_off_amount,
notification_status,
initiator, ini_contact,
notes, org_code,
manager, vpo, approver,
approver_title, approver_notes, attribute1,
attribute2, attribute3, attribute4, attribute5,
attribute6, attribute7, attribute8, attribute9,
attribute10, created_by, creation_date,
last_updated_by, last_update_date
VALUES (:xxmz_cust_det.customer_number,
:xxmz_cust_det.customer_id,
:xxmz_cust_det.customer_name,
:xxmz_cust_det.bill_to_address,
:xxmz_cust_det.write_off_amount,
:xxmz_cust_det.notification_status,
l_reg_mgr, l_email_address,
:xxmz_cust.notes, l_division,
l_div_mgr, l_vpo, l_approver,
'Approver', NULL, NULL,
NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL,
NULL, i_user_id, TRUNC (SYSDATE),
i_user_id, TRUNC (SYSDATE)
END IF;
END LOOP;
CLOSE c1;
COMMIT;
EXCEPTION
WHEN OTHERS
THEN
fnd_message.error;
RAISE form_trigger_failure;
END;
Regards,
dhana

Similar Messages

  • Need suggestion on forms customization

    Hi All,
    I'm new to Oracle Forms and would like to know how to go about the following on a seeded form in Oracle apps R12.
    1) On the 'Create Service' form which is available under Field Service Manager responsibility, we have a field called 'Category'. I checked the record history and it is coming from the view cs_sr_incidents_v_sec
    2) The requirement is to get this field from some other table (client has requested for a change based on their business process).
    3) Can you please advise me on how to do this? Can it be done by modifying custom.pll?
    4) Also please help me with links to any tutorial/demo explaining similar change in a seeded form of Oracle apps.

    Modifying seeded forms (objects) is not supported, and your changes might get lost each time you apply an application patch that overwrites this form/object.
    Customizing/Extending Oracle Applications Release 11 FAQ [ID 101048.1]
    Global Customer Services Customization Guidelines [ID 122452.1]
    If you want to change the source object that a form is reading from then you need to create your own custom form and use a different view/table.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Customization&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Forms+AND+Customization&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Need help on Forms Customization

    Hi All,
    I have one requirement i.e I developed one form which contails 3 windows.First window is for Query_Find, second one is for orders Summary and third window is for detail.In detail window i have one stacked canvas which displays order details in tabular form.i have written code for inserting data into one custom table in ON-INSERT and ON-UPDATE trigger of that block.
    and Commit_Form in the KEY-COMMIT trigger.My requirement if i check the chekbox and change the status(List item ) from status field and when i click on save button it's saving the changes.But i don't want to save the changes at this time.
    How can we restict save changes at this point?
    Can any one plzz give me some idea.
    Thanks in Advance,

    Dhana,
    In the When-Button-Pressed trigger just check the value of the CheckBox and the Status field value before you call the Commit_Form built-in or Commit. But what about if the user clicks on the Save button in the Menu? What if the user uses Ctrl+S to save. You would also want to perform a similar check in the Key-Commit Form level trigger if you want to prevent the "Save" from these options as well.
    Hope this helps,
    Craig B-)
    If a response is helpful or correct, please mark it accordingly.

  • OIM Form Customization

    Hi,
    My customer is having following requirements related to OIM Form Customization.
    1.In createuser form,UserID ,Password and Confirm Password Should not be displayed.We are generating userid and password automatically and we should not allow the admin to enter userid and password while creating user.
    2.Is it possible to make a form field mandatory only to specific usertype ? . For contractors,we need to make "Deprovisoning Date" as mandatory field but for employees,it should be a non-mandatory field.
    3.Is it possible to have different form fields in Create user Form and Manager User Form.Since Create user form will be used to create contracors,we we don’t need to specify user defined fields related to employees ( JobName,PoitionName,EmployeeType etc) in create user form.
    I am facing problems in implementing above requirements.Can somebody suggest,how I can implement these?.
    Thanks.

    Please check this Note 468779.1 from metalink.
    Goal
    How To Disable Password And Confirm Password or How to set the password fields as optional?
    Solution
    You can't set password field optional,this is mandatory field and hard coded in action class but you can set default value from jsp(tjspGenerateCreateUserForm.jsp) page. You can't be remove completely password section from User Creation Page as this is hard coded in the source code. Password is mandatory field for User creation API .
    You can provide default password value from the JSP file. After modifying the JSP page as below,while creating OIM user both fields(Password and Confirm password) will not be editable.
    Please try to modify tjspGenerateCreateUserForm.jsp
    *(<BEA-Home>\user_projects\domains\proquire901\XLApplications\WLXellerateFull.ear\xlWebApp.war\tiles\util).
    Add < value="123" readonly="true> these two attribute in password section and
    ChangePassword section.
    ===
    ##Password section######
    <td>
    <html:password name="manageUserForm" property="password"
    value="123" redisplay="true" readonly="true" styleClass="Fields" tabindex="1"/>
    </td>
    ###confirmPassword section######
    <td>
    <html:password name="manageUserForm" property="confirmPassword"
    value="123" readonly="true" redisplay="true" styleClass="Fields" tabindex="2"/>
    </td>
    ==

  • Repeat form customization on various Business Groups

    Hi,
    I would like to know if there is a quick way to repeat form customization on various Business Groups.
    I mean, i have done form customization on one Business group and need to do repeat similar form customization on various other Business Groups. I was wondering if there is any quick way to accomplish this other than doing it manually for each business group.
    Any help on this will be appreciated.
    Thank you,
    Raghu

    Hi Raghu
    You can try downloading your personalization via FND LOAD
    and change alter the business group in the files and load them back.
    FNDLOAD apps/$APPS_PWD 0 Y DOWNLOAD $FND_TOP/patch/115/import/affrmcus.lct
    and alter the ldt file for the business group.
    Cheers
    Ankush

  • Miscellaneous issue form customization

    Hello,
    The form mentioned above is INVTTMTX with Form Version : 11.5.239.
    the user is requesting the following customizations to the form:
    -Use the Reference field to hold a list of values of names that currently have no reference in the system.
    -Add a descriptive flexfield to the form; should hold a seial number for the miscelaneous transactions that should be generated automatically.
    I need guidance because I don't know how to the above and what tools shall i use. Detailed instructions and an action plan will be very helpful.
    Thank you

    Hi,
    1. Reference field - isn't this a separate report? Your requirements are not specific enough.
    2. Setup a Descriptive Flexfield Column - read the Flexfields manual. Create a sequence in the database. Use when-validate-record trigger and forms customization or database trigger to populate DFF field.
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com/

  • Do I need to install forms 6.0 & reports 6.0 on separate homes

    Hello All,
    I need to install Oracle developer suite 6.0 & Oracle Developer suite 10g on the same computer.
    I have planned to install both on separate homes.
    My question is that "Do I need to install forms 6.0 & reports 6.0 on separate homes?".
    Regards,
    D

    Hello,
    no, it is not necessary to Install Forms6i and Reports6i in a different Oracle Home.
    Francois

  • Help needed with this form in DW

    Hi, i have created this form in dreamweaver but ive got this problem.
    In the fields above the text field, the client needs to fill in some info such as name, email telephone number etc.
    But the problem is when ill get the messages. Only the text from the large text field is there.
    What did i do wrong??
    http://www.hureninparamaribo.nl/contact.html
    Thank you
    Anybody??

    Thank you for your response. So what do i have to do to fix this?
    Date: Sun, 20 Jan 2013 07:57:56 -0700
    From: [email protected]
    To: [email protected]
    Subject: Help needed with this form in DW
        Re: Help needed with this form in DW
        created by Ken Binney in Dreamweaver General - View the full discussion
    You have several duplicate "name" attributes in these rows which also appears in the first row
    Telefoon:
    Huurperiode:
    Aantal personen:
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5008247#5008247
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5008247#5008247
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5008247#5008247. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver General by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • What levels of Acrobat are needed to use forms created in Acrobat Pro 9?

    What levels of Acrobat are needed to use forms created in Acrobat Pro 9? I want to use my form as a job ticket but want to know what levels of adobe reader are needed for the end users to be able to fill out & submit the forms without any problems.

    Reader 7 and higher should be able to fill out forms and submit if the pdf format allows Reader 7 to fill out the form. However, without problems is a different issue. Submission of forms via email is ALWAYS a problem. It is always better to post the form on a website and have the form filled out on the web and have the data stored or sent to a database for further action.

  • Need solution for the following sync error: "iTunes could not sync calendars to the iPad "iPad name" because an error occurred while sending data from the iPad"

    Need solution for the following sync error: "iTunes could not sync calendars to the iPad "iPad name" because an error occurred while sending data from the iPad"

    I want to add that I deleted all the old back-ups and created a new back-up without any issues except sync problem.

  • Need experience on FORM Template for custom system development

    Hi,
    I need to use FORM BUILDER+Application Server to do development for a custom system(No relation to EBS).
    There are many screens need to development, and I want to make these screen look like in the same style, I need to a TMPLATE.fmb to guide developers to do work.
    Is there any body have the similar experience?
    If there is one good template, that will be good.
    Thanks

    Hello,
    Set default values to Property Classes and the Visual Attributes, then store them in an Object Library for a reuse purpose. You can also group them into Object Groups to simplify the job.
    Create a Forms module that include all stuff required to your every underlying modules (drop from the Object Library with "reference" option).
    When this template form is complete, you can derive other modules from it, via the File -> New -> New module from template... menu.
    Once you have created one Property Class for the different Items (Text Item, Display Item, CheckBox,...) ask your developer(s) to use these classes for all created items in the new module.
    Francois

  • Nokia X3 Problem n need Solution

    Nokia X3 Problem n need Solution :
    the problem is,my nokia X3 ringtone sound so slow/soft...
    n the keypad button sound more strong then ringtone sound,n two of them at the full volume...
    but,i already put the volume to higher posible ( full volume )..

    Some devices may need to have their software reset in order to see the latest benefits, or to resolve other potential problems. - Ensure you have the latest version of Nokia PC Suite. - Backup your device memory to your PC using Nokia PC Suite - Copy your files (music, videos, documents, images etc) from the Nokia N91 hard drive to your PC (use of USB mass storage recommended). - Copy any original SISX, Java, etc. installation files for your applications, themes, etc. from your Nokia N91 hard drive or memory card to your PC. (Do not simply copy over the installed directories/files.) - If your device has an internal hard drive, format your Nokia device’s hard drive by selecting Tools > Hard drive > Options > Format hard drive > Quick format (instructions are also in user the guide). - After the device has completely started up again, reset your device memory by selecting Menu > Tools > Settings > Phone > General > Orig. Phone Settings and entering 12345. - Restore your device memory from your PC using Nokia PC Suite by selecting Backup from the PC Suite menu and then selecting Restore. - Copy any hard drive or memory card contents from your memory card or PC back to your clean hard drive or memory card. - Re-install your applications/themes. If you find my post helpful please click the green star on the left under the avatar. Thanks.

  • Need Solutions for these Errors

    <b>Hello Group !
        How are you people there.Iam very much thank full to you people for your constant support.
    I need solution to these errors:</b>
         1.SID missing.
         2.Idocs Missing or No Idocs arrived from source
            System.
         3.Errors in the source system
         4.Missing messages at transfer rules or
           Update rules.
         5.Data sent but not received.
         6.Errors in the source system.
        Have a nice week end
        Vijay

    Hi,
    1. Missing SIDS : Mostly occurs due to missing master data or if error records are parked and not loaded susequently, or if Master data is not loaded before loading Transaction data. You need to fix these situations.
    2. Missing Idocs -Canbe due to idocs getting stuck, rfc connection failures, bad idocs, partner profies missing or deactivated. need to correct these errors on the source side.
    3.Source system errors - Jobs on source system failed or are slow.idoc errors. Source system crashing. Problems in generic extractions. Problems with update jobs. Data not getting posted to Delta queues. Data not coming through correctly after DS enhancement. Data posting errors to infostructures are some of the errors you'll face on the source system side.
    4. Missing messages again can be due to jobs being slow, processes being killed, or warning messages. Need to treat the warning messages or reset the job.
    5. Can be due to IDOC errors. Goto SM58 and push data packets from there on the source system side or due to IDOC errors.
    6. Same as 3.
    Cheers,
    Kedar

  • BPEL with human using task forms (customization in task display).

    All,
    I have deployed a BPEL with human task with task forms (customization in task display).
    For above customization Jdev automatically generates set of jsp files like Header1.jsp,Footer1.jsp,payload-body.jsp and <task name .jsp> and build an ear which includes war file.
    I have deployed ear as j2ee app using em console.
    It got deployed but when I check em console I could not see any active jsps listed.
    due to this task customizations are not displayed properly.
    but for same app in production instance, it is listing all jsp files in EM console
    Any idea where I am missing
    Thanks,
    Praveen

    I got it.
    If there are no active jsp/servlets listed means they are never invoked.
    I invoked them explicitly then they started coming in the list
    Regards,
    Praveen

  • Does EchoSign have a solution for forms that require more than 1 signature?

    We have a form that requires the employee to sign and the supervisor.  The employee and the supervisor are often at 2 different locations.  We want to use formscentral for the form.  We would like the form to go to the supervisor for their signature before it comes to our department.  Does echosign have a solution for form and signature process flow?

    If you are sending a document to be signed by multiple signers you will want to define the Role for the various fields. The Role is who is allowed  to interact with that field. By default the signers will sign in the order that their email addresses were entered into the To: field. It is important to keep this workflow in mind when setting up the signature fields.
    When a signature field is placed you can set the Role for that field (who can click to sign). Right click on the signature field for the 1st signer and select edit. This will open a window where you can define the options for that field. Select the 1st signers email address in the drop down list for the Role: field.
    Repeat this step to associate all the other signature fields for the other signers.
    Please watch this short tutorial video to see how to author a multi-signer document:
    https://www.echosign.adobe.com/en/misc/echosign-how-to-series-sending-to-multiple-signers. html

Maybe you are looking for