When do you know a task is really finished, because when my routine is suscribed to this Event, and I try to recover information for lines, they doesn't exist either in picking lines nor picking registered lines, so I'm little confused about timing. I have tried to suscribe to
[EventSubscriber(ObjectType::Codeunit, Codeunit::"Whse.-Activity-Register", 'OnAfterRegisterWhseActivityLines', '', true, true)]
local procedure "Whse.-Activity-Register_OnAfterRegisterWhseActivityLines"
(var WarehouseActivityLine: Record "Warehouse Activity Line")
but then I can't see header values... :|
How can I identify when a transaction or a whole process has been finished completly?
I'm a little bit confused and lost :(
TIA