{"action":"created","issue":{"url":"https://api.github.com/repos/clintonhealthaccess/chailmis-android/issues/249","labels_url":"https://api.github.com/repos/clintonhealthaccess/chailmis-android/issues/249/labels{/name}","comments_url":"https://api.github.com/repos/clintonhealthaccess/chailmis-android/issues/249/comments","events_url":"https://api.github.com/repos/clintonhealthaccess/chailmis-android/issues/249/events","html_url":"https://github.com/clintonhealthaccess/chailmis-android/issues/249","id":109770840,"number":249,"title":"STOCK OUT DATA","user":{"login":"chai-lmis","id":7996199,"avatar_url":"https://avatars.githubusercontent.com/u/7996199?v=3","gravatar_id":"","url":"https://api.github.com/users/chai-lmis","html_url":"https://github.com/chai-lmis","followers_url":"https://api.github.com/users/chai-lmis/followers","following_url":"https://api.github.com/users/chai-lmis/following{/other_user}","gists_url":"https://api.github.com/users/chai-lmis/gists{/gist_id}","starred_url":"https://api.github.com/users/chai-lmis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chai-lmis/subscriptions","organizations_url":"https://api.github.com/users/chai-lmis/orgs","repos_url":"https://api.github.com/users/chai-lmis/repos","events_url":"https://api.github.com/users/chai-lmis/events{/privacy}","received_events_url":"https://api.github.com/users/chai-lmis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/clintonhealthaccess/chailmis-android/labels/Analysis","name":"Analysis","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-05T10:39:21Z","updated_at":"2015-11-13T08:48:43Z","closed_at":null,"body":"App syncs STOCK OUT data to the server. The 1st day in the month for which the commodity STOCK ON HAND is zero, App syncs a count of 1 to the server, on 2nd day, app syncs count of 2. app only stops sync when STOCK ON HAND for that commodity is >1, if STOCK ON HAND =0 later in the same month, then app continues STOCK OUT sync from last count (ie 3).\n\nThe STOCK OUT is reset on the 1st of every month to zero"},"comment":{"url":"https://api.github.com/repos/clintonhealthaccess/chailmis-android/issues/comments/156364288","html_url":"https://github.com/clintonhealthaccess/chailmis-android/issues/249#issuecomment-156364288","issue_url":"https://api.github.com/repos/clintonhealthaccess/chailmis-android/issues/249","id":156364288,"user":{"login":"chai-lmis","id":7996199,"avatar_url":"https://avatars.githubusercontent.com/u/7996199?v=3","gravatar_id":"","url":"https://api.github.com/users/chai-lmis","html_url":"https://github.com/chai-lmis","followers_url":"https://api.github.com/users/chai-lmis/followers","following_url":"https://api.github.com/users/chai-lmis/following{/other_user}","gists_url":"https://api.github.com/users/chai-lmis/gists{/gist_id}","starred_url":"https://api.github.com/users/chai-lmis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chai-lmis/subscriptions","organizations_url":"https://api.github.com/users/chai-lmis/orgs","repos_url":"https://api.github.com/users/chai-lmis/repos","events_url":"https://api.github.com/users/chai-lmis/events{/privacy}","received_events_url":"https://api.github.com/users/chai-lmis/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T08:48:43Z","updated_at":"2015-11-13T08:48:43Z","body":"This calculation was bundled with the deactivated SOH scripts.NOS OF STOCK OUT DAYS (which is sent as a daily value to the serve) is used to calculate AMC on the server which in turn is used to calculate the MAX/MIN stock levels & the MAX/MIN stock in months, these values are synced from the server to the client."}}