[Batch Invoice - Scale Implementation] - unable to distribute ticket.

Issue No: AR-11148
Created 11/7/2019 4:17:54 AM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 19.2.1
Description Steps:   Create new item.   Create direct IR to increase stocks.   In customer screen, set batch invoice by time. Set time to e.x 4:30pm to 5:00pm   !pastedImage_d126408_0.png|height=679,width=1106!   Create atleast 3 load out transactions where distribution is spot.   Enter gross and tare weight.   Enter futures and basis.   Click Distribute     Issue:   Unable to distribute ticket.   !pastedImage_d126408_1.png|height=441,width=547!   Upon clicking distribute, system is trying to find an open (unposted) invoice and will insert additional line item. Which causes problem number 1.   !pastedImage_d126408_2.png|height=489,width=1575!   DtmDateCreated was changed after invoice is created.   !pastedImage_d126408_3.png|height=605,width=840!     Acceptance:   1. Should be able to distribute ticket.   2. A new invoice should be created regardless if there is an open invoice for specific customer.   3. DtmDateCreated should not be updated after invoice is created.