private static DataOperation CreateDataOperation(ApplicationCommandArguments arguments) { // TODO: use UTC? var statusDate = DataMap.ConvertType(DateTime.Now); var dataMap = arguments.DataMap; var data = new Dictionary <string, string> { { "localid", dataMap.LocalState.LocalId.ToString() }, { "wonum", dataMap.Value("wonum") }, { "status", dataMap.Value("status") }, { "statusdate", statusDate } }; return(new DataOperation(arguments.ApplicationSchemaDefinition, data, typeof(Handler))); }