{"action":"created","issue":{"url":"https://api.github.com/repos/kbower/tickettest1/issues/1845","repository_url":"https://api.github.com/repos/kbower/tickettest1","labels_url":"https://api.github.com/repos/kbower/tickettest1/issues/1845/labels{/name}","comments_url":"https://api.github.com/repos/kbower/tickettest1/issues/1845/comments","events_url":"https://api.github.com/repos/kbower/tickettest1/issues/1845/events","html_url":"https://github.com/kbower/tickettest1/issues/1845","id":196645408,"number":1845,"title":"contract worksheet column for payoff bound to wrong value","user":{"login":"i-rabot","id":24670438,"avatar_url":"https://avatars.githubusercontent.com/u/24670438?v=3","gravatar_id":"","url":"https://api.github.com/users/i-rabot","html_url":"https://github.com/i-rabot","followers_url":"https://api.github.com/users/i-rabot/followers","following_url":"https://api.github.com/users/i-rabot/following{/other_user}","gists_url":"https://api.github.com/users/i-rabot/gists{/gist_id}","starred_url":"https://api.github.com/users/i-rabot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i-rabot/subscriptions","organizations_url":"https://api.github.com/users/i-rabot/orgs","repos_url":"https://api.github.com/users/i-rabot/repos","events_url":"https://api.github.com/users/i-rabot/events{/privacy}","received_events_url":"https://api.github.com/users/i-rabot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-20T11:07:22Z","updated_at":"2016-12-20T11:07:23Z","closed_at":null,"body":"_Imported from trac ticket 1845.\nCreated by **sal**\nOpened in trac: Aug 7, 2012, 5:08:40 PM\nLast modified in trac: Aug 10, 2012, 9:54:56 AM_\n***\n_by sal:_\nThat value gets there via the payoffamt property of the \"originalcontract\" object tied to the new contract instance.\n\nInstallmentContract.as 's constructor looks like this:\npublic function InstallmentContract(obj:Object=null, callbackMap:Object=null) {\n                        super(obj, callbackMap);\n                        BindingUtils.bindProperty(this,\"salespersonid\",this,[\"_order\",\"salesperson1\"]);\n                        BindingUtils.bindSetter(\n                                function(payoffamt:Number):void {\n                                        if(payoffamt > 0.0) {\n                                                originalpayoff = payoffamt;\n                                        }\n                                }, this,[\"originalcontract\",\"payoffdata\",\"transfercredit\"]);\n}\n\nproblem is that \"transfercredit\" is NOT the correct value all the time. Payoffdata.transferbalance is probably the correct value to be sending there.\n"},"comment":{"url":"https://api.github.com/repos/kbower/tickettest1/issues/comments/268216635","html_url":"https://github.com/kbower/tickettest1/issues/1845#issuecomment-268216635","issue_url":"https://api.github.com/repos/kbower/tickettest1/issues/1845","id":268216635,"user":{"login":"i-rabot","id":24670438,"avatar_url":"https://avatars.githubusercontent.com/u/24670438?v=3","gravatar_id":"","url":"https://api.github.com/users/i-rabot","html_url":"https://github.com/i-rabot","followers_url":"https://api.github.com/users/i-rabot/followers","following_url":"https://api.github.com/users/i-rabot/following{/other_user}","gists_url":"https://api.github.com/users/i-rabot/gists{/gist_id}","starred_url":"https://api.github.com/users/i-rabot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i-rabot/subscriptions","organizations_url":"https://api.github.com/users/i-rabot/orgs","repos_url":"https://api.github.com/users/i-rabot/repos","events_url":"https://api.github.com/users/i-rabot/events{/privacy}","received_events_url":"https://api.github.com/users/i-rabot/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T11:07:23Z","updated_at":"2016-12-20T11:07:23Z","body":"_**rneville** trac comment on Aug 8, 2012, 1:52:29 PM:_\n\n(Changeset [[2956]](../commit/5f2e0725014f2abb043501dfde11f0dd5e5a000e))\n * fixes #1845 (contract worksheet column for payoff bound to wrong value) well, hopefully it does. Semantically, this is the same thing it was doing before too but I think this way is a little less \"fragile\" as it ensures that at least the payoff value that shows up in the payoff component is exactly the same value that will be in the scenario grid.\n"}}
{"actor":{"display_login":"i-rabot"}}