Value is null return blank

Hi all,
I got two query which link to together in order to get the cost, however, now I want to show on my report if there is not found in the link it will return null. What I use if the value is null in the field level however when display it still show as null instead of 0 that what I want ?
Any idea ? or any other way to solve my problem.
please help me URGENT!!! Thanks.

Hi John,
Here is my first query :-
SELECT AW.PACKAGELEAD,
SUBSTR(AW.DEVICENO,1,50),
AW.CURR_OPER,
AW.CURQTY,
AW.OPERATION_SEQ_NUM,
AW.CUSTOMERCODE, ARC.ATTRIBUTE2, AW.DEVICENO DEVICE_NO, BSO.OPERATION_DESCRIPTION, AW.INVENTORY_ITEM_ID
FROM AIC_COST_WIP_TEMPB AW, AR_CUSTOMERS ARC, BOM_STANDARD_OPERATIONS BSO
WHERE ARC.ATTRIBUTE1 = AW.CUSTOMERCODE
AND ARC.STATUS = 'A'
AND BSO.OPERATION_CODE(+) = AW.CURR_OPER
ORDER BY AW.DEVICENO, AW.CURR_OPER
and here is the second query :-
SELECT DISTINCT MSIK2.CONCATENATED_SEGMENTS,
BBOM.ASSEMBLY_ITEM_ID,
BIC.OPERATION_SEQ_NUM,
CST.MATERIAL_COST,
BIC.COMPONENT_QUANTITY,
TO_NUMBER(BIC.attribute1) CPY
FROM BOM_BILL_OF_MATERIALS BBOM,
     BOM_INVENTORY_COMPONENTS BIC,
     MTL_SYSTEM_ITEMS_KFV MSIK2,
CST_ITEM_COST_TYPE_V CST
WHERE BBOM.BILL_SEQUENCE_ID = BIC.BILL_SEQUENCE_ID     
AND BIC.component_item_id = MSIK2.inventory_item_id
AND MSIK2.INVENTORY_ITEM_ID = CST.INVENTORY_ITEM_ID
AND CST.ORGANIZATION_ID = 8
AND MSIK2.ORGANIZATION_ID = 8
AND cst.cost_type_id = 1
AND (BIC.disable_date IS NULL OR (BIC.disable_date - SYSDATE) > 0)
the link between two qeuery is the query1->inventory_item_id & operation_seq_num versus query2->assembly_item_id & operation_seq_num.
The both link is working fine. However, I need to show the results of formula and also cumulative of the results. But the result will only be shown if there is a link found between the two query, even I have putting null value as zero if it does not found from the query. So, that's my problem.
Hope u can understand and help me to resolve this problem. Thanks
Rgds
Lim

Similar Messages

  • Can not user Raw value as NULL return in Select List

    Help me!
    I recently converted my application to take advantage of the sys_guid() function that oracle offers over the sequence/trigger option.
    However, I user a hierarchical set up and I need to be able to insert a RAW value of '00' if the user does not select something in a select list. When I try to do this, I get an "ORA-01465: invalid hex number" error.
    I've also tried to return 00 and HEXTORAW(0) but that didn't work either. Infact 00 return a can not insert null value. Please help as I believe the sys_guid function is the best choice if I can make it work.

    Hey Scott, my first name is Daniel.
    Here is in detail the reason for which I want to be able to work with RAW. As everyone knows, most of your tables your going to have a UID. In general this is going to be a NUMBER column into which you will insert values that populate from a trigger getting the nextval of a sequence and returning the result into the NUMBER column of the row being inserted.
    This, however, requires a trigger and a sequence. Not that that's really a bad thing, I just think it can be done better. All we are really after here is a UUID or GUID. The thing is if you used a sequence to generate this value, you don't have a good way of knowing that the number is truly unique. You'll learn this as soon as you try to merge with a table from another database or do something else of the like.
    What I prefer to do is to use Oracle's SYS_GUID function when I create a table. To use this function you create a RAW(16) DEFAULT SYS_GUID(). From that point you don't even need to reference the column on insert, unless you're inserting into * and in that case you just specify DEFAULT. The use of sys_guid means I don't need a trigger and I don't need a sequence, and the result will always be unique, regardless of the DB.
    In APEX, and elsewhere, the way you use a select list is with a display value and a return value. An example would be, emp_name as the display value and emp_id as the return value. In my case, the emp_id would be the RAW values returned by the SYS_GUID() function when the employee was created. But it's not working because of the RAW value.
    I know that APEX can enter the value in session state that is returned from a RAW column because I did a test earlier and it worked. I would have to see it in session state for debugging. *** The problem is in creating a new record. ***
    APEX really does not have to work with the RAW column because the default value has been specified. But for some reason, it does not like it anyway. I found this problem when working with parent/child relationships in my tables.
    Lets say there are three columns GUID, TITLE, and PARENT. When creating a new record, I allow the user to select its parent. If the new record IS a parent then they would leave it as the default '- Is Parent -' and the PARENT column would be left as NULL. But because the GUID is RAW to make the relationship work with the parent, the PARENT column would be RAW too and APEX gives me the errors I was telling you about before.
    Sorry for going on so long. I don't know if I even got my point across. ;) Please let me know if you need me to do something on my part to further demonstrate my point. I would be happy to set up a demo if requested.

  • How to trap null return values from getters when using Method.invoke()?

    Hi,
    I am using Method.invoke() to access getters in an Object. I need to know which getters return a value and which return null. However, irrespective of the actual return value, I am always getting non-null return value when using Method.invoke().
    Unfortunately, the API documentation of Method.invoke() does not specify how it treats null return values.
    Can someone help?
    Thanks

    What do you get as a result?I think I know what the problem is.
    I tested this using following and it worked fine:
    public class TestMethodInvoke {
    public String getName() {
    return null;
    public static void main(String args[]) throws SecurityException, NoSuchMethodException, IllegalArgumentException, IllegalAccessException, InvocationTargetException {
    Object o = new TestMethodInvoke();
    Class cls = o.getClass();
    Method m = cls.getMethod("getName", (Class[]) null);
    Object result = m.invoke(o, (Object[])null);
    if (result == null) {
    System.err.println("OK: Return value was null as expected");
    else {
    System.err.println("FAILED: Return value was NOT null as expected");
    However, when I use the same technique with an EJB 3.0 Entity class, the null return value is not returned. Instead, I get a String() object. Clearly, the problem is the the EJB 3.0 implementation (Glassfish/Toplink) which is manipulating the getters.
    Regards
    Dibyendu

  • How to make blank value as null in table using DQS

    Hi
    I am using DQS in SSIS. It makes null value from source table as blank in destination table by DQS_NULL feature.
    I want to make that null value as 'Null' in the destination table after applying DQS.
    How is it possible.
    Thanks
    Nidhi

    Thanks for the reply.
    When I am using (Coulmn) == "" ? NULL(DT_WSTR,225) : Coulmn for making blank as null it is working fine.
    But it is making null as string, but I don't want to use null as string. As I am using Null in my stored procedure to load sub region data where "country is null".
    If I will use above expression of derived column it will make it as string which is not recommended in my case.
    Do you have any solution for it.

  • Apex 4 Cascading LOV's how to set a child LOV back to null return value

    Hi,
    My problem is I am using the new Dynamic Actions to implement Cascading LOV functionality in Apex 4 which means not having to submit the page to update child LOVs after parent LOV changes.
    What I am finding is that when you change the parent LOV value then the child LOV (which has a null return value) is not defaulting to the null return value (in my case no selection should return -1) if its list is filtered to a different set of values which doesnt have a valid selection. The child LOV is left without a selection when I need it to default back to the null return value (-1, representing all values).
    Also I was hoping to do this before the page is submitted so the filtering down the hierarchy of LOVs will work where the child is null (-1, meaning all values) and in turn its child LOV(s) will filter also from the null child value.
    Any help would be much appreciated.
    Thanks

    Hi 804641,
    I'm not sure if I get your problem and I tried to reproduce it.
    http://apex.oracle.com/pls/apex/f?p=2672:6 is my example with a cascading LOV where I have also defined a dynamic action which fires when P6_EMPNO changes and it shows the current selection.
    Maybe it helps if you setup an example on apex.oracle.com and provide the workspace/user/pwd so that I can have a look. I'm also not sure about your sentence "using the new Dynamic Actions to implement Cascading LOV functionality", because dynamic actions are not needed for cascading LOVs. It's a feature of the item types themselves where you just have to set the "Cascading LOV Parent Item(s)" attribute.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • SharePoint PPS Hide null or blank value in performancePoint chart drill down.

    Hi,
    I am using SharePoint Performance Point Service. Hide null or blank value in Performance Point chart drill down.
    Thanks & Regards
    Poomani Sankaran

    Hi Hyaron,
    I am unable to reproduce the issue in my test environment. How did you add the drilldown feature? Were you doing that by setting visibility of the column or of the group? Please ensure to add the drilldown functionality by set the visibility of the workgroup
    from the Grouping Pane in the Report Designer.
    How did you add the Interactive Sorting on the headers of the two columns? Based on the drilldown functionality, the Interactive Sorting on the second column doesn’t work. So, you can move the Interactive Sorting on the second column. When configuring the
    Interactive sorting on the first column, you should set the parent group to sort, and sort by the field that the parent group groups by.
    Hope this helps.
    Regards,
    Mike Yin
    TechNet Community Support

  • Converting null and blank to NA in a column of a database table

    Hi
    This is a simple thing but is giving me a hard time. I need to change the values coming as null or blank to NA . The values comes in a flat file as a source and I need to laod it convertign to NA in database. I wrote the expression as
    ISNULL([NPS Rating]) ? "NA" : [NPS Rating] in a derived column  and checked the box " retain null values from source as null values in data flow:
    However it is not working instead giving the error as : Truncation may occur due to inserting data from dataflow column from  column name" with a length of ...........
    Can any help me to sort out this problem. Am I writing the correct expression?
    Thank you so much for your help in advance.
    Kind regards
    Rama

    In your conditional result force it to the same length and type and make sure it is long enough, e.g.
    ISNULL([NPS Rating])==TRUE ? (DT_WSTR,256)"NA" : (DT_WSTR, 256)[NPS
    Rating]
    and if the data comes from a flat file, the test will most likely need to test for zero length string too, or trim spaces and then test for zero length.
    LEN(TRIM([NPS Rating])) == 0 || ISNULL...
    Jan D'Hondt - SQL server BI development

  • Difference betwen Null item,Blank item ,item is zero and empty item

    Please describe the difference betwen :
    null item
    empty item
    blank item
    and zero item
    And how can we test each one?
    How to test if the value of an item say Px_y is null or
    blank
    empty
    zero
    Regards

    Please describe the difference betwen :
    null item
    empty item
    blank item
    and zero item
    And how can we test each one?
    How to test if the value of an item say Px_y is null or
    blank
    empty
    zero
    Regards

  • Using MISSING FIELD VALUES ARE NULL for external table

    I want to place a null for values missing in the sub_account field. Here is my external table:
    CREATE OR REPLACE DIRECTORY INCOMING_ORDERS_log_dir
    AS 'c:\starpubs\starpubs\dataformats\logs\INCOMING_ORDERS\log';
    CREATE OR REPLACE DIRECTORY INCOMING_ORDERS_bad_dir
    AS 'c:\starpubs\starpubs\dataformats\logs\INCOMING_ORDERS\bad';
    create table ext_INCOMING_ORDERS_table (
    Account varchar(5),
    Sub_Account varchar(1),
    Override_Code varchar(1),
    Nomenclature varchar(28),
    chg_nbr varchar(3),
    quantity integer,
    U_I varchar(5),
    zipcode varchar(5),
    type_reject varchar(2)
    organization external
    type oracle_loader
    default directory user_dir
    access parameters
    records delimited by newline
    missing field values are null
    badfile INCOMING_ORDERS_bad_dir:'INCOMING_ORDERS%a_%p.bad'
    logfile INCOMING_ORDERS_log_dir:'INCOMING_ORDERS%a_%p.log'
    fields
    Account(1:5) char(5),
    Sub_Account(7:7) char(1),
    Override_Code(10:10) char(1),
    Nomenclature(11:38) char(28),
    chg_nbr(40:42) char(3),
    quantity(44:48) integer external,
    U_I(50:54) char(5),
    zipcode(56:60) char(5),
    type_reject(61:62) char(2)
    location('PTCLICK.MANUAL.NOMEN.TXT','PTCLICK.ORDERS.TXT', 'EUR_RES.TXT', 'MQ.TXT', 'BPRO.TXT')
    reject limit unlimited;
    How can I place the MISSING FIELD VALUES ARE NULL for missing values for the sub_account?

    made the change I received this error:
    SQL> select * from ext_INCOMING_ORDERS_table;
    select * from ext_INCOMING_ORDERS_table
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-00554: error encountered while parsing access parameters
    KUP-01005: syntax error: found "no": expecting one of: "comma, date_format,
    defaultif, enclosed, ltrim, lrtrim, ldrtrim, notrim, nullif, optionally, ),
    rtrim, terminated"
    KUP-01007: at line 7 column 26
    CREATE OR REPLACE DIRECTORY INCOMING_ORDERS_log_dir
    AS 'c:\starpubs\starpubs\dataformats\logs\INCOMING_ORDERS\log';
    CREATE OR REPLACE DIRECTORY INCOMING_ORDERS_bad_dir
    AS 'c:\starpubs\starpubs\dataformats\logs\INCOMING_ORDERS\bad';
    create table ext_INCOMING_ORDERS_table (
    Account varchar(5),
    Sub_Account varchar(1),
    Override_Code varchar(1),
    Nomenclature varchar(28),
    chg_nbr varchar(3),
    quantity integer,
    U_I varchar(5),
    zipcode varchar(5),
    type_reject varchar(2)
    organization external
    type oracle_loader
    default directory user_dir
    access parameters
    records delimited by newline
    badfile INCOMING_ORDERS_bad_dir:'INCOMING_ORDERS%a_%p.bad'
    logfile INCOMING_ORDERS_log_dir:'INCOMING_ORDERS%a_%p.log'
    fields
    Account(1:5) char(5),
    Sub_Account(7:7) char(1) NO PRESERVE BLANKS,
    Override_Code(10:10) char(1),
    Nomenclature(11:38) char(28),
    chg_nbr(40:42) char(3),
    quantity(44:48) integer external,
    U_I(50:54) char(5),
    zipcode(56:60) char(5),
    type_reject(61:62) char(2)
    location('PTCLICK.MANUAL.NOMEN.TXT','PTCLICK.ORDERS.TXT', 'EUR_RES.TXT', 'MQ.TXT', 'BPRO.TXT')
    reject limit unlimited;

  • How to allow multiple values in a single blank cell in WebI report

    Hi
             I am working in BO XIR2. I have a scenario as follows.
    In a single cell (blank cell from template) i need to display multiple contact persons. When I drag the contact person name into the blank cell, I am getting an error: MULTIVALUE). Please let me know how to use a function so that I can show two or three contact person names in a single blank cell.
    I tried to use Replace and Char function as follows to bring Carriage Return functionality to the cell.
    Replace([Contact Person]; ";" ; Char(13)) but this did not work.
    Thanks in Advance.

    BOUser11:
    I know this thread has been answered. I recently came across a scenario where I happen to populate multiple values in a single blank cell(from templates). But the only catch being that if user enters multiple values for a prompt you can show them in a single cell eg: =UserResponse("Enter value(s) for Branch:"). would be the formula for the blank cell. Afetr the user selects three values say A, B,C, webi puts it in the format of A;B;C. in a single cell.
    In your case try giving that as a prompt to the user or answer that multi prompt some how and when u use the above formula it should suffice your requirement.
    Let me know if you have tried.
    Thanks,
    karthik

  • Printing to PDF from CrystalReportViewing returns blank page

    Hi All,
       I have a web report that I run. When the report generates in the CrystalReportViewer I see my results. However, if I click the button to Print to PDF, it results in a PDF with no data. If I click on the Next button as well to go to the next page in my report, it returns blank results.
    This apparently started happening when I used date parameters being passed to my stored procedure:
            parameterField = report.ParameterFields("@callstdate")
            parameterField2 = report.ParameterFields("@callendate")
    I'm using VS 2008 and CR2008.
    Any ideas why this is happening?
    Thank you in advance,

    1)Any export type I use returns no data on the exported report
    2)Changed PDF to ActiveX and it printed the report with no data
    3)Remove parameters from my webapp and let the Viewer prompt for them. Now PDF works and everything else.
    Here's my code:
        Protected Sub display_report()
            parameterField.CurrentValues.Clear()
            parameterField2.CurrentValues.Clear()
            parameterField3.CurrentValues.Clear()
            CrystalReportViewer2.ParameterFieldInfo.Clear()
            parameterField = report.ParameterFields("@callstdate")
            parameterField2 = report.ParameterFields("@callendate")
            parameterField3 = report.ParameterFields("Group")
            For Each li As ListItem In Me.ListBox1.Items
                If li.Selected = True Then
                    ' Add all parameters value here
                    parameterField3.CurrentValues.AddValue(li.Value)
                End If
            Next
            report.SetParameterValue("@callstdate", CDate(st_date.Text))
            report.SetParameterValue("@callendate", CDate(st_date.Text))
            CrystalReportViewer2.ReportSource = report
        End Sub

  • The dml not giving proper value in the returning into variable

    DELETE FROM temp_records_med
    WHERE slno NOT IN (SELECT COLUMN_VALUE
    FROM TABLE (v_slno_tab));
    RETURNING COUNT(slno) INTO p_retval;
    There are 4 rows deleted but the the the variable has got 0 in it.
    Why?

    I am deleting from the below given table based on SLNO.
    How to get the count of records that are deleted?
    DESC temp_records_med
    SQL>
    FILEID NUMBER,
    FILENAME VARCHAR2(100 BYTE),
    SLNO NUMBER,
    IMSI VARCHAR2(20 BYTE),
    IMEI VARCHAR2(20 BYTE),
    CALLEVENTSTARTTIMESTAMP DATE,
    UTCTIMEOFFSET VARCHAR2(6 BYTE),
    CALLEVENTDURATION NUMBER,
    CAUSEFORTERMINATION NUMBER,
    CALLTYPE NUMBER,
    SERVICETYPE NUMBER,
    SERVICECODE NUMBER,
    SUPPLSERVICECODE VARCHAR2(5 BYTE),
    DIALLEDDIGITS VARCHAR2(20 BYTE),
    CONNECTEDCALLINGNUMBER VARCHAR2(20 BYTE),
    THIRDPARTYNUMBER VARCHAR2(20 BYTE),
    RECORDINGENTITYIDENTIFICATION VARCHAR2(20 BYTE),
    CALLREFERENCE VARCHAR2(20 BYTE),
    ACCESSPOINTNAMENI VARCHAR2(20 BYTE),
    ACCESSPOINTNAMEOI VARCHAR2(20 BYTE),
    DATAVOLUMEINCOMING NUMBER,
    DATAVOLUMEOUTGOING NUMBER,
    SGSNADDRESS VARCHAR2(20 BYTE),
    GGSNADDRESS VARCHAR2(20 BYTE),
    CHARGINGID VARCHAR2(20 BYTE),
    CHARGEAMOUNT NUMBER
    CREATE OR REPLACE PROCEDURE p1 (p_retval OUT NUMBER)
    IS
       CURSOR med_rec_cur
       IS
          SELECT *
            FROM temp_records_med;
       TYPE med_rec_tab IS TABLE OF temp_records_med%ROWTYPE;
       TYPE slno_tab IS TABLE OF temp_records_med.slno%TYPE;
       v_count         NUMBER;
       v_filename      temp_records_med.filename%TYPE;
       v_fileid        temp_records_med.fileid%TYPE;
       v_med_rec_tab   med_rec_tab;
       v_slno_tab      g_slno_tab;
       dml_errors      EXCEPTION;
       v_count1 number;
       v_count2 number;
    BEGIN
       OPEN med_rec_cur;
       LOOP
          BEGIN
             FETCH med_rec_cur
             BULK COLLECT INTO v_med_rec_tab LIMIT 1000;
             FORALL i IN v_med_rec_tab.FIRST..v_med_rec_tab.LAST SAVE EXCEPTIONS
                INSERT INTO meddetail
                     VALUES v_med_rec_tab (i)
                  RETURNING       slno
                BULK COLLECT INTO v_slno_tab;
          EXCEPTION
             WHEN DUP_VAL_ON_INDEX
             THEN
                NULL;
             WHEN OTHERS
             THEN
                NULL;
          END;
          EXIT WHEN med_rec_cur%NOTFOUND;
       END LOOP;
       CLOSE med_rec_cur;
      DELETE FROM temp_records_med
             WHERE slno NOT IN (SELECT COLUMN_VALUE
                              FROM TABLE (v_slno_tab));
        --RETURNING COUNT(slno) INTO p_retval;
       COMMIT;
    END;Edited by: user8731258 on Sep 8, 2010 10:50 PM

  • [UDF] if not exist input element, return value must be returned "nulltext".

    Hi SDNers.
    I need to make a UDF for special case.
    I made under UDF but it has a problem.
    When I delete a element in test, I expect to be returned the "nulltext" value.
    Let me know how to coding.
    - source code -
    public String One2One(String in1, Container container) throws StreamTransformationException{
              if (in1==null) {
                   return "nulltext";
              } else {
                   return in1;

    Hi
    Are you using the below code in the UDF??
    public String One2One(String in1, Container container) throws StreamTransformationException{
    if (in1==null) {
    return "nulltext";
    } else {
    return in1;
    If so it wont work. UDF itself a function and not possible to use a function inside a fn,
    Try the below code,
    if (in1==null) {
    return "nulltext";
    } else {
    return in1;
    Also "When I delete a element in test," -- wat does it mean?
    Regards
    Ramg.

  • Getting null returned when working with Linked Lists

    Ok, i'm having the same problem with a couple of methods that deal with linked lists, and i was hoping someone could lend me a hand. First off, the specifications for one of the methods:
    An iterative procedure smallElements
    PARAMETERS: a ListItem reference, ls
    an integer n
    RETURN VALUE: a new list identical to the given list, except
    that it contains no occurrences of numbers greater than n.
    for example, given input list ( 3 2 6 3 4 ) and 3,
    the return value would be the list ( 3 2 3 )
    And here is my code:
    ListItem smallElements(ListItem ls, int n){
    ListItem small = null;
    ListItem result = small;
    if(ls == null)
    return null;
    else{
    while(ls!=null){
         if(ls.number <=n){
         result = new ListItem(ls.number, null );
         result = result.next;
         ls = ls.next;
    return small;
    Like the topic says, i keep getting null returned as a value. I have tried setting small= new ListItem(ls.number, null), and that actually returns the correct list, except that the first number is repeated twice. I would greatly appreciate any assistance.

    I am not sure I understand your code. What exactly are those ListItems? It seems to me that you are dealing with single List elements, while the specification says that you are supposed to return a List.
    But the main error is that you have two ListItem objects there, which seems to fill the same purpose - only that you use one, and return the other. 'small', which is the one you return, never get set to anything else than null.
    I think you should do something like this: make a new, empty list to return
    for element in parameterlist
        if number is smaller than n
            add this element to returnlist
    return returnlist

  • Comparing a value with NULL

    Hi,
    A funny thing is happening to me. Is it only in oracle 9i or in every version.
    I am working on a state project on Data Warehousing and faced a small BUG. Here is the sample code.
    DECLARE
    v_Var varchar2(10) := 'a';
    v_Null varchar2(10) := null;
    BEGIN
         IF v_Var != v_Null THEN
              DBMS_OUTPUT.PUT_LINE('First: Not equal');
         ELSE
              DBMS_OUTPUT.PUT_LINE('First: Equal');
         END IF;
         IF v_Var = v_Null THEN
              DBMS_OUTPUT.PUT_LINE('Second: Equal');
         ELSE
              DBMS_OUTPUT.PUT_LINE('Second: Not equal');
         END IF;
    END;
    This anonymous block should return Not Equal for both the statements, but unfortunately it returns Equal for the First and Not equal for the Second.
    Is this a BUG?
    Is this happening only in version 9i (I use version 9.2.0.1.0)?
    Any help/suggestion is appreciated.
    Thanks! :)
    Kamal Vala

    Thanks Justin! :)
    I got a clear answer from U.
    Appreciated.
    In this case I can go with the second statement as any way it returns Not equal
    Here is the modified actual statement which I am using in my procedure and now it works.
    I have modified the Inner IF by adding ELSE part, comparing with = (Earlier !=) and passing the variable assign to the ELSE part.
    -- compare old values with new values after checking the NULL values for Approver.
    IF (vc_Approver IS NULL) AND (v_Approver IS NULL) THEN
    -- Not passing value to keep the same value for v_RecInsert as the value is not changed.
    NULL;
    ELSE
    IF vc_Approver = v_Approver THEN
    -- Not passing value to keep the same value for v_RecInsert as the value is not changed.
    NULL;
    ELSE
    v_RecInsert := TRUE;
    END IF;
    END IF;
    Here if v_RecInsert is TRUE then I have insert the record.
    Hi Garcia,
    I can't use NVL function here as I have to pass a value for NULL and If that value really comes in the field.....than it will problem again.
    Thanks! to Justin and Garcia for taking ur time.
    Kamal Vala :)

Maybe you are looking for

  • Airplay - playback in multiple rooms no longer in sync

    In the wake of Mac OS X v10.8.3 and iTunes 11.02 upgrades (and after years of automatically working flawlessly and seamlessly), Airplay music playback no longer is in sync between an AppleTV v3 connected to a circa 2004 Pioneer Elite VSX-23TXHK A/V R

  • Using NEW alluminum keyboard on an iMac G5 w/iSight

    I just bought the new IMac (aluminum) keyboard to use with my iMac G5 (iSight). I feels nice. Except I didn't know the F keys are set differently. So as of now I can NOT control the sound, brightness, eject cd, mute... via my keyboard. Well, unless i

  • Account Payables with Procurement data query

    Hi Gurus,          Anyone who developed reports on a query of Account Payables with Procurement data.. the sources of fields are from R/3....          Can you provide me with the business content or the datasources you use? Thanks.. Irish

  • Where are Address Book contacts stored in Mac Os X 7 Lion

    Where are Address Book contacts stored in Mac Os X 7 Lion

  • Problems updating to 12.0 + 64-bit version question

    On the first issue: my Firefox 11.0 won't update to 12.0, even when going through the "About Firefox -> Check for updates" path. I know that the release date for 12.0 was today, so I don't understand what's the problem. On the second issue: is it tru