GL Account Form - Oarcle 11i (11.5.10.2)

I have some code combinations which are directly inserted in gl_code_combinations table through custom program. When I am trying to query these code combinations through GL Account Form, it gives me a message "Record not found" and when I try to add through GL Account Form it gives me a message "This combination of segment already exists" dfvcc
It seems the link is not there between flexfield and the codes that are created in gl_code_combinations table. However I do see those accounts in gl_code_combinations_kfv table as well. Those sagment values for such accounts are existing in Value sets that validates each segment of code combinations ID.
So I am not sure how to handle this. Could you please give me some idea how can I be able to maintain such codes in GL Account Form.

Hi,
at first, I dosn't hope you have make direkt insert for new CCID into the GL_code_combinations.
Use the fnd_flex_ext.get_ccid procedure to create or get the CCID (example see below).
This procedure will get you the CCID for a combination of segment value or will create the CCID (incl. Validation).
FUNCTION create_ccid (
p_segment1 VARCHAR2,
p_segment2 VARCHAR2,
p_segment3 VARCHAR2,
p_segment4 VARCHAR2,
p_segment5 VARCHAR2 := '000',
p_segment6 VARCHAR2 := '0000'
RETURN NUMBER
IS
vv_chart_of_accounts_id NUMBER;
vv_msg VARCHAR2 (2000);
retval NUMBER;
vv_coa_delimiter VARCHAR2 (80);
vv_rec_gcc gl.gl_code_combinations%ROWTYPE;
v_ccid gl.gl_code_combinations.code_combination_id%TYPE;
PRAGMA AUTONOMOUS_TRANSACTION;
BEGIN
SELECT a.chart_of_accounts_id
INTO vv_chart_of_accounts_id
FROM gl_sets_of_books a
WHERE a.set_of_books_id = g_set_of_books_id;
IF g_debug = 'Y'
THEN
apps.fnd_file.put_line (apps.fnd_file.LOG,
'message:'
|| 'Konto '
|| p_segment1
|| '.'
|| p_segment2
|| '.'
|| p_segment3
|| '.'
|| p_segment4
|| '.'
|| p_segment5
|| '.'
|| p_segment6
END IF;
vv_rec_gcc.segment1 := p_segment1;
vv_rec_gcc.segment2 := p_segment2;
vv_rec_gcc.segment3 := p_segment3;
vv_rec_gcc.segment4 := p_segment4;
vv_rec_gcc.segment5 := p_segment5;
vv_rec_gcc.segment6 := p_segment6;
vv_coa_delimiter :=
fnd_flex_ext.get_delimiter
(application_short_name => 'SQLGL',
key_flex_code => 'GL#',
structure_number => vv_chart_of_accounts_id
fnd_message.CLEAR;
v_ccid :=
fnd_flex_ext.get_ccid ('SQLGL',
'GL#',
vv_chart_of_accounts_id,
TO_CHAR (SYSDATE, 'DD-MON-YYYY'),
vv_rec_gcc.segment1
|| vv_coa_delimiter
|| vv_rec_gcc.segment2
|| vv_coa_delimiter
|| vv_rec_gcc.segment3
|| vv_coa_delimiter
|| vv_rec_gcc.segment4
|| vv_coa_delimiter
|| vv_rec_gcc.segment5
|| vv_coa_delimiter
|| vv_rec_gcc.segment6
vv_msg := fnd_message.get;
IF g_debug = 'Y'
THEN
apps.fnd_file.put_line (apps.fnd_file.LOG,
'message:' || SUBSTR (vv_msg, 1, 512)
END IF;
RETURN v_ccid;
END create_ccid;

Similar Messages

  • Compile all custom forms from 11i to r12

    Hi,
    I have to compile 11i forms into R12.
    Copyresource folder and fmb to local system and compile forms manually in local system is one way
    I heard there is another easy way of compiling custom forms from 11i to r12. If you have any solution for this please help me.
    Any help is big help, thanks in advance.

    Hi;
    In addition to Hussein Sawwan great post,please review:
    Custom form upgrade 11i to R12
    Planning to upgrade from 11i to R12
    Oracle Custom 11i Forms compatablity in Oracle R12
    Oracle Custom 11i Forms compatablity in Oracle R12
    How To Migrate My Customized reports & Forms To R12?
    How To Migrate My Customized reports & Forms  To R12?
    Regard
    Helios

  • Chart of Accounts Form

    Hi experts!
    Recently I've been working with the Chart of accounts form with UID = 806 on SAP BO 8.82 PL: 11 but in some other versions of PL it has a different UID = 804.
    Is there any reason why it changes of UID?
    Best Regards.

    Hi Edmar,
    I have checked in SAP BO 8.82 PL: 04. It is showing me the Form Type as 804. I don't have any test environment for PL: 11. But as far as I know, it should not be like this. And if it is so, you should change your code or ask for SAP support.
    Thanks & Regards
    Ankit Chauhan

  • Concurrent programs form in 11i error

    Hi,
    I am new to oracle 11i, when I open a concurrent programs form in 11i, the form is displaying in the applet.. but it is not allowing to change the screen.. like options like print..
    I want to disable the print option..
    Please help me in this regard.. I stuck here for last two days..
    Thanks,
    Malla

    I don't understand what you are asking.
    Email me for a faster response [email protected]

  • I have Accounts forms that do not have enough lines, can I add them?

    So, I have account forms that I have for religious purposes. I did not purchase a copy of Acrobat Reader XI, which the forms are made with and are fillable. Unfortunately, they do not have enough lines for the expenses. If I purchase Acrobat XI, will I be able to add lines?

    Acrobat can edit the interactive form fields, but it doesn't generate the underlying page content - that comes from whichever original program was used (Word, InDesign, etc.) and that's where you would have to go back to if you want to add lines to a table, etc.

  • GENERATING FORMS FOR 11i IN UNIX ( ifrun60)

    GENERATING FORMS FOR 11i IN UNIX ( ifrun60)
    How to generate forms for forms 6i.
    Just like f45gen for Forms 4.5.
    null

    It is f60gen in the unix. It takes the following parameters.
    f60genm Module=<formname> Userid=<userid/password> [Parameters].
    Optional parameters are (default values given):
    Module_Type=FORM Module type (FORM, MENU, LIBRARY, PECS).
    Module_Access=FILE Module access (FILE, DATABASE).
    Statistics=NO Show statistics.
    Logon=YES Logon to database.
    Batch=NO Don't display messages on the screen.
    Output_File=<file> Write output to file.
    Script=NO Write script file.
    Parse=NO Parse script file.
    Delete=NO Delete module from database.
    Insert=NO Insert module into database.
    Extract=NO Extract module from database.
    Upgrade=NO Upgrade module to current version.
    Upgrade_Roles=NO Upgrade SQL*Menu 5.0 role information.
    Version=45 Version to upgrade (23, 30, 40, 45, or menu 50).
    Crt_File=<crt file> CRT file for version 2.x form upgrade.
    Build=Yes Build a runform/runmenu file when upgrading.
    Add_Triggers=NO Add KEY-UP/DOWN triggers during upgrade.
    Nofail=NO Add NOFAIL keyword to trigger steps.
    Debug=NO Build/Run with debug information.
    Compile_All=NO Compile all PL/SQL code.
    Strip_Source=NO Strip pl/sql source code from library.
    Window_State=Normal Root window state: (Normal, Maximize, Minimize.)
    Help=NO Show this help information.
    Options_Screen=NO Display Options window (on bitmap only).
    Widen_Fields=NO Add one character to display width.
    Print_Version=NO Print version used to save module.
    Forms_Doc=NO Print Forms Doc report.
    Make sure that ur .Profile is set in unix.
    Thanks
    Ram
    null

  • Key account form

    Dear SAP Guru,
    Can some tell me about key account form of output?
    Points will be rewarded.
    Regards

    The account key is defined in the sales pricing procedure
    SPRO > Sales and Distribution > Basic Functions > Pricing > Pricing Control > Define And Assign Pricing Procedures
    And the account to these account keys are assigned in VKOA transaction.
    This pricing procedure if assigned to customer master in XD02/ VD02 (Sales Area Data)
    Regards,
    SDNer

  • Adding Quantity in Sales Order form in 11i

    I am trying to use forms personalization (under 11i) to add-up order quantity of multiple item lines to check against certain value. if it is less then let the order be booked, if it isn't then give error and stop processing. Will appreciate if someone can help, urgently.
    I am able to check the quantity and preform the check at each line level but not able to figure out how to add up the quantity if there are multiple lines.
    This is to be done in Sales Order form under Order Management.
    Thnx
    Suhail

    Hi;
    For your issue i suggest close your thread here as changing thread status to answered and move it to Forum Home » Application Development in PL/SQL » Forms which you can get more quick response
    Regard
    Helios

  • How to compile forms in 11i

    How to compile form(APXINWKB.fmb) in 11i Linux OS.

    f60gen module=APXINWKB.fmb userid=apps/apps module_type=FORM output_file=/u001/appltech/appl/ap/11.5.0/forms/US/APXINWKB.fmx compile_all=special
    does above looks fine to compile.Yes.
    and make sure FORMS60_PATH points to correct path.
    FORMS60_PATH=:FORMS60_PATH:$AU_TOP/resource:$AU_TOP/forms/US;
    export FORMS60_PATH;

  • Updated Default Account Form - any way to easily get old one back?

    I suspect not, but MSFT arbitrarily changed my default account view and I hate it. I had my old one set up perfectly, why they'd mess with my form settings I don't know.
    I suppose I have to build a new form, but just in case I can get my old one back easily without screwing around with building a new one, I thought I'd ask. This happened several weeks ago, and I am finally so frustrated I am going to change it.
    I use Online.
    Thanks.

    I don't know if you can get the old one back, but I strongly recommend making a custom form for your form and setting that as your default.  If you alter the default system form, you run the risk of MS overwriting those changes in an update. 
    If you make a custom one, even if they change the default back to the system form, all you have to do is change the defualt back to your custom form, no muss, no fuss.  (also, if you install any managed solutions, they won't mess with your custom form)
    The postings on this site are solely my own and do not represent or constitute Hitachi Solutions' positions, views, strategies or opinions.

  • How to DMS documetn to JV and accounting forms?

    I have a requirement to link dms documents to JV and accounting forms

    How to istall oracle forms service and oracle reports service ?http://download.oracle.com/docs/cd/B19375_07/doc/frs/docs.htm
    and we can make test?Once installed, there is a test program both for Forms and Reports... or you mean something else ? if so, please clarify.

  • Launch 6i Form from 11i?

    Hi all, I'm having a lot of trouble finding info on how to launch/run a 6i form from Oracle Apps 11i. The form would be launched when a button is pressed.
    Thanks.

    Hi,
    is 11i built with Forms 6i? If yes then open_form, new_form or call_form is used. If 11i uses Forms 9i then you use web.show_document("URL of Forms 6i on the web','_blank');
    Frank

  • Forms in 11i

    How can I list the form name and its description(what the do) in 11i?
    ex
    form description
    A Supplier maintenance
    B Purchase orders
    C Journal entries
    Or is there a documentation that will list them
    Thankd for the help
    LW

    Duplicate thread ..
    Problem in Forms...
    Re: Problem in Forms...!!!

  • Oracle Forms 6i/11i Apps: Horizontal scroll bar is hiding last record in the form, issue with folder switcher

    Horizontal scroll bar is hiding last record in the form. Attached the screenshot which shows the issue.
    Regards,
    Venkat K

    If this is a custom form, you will have to alter the design. If this is a seeded form, pl open an SR with Support

  • Accounts Receivable 11/11i Multi-Org Issues

    Hello,
    I am running into some Multi Org issues regarding Aged Trial balances on a Consolidated level and I understand that Auto Lock Box needs to have "feeder" programs set up by Organization or the Cash receipts will result in a bunch of Unapplied Cash.
    Besides these, what other issues are you 11/11i AR Guru's running into because of Mutli-Org.
    Thanks

    Hello ,
    We are also struggling with the similar problem of reconciling the AR and i would seek your help here.
    I believe you have figured out all the SQL queries used to get the AR recon done so i would request if you can share the SQL queries with me as it will help us to do our piece of activity in reconciling the AR.

Maybe you are looking for

  • Looking for help getting imovie to recognize sony DCR-SR47 camcorder

    Has anyone been able to up load to imovie from sony DCR-SR47 camcorder?

  • Using a second router with airport extreme

    I have hooked up a second router to my airport extreme for the purpose of providing more ethernet ports. When I do this I disable the wifi on the second router and place it in a bridge mode to let the airport do DHCP. However none of the PC's in the

  • Help with a clean install of Mountain Lion on a 2008 iMac

    Hi, i'm doing a clean install of Mountain Lion on my 2008 iMac.  My question is whether or not i have to install the disk that came with my computer first or can i just boot up from the mountain lion OS Bootable flash driveI made?  In the past I usua

  • Duplicate Files on Adobe Viewer

    I have DP file on Acrobat.com when viewed on the Adobe Content Viewer on the ipad the file/icon appears twice. Any suggestions on how to fix?

  • 6 x 73GB disks : ASM or RAID ?

    Hi, I am going to install Oracle db on a server with 6 x 73GB disks. What is the best configuration - ASM with no RAID, - ASM with RAID, or - RAID with no ASM. To be able to install ASM i need to install OS & Oracle-binaries on at least one disk, tha