Gl code combination segments description

Hi all
i am feeling very difficulty to retrieve the gl code combination segments description. Can any one help on this by giving the query
Advance Thanks

See http://ashokkumartj.blogspot.com/2011/02/key-flex-field-structures-table-details.html for useful queries for KFF

Similar Messages

  • Updating one Segment Value in GL Code Combinations

    Dear Members,
    We are using Oracle GL in our Organization from past couple of years.
    Our COA consists of 6 Segments (i.e, Company--Organization--Area--Activity--Account--Product)
    Now users are requesting us to change few account combinations for instance
    11-00-00-00-123456-0000 to 11-00-00-00-123456-1000 ie. We have to update all the Posted and Unposted Journals having code combination of 11-00-00-00-123456-0000 to 11-00-00-00-123456-1000.
    Please let me know whether this is a common practice? Are we allowed to do such updates without any adverse effects?
    If we are allowed to update is there any API available?
    Many thanks in advance.
    Best Regards.

    Hi
    If you do this from the backend (i.e. update GL_JE_LINES and GL_BALANCES) it is completely unsupported (for obvious reasons).
    If you want to do it via the frontend the General Ledger Mass Maintenance function will do it (Setup > Other > Mass Maintenance), i.e. it will move the balances from one combination to another. It does not create journals to do so though so it depends on the business requirement as to whether an audit trail is required for the change.
    It's a pretty common practice - finance often want new cost centres, change their minds about cost centres and move balances around. I usually don't use Mass Maintenance as the auditors usually prefer journals but if a mistake was made in the cost centre setup or something then yes, Mass Maintenance works. Give it a shot in your test environment, show finance what results and check that they are happy with that.
    Regards
    Jo

  • Getting GL Code combination description

    Hi All,
    we have xla_oa_functions_pkg.get_ccid_description in R12 for getting the description of code combination.
    can anyone let me know its counter part in 11i version..
    Thanks in advance..

    See http://ashokkumartj.blogspot.com/2011/02/key-flex-field-structures-table-details.html for useful queries for KFF

  • Code Combinations for Segment Hierarchies

    Dear Members,
    I have one question on Hierarchies in GL Accounting Flex fields. I read the documentation on Flexfield hierarchies, in which its said that generally hierarchies are used for only GL accounting flexfields.
    Suppose One of the Accounting Flexfield Segment Value hierarchy structure is like this :
    1000
    _________|_______
    100 200 300
    ____|____ ____|______
    101 102 301 302 303
    _______|______
    303A 303B 303C
    __|__
    303BB
    This hierarchy is not coming properly when i post it so i am explaining it in detail here :
    Parent Child
    1000 ---> 100 200 300
    100 ----> 101 102
    300 ---> 301 302 303
    303 ---> 301A 303B 303C
    303B --> 303BB
    Here 1000 is the parent which has childs and they inturn have childs. This is used maily for reporting purpose in GL. I do not understand how a code combination is generated for the above structure in gl_code_combination table.
    Suppose we have 5 segments in our accounting flexfield structure
    ex: seg1,seg2,seg3,seg4,seg5 and 1000 in the above mentioned structure is seg3.
    how does a combination is generated if we want the information pertaining to 303BB which is the leaf node value in the hierarchy.
    seg1.seg2.seg3.seg4.seg5 --> how does this change if we have hierarchies.
    It would be great if you can help me out in this.
    Thanks
    Sandeep
    Message was edited by:
    user340
    Message was edited by:
    user340
    Message was edited by:
    user340

    Hi :
    1000 is a parent ---> 100 200 300 are chid
    100 is a parent ----> 101 102 are chid
    300 is a parent ---> 301 302 303 are chid
    303 is a parent ---> 301A 303B 303C are chid
    303B is a parent --> 303BB
    Here 1000 is the parent which has childs and they inturn have childs. This is used maily for reporting purpose in GL. I do not understand how a code combination is generated for the above structure in gl_code_combination table.
    seg1,seg2,seg3,seg4,seg5 and 1000 in the above mentioned structure is seg3.
    a combination is generated for every single combination oif child values (child valued should be posting allowed = yes meanwhile parent values should be posting allowed = no) for every segment
    so at the end the combination is created whenever you use child value for every single segment
    if you have rollup groups associated to the parent values, you can define summary accounts and balances are going to be automatically updated for parent values so even you can query onbalances on parent values
    I hope this gives you some light

  • Need an API to Validate the Segment Values of an GL Code Combination

    Hi,
    I have a requuirement wherein i need to validate the semgent values of an GL Code Combination. I want to know is there any API to Validate the Segment Values. The API should be able to validate the segment values for existence in value set, enabled/disabled, Posting flag enabled or disabled (i.e Compiled Attributes Validation).Please provide me some pointers.
    Thanks & Regards,
    Siva

    look at FND_FLEX_EXT or FND_FLEX_KEYVAL
    FND_FLEX_KEYVAL.validate_segs

  • Code combination based hierarchy

    Hi,
    I am wanting to overlay a code combination based alternative reporting hierarchy in Finance against budgets, balances and journals.
    The nature of the overlay is that the first contact is from code combination id (all of the used segments in the chart of accounts) to a parent code / description. Each parent code then has a level number and may have a parent of its own, only linked to the original gl codes through the total chain of parents.
    From initial analysis I do not think this is possible using standard functionality - but if anyone thinks overwise - let me know!
    My question is, is there a document that I can utilise to perform the analysis on how this could be linked into the existing physical table structure? (i.e. I need to understand the current PK -> FK links in the physical layer to scope the extent of the work)
    thanks,
    Robert.

    Hi,
    my requirement is that the hierarchy is multi-leveland joined on all of the six live accounting segments.
    So; -
    Level 1 - 101.10222.8554.0444.000.00000 (accounting segments) joins to; AAAAA - My analysis code level 1
    Level 2 - AAAAA (parent) joins to BBBBB - My analysis code level 2
    Note it is the total combination of all the segments which is the requirement, so just because the first segment is 101, this does not mean that all entries with first segment 101 will be this parent, only when in combination with the rest of the segments exactly as above (so one code combination id effectively)
    regards,
    Robert.

  • GL Code Combination from GL_SUBR_LED table using ACCT_ID and ACCTNG_UNIT_ID

    Hi Gurus,
    Is there anyway that I can get the GL Code Combination ID from GL_SUBR_LED for OPM Transaction by using the ACCT_ID and ACCTNG_UNIT_ID. It is very urgent.
    Please help me on this.
    Thanks,
    Genoo

    Yes, one parameter per segment. As I explained earlier, I'm currently doing it just fine using 3 separate queries, but it seems highly inefficient.
    Here is what I'm doing [but wanting to create a view]:
    Parameter 1: Company segment1
    Parameter 2: GL Account segment2
    Perameter 3: Dept (cost center) segment3
    So I was thinking the view should look something like [each are columns]:
    co_value | co_descr | gl_acct_value | gl_acct_descr | dep_value | dep_descr
    I did something like this yesterday---but that's definitely not what I want.
    (SELECT     fvt.flex_value_meaning, ffv.flex_value
         FROM     apps.fnd_flex_values_tl fvt, apps.fnd_flex_values ffv
    WHERE          ffv.flex_value_id = fvt.flex_value_id
                   AND ffv.flex_value_set_id = y
                   AND ffv.enabled_flag = 'Y')
    UNION ALL
    (SELECT     fvt.description, ffv.flex_value
         FROM     apps.fnd_flex_values_tl fvt, apps.fnd_flex_values ffv
    WHERE          ffv.flex_value_id = fvt.flex_value_id
                   AND ffv.flex_value_set_id = x
                   AND ffv.enabled_flag = 'Y')
    Edited by: Akatsuki on Aug 31, 2010 1:46 PM
    Edited by: Akatsuki on Aug 31, 2010 2:00 PM

  • Create New GL Code Combination - With some flags

    Hi All
    I created a new gl code combination useing the below script
    DECLARE
    l_keyval_status BOOLEAN;
    L_COA_ID NUMBER;
    P_CONCAT_SEGS VARCHAR2(500);
    l_err_msg varchar2(2000);
    l_error varchar2(255);
    BEGIN
    L_COA_ID := 50372;
    P_CONCAT_SEGS := '014.01.0000.1101020200.002.23001.01.00.000000.000.000.000';
    l_keyval_status := fnd_flex_keyval.validate_segs(
    'CREATE_COMBINATION',
    'SQLGL',
    'GL#',
    l_coa_id,
    p_concat_segs,
    'V',
    sysdate,
    'ALL', NULL, NULL, NULL, NULL,
    FALSE,FALSE, NULL, NULL, NULL);
    commit;
    if l_keyval_status then
    dbms_output.put_line('S');
    else
    l_err_msg:=substr(fnd_flex_keyval.error_message, 1, 240); --fnd_message.g
    l_error := substr(fnd_flex_keyval.error_message, 1, 240);
    dbms_output.put_line(l_error);
    dbms_output.put_line('ERROR SEGMENT :');
    l_error := to_char(fnd_flex_keyval.error_segment);
    dbms_output.put_line(l_error);
    dbms_output.put_line('ERROR ENCODED :');
    l_error := substr(fnd_flex_keyval.encoded_error_message, 1, 240);
    dbms_output.put_line(l_error);
    dbms_output.put_line('FALSE');
    dbms_output.put_line(l_err_msg||substr(sqlerrm,150,3));
    end if;
    end;
    The code combination created successfully, but in the application form of the code combination
    the Allow posting flag = 'N' and summry_flag = 'Y'
    while i need it to be created wit detail_posting_allowed = 'Y' and summry_flag = 'N'
    is there any way to set the flags while useing the API
    best regards

    Hi Miro,
    Does any account segment value used by you to create the code combination have 'Allow Posting' set to No ? I am wondering if those defaults are setting the flags at the code combination level.

  • Code Combination Validation

    Hello,
    Has anyone setup Code Combination validations in Hyperion Planning? I have done it to a certain extent using forms or security. Is there a way to setup full blown code combination validation like it would be done in GL?
    Thank you,
    Nitin

    Hi,
    There is a method that works both at the web and smartview. It's quite straight forward and maintainable.
    Prepare a query that would extract the combination data along with a dummy data column (i.e. 0 for all records). Load this data to Essbase, but when loading you should select a constant member from any dimension that does not exist in code combination. For example, you do not probably have segments in GL called version or scenario, likewise code combination usually does not contain period or year. So, load the data to a constant member from each of these dimensions (i.e. Begbalance, noyear, noversion, noscenario etc.)
    In the next step you need to create dynamic calc members in any of these dimensions which you use at the column section of the forms. Usually it's only period but it might be necessary for other dimensions also. No matter in which dimension, The member formula for these members will be as below:
    Begbalance->noyear->noversion->noscenario; this is in short the combination of constant members you use while loading the code combination.
    Now edit a form and add a column as the first or last position, place this dynamic member and hide the column. If you have more than one dimension in the column that you used constant members in data load then placing the dynamic member from one of them is sufficient. For example, you might have both period and scenario on the column section. Then place only period dynamic member and select any scenario. On the rows section, enable suppression on missing data (not block). Ultimately, you must do this customization in all the forms you want code combination to kick off.
    This way only the valid combinations will appear on the form and the others will be disabled. We are happily using this for a long time.
    Cheers,
    Alp

  • Code Combination ranges

    I have a code combination id and i would like to find the range of each of the segments. I have don't it before but i can't remember how.
    I'm pretty sure i did it under system administrator.... but i can't remember where. Could someone please help

    you can search by sql
    select segment1,segment2,.........,segmentn (n=number of segments your key have) from glcode_combinations zhere code_combination_id = the combination id
    In Oracle apps you can find the combination id if you have the combination in General Ledger/ setup/ accout/combinations
    but you cannot find the combination when you have only code_combination_id
    Regars

  • How to get Code Combination Range (Account Range From - Account Range To)

    Hi,
    I have a requirement that I need to get the range of code of combinations based on the parameter (Account Range From & Account Range To) in the query. Please could anyone help how to fetch this value based on the parameter.
    Account Range From (7 Segments)
    XXX
    AAAA
    BBBB
    CCC
    000
    YYY
    ZZZZ
    Account Range To (7 Segments)
    XXX
    AAAA
    BBBB
    CCC
    000
    YYY
    ZZZZ
    These is the example of value which I will be getting on the Accounting Range From and Accounting Range. Based on this account range, I need to pull records from the GL_CODE_COMBINATIONS table. Any help on this plz?
    Thanks,
    Geno

    I would not use the code_combination_id. That code_combinaition_id is incremented by one for each new account, so unless you happened to create all your accounts in the right sequential order (not likely), then you cannot do a range of FROM code id a TO code id b. Do an SQL against the code combinations table and sort on the segments columns and take a look at the code combination id on each row, and I think you will see that they jump around quite a bit. I think you can only rely on using the segment columns values for doing an account range.
    John Dickey

  • SRKIM: Account_type 이 잘못 생성된 code combination 확인

    PURPOSE
    Dynamic insertion 을 통해 생성된 ccid 중 간혹 account type 이 key flexfield에서 정의한 account type 과 다르게 발생하는 경우가 있어 문제가 되곤 한다.
    이를 확인 할 수 있는 script 을 제공 하여 손쉽게 파악 할 수 있도록 한다.
    Explanation
    아래 sql 수행 시 Account type 이 잘 못 지정된 ccid 를 확인 할 수 있다.
    select
    c.chart_of_accounts_id coa,
    c.code_combination_id ccid,
    c.account_type type_is,
    substr(v.compiled_value_attributes,5,1) should_be
    from
    gl_code_combinations c,
    fnd_flex_values v,
    fnd_id_flex_segments s,
    gl_sets_of_books b
    where
    b.short_name = '&SOBNAME' and
    c.chart_of_accounts_id = s.id_flex_num and c.template_id is null and
    c.chart_of_accounts_id = b.chart_of_accounts_id and
    s.application_id = 101 and
    s.id_flex_code = 'GL#' and
    s.segment_num = &&SEGNUM and
    s.flex_value_set_id = v.flex_value_set_id and
    v.flex_value = c.segment&&SEGNUM and
    c.account_type != substr(v.compiled_value_attributes,5,1) ;
    일단 문제의 ccid 가 확인이 되는 경우 Note. 1050920.6 를 참조 하여 misclassified account type을 정정 하도록 한다.
    Example
    N/A
    Reference Documents
    Note. 259210.1 How to Identify Account Code Combinations Having Account_type Different From Account

  • Error:APP-FND-00906: You can only query existing flexfield code combination

    Hi,
    when i am querying the particluar account combination under Budget Journals (Navigation: GL responsibility> Budgets > Enter > Journals) window the following message is displaying by the system
    APP-FND-00906: You can only query existing flexfield code combinations. You entered query criteria in your flexfield that does not identify an existing code combination. Therefore, your query will not return any rows.
    Enter a valid code combination, or enter only the flexfield segment values you know, or do not enter any values in the flexfield.
    Note: We are using the 11.5.10.2 version.
    Can any one why this error message is displaying by the system.
    Regards,
    Kevin.

    Kevin,
    Review the following documents, and see if it helps.
    Note: 365406.1 - GLXIQACC Account Inquiry Is Failing With APP-FND-00906 Can Only Query Existing Flexfield Code Combination
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=365406.1
    Note: 272773.1 - APP-FND-00906 - You Can Query Only Existing Flexfield Combinations on the Enter Budgets form
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=272773.1
    Note: 199674.1 - 11i - GLXIQBUD - Unable To Inquire Budget Account In The Budget Inquiry Form
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=199674.1
    Regards,
    Hussein

  • Map Material account to read combination segments

    Dear All,
    How i can Map Material account to read combination segments according to item category level?
    How I can reach to this functionality if Oracle Support""""
    Thanks

    Are you trying to generate account code combination based on the category assigned to the item? What kind of transaction you are talking about?
    Can you explain your requirement a bit clearly?
    Thanks
    Nagamohan

  • AR Aging Report by Code Combination

    We are on 11.5.10. Our AR invoice has several lines and each line could be against a specific Div/ CC (code combination). Given that we do not have a centralized collection department, we are looking for a aging report by Div/ CC, so that the report can be distributed to the respective Div/ CC for further action.
    Is there a way this can be accomplished using standard AR functionality. If not, any suggestions on how it can been developed would be helpful.
    Thanks - Raj.

    Hello.
    Our AR invoice has several lines and each line could be against a specific Div/ CC (code combination).Does this mean that one of your invoices has more then one Receivable line?
    Octavio

Maybe you are looking for

  • Client Security Solution with TPM

    Hi, after upgrading the z61p from XP to Vista I am not able to get the client security solution (css) up and running. I always get amessage form css on the screen that an error occurred during connecting the TPM on this computer (sorry, I'm using the

  • Dfkk1099

    Can someone shed some light when the entries will be written to table dfkk1099? At what step - Is it payment plan/run? Thanks Anu

  • Portlet could not be contacted

    Hello! Has anybody experinced this problem: we have the following: Server A, Windows 2000,2GB RAM, 9ias(9.0.2.0.0) [ infrastrcture, Portal, J2ee container, webcashe  ] Server B, Database Oracle 9i when accessing a portal page through Webcashe over SS

  • 2 users - only 1 can see anything installed or downloaded.

    We have 2 users on the IMac. When downloading new applications, such as Apple Solitare, Pixelator - etc, it allows the user that downloaded to see and not the other user. How do I correct this?

  • WebLogic Portal Propagation Utility for sp4?

    http://dev2dev.bea.com/codelibrary/code/portalprop81sp3.jsp when will this be available for SP4?