LogEvents = New ValueTable;
Filter = New Structure;
Filter.Insert("StartDate", BegOfDay(CurrentDate()));
Filter.Insert("Event", "_$Data$_.New");
UnloadEventLog(LogEvents,Filter,,,1000);
This work fine at Server, but in ext. connection mode fails due to parameter 1. An exception has occurred (1C:Enterprise 8.3.3.721): Type mismatch (parameter number '1') Seems like it is impossible to transfer ValueTable.
I would prefer to have both options: last posted y last updated (created).
I have succeed getting it, but the code is rather complex y ineffective, so I am looking for a better way. Now it is working by getting XML and parsing it then.
Rating:
8
Joined: Jun 25, 2013
Company: 1C Company
You can add an information register and event subscription that will write the last changed document reference to the register. Would this way be efficient or not depends on number of users working simultaneously.