I am facing an issue in Dynamics AX 2012.
There is one table PGLog and having 7 columns in the table.
ConnectionId, Request1, Response1, Request2,Response2,Request3,Response3
Method SaveLog()- Creates the record if connection Id not there or update
1. SaveLog(connectionId, Request1, Response1, null, null,null,null);
2. SaveLog(connectionId, Request1, Response1, Request2, Response2,null, null);
3. SaveLog(connectionId, Request1, Response1, Request2, Response2, Request3, Response3);
Whenever I call 1.SaveLog() method by passing 3 parameters, I am seeing all other fields updated from the very first record created in the table.
This is simply copying values from a old record, I tried even passing null. This is very strange.
One call 1, values of Request1, Response1 are OK but other values such as Request2, Response2, Request3, Response3 is copied from old record.
One call 2, values of Request1, Response1, Request2, Response2 are OK but other values such as Request3, Response3 is copied from old record.
One call 3, values of Request1, Response1, Request2, Response2, Request3, Response3 are OK.