MoneyWorks Manual
SyncTransactionImage (seqnum)
Return type: Boolean
Definition: Checks to see if there is an image for the transaction with the given sequence number in the Pictures/Transactions folder of the Custom Plugins folder (i.e. the storage location for all attached images). If there is an image named <em>seqnum.ext</em> (where <em>ext</em> can be .jpg, .png, .pdf) the the fHasScan
bit of the transaction's flags field is set and the return value is TRUE. If no image is found for the transaction, the flag is reset and the return value is FALSE.
Will return an error if the transaction is currently locked for editing.
Use this function to sync the flag after you have manually added a transaction image to the Pictures/Transactions directory.
See Also:
ImportImage: Import an image from a file