{"action":"created","issue":{"url":"https://api.github.com/repos/kbower/tickettest1/issues/1383","repository_url":"https://api.github.com/repos/kbower/tickettest1","labels_url":"https://api.github.com/repos/kbower/tickettest1/issues/1383/labels{/name}","comments_url":"https://api.github.com/repos/kbower/tickettest1/issues/1383/comments","events_url":"https://api.github.com/repos/kbower/tickettest1/issues/1383/events","html_url":"https://github.com/kbower/tickettest1/issues/1383","id":196577096,"number":1383,"title":"Rewrite RES conversion to get new orderid when converted on a different orderdate","user":{"login":"kbower","id":4621154,"avatar_url":"https://avatars.githubusercontent.com/u/4621154?v=3","gravatar_id":"","url":"https://api.github.com/users/kbower","html_url":"https://github.com/kbower","followers_url":"https://api.github.com/users/kbower/followers","following_url":"https://api.github.com/users/kbower/following{/other_user}","gists_url":"https://api.github.com/users/kbower/gists{/gist_id}","starred_url":"https://api.github.com/users/kbower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbower/subscriptions","organizations_url":"https://api.github.com/users/kbower/orgs","repos_url":"https://api.github.com/users/kbower/repos","events_url":"https://api.github.com/users/kbower/events{/privacy}","received_events_url":"https://api.github.com/users/kbower/received_events","type":"User","site_admin":false},"labels":[{"id":502425680,"url":"https://api.github.com/repos/kbower/tickettest1/labels/bug","name":"bug","color":"ee0701","default":true},{"id":502436250,"url":"https://api.github.com/repos/kbower/tickettest1/labels/eld","name":"eld","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":{"login":"kbower","id":4621154,"avatar_url":"https://avatars.githubusercontent.com/u/4621154?v=3","gravatar_id":"","url":"https://api.github.com/users/kbower","html_url":"https://github.com/kbower","followers_url":"https://api.github.com/users/kbower/followers","following_url":"https://api.github.com/users/kbower/following{/other_user}","gists_url":"https://api.github.com/users/kbower/gists{/gist_id}","starred_url":"https://api.github.com/users/kbower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbower/subscriptions","organizations_url":"https://api.github.com/users/kbower/orgs","repos_url":"https://api.github.com/users/kbower/repos","events_url":"https://api.github.com/users/kbower/events{/privacy}","received_events_url":"https://api.github.com/users/kbower/received_events","type":"User","site_admin":false},"assignees":[{"login":"kbower","id":4621154,"avatar_url":"https://avatars.githubusercontent.com/u/4621154?v=3","gravatar_id":"","url":"https://api.github.com/users/kbower","html_url":"https://github.com/kbower","followers_url":"https://api.github.com/users/kbower/followers","following_url":"https://api.github.com/users/kbower/following{/other_user}","gists_url":"https://api.github.com/users/kbower/gists{/gist_id}","starred_url":"https://api.github.com/users/kbower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbower/subscriptions","organizations_url":"https://api.github.com/users/kbower/orgs","repos_url":"https://api.github.com/users/kbower/repos","events_url":"https://api.github.com/users/kbower/events{/privacy}","received_events_url":"https://api.github.com/users/kbower/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-12-20T03:20:59Z","updated_at":"2016-12-20T03:21:02Z","closed_at":null,"body":"_Imported from trac ticket 1383.\nCreated by **kbower**\nOpened in trac: Jan 19, 2012, 10:28:42 AM\nLast modified in trac: Sep 23, 2016, 11:28:56 AM_\n***\nOrder 0116205GU13 was converted to a sales order today but the SO_WR_DT in SO and AR_TRN field remained 16-JAN-2012\n\nThe RES was saved that date, but the so_wr_dt should change to the date is converted.\n \n\nWe typically wouldn’t see this because an reservation from 16th of the month, will not be available on the 18th.\n\nIn the case when this happens with GERS, what would typically happen is the order number would change from 0116205XYZX to 0118205ABCD and the so_wr_dt updates to the actual transaction date.\n\nCan you please open the ticket for this?\n\n\nMariam H. Farach\n----\n## IMPLICATIONS\n * New primary key, including updating all fk dependencies, such as order tags, orderdetails \n   * consider `passive_updates=False`\n   * how does autoexpiration interact with this?\n * New orderdate, including all dependencies, such as spiff recalculation, etc.\n * mainorderid must be carefully updated for orderdetails and order\n * the system must prevent breaking a Reservation to simplify this\n"},"comment":{"url":"https://api.github.com/repos/kbower/tickettest1/issues/comments/268143881","html_url":"https://github.com/kbower/tickettest1/issues/1383#issuecomment-268143881","issue_url":"https://api.github.com/repos/kbower/tickettest1/issues/1383","id":268143881,"user":{"login":"kbower","id":4621154,"avatar_url":"https://avatars.githubusercontent.com/u/4621154?v=3","gravatar_id":"","url":"https://api.github.com/users/kbower","html_url":"https://github.com/kbower","followers_url":"https://api.github.com/users/kbower/followers","following_url":"https://api.github.com/users/kbower/following{/other_user}","gists_url":"https://api.github.com/users/kbower/gists{/gist_id}","starred_url":"https://api.github.com/users/kbower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbower/subscriptions","organizations_url":"https://api.github.com/users/kbower/orgs","repos_url":"https://api.github.com/users/kbower/repos","events_url":"https://api.github.com/users/kbower/events{/privacy}","received_events_url":"https://api.github.com/users/kbower/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T03:21:02Z","updated_at":"2016-12-20T03:21:02Z","body":"_**kbower** trac comment on Jan 19, 2012, 11:28:24 AM:_\n\nTraditionally, we would accept the date it was originally written up (which should never be more than 24 hours before it was converted into a sale).  If it is EASIER to have the Spiff dates look at conversion date and not the original written date, then just go with that.\n\nJesús R. Capó, VP, CIO\n"}}
{"actor":{"display_login":"kbower"}}