public static void main(Args _args) { GeneralJournalEntry generalJournalEntry; while select forupdate * from generalJournalEntry where generalJournalEntry.RecId ==5637144588 && generalJournalEntry.ModifiedBy == '?' { ttsbegin; generalJournalEntry.overwriteSystemfields(true); generalJournalEntry.(fieldNum(GeneralJournalEntry,ModifiedBy)) = generalJournalEntry.CreatedBy; generalJournalEntry.(fieldNum(GeneralJournalEntry,ModifiedDateTime)) = generalJournalEntry.CreatedDateTime; generalJournalEntry.doUpdate(); ttscommit; } }
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156