Update Record Field if Value Not Equal

Hello All,
I am using Toad for Oracle 10. I have a MERGE INTO Process that updates tbl_requisition based on FK - fk_allotment_id that equals parent table tbl_allotment PK - pk_allotment_id. Both tables have create, update and deletes triggers. The process is executed when a Apply Changes/update button is clicked from tbl_allotment. So, all the record data from tbl_allotment updates tbl_requisition record if the fk and pk keys are equal. My problem is if a record is updated within tbl_requisition. Now the record from tbl_requisition is different from tbl_allotment. If any value is updated from tbl_allotment for the matching pk_allotment_id = fk_allotment_id record from tbl_requisition. tbl_allotment record data will override the updated value within tbl_requisition. I would like to only update the values that were updated/changed and are not equal from tbl_allotment to tbl_requisition. Can anyone assist me with this?
Begin
MERGE INTO tbl_requisition req
USING tbl_allotment alt
ON (req.fk_allotment_id = alt.pk_allotment_id)
WHEN MATCHED THEN
UPDATE SET
     req.FK_JOBCODE_ID = alt.FK_JOBCODE_ID,
     req.FK_JOBCODE_DESCR = alt.FK_JOBCODE_DESCR,
     req.FK_JOBCODE_PAYRANGE = alt.FK_JOBCODE_PAYRANGE,
     req.FK_PAY_RANGE_LOW_YEARLY = alt.FK_PAY_RANGE_LOW_YEARLY,
     req.FK_DEPARTMENT_ID = alt.FK_DEPARTMENT_ID,
     req.FK_DIVISION_ID = alt.FK_DIVISION_ID,
     req.FK_NUMBER_OF_POSITIONS = alt.NUMBER_OF_POSITIONS,
     req.FK_DEPARTMENT_NAME = alt.FK_DEPARTMENT_NAME,
     req.FK_DIVISION_NAME = alt.FK_DIVISION_NAME,
     req.REPORT_UNDER = alt.REPORT_UNDER;
EXCEPTION
  WHEN NO_DATA_FOUND THEN
    dbms_output.put_line('No data found');
End; Thanks for reading this thread and I hope someone can provide some assistance. If the create tables or anything is needed that is not a problem to provide.

Thanks for responding Frank and providing the EXCEPTION information also. Here are my create tables and insert statement. I changed the child table from tbl_requisition to tbl_allotment_temp, same process though.
CREATE TABLE  "TBL_ALLOTMENT"
   (     "PK_ALLOTMENT_ID" NUMBER,
     "FK_DEPARTMENT_ID" VARCHAR2(5),
     "FK_DIVISION_ID" VARCHAR2(100),
     "FK_JOBCODE_ID" NUMBER,
     "FK_JOBCODE_DESCR" VARCHAR2(100),
     "FK_JOBCODE_PAYRANGE" NUMBER(*,0),
     "FK_PAY_RANGE_LOW_YEARLY" NUMBER(*,0),
     "NUMBER_OF_POSITIONS" NUMBER,
      CONSTRAINT "PK_ALLOTMENT_ID" PRIMARY KEY ("PK_ALLOTMENT_ID") ENABLE
CREATE TABLE  "TBL_ALLOTMENT_TEMP"
   (     "PK_ALLOTMENT_TEMP_ID" NUMBER,
     "FK_DEPARTMENT_ID" VARCHAR2(5),
     "FK_DIVISION_ID" VARCHAR2(100),
     "FK_JOBCODE_ID" NUMBER,
     "FK_JOBCODE_DESCR" VARCHAR2(100),
     "FK_JOBCODE_PAYRANGE" NUMBER(*,0),
     "FK_PAY_RANGE_LOW_YEARLY" NUMBER(*,0),
     "NUMBER_OF_POSITIONS" NUMBER,
      CONSTRAINT "PK_ALLOTMENT_TEMP_ID" PRIMARY KEY ("PK_ALLOTMENT_TEMP_ID") ENABLE
INSERT INTO tbl_allotment
(FK_DEPARTMENT_ID, FK_DIVISION_ID, FK_JOBCODE_ID, FK_JOBCODE_DESCR,
FK_JOBCODE_PAYRANGE, FK_PAY_RANGE_LOW_YEARLY, NUMBER_OF_POSITIONS)
values
(00002, 0000220000, 100408, 'Revenue Analyst',
  2210, 38389, 5);Once data is created for tbl_allotment, this insert statement inserts the data to tbl_allotment_temp.
INSERT INTO tbl_allotment_temp(
     PK_ALLOTMENT_TEMP_ID,
     FK_JOBCODE_ID,
     FK_JOBCODE_DESCR,
     FK_JOBCODE_PAYRANGE,
     FK_PAY_RANGE_LOW_YEARLY,
     FK_DEPARTMENT_ID,
     FK_DIVISION_ID,
     NUMBER_OF_POSITIONS)
    VALUES (
     :P3_PK_ALLOTMENT_ID,
     :P3_FK_JOBCODE_ID,
     :P3_FK_JOBCODE_DESCR,
     :P3_FK_JOBCODE_PAYRANGE,
     :P3_FK_PAY_RANGE_LOW_YEARLY,
     :P3_FK_DEPARTMENT_ID,
     :P3_FK_DIVISION_ID,
     :P3_NUMBER_OF_POSITIONS);Once any update occurs to tbl_allotment, this process updates tbl_allotment_temp based on temp.pk_allotment_temp_id = alt.pk_allotment_id.
Begin
MERGE INTO tbl_allotment_temp temp
USING tbl_allotment alt
ON (temp.pk_allotment_temp_id = alt.pk_allotment_id)
WHEN MATCHED THEN
UPDATE SET
     temp.FK_DEPARTMENT_ID = NVL (alt.FK_DEPARTMENT_ID, temp.FK_DEPARTMENT_ID),
     temp.FK_DIVISION_ID = NVL (alt.FK_DIVISION_ID, temp.FK_DIVISION_ID),
     temp.FK_JOBCODE_ID = NVL (alt.FK_JOBCODE_ID,    temp.FK_JOBCODE_ID),
     temp.FK_JOBCODE_DESCR = NVL (alt.FK_JOBCODE_DESCR, temp.FK_JOBCODE_DESCR),
     temp.FK_JOBCODE_PAYRANGE = NVL (alt.FK_JOBCODE_PAYRANGE, temp.FK_JOBCODE_PAYRANGE),
     temp.FK_PAY_RANGE_LOW_YEARLY = NVL (alt.FK_PAY_RANGE_LOW_YEARLY, temp.FK_PAY_RANGE_LOW_YEARLY),
     temp.NUMBER_OF_POSITIONS = NVL (alt.NUMBER_OF_POSITIONS, temp.NUMBER_OF_POSITIONS);
End;Once the data is created within tbl_allotment the data is also inserted within tbl_allotment_temp. If tbl_allotment_temp.NUMBER_OF_POSITIONS value is changed from 5 to 10 is fine. The problem is when a update occurs within tbl_allotment and the updated field is not NUMBER_OF_POSITIONS. The changed field values from tbl_allotment should only update the field data within tbl_allotment_temp.
UPDATE tbl_allotment_temp
SET
NUMBER_OF_POSITIONS = 10
UPDATE tbl_allotment
SET
FK_JOBCODE_DESCR = 'Revenue Test'Now within tbl_allotment_temp only field FK_JOBCODE_DESCR should be updated to Revenue Test but my MERGE INTO process will update all the field values. So the updated NUMBER_OF_POSITIONS value 10 will now be 5. I would only like to update any changed value from tbl_allotment to tbl_allotment_temp. If any record value from tbl_allotment_temp was changed that value should not be updated from the MERGE INTO Process within tbl_allotment unless those values have been updated within tbl_allotment. Let me know if this is not clear so I can clarity more Frank.
Edited by: Charles A on Aug 29, 2011 8:41 AM

Similar Messages

  • KO23 Object currency assigned  value not equal Line item assigned value

    Dear all:
                    I have one problem.  Some Internal Order budget  use KO23  view about Object currency assigned value not equal Standard Reprt
    S_ALR_87013019 - List: Budget/Actual/Commitments  assign value.
    I don't knew what happen ?
    So I wish someone can give me a hand. Tel me how to fix this problem.
    thank you !

    Hi Jason,
    First of all:
    The displayed account code must be translated into the internally used code ("_SYS...") when using segmentation - when not using segemntation it is just internal code = displayed code.
    The code displayed is just a sample to give you a hint in case you are already familiar with the SAP Business One application.
    Therefore the sample code does not talk about where you got e.g. the value for FormatCode from ("FormatCode" is e.g. a field in table OACT where the account name with segments is (redundantly) stored without separators).
    The user should know on which account he/she wants to book a line on; maybe you might want to give some help to the user by displaying a dialog with suitable - or preselected accounts?
    In addition I am sure you know how to assign a string value to a string property - without explicitly writing it, right?
    HTH,
    Frank

  • FIXED type Attribute value not equal to the default

    Hi
    I am in the processing of doing AP Inbound process. During My process I have created Invoice XML and XSD and mapped with XML Gateway OAG XSD.
    BPEL able to pool the directory and process the XML file. But I am getting below error at XML Gateway error log.
    FIXED type Attribute value not equal to the default
    value ''.
    Could any body let me know when do I get normally this kind of error.
    Regards
    Kiran Akkiraju

    If you have imported the source code you could use a workaroud i have found. Create a new workspace and a new Project. In it create with the wizard a new Struts Controller Page Flow. After, create a action class, and some jsp pages.Then put some Struts components with the Components Palette.Be sure that in the newly created pages, jdeveloper has put the struts taglib. Now you can rebuild your project.
    It seems that jdeveloper does some internal libraries configuration, but when you import the source code, it doesn't do it.
    Hope it helps
    Nicolas Fonnegra M.

  • Rounding off Issue (Net Value not equal to Net Price * quantity)

    Dear Gurus,
    Here is an interesting issue.The default calculation done in the pricing procedure is two decimal places.Now we consider a real scneario,consider the net value of 324 quantities of an item calculated is 36,049.86 .When it is divided by quantity  the resulting value of net price is 111.265 but the system shows 111.27 by rounding it off.
    Now here comes the problem,my client needs the rate to be shown on the order script to be two decimal places and the net value should be equal  quantity * net price.So if we apply this,
    324 * 111.27 = 36051.48
    But the net value calculated by the system is 36,049.86.So it can be consluded that:
    "Quantity * Net Price Shown is not Equal to Net Value calculated by the System"
    Need an urgent resolution,project is stuck on this
    Regards,
    Sam Ahmed
    Edited by: Lakshmipathi on Nov 3, 2011 12:14 PM
    Please dont add URGENT in subject or in your post

    Here is the pricing procedure,
    We start with the amount condition types
                                            Unit Price        Units Condition Value
    ZMRP     MRP                     1,700.00           10     PAC     55,080.00      
    ZTRP     Trade Price     1,445.00           10     PAC     46,818.00      
    ZDPR     Dist. Price     1,445.00           10     PAC     46,818.00         (GL)
    Using Trade Price we apply the product discount of 23%
    ZPRD     Product Discount     23.000-     %                    10,768.14-
    Then we send discount amount to the gl by using condition type ZDIS
    ZDIS      Discount Value     100.000-     %           10,768.14-      (GL)
    tHE RESULTING NET VALUE IS  36,049.86      as 46818.00 - 10,768.14
         Order Item value     111.27      1     PAC     36,049.86      
    And the Net Price is 111.27

  • How to create list partition  Where value not equal

    Hi ,
    How to crate partition where i want to store all data what is not equal to ,priview values,(A,B,C,D,E) ?
    PARTITION PN001 VALUES (*is all values !=A,B,C,D,E*) TABLESPACE test_1Thanks !
    ID

    >
    In partition
    <partition_name> values (default) ? will be stored data where value is null too ?
    >
    See the VLDB partitioning guide
    http://docs.oracle.com/cd/E18283_01/server.112/e16541/part_admin001.htm#sthref247
    >
    Creating List-Partitioned Tables
    The semantics for creating list partitions are very similar to those for creating range partitions. However, to create list partitions, you specify a PARTITION BY LIST clause in the CREATE TABLE statement, and the PARTITION clauses specify lists of literal values, which are the discrete values of the partitioning columns that qualify rows to be included in the partition. For list partitioning, the partitioning key can only be a single column name from the table.
    Available only with list partitioning, you can use the keyword DEFAULT to describe the value list for a partition. This identifies a partition that accommodates rows that do not map into any of the other partitions.
    >
    Note the last two sentences above. The DEFAULT partition will contain data for values (including NULL) that do not map to other partitions.

  • Problem with field-symbol values not updating

    H i ,
          I have following piece of code :
    Assigning Dynamic Table to Field Symbol
        ASSIGN ist_dyn_table->* TO <gs_dyn_table>.
    *   Creating Structure for dynamic table
        CREATE DATA gs_dyn_line LIKE LINE OF <gs_dyn_table>.
    *   Creating line type for the Dynamic Values
        ASSIGN gs_dyn_line->* TO <gs_line>.
    *   Populating values in the dynamic table
        LOOP AT ist_pwcl_main INTO wa_pwcl_main.
          ASSIGN COMPONENT gc_fld_werks OF STRUCTURE <gs_line> TO <gs_field>.
       1   IF sy-subrc EQ 0.
       2        <gs_field> = wa_pwcl_main-werks.
       3      ENDIF.
       5  IF <gs_field> IS ASSIGNED.
       6     <gs_field> = wa_pwcl_main-vbeln.
          ENDIF.
      7 IF <gs_field> IS ASSIGNED.
      8  <gs_field> =  wa_pwcl_main-posnr.
          ENDIF.
       IF <gs_field> IS ASSIGNED.
            <gs_field> = wa_pwcl_main-quant.
          ENDIF.
    on debugging  at line 2 <gs_filed> contains the value of werks .
    but at line 6 <gs_field> contains value of vbeln as 0 and at 8 of posnr as 0 .
    What can be the problem ? Other values are getting assigned properly .
    Plz help ...
    Regards .

    Hi,
    Assigning Dynamic Table to Field Symbol
        ASSIGN ist_dyn_table->* TO <gs_dyn_table>.
      Creating Structure for dynamic table
        CREATE DATA gs_dyn_line LIKE LINE OF <gs_dyn_table>.
      Creating line type for the Dynamic Values
        ASSIGN gs_dyn_line->* TO <gs_line>.
      Populating values in the dynamic table
        LOOP AT ist_pwcl_main INTO wa_pwcl_main.
          ASSIGN COMPONENT gc_fld_werks OF STRUCTURE <gs_line> TO <gs_field>.
       1   IF sy-subrc EQ 0.
       2        <gs_field> = wa_pwcl_main-werks.
       3      ENDIF.
       5  IF <gs_field> IS ASSIGNED.
       6     <gs_field> = wa_pwcl_main-vbeln.
          ENDIF.
      7 IF <gs_field> IS ASSIGNED.
      8  <gs_field> =  wa_pwcl_main-posnr.
          ENDIF.
       IF <gs_field> IS ASSIGNED.
            <gs_field> = wa_pwcl_main-quant.
          ENDIF.
    Based on your coding above, <gs_field> has been assigned with data type 'WERKS' (i'd assume component gc_fld_werks found from structure <gs_line> is a plant typed), which is a CHAR(4) data type.
    Meaning, if <gs_field> is assigned with Plant type value, e.g. <gs_field> = '1000', field symbol <gs_field> will contain 4 character only.
    At line 6, if wa_pwcl_main-vbeln = '0000201000', <gs_field> is only capturing '0000' only. This is also happened to line 8.
    However, it looks like that <gs_field> is getting over-write if ASSIGNED statement returns SY-SUBRC = 0.
    Hope this helps.
    Regards,
    Patrick

  • INSTEAD OF TRIGGER (UPDATE): new.field null or not set

    When using an instead of trigger for an update on a view, you can "relate" the updates to the (another) base table(s).
    to perform the update statement you have the use the ":new.field" notation.
    Is there a way to determine if the field value is included in the update statement that causes the trigger to be fired?
    I know you can check this value and see if it's null but this is not the same as "not used in the set clauses". It can be explicitly set to null : SET field = NULL
    which can be used like SET FIELD = :new.field
    but what if it is not "used" in the update statement at all.?
    Here is a (simplified example)
    CREATE OR REPLACE VIEW TATB
    As
    SELECT TA.FIELD1, TA.FIELD2, TB.FIELD3, TB.FIELD4
    FROM TABLEA TA, TABLEB TB
    WHERE TA.ID = TB.ID
    THIS is an update statement
    UPDATE TATB
    SET FIELD1='JOS', FIELD2='FONS'
    this could be another one
    UPDATE TATB
    SET FIELD1='JOS', FIELD2='FONS' FIELD3 = NULL
    HOW can the distinction be checked (in the body of the instead of trigger) that in update statement 1, the new.field3 is not set at all and in the second one the new.field3 is explicitly set to null
    tx
    Luc

    I found after re-reading the documentation that when using an update it is possible to use the check UPDATING in concordance with the column name:
    IF UPDATING('field1') THEN
    END IF;
    tx
    Luc

  • Update record to specific value or to null

    Hello.
    We have two tables. Both have the same attribute. Update sentence look if attribute has the same value in both tables. If the value is the same, another attribute is updated to specific value in one table.
    Now i want to update attribute in all records. But if the both tables haven't got the same value, attribute in record should be updated to null.
    For now update looks like:
    update tableA set att1 = att2
    where att3 = value2 and att4 IN (select att4 from tableB where att2 = value2);
    Any idea?
    I hope i explained the problem properly.
    Thanks.

    Like..
    SQL> select * from test1;
    C1         C2
    c1          1
    SQL> select * from test2;
    C1        C22        C33
    c2         11        100
    c1          1        100
    SQL> update test2 t2
      2  set c33 = decode(c22,(select max(c2) from test1 t1 where t1.c1=t2.c11),0,null);
    2 rows updated.
    SQL> select * from test2;
    C1        C22        C33
    c2         11
    c1          1          0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Invoicing Plan Net Value not equals to Ordered Value

    Dear Xperts,
    Need your advice.
    Is it SAP standards, when an invoicing plan BPO is created with reference to an outline agreement the net value at the outline agreement (header statistic) is taken from the BPO net value (Quantity X Price) NOT BPO ordered value (Quantity X Price X Months).
    Scenario Simulated:
    (1)     Contract Detail (value contract)
    Target Value = RM12,000 (price RM1000 ; 12 months validity)                                                                     
    (2)     Purchase Order
    Quantity = 1 pcs ; Price = RM1000 ; Invoicing Plan = 12 months
    Ordered Value = RM 12,000
    Net Value = RM1000
    As a result the utilization value (contract header statistic) is:
    Target Value : RM12,000
    Net Value : RM1000.
    This will lead to a misleading info of utilization value of the contract.
    Your experts explaination is highly appreciated.

    Anybody?

  • Parameter field default values not being set in BO Infoview

    For a report, I have three numeric input parameter fields with a default value of -1.  When the report is processed in the Crystal Reports development environment, the parameter fields are all displayed with the default values. 
    When copied and then processed in BO Infoview, the three parameters come up with a value of "Empty".  In order for the report to process correctly, these "Empty" fields need to be individually called, a numeric value entered and then the report "Scheduled".  Does anyone know of any way to force or get Infoview to use the pre-defined default values of these fields when running with Infoview? 
    Thanks

    In the CMC, you have to config the report object's parameter.
    It's under the Process tab of Object.
    Bryan Tsou@Taiwan

  • Screen field char value not possible

    Hello,
    I have a text field in my screen. This field is associated with a table field of type CHAR with lowercase possible.
    The problem is that when the user starts the text for example with a ! the field gets erased. If the user writes a normal text it is accepted.
    Anyone knows how to prevent this?
    Thank you,
    Nuno Silva

    Hi ,
    For character fields, you can suppress this behavior by setting the 'Without template' attribute for the field.
    If you do this, the system does not interpret any characters of the input.
    The attribute is located in the Screen Painter (transaction SE51) among the attributes of the relevant field.

  • Null values not equal

    I'm writing some reports that are pulling possible duplicates out of a table. I have to base the query on several nullable columns in my table. I was tired of writting (a.column1 = b.column1 or (a.column1 IS NULL and b.column1 IS NULL)) for every column being compared so i wrote the following function:
    CREATE OR REPLACE FUNCTION equivalent (
    in_one     VARCHAR2,
    in_two     VARCHAR2)
    RETURN NUMBER IS
    BEGIN
    IF in_one = in_two THEN
         RETURN 1;
    ELSIF in_one IS NULL AND in_two IS NULL THEN
              RETURN 1;
    END IF;
         RETURN 0;
    END equivalent;
    Now I just pass equivalent(a.column1, b.column1) = 1. The problem is that this seems to take considerably longer. Does anybody know why or have a suggestion to speed things up?
    Any help would be appreciated.
    Thakns in advance,
    Chris S.

    There is always an overhead to calling PL/SQL. If you're running on 9i you could try compiling your function as native C; that way it will run almost as fast as kernel code. If you want to save yourself a bit of typing you could try this:
    nvl(a.column1, 'Chris is ace!!') = nvl(b.column1, 'Chris is ace!!') Of course, you need to substitute some more buisness-like but equally non-valid phrase for 'Chris is ace!!'
    - er - if you know what I mean. And it still won't use any indexes.
    Cheers, APC

  • How can we filter a character "not equal to" to a certain value?

    hi,
    we have a set of values to characterstic.
    we want to display values not equal to...."xyz" in the query. how to do it

    hello,
    i am trying to change a group box text dynamically, what are the settings i need to make on the screen side and program side could you explain me with a code...?
    thanks
    or tell me where should i post this doubt?

  • Update record validation

    I've used DW insert app object to build form to update a
    record. I'd like to add an if statement but I am unsure where to
    insert the code. I want to check a field for a specific value
    before letting the record be updated. If the value is equal to a
    specific value the form is process otherwise the entire update is
    cancelled.
    Thanks

    rozebiz wrote:
    > I've used DW insert app object to build form to update a
    record. I'd like to
    > add an if statement but I am unsure where to insert the
    code. I want to check
    > a field for a specific value before letting the record
    be updated. If the value
    > is equal to a specific value the form is process
    otherwise the entire update is
    > cancelled.
    The PHP code that controls the update begins with this line
    ("form1"
    will be whatever name the update form has):
    if ((isset($_POST["MM_update"])) &&
    ($_POST["MM_update"] == "form1")) {
    Place your cursor at the end of that line and press enter a
    couple of
    times to insert space for the following code:
    if ($_POST['myVariable'] != 'required_value') {
    // code to inform user that update has not been done
    else {
    Then scroll down until you find this code:
    header(sprintf("Location: %s", $updateGoTo));
    Insert another closing curly brace immediately after it to
    balance the
    opening one after "else".
    Replace 'myVariable' and 'required_value' with the field that
    you want
    to check and the value it needs to be.
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • CRM 2011: when auditing is turned off, why do existing Audit records lose "New Value"?

    Not sure if this is by design (if so, would love to know why!) or if this is a bug.  Let's say I have auditing turned on for Accounts.  I change the phone number in the Main Phone field from 555-1111 to 555-5555, and an audit record is
    created showing the Old Value (555-1111) and New Value (555-5555).  Great.  Now I turn off auditing. The system goes back to the audit record that had previously been created, and modifies it so that it shows the Old Value (555-1111),
    and inserts an icon into the New Value field indicating auditing was turned off.  The tool tip for that icon states "Auditing was stopped and restarted.  The new values for the fields that changed during this period cannot be identified or recorded."
    First of all (minor picky issue) auditing hasn't been turned back on yet, despite what the tool tip says (says the same thing whether or not auditing is turned back on).  But the real problem is
    why the existing audit record's New Value would be removed... why would that happen?!?  We're talking about a historical update.  It really did change, and the system knew what it changed from/to, so why would the system remove that new value
    from the audit record?  Logically I would expect that any changes made
    while auditing is off would not be logged, and that once auditing is turned back on, Old/New values would correspond to whatever was/is in the system at the time that any new audit record is created, so there may be a disconnect between an older audit
    record and a new one (old record's New Value not matching the new record's Old Value, because changes were made while auditing was off). And it's quite apparent when auditing is turned off, because an audit record is created stating "Auditing Disabled". 
    Any ideas if there's a logical reason why it would do this, or if this is really a bug that Microsoft needs to fix?  We have a client with a business need to periodically turn off auditing while integration updates run between CRM and another system
    (otherwise hundreds of thousands of unnecessary audit records would be created).  But if they're going to lose audit data every time they disable auditing, the auditing is worthless.

    We wouldn't ever temporarily turn auditing off on purpose... it's happening when we import managed solutions.  We have vendors with managed solutions that contain system entities such as Contacts.  When importing their solution, it momentarily
    turns auditing off on those entities.  The only evidence of this is audit records indicating "Entity Audit Stopped", and of course the loss of all the most  recent "new value" on all audit records.  The interesting (?) parts of this are:
    1. When importing the managed solution, the recommended option to keep all existing customizations is selected.  I would think this would include the audit settings on the entity, but apparently not (sort of... see #2).
    2. As soon as the managed solution is imported, in addition to creating an "Entity Audit Stopped" audit record on relevant entities and wiping out new values, it apparently turns auditing back on, yet there's no record of this (in customizations, the entity
    still (or once again) indicates auditing is enabled; but on records for that entity, there is no "Entity Audit Enabled" record.   
    So, now it's on to working with the vendors, to dig into their managed solutions and see if there's a way to prevent this!

Maybe you are looking for

  • Calling a Method in other Class

    I want to call a method in another class when an action is preformed can anyone suggest how I might do this??      addSquare.addActionListener(new ActionListener()                public void actionPerformed(ActionEvent e)      

  • Migration from 1.6 to Apex 3.1 - Popup windows no longer working

    We just moved our application to Apex 3.1 from HTMLDB 1.6. The only thing that is not working since we migrated is the popup window that used to work. Now a window still pops up, but it is the login screen, not the expected window, and even if one lo

  • How to issue checks for payments done using f-53

    Hello , Iam unable to print a check created manually,can some one  please explain me how to  you print it....what i did was: i paid using f-53 and then  created check lots and in fbz5 i entered all the details required but still i get the error : LIN

  • Assigning Asset Reconciliation Account

    Hi Guys, Where do we assign the Asset Reconciliation Account to an Asset? Does it flow from the Asset Class? IF so..Where do we assign this GL account.. Thanks, Kris..

  • Problem installing Icloud on Ipad 3

    I have successfully installed icloud on my Iphone but not Ipad. Under settings/icloud/account/mail: it lists my name, but the e-mail is under an acount I no longer have. There is no command to change this setting. I have tried turning off the mail ta