Data in sync record not updated after data sync

Certified Associate Developer

Hi everyone, 

I'm having these 2 tables. For each table I created 1 synced record, in synced record for Leave, I set a many to one relationship with Status, and by contrast, I set a one to many relationship for Status to Leave.    

I ran a SQL script in DB to update statusId values to 3 (UPDATE User SET statusId = 3) and when I check again, SELECT * FROM PPL Leave WHERE statusId <> 3 returns 0 result.

After that, I went into PPL Leave synced record and do a fully sync. I'm expect to see the synced record data to be updated to be the same with the table (all statusId = 3), but instead I can see no change in the sync record, and query SELECT * FROM PPL Leave WHERE statusId <> 3 returns 2 results (which I'm assuming after the sync, data in table was updated to be the same as in sync record). 

Is this a strange behaviour or did I set up something wrong? 

Also, if possible could you explain for me the below options under Write and Delete Related Records meaning?

Thanks for your help!

  Discussion posts and replies are publicly visible