Create GL cross-validation rules API?

Hi,
  Could anyone please let me know if there is an API to create/update GL cross-validation rule?
Thanks,
Veer

Please check this link, will assist you
Re: WebADI API - Upload successful - Records not loaded in database
thanks

Similar Messages

  • CROSS VALIDATION RULE과 CCID생성간의 관계

    제품: FIN_GL
    작성날짜 : 2006-05-15
    CROSS VALIDATION RULE과 CCID생성간의 관계
    ==================================
    Explanation
    Note : 124611.1 의 내용을 참조하시면,
    Cross Validation Rule과 CCID생성간의 관계에 대해서
    쉽게 이해하실 수 있을 것입니다.
    고객님께서 문의주신 Case에 대해서는
    해당 Note의 "Scenario 2" 부분이 해당되겠습니다.
    Scenario 2:
    Dynamic Insert on
    GL-account already created
    Cross-Validation Rule created
    즉, GL Account는 이미 생성되어 있고, 그 후에 Cross Validation Rule이 생성되었을 경우,
    결과는 아래와 같습니다.
    When you create a Cross-Validation Rule after the GL Account
    Code Combination has already been created and enabled, then
    this Cross-Validation Rule will not work. A journal entry with
    this Account Code Combination, even if it is exluded in your
    Cross-Validation Rule, will still be accepted.
    다시 말씀드려, Cross Validation Rule은 이미 생성된 Code조합에 대해서는
    영향을 주지 않습니다. 또한, Cross Validation Rule에 exclude되었다 하더라도
    이미 생성된 Code조합에 대해서는 Journal이 정상적으로 생성된다는 내용입니다.
    Note : 124611.1에 다른 유형에 대해서도 설명이 나와 있습니다.

  • Cross-Validation Rules: How to re-validate segments all ready enabled?

    Is it possible to call one of the APIs to re-validate the code combinations againts the Cross-Validation Rules? If the enabled flag is set to 'Y' then the CVR is ignored. I am aware of the Cross-Validation Rules Report which is helpful, but I need to go a step further. I'm looking to loop through the gl.gl_code_combinations tables, re-validate the combinations that are enabled, if CVR fails then determine if there are any amounts that need to be moved prior to disabling the combination.
    I have a routine that:
    1. creates temp table of all enabled combinations
    2. loops through gl_code_combinations
    3. deletes record from gl_code_combinations, do not commit
    4. calls API fnd_flex_keyval.validate_segs
    5. updates status of temp table
    6. rollback deleted record
    7. repeat 2 - 7 until done
    8. query gl_balances using temp table combintions that have failed.
    I'm a little nervous to run such a routine, because of the delete.
    Does anyone have any ideas or suggestions?
    Thanks,
    Jamie
    Edited by: jmdavis on Dec 15, 2008 6:17 PM
    Edited by: jmdavis on Dec 15, 2008 6:18 PM

    Use where clause for that UDA's in attribute that refer to other attributes data source. the where clause may required use Lookupcodes, these lookup codes may have to be configure in the source attribute values table column.
    Edited by: user11979254 on May 13, 2010 2:49 AM

  • Cross Validation Rules logic back to front.

    Hi All,
    We have a cross validation rule to: "Cost/Profit Centre must be 0000 for this Balance Sheet natural account."
    It is setup to Include: 0000.000000.0000.000.00.000.0000.00.0000 - ZZZZ.ZZZZZZ.ZZZZ.ZZZ.ZZ.ZZZ.ZZZZ.ZZ.ZZZZ
    and Exclude: 7281.302623.0001.000.00.000.0000.00.0000 - 7281.303419.ZZZZ.ZZZ.ZZ.ZZZ.ZZZZ.ZZ.ZZZZ.
    This rule allows us to control which accounts can post to cost centres and which cannot. So using these rules, any accounts in the range 302623 till 303419 cannot accept postings to a 0000 cost centre. So if we try to use 7281.303410.1234, we will get the message pop up and tell us we cannot use this combination, and that it must be 7281.303410.0000.
    Now, we want to change this rule so we can start to accept postings by cost centre to account 303410. So that in future, postings to 7281.303410.1234 will be accepted and will not throw up the warning message.
    Seeing our setup above though isn't 7281.303410.0000 already EXCLUDED from the rule?
    To actually exclude it from the rule we have had to create a new exclusion: -
    EXCLUDE: 7281.303623.0001 - 7281.303409.ZZZZ
    EXCLUDE: 7281.303411.0001 - 7281.303419.ZZZZ
    So now our combination 7281.303410.1234 exists between these two exclude ranges. Only this way it works. But it seems back to front logic.
    Can you please advise if our understanding is correct or not?

    Perfect! This is how you define cross validation rules. It's not back to front but from R11.0.3, Oracle standard is to use the cross validation rules like this.
    - Kiran

  • Extend Cross Validation Rule functionality

    Hi,
    Does anyone know if it is possible to leverage Cross Validation rule functionality to check combinations against external data sources?
    I am sure I have seen this before, but do not know how it was implemented techincally.
    When users entered an invalid combination of two segments, maintained outside the EBS, an error message was generated and they could not continue posting the journal. The reason from maintaining the data outside EBS was due to the nature and volume of the relationship being defined.
    Any help appreciated.
    Kind Regards
    Heath

    Cross-Validation rules only affect new account combinations that are created after you define or enable the rules. If you have existing combinations that violate your rules, your cross-validation rules will not be enforced. You will need to disable all existing combinations that violate your rules before your cross-validation rules can take effect.
    Check if the combination 101.399.1323.5240.000.0000.00000.000 was already created before you created your CV rules.
    Thanks,
    Anil

  • Cross Validation Rules

    I accidentally defined a cross validation rule (CVR) wrongly. My intention was to ensure that cost centre values other than 999 couldn’t be combined with balance sheet accounts.
    It appears to work initially, except that it prevents me from posting to any non-balance sheet accounts codes, because in the journal entry window the only cost centre segment value that I see is 999, and in the account code segment, the only values that I see are balance sheet account codes.
    I need to see other cost centre values and account code values so as to post to P&L account codes, but they are not showing in the journal entry window. I have tried many times to disable the CVR but it hasn’t help. I tried to change the CVR and saved it but it hasn’t help either.
    Can someone let me know how to remove this annoying cross validation rule altogether so that I will be back to where I started?

    hi colin,
    obviously it is not the CVR problem, coz CVRs will not effect the LOVs. check the security for the responsibility you are using.
    thanks,

  • Filter data by cross validation rules

    Hi all,
    Is there any way to build report that filter out data by cross validation rules ?
    For e.g:
    Acc. Flex -> Company.CC.Natural.Future.
    The cross validation rules are excluding CC -> 01 and 05.
    So all the combination_id that contains CC 01 and 05 will be filter out.
    TIA,
    Fendy

    Perfect! This is how you define cross validation rules. It's not back to front but from R11.0.3, Oracle standard is to use the cross validation rules like this.
    - Kiran

  • Cross Validation Rules & Security Rules

    Hi all,
    Is there any one who knows where I can function/package for cross vaildation rules & security rules in GL Modules?
    I need them for our customization form before all transaction move from custom table and API table. It means we need to validate all transactions correctly in our custom form before its generated into transaction table in particular module.
    I appreciate any info.
    Thanks

    Hi,
    Thanks for your reply.
    Actually we a have customization form and interface. Due the customization programs need to use CVR, I need to know if there's a package/function/script to call this CVR procedure that we can attach to our customization programs. Before we send the transactions to API (open interface table) we already make sure there's no problem in accounting (code combination) since we activated CVR for generating account combinations.

  • Cross Validation Rule - Should all segments be included in the rule?

    I have 6 segments in GL, While i want to restrict Accounts for a given cost center and Company combination, I wanted to know if i have to also put a 00 and 99 to the other segments like Project Future and intercompany. Ex: For CC and Company combination 01 and 2345 the account 654321 must be restricted. I dont have any condition for the other 3 segments, Project, Future or Intercompany. In this case my exclude should be
    Exclude:
    Segment Low High
    CC 01 01
    Company 2345 2345
    Account 654321 654321
    Project
    Future
    Intercompany
    I left Project, Future and Intercompany as blank. Should i enter value even for those? Should it be like this?
    Segment Low High
    CC 01 01
    Company 2345 2345
    Account 654321 654321
    Project 000000 999999
    Future 0000 9999
    Intercompany 0000 9999
    Please advice.

    When creating a business rule, under Actions there is "Must be maximum length of" and "must contain patern".
    See:
    http://technet.microsoft.com/en-us/library/ff487015.aspx

  • Cross validation & Security rules

    Hi,
    In a typical business scenarios which are the code combinations recommended for
    i)Cross Validation rule
    ii)Security rule
    to have better control?
    Thanks

    Hello.
    It depends on your needs. Suppose you have 2 (01, and 02)companies sharing the same Chart Of Accounts. In order to avoid entering journals from company 01 into company 02 you should create a security rule to reject all code combinations starting by 01 when a Responsibility from company 02 is being used.
    Cross validation rules are used to avoid the creation of code combinations that you may think as inappropriate within the company itself. For example, to use the Cost Center segment when the Account segment is not a cost or a revenue.
    Octavio

  • Cross validation on cost allocation flexfield

    We have setup a cost allocation ff with the option to cross-validate segments. We have correctly defined cross validation rules. Yet, when entering costing information for an element entry, the system allows us to enter a combination which violates our cross-validation rules. We have already checked that this combination was not existing before we created the rule so we do not understand why the rule is not working. Any ideas?

    did u try with the below error message
    ID HRD for the flexfield segment Profit Centre does not exist in the value set PROFIT_CENTRE.
    checking value set which is is referring

  • How to ImplementCross validation rules in OA Page

    I have created a custom page which has a Key flex field.How do i implement the cross validation rules?Please let me know.Thanks in advance

    For example,
    I shouldn't be able to enter Advertisement(say 022)
    for administration Balancing segment.
    It has to be restricted.So, is there any special logic that i have to implement.
    In GL we have a check box for validation rules.Please let me know if the same is possible through OA Page.
    Thanks

  • Security Rule API

    Hi,
    Is there a PL/SQL Equivalent for the Oracle Report user exit
    SRW.USER_EXIT('FND FLEXIDVAL
    CODE="GL#"
    APPL_SHORT_NAME="SQLGL"
    DATA=":SEGMENT4"
    NUM=":CP_COA_ID"
    DISPLAY="4"
    IDISPLAY="4"
    SHOWDEPSEG="N"
    VALUE=":SEGMENT4"
    SECURITY=":CF_CC_SECURE" ');
    to find out if the current user has access to SEGMENT4. I would like to create a DATABASE PACKAGE that retrieves all the SEGMENT4's that satisfies the security rules for the person logged in.
    Best Regards
    Ramdas

    Hi Spark,
    It looks like Journal Import doesn't check for Security rules, but it checks for cross validation rules upon dynamic insertion. Sorry for the misled earlier. You can check the metalink note, Journal Import - FAQ [ID 107059.1]. Here are the comments for the note,
    A04. Does the Journal Import process check for Cross-Validation or Security
    Rules violations?
    Journal Import does not check security rules. Transactions that come
    from Oracle subledgers (AR, AP, etc.) already have the CCID (Code
    Combination ID) in the GL_INTERFACE table. These have been validated
    in the feeder system.
    You can also populate the accounting segments directly into the
    gl_interface table and let Journal Import populate the
    code_combination_id. If dynamic insertion is enabled, and this is a
    new combination, then the import program will check for cross
    validation rule violations.
    Thanks,
    Kiran

  • How can I use ViewObject in Reusable Validation Rule ?

    I read chapter 9.6.1 of ADF Developer Guide 4GL, "Creating View Objects at Runtime for Validation". In our system there is a validation that can use ViewObject, e.g :
    SUM of outstanding AR cannot exceed the Credit Limit of the Customer.
    This rule must be applied to more than one entity :
    - During Order data entries
    - During Invoice Creation
    - ..and some more..
    So I think about create a Reusable Validation Rule
    (Like Steve recommends on : http://radio.weblogs.com/0118231/stories/2005/07/21/recommendedValidationStrategies.html. => DateRangeRule.Java )
    And within this Reusable Validation Rule, I use View Object to do SQL based validation as explained on chapter 9.6.1 above.
    How can I do that ?
    Thank you for your help,
    xtanto

    The ADF Toy Store Demo 10.1.2 version contains a reusable rule that uses view objects. If you google for "ADF Toy Store Demo 10.1.2" you will find it. Its a validation rule in the FwkExtensions project in that demo that validates state abbreviations for a country code.

  • Validation Rule: Department cannot have more than 5 employees

    Say there is a LOV of departments. User will select one department, and employees connected with that department will be displayed in the table below.
    Then there will be a button to create an employee. Once entering the data, the user will press Save button. Now there is a validation where the application will check that a department cannot have more than 5 employees.
    I want to know how to create, and where to create such a validation rule, and how?

    Sorry to rain on the parade here, but I don't believe that any of these solutions will work correctly, at least not if your application has more than one user.
    There is one way (short of using explicit locking, which is a bad idea for a web app) that I know of to implement such a requirement - it would involve creating a refresh-on-commit materialised view in the database and placing a check constraint on the MV. The MV would simply be something like "select department_no, count(*) num_employees from employees group by department_no" and the check constraint would ensure that num_employees must be less than or equal to 5.
    John

Maybe you are looking for

  • Vendor performance report

    hai how to create an vendor performance report which display purchase order issued to a vendor, material supplied delivery times, payment terms, prices during a period of time.     for this report what are the tables and fields we have to use pls giv

  • HT203200 This error occurs at the exact moment when step 2 ends during a wifi sync. Please help?

    This error occurs at the exact moment when step 2 ends during a wifi sync. Please help? Every single time I cannot find a solution

  • Firewire 400 port wont work

    my issue is... my fire wire 400wont read any firewire 400 device, but my 800 port works fine. however, e wheni route my f 400 devices through my 800 drive, or port, the 800 device is ultimately disengaged ( removed) by the system. i can understand th

  • How to make two mono audio tracks into a stereo pair?

    My video clip, brought over into Premiere CS6 from Final Cut Pro 5, has the usual left and right audio tracks, but in Premiere they are not linked into a stereo pair. Thus the volume level has to be adjusted separately in each track. In Final Cut, I

  • Client crashes when replying to more then 5 people

    Hi all, I have a strang issue with GroupWise: when a user clicks on the reply button and there are more then 5 recepients, the GroupWise client crashes. With less then 5 people are on the recepien list kt works fine. Environment: - XenDesktop VDI - C