Refactored notes saving functionality to DRY it out and to allow saving of sytem generated notes.
SQL Server order processing framework
Added SQL Server insert statements - best guess