Ik heb een model gemaakt waarbij producten en hun kostprijs opgehaald worden uit Odoo en getoond:
Ik kan de inkoopprijzen muteren en er verschijnt netjes een pending change bij het winkelwagentje.
Echter, bij gebruik van Sync-button verschijnt de volgende foutmelding:
itgenodo047: Odoo Server Error: Database fetch misses ids ((‘87’,)) and has extra ids ((87,)), may be caused by a type incoherence in a previous request (200).
Message ID: d0c86a33-1305-4bdc-bc42-074ace7daf77
Occurred (UTC): 28/06/2023 13:08:16
Invantive.Basics.InvantiveSqlException
bij Invantive.Basics.ValidationException…ctor(GlobalState owner, ExecutionOptions executionOptions, String messageCode, String errorMessage, String kindRequest, String localStackTrace, String nk, Exception innerException, Boolean inheritMessageCodeWhenPresent, Nullable1 uid, Boolean isRecoverable, String poolIdentityId, String url, Nullable
1 partyUid)
bij Invantive.Data.Providers.Odoo.OdooExtensionMethods.EnsureSuccessful(Error error, GlobalState owner, ExecutionOptions executionOptions, String messageCode, Root request, String responseJson, ObjectDefinition objectDefinition)
bij Invantive.Data.Providers.Odoo.OdooExtensionMethods.EnsureSuccessful(Root root, GlobalState owner, ExecutionOptions executionOptions, String messageCode, Root request, String responseJson, ObjectDefinition objectDefinition)
bij Invantive.Data.Providers.Odoo.OdooProvider.UpdateReturningMessage(GlobalState owner, ExecutionOptions executionOptions, EntityFieldCollection entityFields, QueryObject queryObject, ParameterList parameters, String partition)
bij Invantive.Data.Providers.OData.ODataProvider.HEE(GlobalState , ExecutionOptions , EntityFieldCollection , KeyValuePair`2 , ParameterList )
bij Invantive.Data.Providers.OData.ODataProvider.Update(GlobalState owner, ExecutionOptions executionOptions, EntityFieldCollection entityFields, QueryObject queryObject, ParameterList values, ResultSet sourceContext)
bij Invantive.Data.ConnectionManager.YD(GlobalState , ExecutionOptions , EntityFieldCollection , QueryObject , ParameterList , ResultSet )
bij Invantive.Data.ConnectionManager.Update(GlobalState owner, ExecutionOptions executionOptions, EntityFieldCollection entityFields, QueryObject queryObject, ParameterList parameterList, ResultSet sourceContext)
bij Invantive.Data.ActionProceduresBase.PassthroughUpdate(GlobalState owner, ExecutionOptions executionOptions, EntityFieldCollection entityFields, QueryObject queryObject, ParameterList parameterList, ResultSet sourceContext)
bij Invantive.Producer.Control.SyncToDatabaseForm.SyncUpload(GlobalState owner, ExecutionOptions executionOptions, DoWorkEventArgs e)
bij Invantive.Producer.Control.SyncToDatabaseForm.syncBackGroundWorker_DoWork(Object sender, DoWorkEventArgs e)
bij System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
…
bij Invantive.Data.ConnectionManager.YD(GlobalState , ExecutionOptions , EntityFieldCollection , QueryObject , ParameterList , ResultSet )
bij Invantive.Data.ConnectionManager.Update(GlobalState owner, ExecutionOptions executionOptions, EntityFieldCollection entityFields, QueryObject queryObject, ParameterList parameterList, ResultSet sourceContext)
bij Invantive.Data.ActionProceduresBase.PassthroughUpdate(GlobalState owner, ExecutionOptions executionOptions, EntityFieldCollection entityFields, QueryObject queryObject, ParameterList parameterList, ResultSet sourceContext)
bij Invantive.Producer.Control.SyncToDatabaseForm.SyncUpload(GlobalState owner, ExecutionOptions executionOptions, DoWorkEventArgs e) in c:\smoke\ws-master\Invantive.Control\src\Invantive.Producer.Control\ThisAddIn.cs:regel 849
Hoe kan ik toch de gewijzigde prijzen uploaden?