Good day all,
After many days of searching and attempts I am looking for some guidance to rectify the error "Cannot create a record in Gateway queue (AifGatewayQueue).
The corresponding AOS validation failed." that is showing in System administration/Periodic/Services and Application Integration Framework/Exceptions.
We are running AX2012 CU13, thin client.
The error corresponds to the attempt by a user to submit XML data to the outbound ports in ref to producing PDFs for sales confirmations, delivery notes etc.
Every time the system runs its outbound AIF process the data for this one user fails send ref tis error message.
The history behind this is users is as follows.
User was imported form Active directory, relation created to the worker and user was working without issues.
Active directory was deleted in error while user was still in AX with active sessions.
To rectify this error, AX user was deleted and new Active directory created.
User was then freshly imported to AX and then linked to the worker via relation.
It was at this point the errors appeared.
We have tried removing KTI/AUT files, clearing sessions, and checked the AD SID numbers which match, but for days now the same errors are appearing.
Roles and security are the same as previously and other users without errors.
Can anyone suggest if there is somewhere else that old data is being checked pls?
I am not a developer so cannot read code but I think it may be this method of the table AifGatewayQueue that is throwing this error?
validateUser
currentUserId = curUserId();
currentUserSid = AifUtil::getAxUserSid(currentUserId);
if(!validateRead)
{
ret = (this.SubmittingUserId && (currentUserSid == AifUtil::getWindowsUserSid(this.SubmittingUserId)));
if (ret && (this.orig().RecId != 0))
{
ret = (this.orig().SubmittingUserId && (currentUserSid == AifUtil::getWindowsUserSid(this.orig().SubmittingUserId)));
Any help would be gratefully received.
Rgds Cliff