{"action":"created","issue":{"url":"https://api.github.com/repos/valueflows/resource/issues/22","repository_url":"https://api.github.com/repos/valueflows/resource","labels_url":"https://api.github.com/repos/valueflows/resource/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/valueflows/resource/issues/22/comments","events_url":"https://api.github.com/repos/valueflows/resource/issues/22/events","html_url":"https://github.com/valueflows/resource/issues/22","id":155510578,"number":22,"title":"hard vs soft allocations","user":{"login":"bhaugen","id":117439,"avatar_url":"https://avatars.githubusercontent.com/u/117439?v=3","gravatar_id":"","url":"https://api.github.com/users/bhaugen","html_url":"https://github.com/bhaugen","followers_url":"https://api.github.com/users/bhaugen/followers","following_url":"https://api.github.com/users/bhaugen/following{/other_user}","gists_url":"https://api.github.com/users/bhaugen/gists{/gist_id}","starred_url":"https://api.github.com/users/bhaugen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhaugen/subscriptions","organizations_url":"https://api.github.com/users/bhaugen/orgs","repos_url":"https://api.github.com/users/bhaugen/repos","events_url":"https://api.github.com/users/bhaugen/events{/privacy}","received_events_url":"https://api.github.com/users/bhaugen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2016-05-18T14:08:03Z","updated_at":"2016-05-28T19:37:47Z","closed_at":null,"body":"These are used both in resource sales as well as issues to manufacturing processes.\r\n\r\nA soft allocation is a type of rea:Commitment which allocates a quantity of an rea:ResourceType but does not allocate any particular rea:Resources.\r\n\r\nFor example, in a stock of apples, Pavlik may have a commitment with Bob for 5k of Apples. That is, any apples, not any particular apples.\r\n\r\nBob may have 20kg of Apples. A soft allocation would subtract 5kg from the available quantity, but not the onhand quantity. So Bob would only have 15kg left available for other requests.\r\n\r\nA hard allocation would put 5kg of Apples in a container for Pavlik to pick up. \r\n\r\nThe purpose of a hard allocation is to avoid somebody else coming along and taking more than 15kg of Apples, because the 5kg allocated to Pavlik was only known to the inventory system, not obvious in the bin of Apples."},"comment":{"url":"https://api.github.com/repos/valueflows/resource/issues/comments/222326018","html_url":"https://github.com/valueflows/resource/issues/22#issuecomment-222326018","issue_url":"https://api.github.com/repos/valueflows/resource/issues/22","id":222326018,"user":{"login":"bhaugen","id":117439,"avatar_url":"https://avatars.githubusercontent.com/u/117439?v=3","gravatar_id":"","url":"https://api.github.com/users/bhaugen","html_url":"https://github.com/bhaugen","followers_url":"https://api.github.com/users/bhaugen/followers","following_url":"https://api.github.com/users/bhaugen/following{/other_user}","gists_url":"https://api.github.com/users/bhaugen/gists{/gist_id}","starred_url":"https://api.github.com/users/bhaugen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhaugen/subscriptions","organizations_url":"https://api.github.com/users/bhaugen/orgs","repos_url":"https://api.github.com/users/bhaugen/repos","events_url":"https://api.github.com/users/bhaugen/events{/privacy}","received_events_url":"https://api.github.com/users/bhaugen/received_events","type":"User","site_admin":false},"created_at":"2016-05-28T19:37:47Z","updated_at":"2016-05-28T19:37:47Z","body":"Subscribing to the matching resources is a great idea!"}}
{"actor":{"display_login":"bhaugen"}}