Skip to main content

Hi All, 

 

Struggeling with the following. I have a custom view and created sync rules. It all works fine, until the sync rule can't find a record in the database.

 

The issue is here that when no record is found in the database, the sync rule won't create a record in the mm_message_out table, which says "this table is empty”. The result is that old data isn't removed in mobile, because no "delete” or "null” message is send.

 

Is there a way to 'clean up’ the mobile database somehow?

Hello, you cannot trigger a delete message to be sent to the mobile from a view. you will have to use the transactional table and write an extension to send an update. 

You can find an example for PART_USAGE where updates are sent to STOCK_BIN.

 


Reply