GoZync4

Triggering Syncs

GoZync4.TriggeringSyncs History

Hide minor edits - Show changes to output

June 30, 2013, at 08:10 PM by 50.132.84.245 -
June 30, 2013, at 08:10 PM by 50.132.84.245 -
Changed lines 1-2 from:
!! What makes a record eligible to sync?
to:
!! What makes a record eligible to sync up from mobile?
Changed lines 5-6 from:
So what's considered a changed record? Any [[glossary | parent]] record where the field gz_Send is set to 1. (That's one of the fields you pasted into your solution during [[integration]]. You'll see that the auto-enter definition of that field takes care of any instances where that parent record is modified.
to:
So what's considered a changed record? Any [[glossary | parent]] record where the field gz_Send is set to 1. (That's one of the fields you pasted into your solution during [[integration]].) You'll see that the auto-enter definition of that field takes care of any instances where that parent record is modified.
Changed lines 9-11 from:
In that case you need to add a script trigger which also modifies the parent record. The easiest way to do this is to add a layout-level script trigger that runs OnRecordCommit. Have this trigger call a script that sets the field gz_ModTimeStamp in the parent record (the invoice in this case) to 1. Then add a second line to your script: call the Exit Script step with a script result of 1.

That's it. In
this way, any edits you make to the invoice line items on this record will mark the parent invoice record as modified.
to:
In that case you need to add a script trigger which also modifies the parent record. The easiest way to do this is to add a layout-level script trigger that runs OnRecordCommit. Have this trigger call a script that sets the field gz_ModTimeStamp in the parent record (the invoice in this case) to 1. Then add a second line to your script: call the Exit Script step with a script result of 1. More on this here: [[triggering record mods]].

What if you only want to send "completed" records, not just records you modified but perhaps haven't finished yet?

No problem: learn how to flag records to sync here: [[pushing found sets]].

!! What makes a record eligible to sync down from the hosted files?

GoZync will sync any records that match your filter criteria and have been changed since your last sync. Learn about filter criteria here: [[downloading found sets]]
.
December 20, 2012, at 12:50 AM by cm - punctuation
Changed lines 3-4 from:
At the end of the day, you can control this with scripts, but what GoZync does out of the box is either sync a single record when you pass its ID to the script "Zync It - This Record ( RecordID )" in your mobile file, or syncs "changed records" in the whole table/file when you call the other "Zync It..." scripts.
to:
Ultimately, you can control syncs with scripts, but what GoZync does out of the box is either sync a single record when you pass its ID to the script "Zync It - This Record ( RecordID )" in your mobile file, or syncs "changed records" in the whole table/file when you call the other "Zync It..." scripts.
Changed lines 9-10 from:
In that case you need to add a script trigger which also modifies the parent record. The easiest way to do this is to add a layout level script trigger that runs OnRecordCommit. Have this trigger call a script that sets the field gz_ModTimeStamp in the parent record (the invoice in this case) to 1. Then add a second line to your script: call the Exit Script step with a script result of 1.
to:
In that case you need to add a script trigger which also modifies the parent record. The easiest way to do this is to add a layout-level script trigger that runs OnRecordCommit. Have this trigger call a script that sets the field gz_ModTimeStamp in the parent record (the invoice in this case) to 1. Then add a second line to your script: call the Exit Script step with a script result of 1.
July 13, 2012, at 03:49 PM by 50.132.84.245 -
Added lines 1-11:
!! What makes a record eligible to sync?

At the end of the day, you can control this with scripts, but what GoZync does out of the box is either sync a single record when you pass its ID to the script "Zync It - This Record ( RecordID )" in your mobile file, or syncs "changed records" in the whole table/file when you call the other "Zync It..." scripts.

So what's considered a changed record? Any [[glossary | parent]] record where the field gz_Send is set to 1. (That's one of the fields you pasted into your solution during [[integration]]. You'll see that the auto-enter definition of that field takes care of any instances where that parent record is modified.

But what if you only modify a child record, such as change a line item on an invoice?

In that case you need to add a script trigger which also modifies the parent record. The easiest way to do this is to add a layout level script trigger that runs OnRecordCommit. Have this trigger call a script that sets the field gz_ModTimeStamp in the parent record (the invoice in this case) to 1. Then add a second line to your script: call the Exit Script step with a script result of 1.

That's it. In this way, any edits you make to the invoice line items on this record will mark the parent invoice record as modified.
(855) SEEDCODE
support@seedcode.com
Follow us: