MxLoader

 View Only
  • 1.  MxLoader Synch and Change behaviour

    Posted 8 days ago

    Good morning, community,

    I'm relatively new to using MxLoader and would like to gain a better understanding of how these two functions behave.

    From what I gathered in the MxLoader user guide, the "Change" function retrieves the row being sent, searches for it in the database using the key provided for the table, and applies any modifications if changes are detected. On the other hand, the "Sync" function also retrieves and searches for the record, but instead of updating it, the record is deleted and then recreated with a new identifier.

    Here's the context of my issue: I've loaded a ZONE table and an OPERATION table, where my operations are associated with a specific zone. When I load data using the "Change" function, I end up with a duplicate row in my OPERATION table (resulting in two identical rows where only the zone differs).

    I have a few questions regarding this:

    1. What could be causing this duplication of records?
    2. What are the potential consequences of deleting a record linked to other tables when using the "Sync" function instead of "Change"?
    3. Could this issue be related to the object structure? (Note that all fields used as identification keys are correctly set in MxLoader when I load my data.)

    Thank you for your time and insights.

    Best regards,

    Axel



    ------------------------------
    Axel Marty
    Alten
    ------------------------------


  • 2.  RE: MxLoader Synch and Change behaviour

    Posted 8 days ago

    Hi Axel,

    May I ask to which SYNC action are you referring to? In current version of MxLoader there are actions like:

    • Query
    • AddChange
    • Add
    • Change
    • Delete

    What do you mean by SYNC?

    Regards!



    ------------------------------
    Piotr Ozaist
    Afry
    ------------------------------



  • 3.  RE: MxLoader Synch and Change behaviour

    Posted 3 days ago

    Hello Piotr,

    Thank you for your response.

    To provide a bit more detail: I'm using MxLoader 8.4.2, which no longer includes the options sync-addchange, sync-add, or sync-change by default (unlike version 8.4). However, we can still use the sync function-though only sync, not the previously mentioned options- and this is the one I'm talking about.

    I hope this clarifies my situation a bit more.

    Best regards,



    ------------------------------
    Axel Marty
    Alten
    ------------------------------