by comparing the two costumes

We received a request to purchase the digital publishing suite.

But before buy you, I want to know what is the diff between this sequence and the cs6 master collection (we already have).

Thank you

Tal.

Digital Publishing Suite is separated from the Master Collection. Master Collection includes: InDesign, which is the tool that developers use to create publications of DPS. However to distribute these publications you need a separate license for DPS.

Neil

Tags: Digital Publishing Suite

Similar Questions

  • By comparing the two contours

    Hi Experts,


    in my project for 1 application 2 Data bases like (Aculas, Forecast).

    I want to compare the two contours... is there no matter what automation is there... pls sugest me.

    Now I compare manually.


    Thanks in advance!

    Yes it's true. You can download it from

    http://www.appliedolap.com/

    Amol

  • In comparing the two last samples read in

    Hey guys,.

    before the start of my program to test a sample, to check whether its current temperature stable

    So, I read the information of my sample temperature very low frequency (once every 5 seconds) and basically I want to compare the last two samples I have read, and if they are the same allow the next part of the program to start.

    I thought that this could involve using the Labview collector function, but I can't see how I would implement it.

    Any help is very appreciated,

    Sam.

    use a registry node or shift of feedback.

    Write the value to the entry of feedback node and compare to the output

  • By comparing the two huge table columns

    Hello

    I want to compare two tables each of RECON_APPEND_01 table contains 375 million and RECON_VS_24082011 450 million records.
    RECON_APPEND_01 is a normal table and RECON_VS_24082011 is range partitoned table.
    The two table has a primary key on the column Serial_number. (Oracle 11g R2)

    Requirment is to obtain the records in the RECON_APPEND_01 table that are not present in RECON_VS_24082011.
    I came across a few suggestions for using operator less. Here is the query and its plan to explain
    CREATE TABLE RECON_APPEND_01
    PARALLEL 3
    NOLOGGING
    AS
    ( SELECT   SERIAL_NUMBER
    FROM   RECON_APPEND_01
    minus
    select SERIAL_NUMBER from RECON_VS_24082011
    )
    Explain the Plan:
    --------------------------------------------------------------------------------------------------------------------------
    | Id  | Operation                    | Name            | Rows  | Bytes |TempSpc| Cost (%CPU)|    TQ  |IN-OUT| PQ Distrib |
    --------------------------------------------------------------------------------------------------------------------------
    |   0 | CREATE TABLE STATEMENT       |                 |   378M|  6451M|       |  1398K (43)|        |      |            |
    |   1 |  PX COORDINATOR              |                 |       |       |       |            |        |      |            |
    |   2 |   PX SEND QC (RANDOM)        | :TQ10002        |       |       |       |            |  Q1,02 | P->S | QC (RAND)  |
    |   3 |    LOAD AS SELECT            | RECON_APPEND_03 |       |       |       |            |  Q1,02 | PCWP |            |
    |   4 |     MINUS                    |                 |       |       |       |            |  Q1,02 | PCWP |            |
    |   5 |      SORT UNIQUE             |                 |   378M|  4336M|  7255M|   775K  (4)|  Q1,02 | PCWP |            |
    |   6 |       PX RECEIVE             |                 |   378M|  4336M|       |   114K  (3)|  Q1,02 | PCWP |            |
    |   7 |        PX SEND HASH          | :TQ10000        |   378M|  4336M|       |   114K  (3)|  Q1,00 | P->P | HASH       |
    |   8 |         PX BLOCK ITERATOR    |                 |   378M|  4336M|       |   114K  (3)|  Q1,00 | PCWC |            |
    |   9 |          TABLE ACCESS FULL   | RECON_APPEND_01 |   378M|  4336M|       |   114K  (3)|  Q1,00 | PCWP |            |
    |  10 |      SORT UNIQUE             |                 |   184M|  2115M|  3539M|   538K  (3)|  Q1,02 | PCWP |            |
    |  11 |       PX RECEIVE             |                 |   184M|  2115M|       |   216K  (1)|  Q1,02 | PCWP |            |
    |  12 |        PX SEND HASH          | :TQ10001        |   184M|  2115M|       |   216K  (1)|  Q1,01 | P->P | HASH       |
    |  13 |         PX BLOCK ITERATOR    |                 |   184M|  2115M|       |   216K  (1)|  Q1,01 | PCWC |            |
    |  14 |          INDEX FAST FULL SCAN| SYS_C002617302  |   184M|  2115M|       |   216K  (1)|  Q1,01 | PCWP |            |
    --------------------------------------------------------------------------------------------------------------------------
     
    Another alternate query:
    CREATE TABLE recon_append_02
    PARALLEL 3
    NOLOGGING
    AS
    SELECT   *
    FROM   RECON_APPEND_01 a
    WHERE   NOT EXISTS (SELECT  'X'
    FROM   RECON_VS_24082011 b
    WHERE   b.SERIAL_NUMBER = a.SERIAL_NUMBER)
    Explain the Plan:
    ------------------------------------------------------------------------------------------------------------
    | Id  | Operation              | Name            | Rows  | Bytes | Cost (%CPU)|    TQ  |IN-OUT| PQ Distrib |
    ------------------------------------------------------------------------------------------------------------
    |   0 | CREATE TABLE STATEMENT |                 |   378M|    26G|   450K (10)|        |      |            |
    |   1 |  PX COORDINATOR        |                 |       |       |            |        |      |            |
    |   2 |   PX SEND QC (RANDOM)  | :TQ10000        |   378M|    26G|   153K (28)|  Q1,00 | P->S | QC (RAND)  |
    |   3 |    LOAD AS SELECT      | RECON_APPEND_02 |       |       |            |  Q1,00 | PCWP |            |
    |   4 |     NESTED LOOPS ANTI  |                 |   378M|    26G|   153K (28)|  Q1,00 | PCWP |            |
    |   5 |      PX BLOCK ITERATOR |                 |       |       |            |  Q1,00 | PCWC |            |
    |   6 |       TABLE ACCESS FULL| RECON_APPEND_01 |   378M|    22G|   116K  (5)|  Q1,00 | PCWP |            |
    |   7 |      INDEX UNIQUE SCAN | SYS_C002617302  |     1 |    12 |     0   (0)|  Q1,00 | PCWP |            |
    ------------------------------------------------------------------------------------------------------------
    Based on the plan I've run the second query, but it's taking a lot of time around 4 hours and still running.
    Please suggest.

    With respect,
    Adeline Faure

    Look carefully at the request of Tubby. Your problem in your test is with b.val = null. You can't compare anything on a null using normal operators.

    SQL> select * from target_tab;
    
           VAL
    ----------
             1
             2
             3
             4
             5
             6
             7
             8
             9
            10
    
    SQL> select * from source_tab;
    
           VAL
    ----------
             6
             7
             8
             9
            10
    
    SQL> select a.*
      2  from target_tab a, source_tab b
      3  where a.val = b.val(+) and
      4        b.val is null;
    
           VAL
    ----------
             5
             1
             4
             2
             3
    

    John

  • compare the two array element and ignore the undesirable element of the array

    Hello

    Here I attached the vi. In this vi I compare table with ideal picture of A to z. normally in an entry, that we get a data with noise, as is show in this vi normally I just need to compare the value has Cwith c D with D with A & B with B, and so on. now the problem is I have to compare ideal picture with input .and string array if the input string is not in series from A to Z the whole comparion is .i false hope you understand my problem and give some suggestion thank you

    Please take a look at this modified version of your code and I would like to know if that's what you are trying to achieve.

    Please, ask questions and make sure you are comfortable and understand what I coded.

  • By comparing the two waveforms

    Hello

    I'm having a 11801B digital sampling oscilloscope and I need to compare the waveforms of a DUT to TDR test performed. For a good camera, the waveform must be stored in the pc and must be able to use it whenever necessary to compare with the breaking device which comes from the oscilloscope to calculate the time difference. So I need the waveforms in a simple graph for comparison. I tried with 'save the image in BMP format' for the waveform good camera and 'draw the image"to remind the waveform to compare with the waveform of the failure mechanism, but that did not work. I'm relatively new to labview. Could someone offer me please how to do this. Thanks in advance

    Best regards

    Julien

    You don't save images - for this part of the process at least.

    Save the table of datapoints for the good example the disk but you also want to save and when occurs a bad track table from bad one on the same graph as the right model.

    Mike...

  • By comparing the two registers of the transaction system

    I would like to comment on a matter of data modeling. In our source siebel system, our business users would like a metric that is based on the comparison of two requests for service. Essentially, if the second service request is created 7 or fewer days after the first application service, then it is reported as a reminder. Common element used for this comparison, it is that they both have the same associated assets.

    We could easily create the necessary ETL for the creation of a fact of reminder. However, my question is around to give visibility to the relationship between the two. Essentially, the business users would like that the first service request is related to the second and vice versa. How would you recommend creating this relationship in the star schema?

    For the relationship, you can for example add a column in the dimension of reminder.
    Recalls with the same value (for example the first recall) are related.

    If you want to see the reverse callback number in a one-to-one relationship, you can add another column to store.

    Concerning
    Nico

    Published by: gerardnico on 4-apr-2009 01:17

  • by comparing the two date columns

    I want to compare two values of the column of the same table. Both the date and time part. but I would like to compare with only the date portion. I want these files where two dates are not same. but it includes a part of the time in the comparison with the following query.
    select * from reporttransactions a,  reporttransactions b  
    where trunc ( to_date(a.TRANSACTION_DATE, 'DD/MM/YYYY' )) <> trunc (to_date(b.TRANSACTION_CREATION_DATE,'DD/MM/YYYY' ))
    any suggestion

    I think it's true,

    When: WHERE TRUNC (A.TRANSACTION_DATE) = TRUNC (B.TRANSACTION_CREATION_DATE)

    223605062     3247     0     0     -     215     1     215     8     8     0     215PKI     01/09/2012     01/09/2012
    223605056     5733     0     0     -     131     1     131     9     9     0     131RAS     01/09/2012     01/09/2012
    223605050     4568     0     0     -     132     1     132     5     5     0     132FSH     01/09/2012     01/09/2012
    223604993     1623     0     0     -     176     1     176     8     8     0     176TCL     01/09/2012     01/09/2012
    

    When: WHERE TRUNC (A.TRANSACTION_DATE)! = TRUNC (B.TRANSACTION_CREATION_DATE);

    225833757     9113     0     0     -     161     1     161     3     3     0     161CBE     16/09/2012     16/09/2012
    225833757     9113     0     0     -     161     1     161     3     3     0     161CBE     16/09/2012     16/09/2012
    225833757     9113     0     0     -     161     1     161     3     3     0     161CBE     16/09/2012     16/09/2012
    225833757     9113     0     0     -     161     1     161     3     3     0     161CBE     16/09/2012     16/09/2012
    225833757     9113     0     0     -     161     1     161     3     3     0     161CBE     16/09/2012     16/09/2012
    225833757     9113     0     0     -     161     1     161     3     3     0     161CBE     16/09/2012     16/09/2012
    225833757     9113     0     0     -     161     1     161     3     3     0     161CBE     16/09/2012     16/09/2012
    225833757     9113     0     0     -     161     1     161     3     3     0     161CBE     16/09/2012     16/09/2012
    225833757     9113     0     0     -     161     1     161     3     3     0     161CBE     16/09/2012     16/09/2012
    225833757     9113     0     0     -     161     1     161     3     3     0     161CBE     16/09/2012     16/09/2012
    225833757     9113     0     0     -     161     1     161     3     3     0     161CBE     16/09/2012     16/09/2012
    225833757     9113     0     0     -     161     1     161     3     3     0     161CBE     16/09/2012     16/09/2012
    225833757     9113     0     0     -     161     1     161     3     3     0     161CBE     16/09/2012     16/09/2012
    

    What's wrong?

  • By comparing the two tables for the integrity of the data

    Hi all
    I need to compare two tables for the integrity of the data through the SQL query.

    If you need to compare all the columns of t1 to t2:

    (SELECT * FROM t1
    MINUS
    SELECT * FROM t2)
    UNION ALL
    (SELECT * FROM t2
    MINUS
    SELECT * FROM t1);
    

    Kind regards
    Ankit Rouault
    http://theoraclelog.blogspot.in

  • By comparing the two lists for equality

    I am trying to determine if 2 lists contain the same elements, including the times, but any order. For example:

    List 1: A, B, C, D, E
    List 2: A, A, B, C, D
    List 3: A, B, D, A, C
    List 4: A, B, B, C, D

    I consider only lists 2 and 3 are equal. I have what I think are the 3 methods of work, but I'd like your opinion on:

    (1) are they really correct? Do you see an obvious flaw in the algorithm.
    (2) effectiveness. I've always aspired to look at an algorithm and be able to 'see' the big - O of it.
    (3) other ideas.

    Also, I'm a little more confidence in the accuracy of the #1 and #2 (efficiency by derogation) and less confident on #3. I had the idea of #3 the Javadoc on the playlist hashCode(). I don't really know if it's okay.
    import java.util.*;
    
    public class ListCompareTest
    {
      public static void main(String[] args)
      {
        List s1 = Arrays.asList(new String[]{"A", "B", "C", "D", "E"});
        List s2 = Arrays.asList(new String[]{"A", "A", "C", "D", "E"});
        List s3 = Arrays.asList(new String[]{"A", "E", "C", "D", "A"});
        
        System.out.println("\nUsing method 1:");
        System.out.println("s1 & s2: " + isEqual(s1, s2));
        System.out.println("s2 & s3: " + isEqual(s2, s3));
        
        System.out.println("\nUsing method 2:");
        System.out.println("s1 & s2: " + isEqual2(s1, s2));
        System.out.println("s2 & s3: " + isEqual2(s2, s3));
    
        System.out.println("\nUsing method 3:");
        System.out.println("s1 & s2: " + isEqual3(s1, s2));
        System.out.println("s2 & s3: " + isEqual3(s2, s3));
      }
      
      public static boolean isEqual(List a, List b)
      {
        if (a.size() != b.size())
        {
          return false;
        }
        
        List copyB = new ArrayList(b);
        
        for (Object obj : a)
        {
          if (! copyB.remove(obj))
          {
            return false;
          }
        }
        
        return true;
      }
      
      public static boolean isEqual2(List a, List b)
      {
        if (a.size() != b.size())
        {
          return false;
        }
        
        List copyA = new ArrayList(a);
        List copyB = new ArrayList(b);
        
        Collections.sort(copyA);
        Collections.sort(copyB);
        
        for (int i = 0; i < copyA.size(); i++)
        {
          if (! copyA.get(i).equals(copyB.get(i)))
          {
            return false;
          }
        }
        
        return true;
      }
      
      public static boolean isEqual3(List a, List b)
      {
        if (a.size() != b.size())
        {
          return false;
        }
        
        List copyA = new ArrayList(a);
        List copyB = new ArrayList(b);
        
        Collections.sort(copyA);
        Collections.sort(copyB);
        
        return copyA.hashCode() == copyB.hashCode();
      }
    }

    Approach 1:
    O(n^2), because you do actually:

    for each element in A {
      for each element in B {
    

    Approach 2:
    Never use (i) get to iterate over a list. An ArrayList is very good (iteration of o (n)), but for a LinkedList is O(n^2). Use an explicit iterator (if necessary) or a foreach loop (where possible). Or, if for some reason you really want to stay with (i) get (and I don't see why you would here), then explicitly declare it as an ArrayList.

    Method 3:
    The hashCode() method will not work. Two unequal lists can easily have the same hash code.

    Unless your lists are very large, or it is very often called, approach 1 is probably good enough, and it is the most simple. In addition, it works in all cases. Will approach 2 evolve better, but only work with classes that implement Comparable (or if you provide a comparator).

  • By comparing the two records and return only the differences

    Hi all!

    Assume the records as follows:
    USERID     USERNAME   STREET   CITY   PHONE        
    ---------- ---------- -------- ------ -------------
             1 John Smith Street 1 City 1              
             1 John Smith Street 1 City 1 (31) 234-1234
    UserID is PK on this table. Imagine that this application represents two versions of the same record on a table. This recording was 'day' and the phone field changed from null to "(31) 234-1234'.»

    What I´d like to do is to retrieve only (or fields) that changed between these 2 versions of the same record. The idea is to call this query (or process PLSQL) a trigger and save these data on a table. The data returned by the query (or process), on the example above, should be something like:
           USERID     USERNAME STREET CITY PHONE        
    ---------- -------- ------ ---- -------------
             1                      (31) 234-1234
    1 row selected.
    If two columns have been modified, (Eg., City column also changed "City 1' to 'city 12'), the return value should be:
    USERID     USERNAME STREET CITY   PHONE        
    ---------- -------- ------ ------ -------------
             1                 City12 (31) 234-1234
    1 row selected.
    Any idea?
    Thank you very much for your attention.

    Hello

    What I´d like to do is to retrieve only (or fields) that changed between these 2 versions of the same record. The idea is to call this query (or process PLSQL) a trigger and save these data on a table.

    Looks like you're simply wanting a trigger?

    Something like:

    CREATE OR REPLACE TRIGGER audit_trg
      AFTER UPDATE ON your_table
      FOR EACH ROW
    BEGIN
    
     INSERT INTO audit_table(userid, username, street, city, phone)
     VALUES(
       :new.userid,
       nullif(:new.username, :old.username),
       nullif(:new.street, :old.street),
       nullif(:new.city, :old.city),
       nullif(:new.phone, :old.phone)
     );
    
    END;
    /
    
  • by comparing the two tables with

    With the help of 10 gr 2

    Assuming that we have two tables with the following structure:
    create table1 (integer id, amount1 number, status varchar2 (200));
    create table2 (integer id, number, status varchar2 amount2 (200));

    Table1 contains a single line:
    ID = 4711, amount1 = 3, status = "not ok".

    Table2 contains one or more lines with table2.id = table1.my_field referenced:
    ID = 4711, amount2 = 2, status = "not ok".
    ID = 4711, amount2 = 2, status = "not ok".
    ID = 4711, amount2 = 1, status = "not ok".
    ID = 4711, amount2 = 4, status = "not ok".

    The amount1 in Table1 is a cumulative sum of Table2 lines what status should be set to "ok". Table1.my_field is particularly well indexed.

    How to make all the lines (for example via the rowid) from Table2 that sum on amount2 is the amount1 in the line after line in Table1 (for switching their table2.status to 'ok')?
    I hope my question is clear enough...

    Try this

     SQL> select * from table2;
    
            ID    AMOUNT2 STATUS
    ---------- ---------- ------
          4711          2 Ok
          4711          2 not ok
          4711          1 Ok
          4711          4 not ok
    
    SQL> roll
    Rollback complete.
    SQL> select * from table1;
    
            ID    AMOUNT1 STATUS
    ---------- ---------- ------
          4711          3 not ok
    
    SQL> select * from table2;
    
            ID    AMOUNT2 STATUS
    ---------- ---------- ------
          4711          2 not ok
          4711          2 not ok
          4711          1 not ok
          4711          4 not ok
    
    SQL>
    SQL>
    SQL> update
      2     table2 a
      3  set
      4     a.status = 'Ok'
      5  where
      6     rowid in
      7       (select t2.rowid
      8       from
      9             (select
     10                     table2.*,
     11                     sum(amount2) over (partition by id order by rn) rn_total
     12             from
     13                     (select table2.*, row_number() over (partition by id order by amount2) rn from  table2 ) table2)  t2,
     14             table1
     15        where
     16             table1.id = t2.id and
     17             t2.rn_total <= table1.amount1)
     18  /
    
    2 rows updated.
    
    SQL> select * from table2;
    
            ID    AMOUNT2 STATUS
    ---------- ---------- ------
          4711          2 Ok
          4711          2 not ok
          4711          1 Ok
          4711          4 not ok
    
    SQL>
    
  • By comparing the two columns in a datagrid.

    I have a datagrid that has a data provider for some users. Users have a name, address, balance and amount of the payment. For the amount of the payment, I use a custom MXDataItemRenderer like my TextEditor (no text rendering). I want to do is validate that the amount that they are entered in the payment amount does not exceed the balance.

    I tried to do it on an itemEditEndHandler, but the problem is that for some reason that I don't have the amount of payment at this time here. I wonder what I am doing wrong or if I go about it completely the wrong way.

    Any help would be greatly appreciated.

    Thank you

    Here's my editHandler function

    var point: Object = ((event.currentTarget as DataGrid) .dataProvider as ArrayCollection) [event.rowIndex];
    var paymentValidator:PaymentAmountValidator = new PaymentAmountValidator (item.balance);
    paymentValidator.source = this.dataProvider;
    paymentValidator.property = "paymentAmount;
    paymentValidator.validate (item.paymentAmount);

    Here is my custom validator.

    SerializableAttribute public class PaymentAmountValidator extends Validator
    {
    private var: table of results;
    private var scale: Number;
    public void PaymentAmountValidator (balance: Number = 0) {}
    Super();
    This.balance = balance;
    }

    Set the doValidation() method.
    override protected function doValidation(value:Object):Array {}

    Convert the value to a number.
    var inputValue:Number = Number (value);

    Table of clear results.
    results = [];

    Call the base doValidation() class.
    results = super.doValidation (value);
    Back if there are errors.
    If (results.length > 0)
    return results;

    If the input value is not a number, or contains no value,
    issue a validation error.
    If (isNaN (inputValue) |! value)
    {
    Results.push (new ValidationResult (true, null, 'NaN',
    "You must enter an amount."));
    return results;
    }

    If (inputValue > balance) {}
    Results.push (new ValidationResult (true, null, "moreThanBalance",
    "The payment amount must be less than or equal to the balance."));
    return results;
    }

    return results;
    }

    }

    Download the the itemEditorInstance paymentAmount.  It has not been written

    the question still.

  • Is it possible to compare the contents of two folders

    Someone copied one of our folders with subfolders on the server from one place to the other. Now, some people use the old location and the new location. Is it possible to compare the two, to find the difference and merge them into a file without losing any information?

    There are third party tools that can automate a large part of it, but you still need to judge what part gets merged from which file.  One of those tools that I know is "Beyond Compare"

    Beyond Compare: <> http://www.scootersoftware.com/index.php >

    Not free, but in my humble OPINION is worth the price.

    HTH,

    JW

  • Comparing the sum of the two tables and correct by difference of amount in its second t

    Hello guys,.

    I have a very difficult task that I can't get my head around.
    The sample data looks like this:

    Master table
    Request - booking - debit - credit - MasterAmout
    1------------1----------------D---------------------------------15.3
    1------------2----------------D---------------------------------480.6
    1------------3------------------------------C-------------------496.8
    ------------------------------------------- 0.9


    The slave table
    Demande---reservation---debit---credit---slaveamout---slavecorrection
    1------------1------------D------------------------------------15.3---------------14.5
    1------------2------------D------------------------------------480.6-------------480.6
    1------------3-----------------------------C-------------------496---------------496
    -------------------------------------------0.1--------------------------------------0.9


    The reservation have a total amount of 0.1, but must be corrected to 0.9 because the main table has 0.9.

    Reservation 1 requires a correction so the slave table also has a total of 0.9 (business rule is, only corrections on the first booking). So we have
    to change the amount of 15.3 to 14.5. I plan my SQL like this:

    1 reservations sum of two tables for each claim. Compare the two for each individual claim.
    2. If Captain sum the amount shows a difference between master / slave
    2.1 select top 1 table reservation slave for the specific claim and increase/decrease by the difference of these two amounts.

    Who is?

    Hello

    Use MERGE to actually do the UPDATE.
    The ROW_NUMBER analytic function to identify the first booking in slave (unless you can count on which the reservation = 1).

    MERGE INTO     slave     dst
    USING     (
         WITH     master_summary     AS
         (
              SELECT       claim
              ,       SUM ( master_ampount * CASE
                                       WHEN  debit  = 'D'  THEN -1
                                       WHEN  credit = 'C'  THEN  1
                                   END
                         )     AS balance
              FROM       master
              GROUP BY  claim
         )
         SELECT     s.claim
         ,     s.booking
         ,     SUM ( s.slave_amount * CASE
                                WHEN  s.debit  = 'D'  THEN -1
                                WHEN  s.credit = 'C'  THEN  1
                               END
                  ) OVER (PARTITION BY  claim) - m.balance     AS diff
         ,     ROW_NUMBER () OVER ( PARTITION BY  claim
                             ORDER BY        booking
                           )     AS r_num
         FROM     master_summary     m
         JOIN     slave          s  ON     m.claim     = s.claim
         )          src
    ON     (     src.claim     = dst.claim
         AND     src.r_num     = 1
         )
    WHEN MATCHED THEN UPDATE
    SET     dst.debit      = CASE
                        WHEN src.diff      <  0 THEN 'D'
                                       ELSE NULL
                     END
    ,     dst.credit      = CASE
                        WHEN src.diff      <  0 THEN NULL
                                       ELSE 'C'
                     END
    ,     dst.slaveamount = ABS (src.diff)
    ;
    

    If you would care to CREATE TABLE and INSERT statements for the sample data (showing the two tables, as they exist before the DML) then I could test this.

    The design of history seems very uncomfortable. Instead of the debit and credit columns, it would be much simpler to have positive and negative amounts. Is it really worth now both not corrected and corrected the amounts in the table on the slave, especially if you keep only versions corrected debit and credit columns?

Maybe you are looking for