Perform custom validation on invoices created via iSupplier portal in R12

Hello,
It seems that since R12, invoices created on iSupplier portal are no longer loaded via Payables open interface tables (while ASBN's still are). It is nice that they are loaded immediately but now we do not have any way to perform custom validation that we normally do via AP_INTERFACE_WORKFLOW_PKG.do_custom_validation procedure.
Is there any way to modify how iSupplier portal inserts Invoice data into AP tables? In particular we would like to choose specific document category for certain suppliers.
Many thanks in advance,
Kamil

Hi Friends,
Apologies to have put this in SCM-Costing Category. I just posted the same thing in Financials Category.
Please ignore this, if found irrelevant under this category.
Thanks,
AAR

Similar Messages

  • How to get content of custom fields that were created via the EEWB for CIC?

    Hi
    Can anyone tell me how to get the content of custom fields that were created via the EEWB for CIC? This is required at a time when the data has not been written to the database.
    I would like to know how to read this data in the CRM_APPOINTMENT_MERGE method of CRM_APPOINTMENT_BADI.
    Thanks

    Hi Michael,
    I have a requirement to replicate custom setype data created for CRM sales order to R/3 sales order.These fields have been created at item level.
    Do you know the set of steps to achieve the same.
    Any help would be appreciated.
    Thanks,
    Chamu

  • Invoice created via SUS having error -The template item 1 does not exists

    Hi All,
    We are in SRM6.0 and in our PRD system, we have few invoices created through SUS showing error "The template item 1 does not exist.
    These invoices went into "To be corrected" status and when I hit check it gives me above error message. The message itself don't make much sense to me. Please note we can create new invoice in SRM manually and everything works fine.
    Appreciate any pointers.
    Thanks, Sachin

    We have analysed the issue and found we are getting this error because these invoices are missing with "BE_LOG_SYSTEM" field in table BBP_PDBEI and "BE_REFOBJ_TYPE" field is showing "BUS2201 instead of "BUS2012".
    Any feedback why we have these difference as compare to good invoices (created directly in SRM).
    Thanks, Sachin

  • Custom validation & IsNumber javascript

    Hi
    How can we add custom validation in the "Edit an element" on Portal9as
    By example to validate that the new image file name is unique
    How can we use the IsNumber javascript from the shared objects
    Can we add custom validation when we create new attribut and/or new element ?
    Thanks
    Jacques
    Message was edited by:
    user510720

    Hi Doug
    No offense taken.
    You can choose to agree or not. It really doesn't matter. And I'm not trying to be rude either. Only trying to state the facts as I know them to be.
    One way to easily have you see what I mean is by trying the following:
    Generate Captivate as a SWF with an HTML page and enable the Full Screen option.
    When the Full Screen option has been used, you get a second HTML page. When you run that second HTML page, you simply see a link that allows you to open the Captivate output in a larger windows devoid of toolbars and such.
    Now, close the browser and locate the Captivate output files on your hard drive. Open the HTML page that presents Captivate. You should see that the Exit button either fails with no message (Chrome or Firefox) OR presents a message that the page is trying to close (IE). The net result is that the page simply doesn't close.
    Now launch the page containing the link to open in full screen. You get just a link. You click the link and a new window appears. In that new window, you should be able to easily close the Captivate using the Exit button. This is because the Captivate output was opened in a child window. And from this, you should see that it's browser behavior that controls the ability to close. Captivate's doing all it can do by simply issuing a command to close the window. It's then up to the browser to allow that to happen. And it's all in the way the browser window was opened to begin with that controls it.
    I cannot speak to other applications and their ability or perceived ability to close windows. There are lots of variables and it's quite possible they were dealing with the windows in different ways.
    Keep in mind that if you are testing locally off your C drive, the exit button may also fail due to Flash Player Security Settings and you may need to add the testing folder to the list of trusted locations for the Flash Player.
    Cheers... Rick

  • ISupplier Portal - How to hide document types BPA and CPA

    Hi,
    I have already posted my question in SCM - Order Management forum.
    Not sure whether this is the right forum to put question related to iSupplier Portal. Please guide me if I am wrong.
    My requirement:
    In the iSupplier home page's orders tab, Supplier can see all the Purchase documents - Standard Purchase Orders, Blanket Purchase Agreements (BPA), Contract Purchase Agreements (CPA), Blanket Releases.
    Business has a requirement where they dont want to display BPA and CPA to the Supplier; rest all document types should be visible via iSupplier Portal. We need to control the visibility of purchase documents on the whole iSuppleir portal not only in the iSupplier home page's Orders tab.
    1. Can we restrict the supplier users on document types?
    2. We would like to know if there are any Securing Attributes to achive the requirement. Or do we need to create custom Securing Attributes to achive the requirement.
    Any suggestion or hint will be appreciated.
    -Anand

    Keeping this question in correct forum.
    Procurement - Procurement
    -Anand

  • Getting error while creating Customer Invoice Request via Web Service

    Hello,
    I am trying to create customer invoice request via web service.
    But I am getting the error message "No scheme configuration found for scheme '&CIRHP&' " continuously.
    It is working fine in reference tenant. But using the same payload its giving error in another tenant.
    Can you please tell me what is the root cause for this error?
    I have included the payload used in the prototype tenant(Payload.txt) and screen shot of the error.
    Thanks and Regards,
    Sriram

    Hi,
    Check the WSDL file is wellformed or not..You can test it using tools like XML Spy.
    Might be the attribute tag is missing something..If WSDL file is correct then, create proxy by selecting the WSDL file from local machine..
    Regards,
    Sunitha

  • How do you create custom validation rule in WS 9.2?!?!?!

    Hello,
    I am using Workshop 9.2. I created a page flow, and want to do some form validations.
    I saw the simple 9.2 example, but it is only good for very basic validation, what if you have to validate the form field against a database, must you write a custom validation rule? HOW would you do this in 9.2 so that will still stay with the workshop/netui paradigm?
    http://beehive.apache.org/docs/1.0.1/netui/validation.html
    Keith

    Hi Keith,
    Staying within the declarative validation framework the answer is probably that you do need to write a custom validation rule and refer to it using the @Jpf.ValidateCustomRule annotation.
    The NetUI Annotation Reference shows how the Struts validations are supported via the framework.
    http://beehive.apache.org/docs/1.0.1/netui/annotations/pageflow_annotations.html
    Specifically, if you look through the @Jpf.Validate* annotations, while most of these are "canned" common validations, there are a few that are more open-ended, such as @Jpf.ValidateMask and @Jpf.ValidateValidWhen.
    Those two let you write the validation logic in the annotation while @Jpf.ValidateCustomeRule only refers to a custom rule in the struts validator file.
    In any case, there is a validation rule editor which should help in authoring and managing the annotations. In the Page Flow Explorer or Page Flow Editor just right click on the action or form bean bean of interest and choose Validation Rules and the appropriate scope.
    I hope that's of some use,
    Troy

  • ISupplier - New feature - R12 - Create Non PO Invoices

    Hi ,
    As in R12 , i-Supplier portal introduces new functionality to create invoices for which PO is also not created.
    I 'm trying to create invoice without PO ,iSupplier->Finance->Create invoice without PO
    When customer information is entered its giving error
    "The Customer Contact information is missing , incorrect , we are unable to determine a unique requester ..."
    also
    Failed to create invoice . A fatal error occured while committing this transaction to the database .."
    Kindly help , what needs to be put in customer info- first name , email and last name
    Regards,
    Ashish

    Navigate to Legal Entity Manager Responsibility.
    Find your Legal Entity and click on Contact Information Tab.
    On the area Contacts create your contact (First name,Last Name, Email)
    After that your problem is solved by entering manually the email address into the customer information area in iSupplier Portal.
    I cannot understand why the system does not fill it automatically but if you enter the correct email address you can create the invoice.
    Regards

  • How to reverse a manual Journal Entry Voucher created via Custom BO

    Hi All,
    I have created a custom BO for triggering a Journal Entry Voucher for each and every Customer Invoice created in the system.Normally all Customer Invoice will be having a corresponding Journal Entry document ,apart from the default JE document I have created an additional Journal Entry for each CI through a Custom BO because of the Business requirement.I am using the default JE as the source document for the newly created JE for the same CI.
    If a custom invoice gets cancelled only the default JE will get reversed.How to reverse the newly created JE too.I there a way to carry out this reversal process through PDI using ABSL.
    Please find below the code for details.
    Custom BO contains these lines.
    import ABSL;
    import AP.FinancialAccounting.Global;
    import AP.CustomerInvoicing.Global;
    var query;
    var selparam;
    var resultset;
    var query1;
    var selparam1;
    var resultset1;
    var query2;
    var selparam2;
    var resultset2;
    query = AccountingDocument.QueryByElements;
    selparam = query.CreateSelectionParams();
    selparam.Add(query.UUID.content, "I", "EQ", this.ZJEUUID.content);
    resultset = query.Execute(selparam).GetFirst();
    selparam.Clear();
    if (resultset.IsSet())
        var CI_ID = resultset.OriginalEntryDocumentContainingObjectReference.FormattedID;
        if (!CI_ID.IsInitial())
            query1 = CustomerInvoice.QueryByElements;
            selparam1 = query1.CreateSelectionParams();
            selparam1.Add(query1.ID.content, "I", "EQ", CI_ID);
            resultset1 = query1.Execute(selparam1).GetFirst();
            selparam1.Clear();
        if (resultset1.IsSet())
            foreach (var itemIns in resultset1.Item)
                var qty = itemIns.Quantity.content;
                var pid = itemIns.ItemProduct.ProductKey.ProductID.content;
                query2 = ZProductTax.QueryByElements;
                selparam2 = query2.CreateSelectionParams();
                selparam2.Add(query2.ZprdID.content, "I", "EQ", pid);
                resultset2 = query2.Execute(selparam2).GetFirst();
                selparam2.Clear();
                if(resultset2.IsSet())
                this.ZEnvTax.content = this.ZEnvTax.content + (qty * resultset2.ZtaxPrice.content);
                this.ZEnvTax.currencyCode = resultset2.ZtaxPrice.currencyCode;
                this.InvID = resultset.OriginalEntryDocumentContainingObjectReference.FormattedID;
    //Manual creating of Journal Voucher //
    var newJV = AccountingEntry.Create();
    newJV.CompanyID = resultset.Company.ID;
    newJV.Note.content = resultset.Note.content;
    newJV.AccountingDocumentTypeCode = "00047";
    newJV.BusinessTransactionTypeCode = "601";
    newJV.TransactionCurrencyCode = resultset.Item.GetFirst().BusinessTransactionCurrencyAmount.currencyCode;
    newJV.AccountingClosingStepCode = resultset.AccountingClosingStepCode;
    newJV.ZcustomerID.content = resultset1.BuyerParty.PartyKey.PartyID.content;
    newJV.PostingDate = resultset.PostingDate;
    var sob = newJV.SetOfBooks.Create();
    sob.SetOfBooksID.content = resultset.SetOfBooksID.content;
    //Making the Credit account of Original JE as Debit account in this JV//
    var debitAccIns = resultset.Item.Where(c => c.DebitCreditCode == "2").GetFirst();
    var debitAcc = debitAccIns.ChartOfAccountsItemCode;
    var newJVGL = newJV.Item.Create();
    newJVGL.DebitCreditCode = "1";
    newJVGL.ChartOfAccountsItemCode.content = debitAcc.content;
    newJVGL.TransactionCurrencyAmount.content = this.ZEnvTax.content;
    newJVGL.TransactionCurrencyAmount.currencyCode = this.ZEnvTax.currencyCode;
    // Posting the debited account to a new GL account//
    var newJVGL1 = newJV.Item.Create();
    newJVGL1.DebitCreditCode = "2";      
    newJVGL1.ChartOfAccountsItemCode.content = "101000";
    newJVGL1.TransactionCurrencyAmount.content = this.ZEnvTax.content;
    newJVGL1.TransactionCurrencyAmount.currencyCode = this.ZEnvTax.currencyCode;
    Please respond ASAP
    Regards,
    Navin Kandasamy

    Hello Navin,
    There is an action "Cancel" in the Accounting Entry BO. Try calling that action from ABSL whenever the CI is canceled. But to do that you should have the reference of the created JEV through code.
    Hope this helps.
    Thanks & Regards,
    Meghna

  • Creating a Custom Validator

    I follow the step in http://www.netbeans.org/kb/articles/jAstrologer-validate.html, I have a problem on Creating a Custom Validator, I always get error on Netbean , How the EmailValidator implements Validator in here , what concept I miss
    package Hell.validator;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    import javax.faces.application.FacesMessage;
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    import javax.faces.validator.Validator;
    import javax.faces.validator.ValidatorException;
    * @author root
    public class EmailValidator implements Validator {
      public void validate(FacesContext facesContext,
                UIComponent uIComponent, Object value) throws ValidatorException {
            //Get the component's contents and cast it to a String
             String enteredEmail = (String)value;
            //Set the email pattern string
            Pattern p = Pattern.compile(".+@.+\\.[a-z]+");
            //Match the given string with the pattern
            Matcher m = p.matcher(enteredEmail);
            //Check whether match is found
            boolean matchFound = m.matches();
            if (!matchFound) {
                FacesMessage message = new FacesMessage();
                message.setDetail("Email not valid - The email must be in the format [email protected]");
                message.setSummary("Email not valid - The email must be in the format [email protected]");
                message.setSeverity(FacesMessage.SEVERITY_ERROR);
                throw new ValidatorException(message);
    }

    Darryl.Burke wrote:
    Never heard of that error.Neither do I.

  • Custom Validator Types in BC4J

    HI,
    I am having a few problems implementing a custom validator type. Through following the documentation, I have created a new type via the registered rules tabs attached to my business components project. The created class extends oracle.jbo.server.rules.JboCompare Validator.
    Once registered, the class appears in the validation tab of the edit Entity wizard as expected.
    However, when I try to enforce a validation rule based on the created bean, I get the following :
    Cannot create an instance of the validation rule bean or editor.
    Validation rule class may not be in classpath.
    Exception oracle.jbo.dt.object.JboException(ClassNotFoundException)
    The class created is definately in the classpath for my project. I have also tried creating the class inititally, and then adding the class to the registered rules, as opposed to creating a new class via registered rules.
    Is this a bug, or have I missed something?
    Thanks,
    DB
    null

    Sorry for the delay in response on this -- it took me some time to track down the problem.
    When you create a customer validator, the class is added to your current project. However, the IDE doesn't include the myclasses directory as part of it's class path.
    The workaround is to edit the [JDeveloper_home]\bin\jdeveloper.ini, and add your current projects class output path to the IDEClassPath (e.g. IDEClassPath=..\lib\jdeveloper_intl.zip;...;..\myclasses)
    Thanks for the info. I have logged this as a bug, so hopefully we can resolve it in a future release.
    -- Brian

  • Multiple Shipping notifications (Inb.Dlv) created via message type DESADV

    Hello All,
    I'm working on implementing the below SAP Standard process for my client. Version is SAP 4.7. The below process has to be implemented for different legal entities working on Same SAP environment.
    PO -> SO (Created via IDoc) -> Outbound Delivery -> Inbound Delivery (Shipping Notification) -> Invoice -> Invoice reciept.
    Most of the process are working, but facing few challenges while creating a shipping notification via message type DESADV and Basic type DESADV01 genereated out of Output type LAVA from Outbound delivery.
    I'm using 2 IDoc types to create Shipping notification via Outbound delivery and defined as below
    Outbound Process: Message type DESADV and Basic type DESADV01 with Process code SD05 for Customer (KU)
    Inbound Process: Message type DESADV and Process code DESA for Logical system (LS)
    I'm facing the following issues with respect to above process
    01) We need to update Batch Details like batch number, Date of Production, SLED/BBD in Shipping notification (Inb. Dlv) as Batches Instead of vendor batch
    02) When Outbound delivery has multiple line items, it is creating Multiple Shipping notifications (Shipping notifications for each line item). PO has
    As per the the threads posted here, I understand that for 01) We need to modify the Outbound IDoc FM "IDOC_OUTPUT_DESADV01" & Inbound IDoc FM "IDOC_INPUT_DESADV". But any idea, which Enhancements i have to use to fill the data?
    Also on point 02) i think, it should be a SAP standard to create a single Shipping notifications for all line items in the outbound delivery instead of each for line item. But in case if it is not a standard process, can any one tell me which user exits / enhancements to use to achieve the desired functionality.
    Appreicate your early response
    Thanks in advance
    Regards,
    Pradeep

    Hi,
    Why have you pasted Deepak Kumar's program into this forum?
    Regards,
    Nick

  • Custom validation rules

    Using adf/bc with jdev 10.1.3.3. I've created a custom validation rule class according to the instructions in the adf guide. In that class, I've defined just one property, along with its getters/setters. I've registered my rule in the business component project and associated the rule to an entity attribute via the entity object editor. My problem is that I don't see any way for me to set the property/value of the property that's defined in the validation rule class. For example, in the SRDemo app, in the entity editor for ServiceRequest, if you highlight Validation in the left pane then select the AttributeMustExistInViewRowRule for the Status attribute and click the Edit button, you can set various property values that have been defined in the validation rule class. These values appear to then be updated to that entity's xml file. When I'm in my entity object editor and i've assigned a validation rule to an attribute, I can type in the error message text in the Edit Validation Rule dialog, but it says there are no properties to edit! I guess I haven't wired something together quite right? Note, I have not created the customizer and bean info classes for the design time aspect of this stuff. I assume that you do not absolutely need these classes to create and work with a customr validation rule? Anyone know what I'm doing wrong?

    ok, i figured out the problem. The property/value fields in the Edit Validation Rule dialog will not appear until you've actually compiled the custom validation rule class. I had tried to create the validation rule class, register it with the bc project, and assign it to an entity attribute all without first compiling the class. I stumbled upon this 'fix' in jdev's help, which leads me to another question. For the help topic entitled Creating Custom Declarative Validation Rules for Oracle ADF Business Components, the instructions have you create a class that implements JbiValidator and provide implementation for the method vetoableChange, from which you typically call validateValue. The adf guide's example has the custom validation rule class that extends AbstractValidator and implements JboValidatorInterface. In this example, you provide implementation for the validate method. What's the difference between these two approaches and when should I use one over the other? Thanks.

  • SelectBooleanCheckbox required=true not working - need custom validator?

    To All:
    Searched the web (and this forum) and saw only one post related to this issue and it concluded that a custom validator was necessary.
    I want to have the required attribute make the selectBooleanCheckbox actually required when the form is submitted.
    1. Is it true that I have to wrtie a custom validator? It seems by now MyFaces or somewhere out there a validator must exist
    OR
    2. Does someone know how to make a checkbox required in JSF?
    Many Thanks!
    Matt

    The problem with a selectBooleanCheckbox is that it will ALWAYS return a value. Thus, if you set it to required, it doesn't matter if it's checked or unchecked, it has returned a value. It would incorrect to assume that setting the required flag to true would mean the checkbox must be checked. What if it's required to be unchecked?
    Anyways, the bottom line is that you will have to create a custom validator to ensure that the checkbox is checked (or unchecked, depending on what your requirements might be). However, this is simpler than you might be thinking. Use the validator attribute and a method in your backing bean to perform the check.
    Like this:
    <h:selectBooleanCheckbox id="myRequiredCheckbox"
              value="#{backBean.requiredBox}" validator="#{backBean.checked}" />backBean will have something like the following validator method (this one throws an error if the box isn't checked):
         public void checked(FacesContext context, UIComponent component,
              Object value) throws ValidatorException {
              if (context == null || component == null || value == null)
                   throw new NullPointerException();
              Boolean isChecked = (Boolean)value;
              if (!isChecked .booleanValue()) {
                   FacesMessage msg = new FacesMessage("You must check the box before proceeding.");
                   msg.setSeverity(FacesMessage.SEVERITY_ERROR);
                   throw new ValidatorException(msg);
         }See, pretty easy eh?
    CowKing

  • Problem with custom validated data types using domain on 11g

    Hi,
    I ' m on a migration process from 10 to 11 and I notice that a custom domain didn't work correctly anymore
    to be more specific every time that I was submiting a page a was getting an error cannot convert from myclass to oracle.jbo.domain.String
    I search the forum and I saw a similar problem
    Cannot convert type class java.lang.String to class oracle.jbo.domain.Clob
    at which Frank says that it is a known bug and suggests a work around.
    I use the workaround and it worked but some more issues came up:
    1. If the validation fails I get the error that I throw at the validate method not in a popup with just my message
    but in the whole window with the whole error stack, meaning that my custom validation is not handled like native ADF validation errors by
    the framework (at 10.1.3.4 worked OK)
    2 If i dont give a value at the attribute in the validation phase mdata variable is not null but is length is zero (at 10.1.3.4 its value was null)
    public class AFM implements DomainInterface, Serializable {
    public AFM(String val) {
    mData = new String(val);
    validate();
    private String mData;
    protected void validate() {
    // ### Implement custom domain validation logic here. ###
    mData==null // returns false
    mData.length()==0 // returns true
    3. Can i force validation only for new or updated values? I saw that the validation process is taking place every time a row is fetched.
    This is not only a performance issue, the bigger problem is that if a fetched from the DB value fails the validation an error is return but the
    user cannot change the value to correct it.
    TIA
    Tilemahos

    since i don't get any answer I wonder if i should have use a more provocative title like
    "custom domains in 11g don't work"
    is it true?
    Tilemahos

Maybe you are looking for