Validation documentation

Dear Expert Consultants,
                                    Please let me know the validation means,and how it works, if u have the documentation of that, please let me know full configuration steps.
In Advance thanks,
Cheers,
Chinni

Hi,
Validation in Accounting Documents
In this activity, you define additional checks for accounting documents in the form of validations for each of your company codes. You can assign a validation for the document header and one for the line items to each company code. The assigned validations are valid both for manual entry of documents as well as for the automatic creation of documents (for example, payment program).
For every company code to which you want to assign a validation, you store the following information:
Validation callup point
Here you enter key "1" for "Check document header" and key "2" for "Check line item".
Validation
Here there are the names of validations which already exist which you can display or change. A new validation must firstly be created by you. Afterwards the name appears in the overview.
Description of the validation
Activation level
Here you enter key "0" for inactive, key "1" for active and key "2" for active except for batch input.
Example
For example, you can use the validation for the following situation: You want to make sure that postings to the expense account "Telephone costs" can only be posted to the services cost center "Telephone". You can carry out the checks needed for this by using the validation.
Activities
If you want to define new validations, go through the following activities:
1. Place the cursor on a line in which company code and callup point are entered (you can enter company code and validation callup point via Edit -> New entries).
2. Afterwards select Environment -> Validation. You reach the first screen for maintaining a validation.
3. Select Validation -> Create. Enter the required name. After pressing ENTER, you come to an overview screen of the validation activities belonging to the validation.
4. Select Insert entry. On the next screen you can describe a new validation activity. You describe the check requirements and the actual check for this. The syntax to be used for this is described in the online help (F1 help) for the input fields for Requirements and Check. You can also define a message (warning or error message) which is sent if the check is not successful.
If you want to change validations which already exist, proceed as follows:
1. Place the cursor on an already existing entry and select Goto -> Validation.
2. On the next screen select Validation -> Display or Validation -> Change. After pressing ENTER, you get to the overview screen of the validation activities belonging to the validation. If you select Insert entry, you can carry out changes if necessary.
Regards,
Eli

Similar Messages

  • Validation of fields

    I have four mandatury fields in a page and one submit button.Among that one was read only field and another one  is drop down list.If all four fields are populated then only save button should be enabled,otherwise it should be disabled.
    Can any one help me this?
    Here is my code...
    private  if (customercode.text=="" ){Csave.enabled=
    false; return;}if(customername.text==""){
    Csave.enabled=
    false; 
     return;}
    function validation():void{ if(geo.text==""){
    Csave.enabled=
    false; return;}
     if(cmblistunit.selectedIndex==-1){
    Csave.enabled=
    false;Alert.show(
    "Error:Customer type cannot be null.Please select a valid Customer Type!"); return;
    Csave.enabled=true;}
    If geo field(read only) value is selected last,then save button is not enabling.
    Message was edited by: sudheerCh

    The property represents the "property path" from the object (the formulation spec data object, in this case) that you are trying to validate to the property you want to be required.
    To get to the reason for change, you first have to access the SpecSummary property of the formulation spec, then the SpecSummary's FreeTextReasonForChange property, and then the FreeTextReasonForChange's ReasonForChange property. So your property should be "SpecSummary.FreeTextReasonForChange.ReasonForChange"
    If you are using the DatabaseAndObjectSchema document, you can traverse these property paths, but just remember to use the property's name, not its type, in the property path.
    You can learn more about the DatabaseAndObjectSchema document in the Extensibility Guide's Developer Information section in the Appendix, and in the Appendix of the ValidationTraining powerpoint presentation, under ReferenceImplementations\Validation\Documentation folder.
    Edited by: Ron M on Jun 20, 2012 4:19 PM

  • Why this code is not working??? java script

    gen_validatorv2.js
         JavaScript Form Validator
    Version 2.0.2
         Copyright 2003 JavaScript-coder.com. All rights reserved.
         You use this script in your Web pages, provided these opening credit
    lines are kept intact.
         The Form validation script is distributed free from JavaScript-Coder.com
         You may please add a link to JavaScript-Coder.com,
         making it easy for others to find this script.
         Checkout the Give a link and Get a link page:
         http://www.javascript-coder.com/links/how-to-link.php
    You may not reprint or redistribute this code without permission from
    JavaScript-Coder.com.
         JavaScript Coder
         It precisely codes what you imagine!
         Grab your copy here:
              http://www.javascript-coder.com/
    function Validator(frmname)
    this.formobj=document.forms[frmname];
         if(!this.formobj)
         alert("BUG: couldnot get Form object "+frmname);
              return;
         if(this.formobj.onsubmit)
         this.formobj.old_onsubmit = this.formobj.onsubmit;
         this.formobj.onsubmit=null;
         else
         this.formobj.old_onsubmit = null;
         this.formobj.onsubmit=form_submit_handler;
         this.addValidation = add_validation;
         this.setAddnlValidationFunction=set_addnl_vfunction;
         this.clearAllValidations = clear_all_validations;
    function set_addnl_vfunction(functionname)
    this.formobj.addnlvalidation = functionname;
    function clear_all_validations()
         for(var itr=0;itr < this.formobj.elements.length;itr++)
              this.formobj.elements[itr].validationset = null;
    function form_submit_handler()
         for(var itr=0;itr < this.elements.length;itr++)
              if(this.elements[itr].validationset &&
         !this.elements[itr].validationset.validate())
              return false;
         if(this.addnlvalidation)
         str =" var ret = "+this.addnlvalidation+"()";
         eval(str);
    if(!ret) return ret;
         return true;
    function add_validation(itemname,descriptor,errstr)
    if(!this.formobj)
         alert("BUG: the form object is not set properly");
              return;
         }//if
         var itemobj = this.formobj[itemname];
    if(!itemobj)
         alert("BUG: Couldnot get the input object named: "+itemname);
              return;
         if(!itemobj.validationset)
         itemobj.validationset = new ValidationSet(itemobj);
    itemobj.validationset.add(descriptor,errstr);
    function ValidationDesc(inputitem,desc,error)
    this.desc=desc;
         this.error=error;
         this.itemobj = inputitem;
         this.validate=vdesc_validate;
    function vdesc_validate()
    if(!V2validateData(this.desc,this.itemobj,this.error))
    this.itemobj.focus();
              return false;
    return true;
    function ValidationSet(inputitem)
    this.vSet=new Array();
         this.add= add_validationdesc;
         this.validate= vset_validate;
         this.itemobj = inputitem;
    function add_validationdesc(desc,error)
    this.vSet[this.vSet.length]=
         new ValidationDesc(this.itemobj,desc,error);
    function vset_validate()
    for(var itr=0;itr<this.vSet.length;itr++)
         if(!this.vSet[itr].validate())
              return false;
         return true;
    function validateEmailv2(email)
    // a very simple email validation checking.
    // you can add more complex email checking if it helps
    if(email.length <= 0)
         return true;
    var splitted = email.match("^(.+)@(.+)$");
    if(splitted == null) return false;
    if(splitted[1] != null )
    var regexp_user=/^\"?[\w-_\.]*\"?$/;
    if(splitted[1].match(regexp_user) == null) return false;
    if(splitted[2] != null)
    var regexp_domain=/^[\w-\.]*\.[A-Za-z]{2,4}$/;
    if(splitted[2].match(regexp_domain) == null)
         var regexp_ip =/^\[\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\]$/;
         if(splitted[2].match(regexp_ip) == null) return false;
    }// if
    return true;
    return false;
    function V2validateData(strValidateStr,objValue,strError)
    var epos = strValidateStr.search("=");
    var command = "";
    var cmdvalue = "";
    if(epos >= 0)
    command = strValidateStr.substring(0,epos);
    cmdvalue = strValidateStr.substr(epos+1);
    else
    command = strValidateStr;
    switch(command)
    case "req":
    case "required":
    if(eval(objValue.value.length) == 0)
    if(!strError || strError.length ==0)
    strError = objValue.name + " : Required Field";
    }//if
    alert(strError);
    return false;
    }//if
    break;
    }//case required
    case "maxlength":
    case "maxlen":
    if(eval(objValue.value.length) > eval(cmdvalue))
    if(!strError || strError.length ==0)
    strError = objValue.name + " : "+cmdvalue+" characters maximum ";
    }//if
    alert(strError + "\n[Current length = " + objValue.value.length + " ]");
    return false;
    }//if
    break;
    }//case maxlen
    case "minlength":
    case "minlen":
    if(eval(objValue.value.length) < eval(cmdvalue))
    if(!strError || strError.length ==0)
    strError = objValue.name + " : " + cmdvalue + " characters minimum ";
    }//if
    alert(strError + "\n[Current length = " + objValue.value.length + " ]");
    return false;
    }//if
    break;
    }//case minlen
    case "alnum":
    case "alphanumeric":
    var charpos = objValue.value.search("[^A-Za-z0-9]");
    if(objValue.value.length > 0 && charpos >= 0)
    if(!strError || strError.length ==0)
    strError = objValue.name+": Only alpha-numeric characters allowed ";
    }//if
    alert(strError + "\n [Error character position " + eval(charpos+1)+"]");
    return false;
    }//if
    break;
    }//case alphanumeric
    case "num":
    case "numeric":
    var charpos = objValue.value.search("[^0-9]");
    if(objValue.value.length > 0 && charpos >= 0)
    if(!strError || strError.length ==0)
    strError = objValue.name+": Only digits allowed ";
    }//if
    alert(strError + "\n [Error character position " + eval(charpos+1)+"]");
    return false;
    }//if
    break;
    }//numeric
    case "alphabetic":
    case "alpha":
    var charpos = objValue.value.search("[^A-Za-z]");
    if(objValue.value.length > 0 && charpos >= 0)
    if(!strError || strError.length ==0)
    strError = objValue.name+": Only alphabetic characters allowed ";
    }//if
    alert(strError + "\n [Error character position " + eval(charpos+1)+"]");
    return false;
    }//if
    break;
    }//alpha
              case "alnumhyphen":
    var charpos = objValue.value.search("[^A-Za-z0-9\-_]");
    if(objValue.value.length > 0 && charpos >= 0)
    if(!strError || strError.length ==0)
    strError = objValue.name+": characters allowed are A-Z,a-z,0-9,- and _";
    }//if
    alert(strError + "\n [Error character position " + eval(charpos+1)+"]");
    return false;
    }//if                
                   break;
    case "email":
    if(!validateEmailv2(objValue.value))
    if(!strError || strError.length ==0)
    strError = objValue.name+": Enter a valid Email address ";
    }//if
    alert(strError);
    return false;
    }//if
    break;
    }//case email
    case "lt":
    case "lessthan":
    if(isNaN(objValue.value))
    alert(objValue.name+": Should be a number ");
    return false;
    }//if
    if(eval(objValue.value) >= eval(cmdvalue))
    if(!strError || strError.length ==0)
    strError = objValue.name + " : value should be less than "+ cmdvalue;
    }//if
    alert(strError);
    return false;
    }//if
    break;
    }//case lessthan
    case "gt":
    case "greaterthan":
    if(isNaN(objValue.value))
    alert(objValue.name+": Should be a number ");
    return false;
    }//if
    if(eval(objValue.value) <= eval(cmdvalue))
    if(!strError || strError.length ==0)
    strError = objValue.name + " : value should be greater than "+ cmdvalue;
    }//if
    alert(strError);
    return false;
    }//if
    break;
    }//case greaterthan
    case "regexp":
                   if(objValue.value.length > 0)
         if(!objValue.value.match(cmdvalue))
         if(!strError || strError.length ==0)
         strError = objValue.name+": Invalid characters found ";
         }//if
         alert(strError);
         return false;
         }//if
    break;
    }//case regexp
    case "dontselect":
    if(objValue.selectedIndex == null)
    alert("BUG: dontselect command for non-select Item");
    return false;
    if(objValue.selectedIndex == eval(cmdvalue))
    if(!strError || strError.length ==0)
    strError = objValue.name+": Please Select one option ";
    }//if
    alert(strError);
    return false;
    break;
    }//case dontselect
    }//switch
    return true;
         Copyright 2003 JavaScript-coder.com. All rights reserved.
    example.html
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Example for Validator</title>
    <script language="JavaScript" src="gen_validatorv2.js" type="text/javascript"></script>
    </head>
    <body>
    <form action="" name="myform" >
    <table cellspacing="2" cellpadding="2" border="0">
    <tr>
    <td align="right">First Name</td>
    <td><input type="text" name="FirstName"></td>
    </tr>
    <tr>
    <td align="right">Last Name</td>
    <td><input type="text" name="LastName"></td>
    </tr>
    <tr>
    <td align="right">EMail</td>
    <td><input type="text" name="Email"></td>
    </tr>
    <tr>
    <td align="right">Phone</td>
    <td><input type="text" name="Phone"></td>
    </tr>
    <tr>
    <td align="right">Address</td>
    <td><textarea cols="20" rows="5" name="Address"></textarea></td>
    </tr>
    <tr>
    <td align="right">Country</td>
    <td>
         <SELECT name="Country">
              <option value="" selected>[choose yours]
              <option value="008">Albania
              <option value="012">Algeria
              <option value="016">American Samoa
              <option value="020">Andorra
              <option value="024">Angola
              <option value="660">Anguilla
              <option value="010">Antarctica
              <option value="028">Antigua And Barbuda
              <option value="032">Argentina
              <option value="051">Armenia
              <option value="533">Aruba     
         </SELECT>
         </td>
    </tr>
    <tr>
    <td align="right"></td>
    <td><input type="submit" value="Submit"></td>
    </tr>
    </table>
    </form>
    <script language="JavaScript" type="text/javascript">
    //You should create the validator only after the definition of the HTML form
    var frmvalidator = new Validator("myform");
    frmvalidator.addValidation("FirstName","req","Please enter your First Name");
    frmvalidator.addValidation("FirstName","maxlen=20",
         "Max length for FirstName is 20");
    frmvalidator.addValidation("FirstName","alpha");
    frmvalidator.addValidation("LastName","req");
    frmvalidator.addValidation("LastName","maxlen=20");
    frmvalidator.addValidation("Email","maxlen=50");
    frmvalidator.addValidation("Email","req");
    frmvalidator.addValidation("Email","email");
    frmvalidator.addValidation("Phone","maxlen=50");
    frmvalidator.addValidation("Phone","numeric");
    frmvalidator.addValidation("Address","maxlen=50");
    frmvalidator.addValidation("Country","dontselect=0");
    </script>
    </body>
    </html>
    documentation.html
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
         <title>JavaScript Form Validator Documentation</title>
    <Style>
    BODY, P,TD{ font-family: Arial,Verdana,Helvetica, sans-serif; font-size: 10pt }
    H1{ font-family: Arial,Verdana,Helvetica, sans-serif; font-size: 18pt; color : #000066}
    H3{ font-family: Arial,Verdana,Helvetica, sans-serif; font-size: 12pt; color : #000066 }
    A{font-family: Arial,Verdana,Helvetica, sans-serif;}
    B {     font-family : Arial, Helvetica, sans-serif;     font-size : 12px;     font-weight : bold;}
    CODE {font-family : Courier,monospace;font-size: 10pt;color : #800000;}
    CODE.htm {font-family : "Courier New", Courier, monospace;     font-size : x-small;     color : #000080;}
    </Style>
    </head>
    <body>
    <center>
    <table cellspacing="2" cellpadding="2" border="0" width="600">
    <tr><td>
         <h1>JavaScript Form Validations Made Easy!</h1>
         <h3>Documentation for JavaScript Form Validator</h3>
         <HR size=1>
         <P>
         The Form validation script is distributed free from JavaScript-Coder.com<br>
         You can use the script in your web pages for free.
         </P>
         <P>
         You may please add a link to JavaScript-Coder.com,
         making it easy for others to find this script.<br>
         Checkout the <A href="http://www.javascript-coder.com/links/how-to-link.php
         target="_blank">Give a Link & Get a Link!</A> page.
         </P>
         <P>
         <B>JavaScript Coder</B><br>
         It precisely codes what you imagine!<br>
         Grab your copy here: http://www.javascript-coder.com
         </P>
         <HR size=1>
         <P>
         Using client side JavaScript is an efficient way to validate the user input
         in web applications. When there are many fields in the form, the JavaScript
         validation becomes too complex.
         </P>
         <P>
    The JavaScript class presented here makes the form validations many times easier.
         </P>
         <P>
         The idea is to create a set of "validation descriptors" associated with each element
         in a form. The "validation descriptor" is nothing but a string specifying the type of
         validation to be performed.
         </P>
         <P>
         Each field in the form can have 0, 1, or more validations. For example, the input should
         not be empty, should be less than 25 chars, should be alpha-numeric, etc
         </P>
         You can associate a set of validation descriptors for each input field in the form.
         <a name="3"></a>
         <h3>Using The Script</h3>
         1.Include gen_validatorv2.js in your html file just before closing the HEAD tag<br><br>
         <CODE>
         <script language="JavaScript" src="gen_validatorv2.js" type="text/javascript"></script><BR>
         </head><BR>
         </CODE><br>
         2. Just after defining your form,
         Create a form validator object passing the name of the form<br><br>
         <CODE class='htm'>
          <FORM name='myform' action=""><BR>
          <!----Your input fields go here --><BR>
          </FORM><BR>
         </CODE><CODE>
          <SCRIPT language="JavaScript"><BR>
          var frmvalidator  = new Validator("myform");<BR>
         </CODE>
         <br>
         <br>
         3. Now add the validations required<br><br>
         <CODE>
              frmvalidator.addValidation("FirstName","alpha");
         </CODE><br><br>
         the first argument is the name of the field and the second argument is the
         validation descriptor, which specifies the type of validation to be performed.<br>
         You can add any number of validations.The list of validation descriptors are provided
         at the end of the documentation.<br>
         The optional third argument is the error string to be displayed if the validation
         fails.<br>
         <br>
         <CODE>
              frmvalidator.addValidation("FirstName","alpha");<br>
              frmvalidator.addValidation("FirstName","req","Please enter your First Name");<br>
              frmvalidator.addValidation("FirstName","maxlen=20",<br>
                   "Max length for FirstName is 20");          <br>
         </CODE>     <br>
         <br>
         4. Similarly, add validations for the fields where validation is required.<br>
         That's it! You are ready to go.
         <A name="3"></A>
         <h3>Example</h3>
         The example below will make the idea clearer<br>
         <CODE class="htm">
                   <form action="" name="myform" ><BR>
                   <table cellspacing="2" cellpadding="2" border="0"><BR>
                   <tr><BR>
                     <td align="right">First Name</td><BR>
                     <td><input type="text" name="FirstName"></td><BR>
                   </tr><BR>
                   <tr><BR>
                     <td align="right">Last Name</td><BR>
                     <td><input type="text" name="LastName"></td><BR>
                   </tr><BR>
                   <tr><BR>
                     <td align="right">EMail</td><BR>
                     <td><input type="text" name="Email"></td><BR>
                   </tr><BR>
                   <tr><BR>
                     <td align="right">Phone</td><BR>
                     <td><input type="text" name="Phone"></td><BR>
                   </tr><BR>
                   <tr><BR>
                     <td align="right">Address</td><BR>
                     <td><textarea cols="20" rows="5" name="Address"></textarea></td><BR>
                   </tr><BR>
                   <tr><BR>
                     <td align="right">Country</td><BR>
                     <td><BR>
                          <SELECT name="Country"><BR>
                             <option value="" selected>[choose yours]<BR>
                             <option value="008">Albania<BR>
                             <option value="012">Algeria<BR>
                             <option value="016">American Samoa<BR>
                             <option value="020">Andorra<BR>
                             <option value="024">Angola<BR>
                             <option value="660">Anguilla<BR>
                             <option value="010">Antarctica<BR>
                             <option value="028">Antigua And Barbuda<BR>
                             <option value="032">Argentina<BR>
                             <option value="051">Armenia<BR>
                             <option value="533">Aruba     <BR>
                         </SELECT><BR>
                        </td><BR>
                   </tr><BR>
                   <tr><BR>
                     <td align="right"></td><BR>
                     <td><input type="submit" value="Submit"></td><BR>
                   </tr><BR>
                   </table><BR>
                   </form><BR>
                   </CODE><CODE>
                   <script language="JavaScript" type="text/javascript"><BR>
                    var frmvalidator = new Validator("myform");<BR>
                    frmvalidator.addValidation("FirstName","req","Please enter your First Name");<BR>
                    frmvalidator.addValidation("FirstName","maxlen=20",<BR>
                        "Max length for FirstName is 20");<BR>
                    frmvalidator.addValidation("FirstName","alpha");<BR>
                    <BR>
                    frmvalidator.addValidation("LastName","req");<BR>
                    frmvalidator.addValidation("LastName","maxlen=20");<BR>
                    <BR>
                    frmvalidator.addValidation("Email","maxlen=50");<BR>
                    frmvalidator.addValidation("Email","req");<BR>
                    frmvalidator.addValidation("Email","email");<BR>
                    <BR>
                    frmvalidator.addValidation("Phone","maxlen=50");<BR>
                    frmvalidator.addValidation("Phone","numeric");<BR>
                    <BR>
                    frmvalidator.addValidation("Address","maxlen=50");<BR>
                    frmvalidator.addValidation("Country","dontselect=0");<BR>
                   </script><BR>     
         </CODE>
         <A name="4"></A>
         <h3>Some Additional Notes</h3>
         <LI type="disc">The form validators should be created only after defining the HTML form
         (only after the </form> tag. )<br>
         <LI type="disc">Your form should have a distinguished name.
         If there are more than one form
         in the same page, you can add validators for each of them. The names of the
         forms and the validators should not clash.
         <LI type="disc">You can't use the javascript onsubmit event of the form if it you are
         using this validator script. It is because the validator script automatically overrides the
         onsubmit event. If you want to add a custom validation, see the section below
         </LI>
         <A name="5"></A>
         <h3>Adding Custom Validation</h3>
         If you want to add a custom validation, which is not provided by the validation descriptors,
         you can do so. Here are the steps:
         <LI type="disc">Create a javascript function which returns true or false depending on the validation.<br>
         <CODE>
              function DoCustomValidation()<BR>
              {<BR>
                var frm = document.forms["myform"];<BR>
                if(frm.pwd1.value != frm.pwd2.value)<BR>
                {<BR>
                  alert('The Password and verified password does not match!');<BR>
                  return false;<BR>
                }<BR>
                else<BR>
                {<BR>
                  return true;<BR>
                }<BR>
              }<BR>
         </CODE><br>
         <LI type="disc">Associate the validation function with the validator object.<br>
         <CODE>
         frmvalidator.setAddnlValidationFunction("DoCustomValidation");
         </CODE><br>
         </LI>
         <P>
         The custom validation function will be called automatically after other validations.
         </P>
         <P>
         If you want to do more than one custom validations, you can do all those
         validations in the same function.
         </P>
         <CODE>
              function DoCustomValidation()<BR>
              {<BR>
                var frm = document.forms["myform"];<BR>
                if(false == DoMyValidationOne())<BR>
                {<BR>
                  alert('Validation One Failed!');<BR>
                  return false;<BR>
                }<BR>
                else<BR>
                if(false == DoMyValidationTwo())<BR>
                {<BR>
                  alert('Validation Two Failed!');<BR>
                  return false;<BR>
                }<BR>
                else<BR>
                {<BR>
                  return true;<BR>
                }<BR>
              }<BR>
         </CODE><br>
         where DoMyValidationOne() and DoMyValidationTwo() are custom functions for
         validation.
         <A name="6"></A>
         <h3>Clear All Validations</h3>
         In some dynamically programmed pages, it may be required to change the validations in the
         form at run time. For such cases, a function is included which clears all validations in the
         validator object.<br><br>
         <CODE>
         frmvalidator.clearAllValidations();
         </CODE><br>
         <br>
         this function call clears all validations you set.<br>
         You will not need this method in most cases.
         <a name="7"></a>
         <h3>Table of Validation Descriptors</h3>     
    <table cellspacing="2" cellpadding="2" border="1" width="520px">
    <tr>
    <td><FONT face=Arial size=2>
         required<BR>
         req </FONT>
         </td>
    <td><FONT face=Arial size=2>The field should not be
    empty </FONT>
         </td>
    </tr>
    <tr>
    <td><FONT face=Arial size=2>
         maxlen=???<BR>
         maxlength=???
         </td>
    <td><FONT face=Arial size=2>checks the length entered data to the maximum. For
    example, if the maximum size permitted is 25, give the validation descriptor as "maxlen=25"
         </td>
    </tr>
    <tr>
    <td><FONT face=Arial size=2>
         minlen=???<BR>
         minlength=???
         </td>
    <td><FONT face=Arial size=2>checks the length of the entered string to the
    required minimum. example "minlen=5"
         </td>
    </tr>
    <tr>
    <td><FONT face=Arial size=2>
         alphanumeric /<BR>
         alnum </FONT>
         </td>
    <td><FONT face=Arial size=2>Check the data if it
    contains any other characters other than alphabetic or numeric characters
    </FONT>
         </td>
    </tr>     
    <tr>
    <td><FONT face=Arial size=2>num <BR>
         numeric </FONT>
         </td>
    <td><FONT face=Arial size=2>Check numeric data
    </FONT>
         </td>
    </tr>
    <tr>
    <td><FONT face=Arial size=2>alpha <BR>
         alphabetic </FONT>
         </td>
    <td><FONT face=Arial size=2>Check alphabetic data.
    </FONT>
         </td>
    </tr>     
    <tr>
    <td><FONT face=Arial size=2>email </FONT>
         </td>
    <td><FONT face=Arial size=2>The field is an email
    field and verify the validity of the data. </FONT>
         </td>
    </tr>
    <tr>
    <td><FONT face=Arial size=2>lt=???<BR>
         lessthan=???
         </td>
    <td><FONT face=Arial size=2>
         Verify the data to be less than the value passed.
         Valid only for numeric fields. <BR>
         example: if the
    value should be less than 1000 give validation description as "lt=1000"
         </td>
    </tr>
    <tr>
    <td><FONT face=Arial size=2>gt=???<BR>
         greaterthan=???     </td>
    <td><FONT face=Arial size=2>
         Verify the data to be greater than the value passed.
         Valid only for numeric fields. <BR>
         example: if the
    value should be greater than 10 give validation description as "gt=10"
         </td>
    </tr>
    <tr>
    <td><FONT face=Arial size=2>regexp=??? </FONT>
         </td>
    <td><FONT face=Arial size=2>
         Check with a regular expression the value should match the regular expression.<BR>
         example: "regexp=^[A-Za-z]{1,20}$" allow up to 20 alphabetic
         characters.
         </td>
    </tr>
    <tr>
    <td><FONT face=Arial size=2>dontselect=?? </FONT>
         </td>
    <td><FONT face=Arial size=2>This
    validation descriptor is valid only for select input items (lists)
    Normally, the select list boxes will have one item saying 'Select One' or
    some thing like that. The user should select an option other than this
    option. If the index of this option is 0, the validation description
    should be "dontselect=0"
         </td>
    </tr>
    </table>
         <P>
              <table cellspacing="2" cellpadding="2" border="1" width="520">
              <tr>
              <td>
                   <B>NOTE:</B><br>
                   The HTML Form Wizard included in JavaScript Coder contains still more
                   number of validations
                   (comparison validations, check box & radio button validations and more)<br>
                   Using the wizard, you can add validations to your forms
                   without writing a single line of code! <br>
                   JavaScript Coder takes care of
                   generating the code and inserting the code in to the HTML file.<br>
                   <A href="http://www.javascript-coder.com/index.phtml
                   target="_blank">Read more about JavaScript Coder</A>
                   </td>
              </tr>
              </table>
         </P>
         <A name="8"></A>
         <h3>Example Page</h3>     
         See the <a href="example.html target="_blank"
         >JavaScript form validation example here</a>
    </td>
    </tr>
    <tr><td align="center">
         <HR><br>
         Copyright &copy; 2003 JavaScript-Coder.com. All rights reserved.
    </td></tr>
    </table>     
    </center>
    </body>
    </html>

    The code is not working because you made a mistake somewhere, duh! So figure out what (hint: firefox javascript console, it's your friend) and fix it!
    And next time when you post code: use the [ code ]  tags to pretty format your code, as it is now it's unreadable.
    http://forum.java.sun.com/help.jspa?sec=formatting

  • How can i check the duplicate NPD project name?

    Dear all,
    I would like to know on how i can check the duplicate NPD's project name? I found that some NPD's project is initiate serveral time with the same or semilar name from user name. Supposing the project name was "Smart Pilot". I always found that project may type differently such as "Smart PILOT","smart pilot" or even "Smart Pilots". Supposing i would like to validate all of these name before save by using validation framework, or custom validation. Is it possible?
    Supposing it was possible, can you please guiding me on how?
    Thank you so much in advance for all of the answer.
    Phaithoon W.

    So here is some example code for a quick validator. Note that this uses a hard coded English error message, rather than a translation. If you want to use translations instead, look at some of the examples in the ReferenceImplementations\Validation\SourceCode\ReferenceValidation folder in the Extensibility Pack, and review the Validation Training as well (in the ReferenceImplementations\Validation\Documentation folder).
    Note that the provided code is for demonstration purposes only and is not supported by Oracle.
    The classes:
    using System;
    using System.Data;
    using System.Xml;
    using Xeno.Data.NPD;
    using Xeno.Prodika.Application;
    using Xeno.Prodika.Services;
    using Xeno.Prodika.Validation;
    using Xeno.Prodika.Validation.Validators;
    namespace Oracle.Agile.PlmProcess.Validation
        public class NPDUniqueProjectNameValidatorFactory : XmlConfigValidatorFactoryBase
            protected override IValidator Create_Internal(XmlNode configNode)
                return new NPDUniqueProjectNameValidator();
        public class NPDUniqueProjectNameValidator : BaseValidator
            private const string sql = @"select 1 as dup from NPDPROJECTML where UPPER(title) = UPPER ('{0}') and FKPROJECT <> '{1}' and LANGID = {2}";
            public override bool Validate(IValidationContext ctx)
                var project = ctx.ValidationTarget as INPDProjectDO;
                bool hasDuplicate = false;
                string sqlToExecute = String.Format(sql, project.ProjectML.Title, project.PKID, UserService.UserContext.User.PreferredLanguage);
                using (IDataReader reader = AppPlatformHelper.DataManager.newQuery().execute(sqlToExecute))
                    if (reader.Read())
                        hasDuplicate = true;
                if (hasDuplicate)
                    ctx.AddError(String.Format("A project already exists with the name '{0}'.", project.ProjectML.Title));
                return hasDuplicate;
            private IUserService UserService
                get { return AppPlatformHelper.ServiceManager.GetServiceByType<IUserService>(); }
    Next, add the following to the ValidationSettings.xml file in config\Extensions:
    1. add the validator factory, with a reference name in the config:
    <ValidatorFactories>
            <!-- Custom  Validator Factory declaration goes here -->       
            <add key="NPD_CheckProjectNameForDuplicate" value="Class:Oracle.Agile.PlmProcess.Validation.NPDUniqueProjectNameValidatorFactory,ReferenceValidation" />
    </ValidatorFactories>
    2. Add a rule for NPD project Save event:
    <rule type="3202">
                <condition event="save">
                    <if type="NPD_CheckProjectNameForDuplicate" require="true" report="true" />
                </condition>
    </rule>
    Compile the reference example into a dll, and add that dll into web\npd\bin
    When you try to save a project with a duplicate name, it should now give you the error message.

  • How to post adjusment directly to AP/AR account

    Hi Fi Gurus,
    Good Day.
    I would like to ask if ever where qwe can post adjustments directly to AP/AR gl accounts?
    After year end, we need to have adjusments to our AP/AR account.
    I know that the transactions from AR/AP account are directly link to all the postings from other module.
    However, i need to check if there are transactions that allowed as to direcly post to GL account of AP and AR?
    What tcode it is?
    Hoping for your positive response.
    Thank you in advance.

    Hi ,
    You  may create a AR/AP  GL account where you must post the adjustment entry . This GL account should be allowed to post directly  The clubbing to the accounts should be with the AR/AP reconcilliation a/c . So balance sheet should reflect the AR/AP reconcilliation a/c + AR/AP adjustment account ..
    Entry at the time of adjustment will be :-
    Provision for Bad Debt -
    Dr  ( P&L)
    A/R   adjustment A/c -
    Cr  ( B/S)..
    When you write off bad debts .. entry will be ..
    A/C adjustment A/c -
    Dr
    A/R individual Customer A/c -
    Cr
    Please make sure that these adjustment entry must be backed by valid documentation as auditors always query on it..
    Regards
    Sarada
    Provisions have to be made customer/

  • Oracle SOA Admin -- chennai

    Location: Pune
    Job Description:
    This position's primary responsibility provides Oracle (SOA) application administrator support within various programs for various projects and environments, including monitoring, troubleshooting, tuning, installation, upgrades, deployment to various environments.
    * 1-2 years experience in Installation/Patching/Upgrade/Administration with Oracle SOA Suite 10g/11g, Oracle BAM/BPM, and BEA Weblogic on Unix/Solaris/HU-UX. Hands on experience administering applications on HP-UX Itainuim and Integrity Virtual Machines.
    * Strong working understanding of SOA structure and administrative processes, Working knowledge of XML, Java, HP-UX, general multi-tier application structure and networking concepts, and Oracle databases
    * Deployment of new Web Services (BPEL and ESB) , Installation and coordination of patches Requirements.
    * Preferred Oracle Application Service 10g Administrator Certified Professional
    * Conduct system support activities for program language compilers, editors, system utilities, reporting tools, and database query tools, Troubleshoot performance and availability issues in a highly available environment.
    * Responsible for monitoring, bug fix and resolving production support incidents, Monitor hardware utilization, database utilization, and system response time. Assist in capacity/performance management, trend and error analysis to determine system changes required.
    * Support, plan, conduct, and/or coordinate the testing and implementation of systems software Ensure technical and validation documentation is completed as needed throughout the project lifecycle and support efforts to maintain a validated
    system state.
    * Responsible for implementation, administration and configuration of SOA functionality, prform application integrations, upgrades and patches, monitor capacity and incremental growth adjusting for actual capacity usage vs. planned usage.
    Send resumes to [email protected]
    Regards,
    Pradeep
    [email protected]

    Hi Selvakumar,
    Most of the Coaching center are taken the oracle course, like SQL Star - Nungambakkam, NIIT, Oracle - chinamalai etc.
    But they teach only the outline, with your interest you have to read more.
    once you joined in the course, then you will automatically read the material.
    The course fees is around 30 to 40 thousand. (10g)
    certificate is separated, it will come around 10 to 15 thousand ( 10g )
    course duration is 40 to 80 hours.
    Regrads
    S.Senthil Kuamr

  • Spry.Widget.ValidationTextfield is not a constructor

    I have worked through the text field validation
    documentation, but get "Spry.Widget.ValidationTextfield is not a
    constructor" when I try to run.
    I have been trying to debug this for a while. Pretty sure I
    have referenced the js and css correctly. Sure I'm doing something
    silly, but have spent too much time on it already. Any help would
    be greatly appreciated.
    thanks,
    Chuck

    Thanks kin - that did it. The one place that I was looking in
    the documentation (articles/textfield_overview/index.html) had a
    typo. It was correct every else it is referenced.
    It’s important that you make sure the ID of the span
    tag matches the ID parameter you specified in the
    Spry.Widget.ValidationTextfield method. It’s also important
    that you make sure the JavaScript call comes after the HTML code
    for the widget.
    8. Save the page. The complete code looks as follows:
    <head>
    <script src="includes/SpryValidationTextfield.js"
    type="text/javascript"></script>
    <link href="SpryValidationTextfield.css" rel="stylesheet"
    type="text/css" />
    </head>
    <body>
    <span id="TextfieldWidget">
    <input type="text" name="text1" id="text1" />
    </span>
    <script type="text/javascript">
    var TextfieldWidgetObject = new
    Spry.Widget.ValidationTextfield("TextfieldWidget");
    </script>
    </body>

  • Sun Studio 12 on Linux

    Hi,
    I am currently porting a C++ application from Solaris to Linux,
    Since we were using Sun Studio on Solaris, we planned to continue with Sun Studio 12. Our application in simple words is pretty huge and as such have some major issue. But I have the following query.
    The C compiler cc is not recognising -KPIC option, I have tried -fpic and -kPIC, but seems to be failing and also -shared option is also not recognised.
    But more than this, Could some please help us out with some valid documentation for compiler options, linker options for SUN STUDIO 12 compilers and linkers on LINUX
    With Regards
    Arun

    The C compiler cc is not recognising -KPIC option, I have tried -fpic and -kPIC, but seems to be failing and also -shared option is also not recognised.Something is broken in your setup, probably you do not call Sun cc, or something like that.
    suncc recognized -KPIC for ages and since Sun Studio 12 it recognizes both -fpic/-fPIC and -shared as well.
    man cc should be fine, also docs.sun.com Sun Studio 12 collection should be up to date wrt Linux-specific parts.
    We use system linker on Linux (gnu ld that is). You can use "suncc -Wl" and "sunCC -qoption ld" to pass options to linker.
    Please, verify that your cc is from Sun Studio 12 (cc -V should specify version 5.9).
    regards,
    __Fedor.

  • Alternative to replace use of Table BDCP

    Hi Guys,
    SAP table BDCP which is used in START-OF-SELECTION is obsolete in SAP ERP 6.0 EHP7 SP Stack 4 and Data in this table is not maintained any more. I need to find an alternative to replace use of table BDCP. Any one have any idea what can be the alternative?
    Thanks and best regards.
    Fahad

    Hi Fahad,
    I do not see any such information published in SAP. If you have valid documentation please educate the community.
    For your information BDCP contents can be moved to BDCP2 to improvise performance.
    Refer SAP note 305462 - MOD: Migrating change pointers to table BDCP2
    you may query on BDCP2 for faster selection.
    Hope this helps.
    Regards,
    Deepak Kori

  • Spry menu help 2

    i have the correct links typed in on my spry menu bar but two
    arent working (our pastors and events)and my sub menus wont even
    act as links. also on some pages the menu bar goes under the text?
    any help woul be great! thanks
    http://www.pnlfamily.org is the
    site i am working on

    Hello,
    There are multiple problems that should be solved in your
    page. The most important one is the fact your page is not having on
    top of the page the necessary comment that identifies the HTML
    version to be used. This will cause the browsers to interpret your
    page in
    Quirks
    Mode, instead of Strict Mode. The Quirks Mode is not supported
    by us because of the numerous problems that exists on different
    browsers in behaviors. Please add the correct DOCTYPE to your page
    which will put the page in the Standard Mode and all the browsers
    will render the page (or at least they try) in compliance with the
    current standards on the web.
    The code in page is not compliant with any HTML standards
    containing multiple <body> and <html> inside which will
    make the browsers to behave completely weird. You should use the
    W3C validator and correct all
    the problems the validator reports. In case you use any Spry
    special tags in your page you'll have to read the
    Spry
    W3C validation documentation.
    You have in IE7 a JavaScript error in page because you use a
    function "qm_create" that is defined in a file which is not loading
    because of the difference in interpreting the multiple <html>
    tags in your document. Actually your problem appear in IE only and
    not in FF, where this JS error doesn't exists as well, and this
    could be one of the reasons.
    You used extensively in your CSS layout absolute positioning
    and z-indexing which is not a good practice and most certainly will
    trigger some specific bugs in IE where the elements will start
    overlapping even if the z-indexes are correctly set. My advice is
    to modify the way you designed your CSS and to use the normal page
    flow to arrange the elements in page to not need z-indexing and
    positioning anymore.
    Regards,
    Cristian

  • Activating Program Management for Public Sector

    Hello everyone,
    We are currently implementing an E-Governance solution for a municipal corporation, in SAP. Our licenses include ECC 6.0 and SAP CRM 2007. Additionally, we have purchased a single component of SAP for Public Sector, namely Program Management for Public Sector, which is enabled by SAP CRM.
    We have tried extensively to find out detailed information about this solution (Program Management for Public Sector), however besides a few lines of general information, not much else is available publicly.
    We request to provide us information on how to activate Program Management for Public Sector, and if possible to guide us on where to obtain valid documentation.
    Any asistance in this regard wil be much appreciated.
    Regards,
    Shiv Sahgal

    Hi, you can get information under CRM component, have a look at SAP help portal, CRM for industries -> Public Sector
    http://help.sap.com/saphelp_crmscen70/helpdata/en/4a/9eb12521864ff0a82cdc2a373d5d89/frameset.htm
    Or in the help portal under SAP Business Suite -> SAP Customer Relationship Management, you will find relevant documentation regarding your CRM release.
    Regards
    César

  • Importing dimensions

    Hi,
    Does anybody have experience in automatically importing dimensions into BPC (accounts, companies, products, projetcs etc) from a source system, for example an ERP-system? We are especially interested in experience from importing dimension members and automatically adding properties and hiearchies that is available in the source files/tables. References to valid documentation would be very helpful!
    Thanks in advance.
    /Thomas

    Every dimension is on the appset level in BPC under the dimension library. There are no aplication specific dimensions, every dimension can be used in every application. You can not modify the dimension type after creation, but you hvae to think about that before you start creating dimensions. This kind of change is not something you do a lot, since an Account dimension never becomes an entity dimension for example. If you really need to change this because you set it wrong by accident, delete the wrong one and create a new dimension with the correct datatype.

  • OS upgrade on  2-node RAC 10.2.0.4 system

    Dear all,
    We are planning an OS upgrade from AIX5.3 to AIX6.1 as AIX5.3 OS support comes to an end by the IBM. For single instance databases procedure is quite simple. We shutdown the Database and ASM instances respectively. Upgrade the OS to AIX6.1 and relink Oracle 10.2.0.4 software for both ASM and Database instances and open up the Database after ASM.
    The question is what should be the procedure for the 10.2.0.4 RAC database. Is there a supported guide to upgrade the OS in a rolling fashion? Or should we stop all RAC instances and upgrade the OS at the same time on all nodes and startup the servers. This means a huge downtime for our production and also we should be prepared for the surprises after the reboot of the servers which means a high risk for the business.
    I could not find too much documentation on this issue up to now. There are some forum entries, but again the answers are questionable as they dont reference to a valid documentation from Oracle Corp.
    Any suggestions and/or references are welcome.
    Thanks,
    ergemp.

    Hello,
    As far as I know Oracle RAC support rolling upgrade for OS upgrade. what you might need to do is
    - stop instance on node 1 and make sure application can connect to another nodes
    - stop any cluster services on node 1
    - you might want to disable crs on that node (sometimes OS upgrade requires reboot couple times)
    - take full backup of OS before upgrade process
    - as you're using 10g RAC, there is no need to relink Clusterware home but you need to relink client shared libraries on CRSHOME (run ./genclntsh), and you need to relink Oracle home too
    - enable back crs and start crs services
    - troubleshooting the issue arise, if everything is OK then proceed to next node
    Hope this helps
    Cheers
    FZheng

  • Confusing documentation for Validation Select widget

    On the website
    http://livedocs.adobe.com/en_US/Spry/1.4/index.html
    there's a page titled "Validation Select widget overview and
    structure." The article is confusing because the example is a
    pull-down menu of states, e.g., Alabama, Alaska, etc. But then
    "states" also means valid, invalid, required value, etc. This
    double meaning makes the documentation difficult to understand. The
    documentation should use an example of, for example, cities or
    countries.
    Also this widget has name different names. In Dreamweaver
    it's called "Spry Select." But on
    http://livedocs.adobe.com/en_US/Spry/1.4/index.html
    it's called "Validation Select." Both names are misleading, it
    should be called "Pull-Down Menu Validation."

    Hi Daniel,
    Im having the same problem, can you please tell me what you did? I understand you found the problem?
    Thank you!

  • Ways to retrieve Validation transform information for documentation

    Hi All,
    We have a requirement which needs to document validation rule in all validation transform of data flow in a project.
    Does anyone know if there is a way which we can retrieve validation rules from DI repository? E.g. a SQL statement.
    I searched the DI repo tables but no luck.
    Hope someone can give me some light.
    Thanks,
    Bobby

    In the Auto Documentation in the Management Console, you can browse all the objects in your repository and for the validation transform it will show the rules used in that transform. This is for browsing only though, the print feature does not print the details for any of the transforms, so also for the Validation transform the details (i.e. the validation rules) are not printed.
    Unfortunately, today there is not an easy way to extract the validation rules via a simple query. It is a common request though that we will address in a future release (import/export of validation rules).
    That being said, technically there are some options to get access to the rules. Not straightforward though...
    The validation rules are part of the transform definition, which on its turn is part of the whole dataflow definition. So they are not stored as separate objects in a table somewhere, but embedded into the ATL language we use to describe the DI objects. What you could do is export the repository to an ATL file (or select from AL_LANG_TEXT table in the repo) and scan this file for the validation rules. Below is an example of how such a rule would look like, in this case the rule name is "MyRuleName" and the rule is  : Query.JOB_KEY = 1.
    As a side note, the part that would be easy to get via a SQL query are the run-time statistics of the validation transform. These statistics (number of records passed/failed for each validation rule) are stored in the repo tables al_qd_* and are also used by the Validation Dashboards in the management console. Keep in mind that you need to check the option to 'collect  data validation statistics' in order to collect these details.
    CALL TRANSFORM Validation ()
    INPUT(Query)
    OUTPUT(Validation_Pass ( JOB_NAME varchar(192),
    JOB_KEY int,
    JOB_RUNID varchar(384),
    RUN_SEQ int,
    PATH varchar(765),
    OBJECT_NAME varchar(765),
    OBJECT_TYPE varchar(765),
    ROW_COUNT varchar(765),
    START_TIME varchar(765),
    END_TIME varchar(765),
    EXECUTION_TIME varchar(765),
    DATAFLOW_NAME varchar(765),
    JOB_ID int ) ,
    Validation_Fail ( JOB_NAME varchar(192),
    JOB_KEY int,
    JOB_RUNID varchar(384),
    RUN_SEQ int,
    PATH varchar(765),
    OBJECT_NAME varchar(765),
    OBJECT_TYPE varchar(765),
    ROW_COUNT varchar(765),
    START_TIME varchar(765),
    END_TIME varchar(765),
    EXECUTION_TIME varchar(765),
    DATAFLOW_NAME varchar(765),
    JOB_ID int,
    DI_ERRORACTION varchar(1),
    DI_ERRORCOLUMNS varchar(500) )  )
    SET("validation_rules" = '<?xml version="1.0"; encoding="UTF-8"?>
    <Rules collectStats="true" collectData="false" >
    <Column name= "Query.JOB_KEY"; enableValidation="true" noValidationWhenNull="false" >
    <RuleName> MyRuleName </RuleName>
    <Description></Description>
    <Expression uiSelection="1">
    <UIValue1>=</UIValue1>
    <UIValue2>1</UIValue2>
    <Custom> Query.JOB_KEY = 1 </Custom>
    </Expression>
    <Action sendTo="0" substOnFail="false" substValue="" />
    </Column>
    </Rules>

Maybe you are looking for