Hi guys,
When I'm finding the item keys by using Findkeys method it throws an error like below.
AifRequestProcessor-processServiceRequest Cannot create a record in Message Table (AifMessageLog). Message ID: {23BD3FCE-C766-4CC5-B048-144477EFEE02}, InventItemService.findKeys.
The SQL database has issued an error.
Cannot create a record in Exceptions (SysExceptionTable). Exception type: Error, Cannot create a record in Message Table (AifMessageLog). Message ID: {23BD3FCE-C766-4CC5-B048-144477EFEE02}, InventItemService.findKeys.
The SQL database has issued an error..
The SQL database has issued an error.
Code is looking like below :
CriteriaElement elem = new CriteriaElement();
elem.DataSourceName = "InventTable";
elem.FieldName = "ItemId";
elem.Operator = Operator.Equal;
elem.Value1 = "1151";
QueryCriteria crit = new QueryCriteria();
crit.CriteriaElement = new CriteriaElement[1] { elem };
EntityKey[] ekey = proxy.findKeys(crit);
Item is already in AX .But i'm getting this Error.
Any suggestions ?.
*This post is locked for comments
I have the same question (0)