{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/ALAppExtensions/issues/258","repository_url":"https://api.github.com/repos/Microsoft/ALAppExtensions","labels_url":"https://api.github.com/repos/Microsoft/ALAppExtensions/issues/258/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/ALAppExtensions/issues/258/comments","events_url":"https://api.github.com/repos/Microsoft/ALAppExtensions/issues/258/events","html_url":"https://github.com/Microsoft/ALAppExtensions/issues/258","id":376476447,"node_id":"MDU6SXNzdWUzNzY0NzY0NDc=","number":258,"title":"[Event Request] OnCommit event","user":{"login":"RHansenEpimatic","id":44678594,"node_id":"MDQ6VXNlcjQ0Njc4NTk0","avatar_url":"https://avatars1.githubusercontent.com/u/44678594?v=4","gravatar_id":"","url":"https://api.github.com/users/RHansenEpimatic","html_url":"https://github.com/RHansenEpimatic","followers_url":"https://api.github.com/users/RHansenEpimatic/followers","following_url":"https://api.github.com/users/RHansenEpimatic/following{/other_user}","gists_url":"https://api.github.com/users/RHansenEpimatic/gists{/gist_id}","starred_url":"https://api.github.com/users/RHansenEpimatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RHansenEpimatic/subscriptions","organizations_url":"https://api.github.com/users/RHansenEpimatic/orgs","repos_url":"https://api.github.com/users/RHansenEpimatic/repos","events_url":"https://api.github.com/users/RHansenEpimatic/events{/privacy}","received_events_url":"https://api.github.com/users/RHansenEpimatic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-01T16:50:30Z","updated_at":"2018-11-01T16:50:30Z","closed_at":null,"author_association":"NONE","body":"Could we get a new global event for \"OnCommit\" that would trigger whenever database changes are going to be committed, whether because of an explicit COMMIT call or because the logic has finished executing?  I would need the ability to subscribe to this event and then raise an error to prevent the commit from happening (we would have logic to check conditions before allowing the commit).\r\n\r\nThis request is related to migrating a registered NAV add-on to D365 BC where we need to check special G/L balancing conditions before allowing any transaction to be committed to the database."}}
{"actor":{"display_login":"RHansenEpimatic"}}