How to set rule in HR Forms

Hi,
I have set a Rule in PE51 and is not working, what I want to do is to set BETRG to 0.00 if this is less than 0 so my rule is
01 1  XRT BETRG N LT '0 '0.00
01 2  XRT BETRG N GT '0 XRT BETRG
Or how can I do to set BETRG to 0 if it comes with a negative value.
Please Help Me.
Thanks!!

D ADDWT *   AMT?0                              
<          ZERO= NRA
Use operation ZERO=
ZERO= Initializing the Current Working Fields
Examples                                                                               
1.  You wish to enter zeros in the number field for the current wage          
       type.                                                                               
2.  You wish to enter zeros in the number, rate and total amount fields       
       for the current wage type.                                                
Method                                                                               
OOOOOSVVVV             
1.          ZERO=N                 
2.          ZERO=NRA               
Regards
Ravikumar

Similar Messages

  • How to set connection between oracle forms and DB?

    I have installed win xp,
    oracle database 10g in c drive ,
    oracle forms and reports 10g in d drive ,
    how do i set the connection between forms and DB ?
    i know its an old question but i am very new to this !
    thanks in advance.

    You didn't mention the versions or whether you are using Developer Suite or Application Server. I guess it really doesn't matter in this case, but please provide complete information in the future.
    In order to connect the F/R home to a db you will need to make the appropriate configuration entries in tnsnames.ora found in the F/R home (\NETWORK\ADMIN). The entry you add will be similar to the one found in the tnsnames.ora for the db which is found in a similar directory in the db home. The entry will look something like this:
    ORCL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = myMachine)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = myMachine)
      )

  • How to set special payment advise form for payment advise.

    Hello,
    i would like to set special sap script form payment advise for particular payment method (not only for company code) but print program calls every time only one payment advise form from tcode OBZ1  - table T042B (not from OBZ4 - table T042E).
    Can be payment advise form dependent on payment method?
    Is it possible at all.
    thanks

    OK

  • How to set up database for form application in app. server 10g r2

    Hi Friends and Bgrant.
    I get user compiled fmb file.
    I did not find componant in app. server.
    However, I can see form server ment with 3 subitem : form compiler, formmigration and run form on the web.
    The form application is supported by database. Other person already configured server for application .
    I put a URL in URL field in run form on the web. I can see install ed successfully! Oracle application Server. Forme server. Oracle application server 10g. title: welcome oracle application server
    after clicked OK button, the page is grey blank without any inforamtion to be displayed. No error message. status bottome as done. the page title as Oracle application server form server.
    SO I think that i need to creade a datasource in app. server.
    But I do not know how to fill field.
    I can log into database from SQL*plus in server PC.
    In datasource page in app. server: i copy a default ORCALEDS information
    with new ID and password. it does not work
    hereData Source Class:
    JDBC URL :
    JDBC Driver:
    Location
    Transactional(XA) Location      
    EJB Location
    Thanks for any help!!
    jim

    Thanks for help!
    I fixed issue of database connection with new issue.
    Only display first form setting (first URL) for 4 different URL
    URL:
    http://salerpt.com/forms/frmservlet?config=emis-srmenu
    fmx file Location as C:\OraMid\forms\salerpt-Forms fmx name as srmenu.fmx in same directory
    fmb file location as C:\OraMid\forms\salerpt-Forms_source fmx name as srmenu.fmb in same directory
    # Single Sign-On OID configuration parameter
    oracle_home=C:\OraMid
    in formweb.cfg file
    baseHTMLjinitiator=basejini.htm
    workingDirector : workingDirectory= blank. but C:\OraMid\forms\salerpt-Forms right now
    # Forms runtime argument: which form module to run
    ##form=test.fmx
    ## i moved bottom section of form section in here and before
    line as Forms runtime argument: database connection details
    comment two line
    #jinit_exename=jinit.exe
    #jinit_mimetype=application/x-jinit-applet;version=1.3.1.22
    I create 4 sections as
    form=srmenu.fmx
    width=1200
    height=700
    pageTitle=Sale Information System (SIS)
    form=xxxx
    net 3 form setting
    However it only display one form interface that i put in( 4 different URL. only display first URL)
    It seems that one formsweb.cfg, it doesn not support multip form application.
    I have 4 small forms application with 4 URL for one formsweb.cfg.
    What should I need to do?
    I am waiting for your help!
    JIm
    Edited by: user589812 on Nov 24, 2008 1:49 PM

  • How to set the notifications structure form a form in IDM 8.0.0.5

    Hi,
    we are using Identity Manager 8.0.0.5 and we are trying to set the notifications structure which is evaluated in the Create User and Update User workflow from within our Tabbed User Form and from a ActivveSync Form.
    We had no success in either case so far.
    Any ideas on how to do this?
    What we want to achieve is send additional notifications if certain attribute conditions are met.
    Thans for any answer.
    Ugato

    A text frame in text is an anchored or inline item, so you either have to set the leading of the parent character or use the anchored options of the frames.
    Dave

  • How to set password in the form, request is coming from SPML with no pwd

    Hi ,
    Im using SPML request to create and modify users? I have 2 problems
    1) Does anyone know, how to customize the form to call 2 different workflow depending on the request meaning, if SPML request is ADD, then it should call Create User workflow, and SPML request is MOD then it should call Update User workflow.
    Right now, i don't know who to do it and currently it is working for create users only.
    2) Im not getting password field from SPML request, so i have to set password with value 'password' in the form. Can i do that and How?
    Appriciate any response

    Hi,
    According to your post, I know you want to add a custom field to Task form. When vale is Yes, send the email to the assigned person. When the value is No, item update and user can approve the task without the email sending out.
    Doubt you have already create an approval workflow which associated with Task list in SharePoint Designer.
    1. To add new fields to Task Form, click New button in Task Form Fields section. Name the “Send the email or not” of choose type. See the below image:
    Then, save and publish the workflow to make it effect. You can visit the following article for details:
    Updating List Item with Task Form Custom Field in SharePoint Approval 2010 Workflow
    http://blogs.msdn.com/b/kishore/archive/2012/01/15/updating-list-item-with-task-form-custom-field-in-sharepoint-approval-2010-workflow.aspx
    2. In SharePoint Designer, create another workflow which associated with Task list.
    a. Click workflows > List Workflow and choose Task list.
    b. Add the condition, if the current item: “Send the email or not” is equals to yes. Then, add the action “Send an email”.
    c. Publish the workflow.
    Thanks.
    Tracy Cai
    TechNet Community Support

  • How to set database credentials to form?

    Hi All,
    I'm newbie em Forms. I'm facing a situation and I don't know how to solve it. I run a forms application in a giver browser and I'm always asked to type database credentials in order to connect to this database. In development time there's no problem, however, general users cannot have database user and password to be able to access the form.
    Is there any way to set database credentials (user, password, database) in order to user not being asked to provide these info ?
    thanks a lot

    Hi,
    Plz configure formsweb.cfg file in order to achieve this. Set the parameter 'userid=<YourDatabaseCredential>'.
    e.g. userid=scott/tiger@orcl
    thanks & best regards,
    Qasim Javaid Malik

  • How to set DEBUG_FLAG = Y everytime form Print Statement ARXSUPST is opened

    Hi,
    Navigation: (R) AR Manager -> Print Documents -> Statements -> This opens Print Statement form.
    Goto Help -> Diagnostics -> Examine -> Block = SUPST_BLK, Field = DEBUG_FLAG; here the default value is N. I want to set the default value to Y
    Please let me know how to achieve this.
    Thank you.
    Manoj

    Hi,
    I could set DEBUG_FLAG to Y using Form Personalization follows:
    Trigger Event: WHEN-NEW-BLOCK-INSTANCE
    Context: my username
    Under Actions:
    Type: Property
    Object Type: Item
    Target Object: SUPST_BLK.DEBUG_FLAG
    Property Name: Value
    Value: Y
    Thanks
    Manoj

  • How to set a default tabular form value?

    I am trying to set a default value for a tabular form.
    In Tabular Form Element:
    ========================
    Display as: Date Picker
    Formet: Date Picker (DD-MON-RR)
    Default Type: Item (application or page item name)
    Default P2_DATE
    My item P2_DATE is set as:
    ==========================
    Date Picker (DD-MON-RR)
    However when I try to add a row with a default date I get this error:
    report error:
    ORA-01790: expression must have same datatype as corresponding expression
    Any ideas?
    Regards,
    Pawel.

    Sorry for spamming but found a solution:
    which was to change the type into PL/SQL Expression like so:
    to_date(:P301_PROJECT_XFR_DATE,'DD/MM/YYYY')
    This is the format I used in P2_DATE...
    Regards.

  • How to set maxWidth in tabular form Text Field

    Text Fields do not have maxWidth property in tabular forms. Is there any way to set maxWidth using the Element Attributes field? Or at least create a Validation process to let the user know why an error appears if he/she enters more than the allowed characters in a text field.
    Thanks
    Francisco.

    >>
    This information should appear in the user'smanual.
    Francisco.There should be a working MAXLENGTH attribute that
    defaults to the correct length based on the data
    dictionary.Hi,
    been trawling through the forums for the same problem, found this solution which works a treat (thanks! ). But agree that the software should actually allow you to define this anyway, rather than bodge, fool, amend, bridge or circumnagivate (sp?) the software.

  • How to set java.library.path form code

    I'm new to JNI. I see there are several ways to set JVM to look for libraries dll, so, etc.
         System.setProperty("java.library.path", ".");
         System.loadLibrary("hello");That's when UnsatisfiedLinkError
    java.lang.UnsatisfiedLinkError: no hello in java.library.path
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
         at java.lang.Runtime.loadLibrary0(Runtime.java:822)
         at java.lang.System.loadLibrary(System.java:992)
         at HelloWorld.main(HelloWorld.java:17)But if I comment the line that sets the java.library.path and call the program with the command java -Djava.library.path=. HelloWorld works.
    The question is: Why is not working? How should it be the property setup? I rather don't set Variables, or use -D option.
    Thanks in advance.
    PD: If it helps I'm using JDK 1.5.0_01 on Linux kernel 2.6.8

    well i wrote the script and everything is fine! i can run the blackbox example on the commapi.
    But i am writing another program using netbeans to send some data to a PIC microcontroller using the serial port (that is why i installed the commapi), and when i'm trying to build it or run it on netbeans throws this error:
    Error loading LinuxSerialParallel: java.lang.UnsatisfiedLinkError: no LinuxSerialParallel in java.library.path
    Exception in thread "main" java.lang.UnsatisfiedLinkError: isDevLink
    at com.sun.comm.Unix.isDevLink(Native Method)
    at com.sun.comm.PathBundle.add(PathBundle.java:108)
    at com.sun.comm.PlatformPortBundle.<init>(PlatformPortBundle.java:44)
    at javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:138)
    as far as i know it seems to be missing a library (LinuxSerialParallel), if this is right, adding the library would solve the error?how can i add the library? is there another way to solve this?
    thanks in advance!!

  • How to set Calendar size in forms 6i

    Hello all,
    I'm using forms6i. I want to create a calendar control which should display when a button is pressed. i tried using standard.olb and calendar.pll files. But the size of the calendar is too small in the output.

    Hi
    But the size of the calendar is too small in the outputwhat do u mean by size is it the canvas or the button's control ?
    pls try to set the canvas's & Windows's width & height from it's property...
    Hope this works...
    Regrds,
    Abdetu...
    Edited by: Abdetu on Mar 3, 2011 5:13 AM

  • How to setup a javabean on form to let user loading to client PC

    What is the step-by-step to create a javabean on form and how to set the properties on the javabean (TextItem) which
    can let user loading/save the output file to his/her PC drive instead of to the server drive. On my form I used Text_IO, it worked fined only if you run the form on client/server environmnet but when you run it on the web, it output the file to server.
    Metalink told me to user do compile a java program and create the .class to jar file, I did everything accordingly, but they do not tell me how to set up on the form, I need the coding how to code everything on form on when-button-pressed trigger. Thank you very much.

    You have a modem/router or gateway type of device here. 
    It is the Arris that is acting as the main router for your network......that is why the AirPort and Time Capsule need to be in Bridge Mode.
    You need to set up port forwarding on the Arris gateway since it is the router for your network.
    Contact Arris support for details on how to configure port forwarding on the gateway.
    Once you have port forwarding setup on the Arris gateway, the AirPort and Time Capsule will pass those settings through to connected devices since they are configured in Bridge Mode.

  • How to set up rules/conditions on a drop down box to ensure its been filled if a value in a text box is selected.

    Hi, I am in midst of creating a form in infopath. I have a text box field in which the user will enter the number of issues he has. if the user has entered the number of issues he has, then he will need to select the type of issues from a multi selection
    box. Thus i need to know how to set up rules/conditions to ensure that the user has to complete the multi selection box if he enters a value in text box for the number of issues. 

    I assume what you are asking is to make multi selection box as mandatory. If not please explain with a example
    Try below:
    http://webcache.googleusercontent.com/search?q=cache:ItIYeZ8K2gEJ:sharepointkings.blogspot.com/2013/06/make-multi-select-list-box-required-in.html+&cd=4&hl=en&ct=clnk&gl=in&client=firefox-beta
    If this helped you resolve your issue, please mark it Answered

  • How to set form feed   in output .lst file

    sql >set pagesize 60
    spoo abc
    select * from xyz;
    spoo off
    In the file abc.lst header and placed details 60 lines. but at
    the time of printing if paper lenght is 72 lines how to set form feed?

    Try
    set newpage 0

Maybe you are looking for

  • Sharing an iTunes Library w/Multiple iPods/Computers

    I'm sure there is a tutorial somewhere that tells you how to do this...but I cant seem to find one. I'm trying to find out how to share one iTunes library that is on my mac with another computer on my network (a laptop PC). I have 2 ipods as well, an

  • Creation of own database for CMS

    Hi all I'm new to BusinessObjects And i'm currently in the midst of installing BusinessObjects Edge Series XI 3.1 and have chosen the option to use my own database server. Going through the installation checklist from the installation guide, there is

  • How do you get old conversations back?

    i dont know how to get my old conversations back...help!

  • How do I change my default website for mozilla/firefox?

    I need to change my default website to: www.themillionaireos.com/Security/login I can't find out how to do this on my own; please help me to get this done. Thank you, Judy Matrundola

  • Can't boot from external drive, no options...

    Okay so I just upgraded my 24" iMac to Snow Leopard, from an external drive, and things seemed fine. I was migrating my old settings and then after I noticed I couldn't access system folders. It wanted old settings' permissions, not the new one, so I