Why do you need this change?
Can you add SuppressCommit to event OnAfterRegisterWhseActivity in codeunit 7307 "Whse.-Activity-Register"?
Clear(WhseJnlRegisterLine);
OnAfterRegisterWhseActivity(GlobalWhseActivHeader, SuppressCommit);
end;
Describe the request
I need it to check whether i can commit or not.