Skip to Content
avatar image
Former Member

How to recognize the non sincronized data on PDA?

Hi Experts!!

First all, we have MI 7.1. We need know how to recognize the non sincronized data on PDA. The scenario is as follow:

In the PDA the user can create new data (a new customer for instance), and he can modify or delete this new data if only if the data was not syncronized with DOE (and finally with backend). Therefore if the data is sent to MI, through syncronization, they can't modify.

Please if any have any idea about this, will be very welcome.

Thanks in advance.

Best regards,

Simon.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    May 17, 2010 at 05:55 AM

    Hi,

    According to the NW Mobile 7.1 architecture, a message to be uploaded to BE is created and posted to a queue the moment save is done(when on commit() ) call is made).

    So even if you create an instance ,then modify and then delete an instance , 3 messages will flow down to BE on sync.

    The moment data is sent to BE and is waiting for confirmation/rejection from BE, this instance wil be considered inconsistent.Once data is confirmed / rejected, then the state becomes consistent again.

    I understand your requirement as when the record is 'inconsistent' only, any further updates/deletes are allowed . Any instance with 'consistent' state should not be allowed to be modified..I guess this could be done in the application.

    Incase your scenario does not require any updates for such instances flowing down from BE, then you could think of making this DO 'upload only'.

    Regards,

    Liji

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Amit,

      Well, I was hoping have an estatus of records to know if are synchronized or not. Anyway, the alternative you post is interesting, but implies more effort.

      A last doubt: you say "OCA provide callbacks for application initialization and exit.", where are located this "callbacks"?

      Best regards,

      Simón.