Implementing Custom Validation Logic for Payment Disbursements

Hi All,
Is there anyone here, who has implemented Custom Validation Logic for disbursements in Oracle payments.
Theory: Under Payments Setup Administrator -> Formats -> Formats, we can setup a payment format and even attach a XML template. Apart from this we can setup Pre-defined validations or user Defined validations.
For Pre-defined validations / seeded validations, Oracle has provided an API
IBY_VALIDATIONSETS_PUB.evaluateCondition. We can use this API, and call a custom package by using the keyword 'CUSTOM' in the call.
Has anyone played around with this package and successfully implemented custom validations. Does anyone have a sample code on how to implement this. The Payment Manager Implementation guide is of little help.
Thanks

This document was very helpful to me in creating a custom validation.
http://docs.oracle.com/cd/E18727_01/doc.121/e13416/T387353T419293.htm

Similar Messages

  • Can you please help me with validation logic for Events in Table maintenance generator

    Can you please help me with validation logic for Events in Table maintenance generator,i.e if i enter record in 1st internal table then automatically 2nd internal table should be updated.

    Hi Glen Anthony,
        Thanks for replay,
         I used foreign key relationship between those 2 internal tables....
    I used event 05: When creating a new entry. I want to know the custom logic by which my 2nd Internal table gets automatically updated when i update my 1st Internal table
    Thanks Glen.

  • I have downloaded whats app/brave temple run but using netsafe card. well now it shows 1.98$ is pending , though m trying with new netsafe card to pay it is showing error saying Pls select valid method for payment. i used same method as i did earlier

    i have downloaded whats app/brave temple run but using netsafe card. well now it shows 1.98$ is pending , though m trying with new netsafe card to pay it is showing error saying Pls select valid method for payment. i used same method as i did earlier

    I have recently started having this problem in PSE8. The Adobe workaround
    did work, but I don't fancy having to re register each time I use it.
    What I have discovered is that it's nothing to do with the image metadata as it occurs before any image is opened.
    It SEEMS to only occur if you use file/open with to open an image in the editor - IE start PSE with that command.
    If you close elements down, and start it using programs/PSE/Elements (or your desktop shortcut) - the panorama feature magically works.
    Each time I've opened the editor 'automatically' using image/open with, it seems to create the problem.
    Hope this helps

  • Validation logic for US-ASCII characters

    Hi folks!
    I hope this question would be acceptable for all great forum members.
    I just would like to know if there is a better way to validate the code point range for US-ASCII character set or
    my validation logic is wrong for some reason.
    Please take a look at the following validation method sample code.
    By using this validation method,
    I'd like a user passing a value of any other character set to be rejected for further execution.
    My idea is the code point range for the US-ASCII character set is from 0 to 127.
    So each character value of each String value is compared to
    the maximum code point for the US-ASCII character set.
      private void validateEachElementValueHasOnlyUSASCIIChars(
          String[] aFieldValuesArray) {
        for(String fieldValue:aFieldValuesArray){
          char[] charArray = fieldValue.toCharArray();
          for(char c:charArray){
            if(c > 0x007F){// US-ASCII character set's maximum code point.
              throw new IllegalArgumentException(
                  "the value you passed" +
                  "("+Arrays.toString(charArray)+") contains a " +
                  "character of the invalid character set.");
      }Similar topic: [http://forums.sun.com/thread.jspa?forumID=31&threadID=751191]
    Thanks for your time.
    Kenjiro
    Edited by: kenjiro on Sep 26, 2008 5:49 AM

    Yep, looks ok to me. Depending on your requirement you might also disallow some of the non-printing control characters that are in ASCII (all of which are below 32, IIRC).

  • Validation rule for Payment tax code

    Hi
    I have a requirement in which we have assigned both the invoice and payment with holding tax codes. However, at the time of booking vendor invoice through MIRO/F-43/FB60 , the user has to remove the payment with holding tax code manually. We have written a validation rule in which the prerequisite is that if the t code is F-43/MIRO/FB60 system should check if there is a invoice tax code. If the prerequisite is met and check failed system should give error message. However, our issue is that even after the payment tax code is removed, system is not allowing to save the invoice. The second issue is that the system is also giving an error if there is no tds tax types assigned to the vendor
    Regards
    Sanil Bhandari

    Hi
    I have set a validation rule with a warning message. System checks for with holding tax code and gives a warning message to the user to remove the payment tax code
    regards
    Sanil Bhandari

  • Where to put validation logic...

    Hi,
    We have a lot of validation logic in our database. Next to the normal foreign key, check, unique constraints, we use triggers for validation (which throw errors with custom error codes when needed).
    On top of the database we are building a fairly large JClient based application using the BC4J framework. BC4J offers the possibility to use validation beans for validating the entity row. We are wondering if we should use this. If we implement the validation logic for each entity we are actually duplicating the validation logic that's already available in the database. And some database constraints are easily implemented using the standard validation beans (like not null and unique checks), but more complex validation rules can sometimes only be done in the database (so we need to use the database for validation using a method validation bean).
    Like I said this means a lot of duplicating validation logic. Which first of all is an inefficient thing to do. Second validation logic can change over time, which means we need to change the logic on two places. It's easy to forget to change the logic on one place.
    We found a way to somewhat use the database validation logic for validating entity rows. We just simple insert a row in the database and post the changes. If the new row contains an error an exception is thrown. This JBO exception contains a reference to the SQL exception. Which can be used to retrieve the database error code. Unfortunately we have not found a good way (yet) to find out where the error occured (in which trigger for example). Error codes don't have to be unique so it's important to know in which context they occured. Another problem with this method is we can't do an early validate on a limitted set of row data. E.g. we sometimes use wizards in our application for adding new rows. We really want to check the data after each step in the wizard (step by step). This is ofcourse impossible with the database logic. This means we again need to create the same validation logic again. I don't think it's even possible to use the row.validate() method for this (and ofcourse implement the validation logic in the entity too), because this method validates the complete row.
    In short, where is the best way to put validation logic? And (how) can this be done without duplicating (to much) logic?
    Regards,
    Peter
    P.S.
    Does anyone know how to retrieve the context of an SQL exception?

    Do you users have access to the data/tables outside
    of using your application? (as in using sqlplus?)Not at the moment.
    Ideally the database should just be going
    constraint--data integrity type of checks. The
    business rules would be in the business layer not
    persitance layer..So in this case, they would be in
    the bc4j entity objects.. Well most of them are simple integrity constraints, but sometimes we have to check things using triggers which are way more complicated and need extensive database access. It's more logical to do that in the database. If the trigger runs into a problem it raises an application error. We are hoping we can use this error somehow in our application.
    That assumes that the only way a user can modify that
    data is through your application only.Well it is, and if another application is written for it the BC4J entities etc. will probably be re-used, but like I said there are other reasons for not having all the business-rules in the BC4J layer.
    by the way, are you migrating an existing application
    that already has all the business rules in the
    database?No, it's a brand new application, but we started out with defining a lot of business rules in the database because that seems a more logical place to put them (to us). I understand that some business-rules can better be implemented in the BC4J entities, but it's not that easy for every business rule we have.
    Regards,
    Peter

  • Custom Validations and Error Handling

    Hi
    I have a requirement that I have to use the custom validation and the errors and/or exceptions should display in the page. All the errors needs to be displayed in the page at the same time.
    Suppose If i have two fields like...1)First Name and 2) BirthDate ...both are required fields. If user does not enter any values for both the fields, the errors should display in the page like 'First Name is required! Save Failed' /n
    'Float the mouse cursr over the red arrows to see the filed serror mesg'. So all the errors in JSF page should be recorded and displayed when user mouse over taht particular component.
    I am new to JSF. Can you please anybody tell me what is best way to implement this in JSF?

    We should not use the JSF built-in validation framework and desiging the custom validation. For that we are writing the validate() method in BackingBean.
    My Requirement is as follows...
    Capture all the errors in JSF page and display the same JSF page with all the errors.
    For example: If I have 5 fields in form, and 3 fields out of it fails in validation ...we need to show the page with all the fields and some kind of Red border and arrow on the fileds that are failed in validation.
    Also in the bottom of the page we need to display the first field error mesg .....
    -- Suppose say First Name, Last Name, DOB, Gender, Field5 are the fields and only Last Name, DOB and field5 are failed in validation...
    Then we have to display in the botton of the page **{color:#ff0000}'Last Name is required! Save Failed{color}**' along with this,
    We need to display the mesg *{color:#ff0000}''Float the mouse cursor over the red arrows to see the filed error mesg'{color}*. -> This means we are dislaying the page with red arrows on the fileds that are failed in validation.
    So when user mouse over in the arrow...we should display the error message for that particular field.

  • Custom Validator Class not found in Class Path

    I have developed a custom validator class for User Self Registration request. However, when OIM is unable to find the custom validator class and generates teh following error:
    [oracle.iam.platform.pluginframework] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 76584c4849877d50:-45bb4068:13c8294bd72:-8000-0000000000001236,0] [SRC_CLASS: oracle.iam.platform.pluginframework.InternalStore] [APP: oim#11.1.1.3.0] [SRC_METHOD: getPluginInstance] Not able to load class com.infotech.tra.CustomValidator.SelfRegisterUserCustomValidator from classpath
    At what path should the jar file be placed?
    UZ

    I am running the plugin registration utility but it generates the error mentioned below. I have verified the structure of my zip file and the structure of zip file is:
    -> SelfRegisterUserCustomValidator.zip
    ->Plugin.xml
    ->/lib/SelfRegisterUserCustomValidator.jar
    ->/resources/
    Following our contents of plugin.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <oimplugins>
    <plugins pluginpoint="oracle.iam.request.plugins.RequestDataValidator">
    <plugin pluginclass= "com.infotech.tra.CustomValidator.SelfRegisterUserCustomValidator" version="1.0.0" name="SelfRegisterUserCustomValidator">
    </plugin>
    </plugins>
    </oimplugins>
    Following is the error being generated:
    Enter name (complete file name with path) of the plugin file:
    /u01/oracle/Middleware/Oracle_IDM1/server/plugin_utility/SelfRegisterUserCustomValidator.zip
    [java] Java Result: 1
    [echo] Exception in thread "main" java.lang.NoClassDefFoundError: oracle/iam/platformservice/utils/PluginUtility
    [echo] Caused by: java.lang.ClassNotFoundException: oracle.iam.platformservice.utils.PluginUtility
    [echo] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    [echo] at java.security.AccessController.doPrivileged(Native Method)
    [echo] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    [echo] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    [echo] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    [echo] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    [echo] Could not find the main class: oracle.iam.platformservice.utils.PluginUtility. Program will exit.

  • Customs Warehouse solution for South Africa?

    Hello Experts,
    Is it possible to implement Customs Warehouse solution for country South Africa?
    Is it possible to do it without development and from standard GTS10.0 product?
    Customer also needs to generate Customs duty drawback for all Imports and Exports from South Africa. Is it possible?
    If all of the answer is yes, can you please guide me where to look for and share documents/links if possible.
    Best,
    Ethan

    Hi Ethan,
    The CWH functionality is built around EU requirements, but probably the ZA requirements are very similar.  The problem will be in generating the associated Customs Declarations; there you will need development - either of the electronic messages or the traditional printed forms.  Neither of those are included in the standard GTS product.
    GTS supports IPR, but predominantly the "suspension" regime.  Drawback is not allowed in the EU these days, and GTS does not support it as standard.  It would be possible with non-standard developments, and the extent of those would somewhat depend on how the drawback is claimed.
    Regards,
    Dave

  • Validation option for Vendor payments

    Hi Everybody,
    We have about 150 vendors for whom we make cheque payments (manual payment processing). Now, we started implementing online payments and currently we are making online payments for about 30 vendors.  We want to create validation process for these 30 vendors in payment transaction code F-58 not to allow for cheque payment processing.  If these vendors are selected in t code F-58, an error should be thrown saying these vendors are not for cheque payments. Please advice on this option in SAP in detail.
    With best regards,
    Hemanth

    hi
    check with validation GBB1.

  • Processing Logic for custom fields to CRMD_OPPORT_H

    Hi all,
    I have a requirement to add two new custom fields to the Opportunity Table in CRM. I was able to successfully add these fields using EEWB and the fields are displayed in the corresponding PC-UI in the portal.
    I have an additional requirement of performing a  calculation based on these new added fields and updating or refreshing the "Expected Sales Vol" field in the Forecast tab on "Opportunity" Business Transaction
    Can anyone provide some inputs on how we can add the processing logic for acheiving? Is this possible via the BADI? Or Do we require to modify the BSP?
    Thanks

    Thanks for providing the solution. I have awarded you the points as it helped me to solve my problem. thanks once again.
    I have implemented the BADI and the corresponding PCUI displays the calculated amount when i enter values in the custom fields and hit ENTER.
    I just wanted to understand why we require to use function module CRM_ORDER_MAINTAIN_SINGLE_OW?. In my BADI implementation i did not have to use it so additional details would be useful for me to determine if i am missing anything.
    implemented BADI code:
    method IF_EX_CRM_OPPORT_H_BADI~CRM_OPPORT_H_MERGE .
    Constant Declarations
      CONSTANTS :
        c_BOX      TYPE CRMC_OPPT_TYPE-TYPE             VALUE '0001'.
    Processing Logic
      IF IS_OPPORT_H_WRK-TYPE EQ c_BOX.
    Perform the calculations for the Expected Sales Volume field
        CS_OPPORT_H_BADI-EXP_REVENUE = IS_OPPORT_H_WRK-ZZNOOFUNITS *
                                       IS_OPPORT_H_WRK-ZZPRICE .
      ENDIF.
    endmethod.

  • Validation check for Cash Payments

    Hi Gurus,
    I need to put validation check for cash payment only - not more than Rs. 20000/- & no check for cash receipt.
    Please guide me what is reqd in - PREQUISITE & CHECK.
    Thanks,
    Vikas

    Hi Vikas,
    Try this, its working at my place.
    Prerequsite:
    BKPF-AWTYP = 'CAJO' AND BSEG-WRBTR > '20000.00' AND (
    BSEG-HKONT = 'XXXXXX' AND BSEG-BSCHL = '50' )
    Check:
    NOT SYST-UNAME IN <Set name@>
    @ being set created with Table-SYST and field name- UNAME
    Here the set was created to allow few user to post more than 20000/-
    Regards,
    Kiran

  • Withholding Tax Type for Payment Posting - Customer Accumulation -

    We are using the Withholding Tax Type for Payment Posting for customer with the accumulation per month and checking the minimum/maximum withholding tax base amount to calculate the tax.
    When we run the F110 transaction (Automatic Payment) the system creates a BIll of Exchange as Noted items and keep the accounting document created from the SD opened. After the customer pay the bill, the bank send a file informing the payment, then we clearing the accounting document. 
    But the system updated the WITH_ITEM Table and filled the fields AUGBL(Clearing Document) and AUGDT (Clearing Date) with the number and date of the BIll of Exchange that was created during the F110 running.
    I am confused about this situation because according the Withholding Tax Type for Payment Posting, the system only could updated the table  WITH_ITEM  with an accounting document. Noted items are not an accounting document.
    I would like to konw if the system is working properly, or can have something wrong in our configuracion?
    Thanks and regards
    Augusto

    Hi ,
    In some countries there is requirement that you need to deducted Withholding tax either at time of Invoice or payment which ever is ealier . so if you get Invoice first then you deduct the Withholding tax on Invoice and define the tax type and assign to company . but if you make paymnet first which we called advance or down payment then we configure Withholding tax on payment .
    If a vendor is liable for withholding tax on invoice it may be liable for payment as well if you think you may pay some advances .
    Please let me know if you need more information

  • Custom screen for Payment card information in Sales Order

    Hi All,
    I want to know if its possible to develop a custom screen to accept multiple payment card information in Additional data tab and save it in normal payment card information at the time of saving sales order. This sounds little
    Nilesh

    Hi Nilesh,
    Please, see SAP Note 914603 - FAQ/Collective note for payment cards (Consulting/modif). Here you have the relevant notes related with this topic, so, in point 4, the note says:
    4. Payment cards in the order (with billing plan)
    - 914811 FAQ: Authorisation Problems - Why?
    - 915193 No authorization in the order
    - 313416 Installment plan payment with payment cards
    - 361790 No Authorization or only pre-authorization executed
    - 701569 Incorrect value to be authorized in the order
    I hope this helps you
    Regards
    Eduardo

  • Custom Validator for a Custom Component

    I am having troubling passing values from my custom component
    to my custom validator (via a model). For some reason when the
    validate() function is called for the validator the value parameter
    passed to the validator is not showing the value from my custom
    component.
    I have attached some example code to illustrate.
    Here is my model:
    <mx:Model id="myModel">
    <root>
    <mod>
    <name>{myTextInput.text}</name>
    <date>{myDateField.selectedDate.getTime()}</date>
    <length>{myComp.getLength()}</length>
    </mod>
    </root>
    </mx:Model>
    When I update the value of myTextInput or myDateField the
    model (as sent to the validator) shows the correct value. When I
    change the value of myComp the change is not reflected.
    Is there a particular event (or something) being dispatched
    in the other components to cause the model to get the new value
    that I need to include in my custom component? I am pretty stuck
    and would appreciate any help.
    Many thanks

    Does myComp extend EventDispatcher (or any class which does)?
    You need to flag the getLength() function as bindable and to
    dispatch an event:
    [Bindable('getLengthChange")]
    public function getLength() : Number
    // does whatever it does
    When you update myComp have it dispatchEvent( new
    Event("getLengthChange") ) and I think it will work.

Maybe you are looking for