Method Community

 

ServerTimeModified error

Last post 04-02-2014 10:46 AM by Method_Adam. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-31-2014 1:57 PM

    • MikeH
    • Top 200 Contributor
    • Joined on 10-02-2013
    • Posts 24

    ServerTimeModified error

    Hi, I'm trying to insert records from one table into another and I keep receiving an error that the column 'ServerTimeModified' is invalid. This is not a field name in these tables so it sounds like a bug in the system. Here is the error:

    FROM actInsertRecordsIntoTable - Values
    TableaccPriceLevelPerItemRetList
    RecordID96631
    MessageInvalid column name 'ServerTimeModified'.
    StackTrace at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[ datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable[ dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) at Com.Method.MethodData.DataAccess.ExecuteQuery(SqlConnection sqlConn, String commandText, SqlTransaction transaction, SqlParameter[ parameters) at Com.Method.MethodData.MethodDatabase.ExecuteQuery(String commandText, SqlParameter[ parameters) at Com.Method.Shared.AccountingCleanUp.fnSetAccounting_CleanUp(MethodDatabase& _MethodDatabase, String sTableName, Int32 intRecordID, Int32 intSecurityID) Please verify this field exists in the table or remove this field from the insertion action.

  • 04-02-2014 10:46 AM In reply to

    Re: ServerTimeModified error

    Mike,

    I sent you an email in regards to the case we created for this.  For anyone else, the PriceLevelPerItemRetList table is not a table that can accept inserts. It is a read only table in Method.

    - Adam

    Adam Lyons
    Manager of Support
    Method Integration
    a.lyons@method.me
Page 1 of 1 (2 items)