{"action":"closed","issue":{"url":"https://api.github.com/repos/AMSoftwareNL/crmpowershell/issues/18","repository_url":"https://api.github.com/repos/AMSoftwareNL/crmpowershell","labels_url":"https://api.github.com/repos/AMSoftwareNL/crmpowershell/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/AMSoftwareNL/crmpowershell/issues/18/comments","events_url":"https://api.github.com/repos/AMSoftwareNL/crmpowershell/issues/18/events","html_url":"https://github.com/AMSoftwareNL/crmpowershell/issues/18","id":378314460,"node_id":"MDU6SXNzdWUzNzgzMTQ0NjA=","number":18,"title":"Set new attributes to in-memory entity not possible","user":{"login":"AMSoftwareNL","id":26834074,"node_id":"MDQ6VXNlcjI2ODM0MDc0","avatar_url":"https://avatars3.githubusercontent.com/u/26834074?v=4","gravatar_id":"","url":"https://api.github.com/users/AMSoftwareNL","html_url":"https://github.com/AMSoftwareNL","followers_url":"https://api.github.com/users/AMSoftwareNL/followers","following_url":"https://api.github.com/users/AMSoftwareNL/following{/other_user}","gists_url":"https://api.github.com/users/AMSoftwareNL/gists{/gist_id}","starred_url":"https://api.github.com/users/AMSoftwareNL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AMSoftwareNL/subscriptions","organizations_url":"https://api.github.com/users/AMSoftwareNL/orgs","repos_url":"https://api.github.com/users/AMSoftwareNL/repos","events_url":"https://api.github.com/users/AMSoftwareNL/events{/privacy}","received_events_url":"https://api.github.com/users/AMSoftwareNL/received_events","type":"User","site_admin":false},"labels":[{"id":574248978,"node_id":"MDU6TGFiZWw1NzQyNDg5Nzg=","url":"https://api.github.com/repos/AMSoftwareNL/crmpowershell/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":{"login":"AMSoftwareNL","id":26834074,"node_id":"MDQ6VXNlcjI2ODM0MDc0","avatar_url":"https://avatars3.githubusercontent.com/u/26834074?v=4","gravatar_id":"","url":"https://api.github.com/users/AMSoftwareNL","html_url":"https://github.com/AMSoftwareNL","followers_url":"https://api.github.com/users/AMSoftwareNL/followers","following_url":"https://api.github.com/users/AMSoftwareNL/following{/other_user}","gists_url":"https://api.github.com/users/AMSoftwareNL/gists{/gist_id}","starred_url":"https://api.github.com/users/AMSoftwareNL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AMSoftwareNL/subscriptions","organizations_url":"https://api.github.com/users/AMSoftwareNL/orgs","repos_url":"https://api.github.com/users/AMSoftwareNL/repos","events_url":"https://api.github.com/users/AMSoftwareNL/events{/privacy}","received_events_url":"https://api.github.com/users/AMSoftwareNL/received_events","type":"User","site_admin":false},"assignees":[{"login":"AMSoftwareNL","id":26834074,"node_id":"MDQ6VXNlcjI2ODM0MDc0","avatar_url":"https://avatars3.githubusercontent.com/u/26834074?v=4","gravatar_id":"","url":"https://api.github.com/users/AMSoftwareNL","html_url":"https://github.com/AMSoftwareNL","followers_url":"https://api.github.com/users/AMSoftwareNL/followers","following_url":"https://api.github.com/users/AMSoftwareNL/following{/other_user}","gists_url":"https://api.github.com/users/AMSoftwareNL/gists{/gist_id}","starred_url":"https://api.github.com/users/AMSoftwareNL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AMSoftwareNL/subscriptions","organizations_url":"https://api.github.com/users/AMSoftwareNL/orgs","repos_url":"https://api.github.com/users/AMSoftwareNL/repos","events_url":"https://api.github.com/users/AMSoftwareNL/events{/privacy}","received_events_url":"https://api.github.com/users/AMSoftwareNL/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/AMSoftwareNL/crmpowershell/milestones/1","html_url":"https://github.com/AMSoftwareNL/crmpowershell/milestone/1","labels_url":"https://api.github.com/repos/AMSoftwareNL/crmpowershell/milestones/1/labels","id":3850141,"node_id":"MDk6TWlsZXN0b25lMzg1MDE0MQ==","number":1,"title":"V1.4.1.0","description":"Minor bug fixes\r\nAuto complete on metadata\r\n","creator":{"login":"AMSoftwareNL","id":26834074,"node_id":"MDQ6VXNlcjI2ODM0MDc0","avatar_url":"https://avatars3.githubusercontent.com/u/26834074?v=4","gravatar_id":"","url":"https://api.github.com/users/AMSoftwareNL","html_url":"https://github.com/AMSoftwareNL","followers_url":"https://api.github.com/users/AMSoftwareNL/followers","following_url":"https://api.github.com/users/AMSoftwareNL/following{/other_user}","gists_url":"https://api.github.com/users/AMSoftwareNL/gists{/gist_id}","starred_url":"https://api.github.com/users/AMSoftwareNL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AMSoftwareNL/subscriptions","organizations_url":"https://api.github.com/users/AMSoftwareNL/orgs","repos_url":"https://api.github.com/users/AMSoftwareNL/repos","events_url":"https://api.github.com/users/AMSoftwareNL/events{/privacy}","received_events_url":"https://api.github.com/users/AMSoftwareNL/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":1,"state":"open","created_at":"2018-11-26T23:01:54Z","updated_at":"2018-12-01T16:11:28Z","due_on":"2018-12-03T08:00:00Z","closed_at":null},"comments":2,"created_at":"2018-11-07T14:36:10Z","updated_at":"2018-12-01T16:11:28Z","closed_at":"2018-12-01T16:11:28Z","author_association":"OWNER","body":"Steps to reproduce\r\n------------------\r\nTo invoke the FullfilSalesOrderRequest, an OrderClose entity must be added as parameter. This is an in-memory representation.\r\n```\r\n$e = New-Object -TypeName 'Microsoft.Xrm.Sdk.Entity' -ArgumentList 'orderclose'\r\n$e.subject = 'test'\r\n$e.Attributes.Add('subject', 'test')\r\n\r\n```\r\nExpected behavior\r\n-----------------\r\nAttribute and value are added to the Attributes-collection.\r\n\r\nActual behavior\r\n---------------\r\nException is thrown:\r\n```\r\nException setting \"subject\": \"The property 'subject' cannot be found on this object. Verify that the property exists and can be set.\"\r\nAt line:1 char:1\r\n+ $e.subject = 'test'\r\n+ ~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : NotSpecified: (:) [], SetValueInvocationException\r\n    + FullyQualifiedErrorId : ExceptionWhenSetting \r\n\r\n```\r\nEnvironment data\r\n----------------\r\nDynamics 365 CRM v8.2.2.2464;\r\nAMSoftware.Crm Module v1.4.0.0"}}
{"actor":{"display_login":"AMSoftwareNL"}}