HDTN-238872 - Ticket Distribution to a contract that is not the default currency does not create Invoice

Issue No: SC-3267
Created 11/22/2019 11:40:49 AM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 18.3
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-238872 - Ticket Distribution to a contract that is not the default currency does not create Invoice|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-238872]     Load Out ticket Distribution to a sales contract that the invoice currency is not the default currency of i21 does not create Invoice. You can go into the Inventory Shipment and click the Invoice button and the invoice is created correctly but will not be created automatically during distribution. Distribution to contracts with the invoice currency the same as the system default currency creates the invoice.     +Steps+:   Default Currency = CAD   Create Priced Sales Contract, Currency = USD, Invoice Currency = USD   Create Load Out ticket and distribute to contract.   Check IS - click Invoice to create Invoice       +Acceptance+: Invoice should be created during ticket distribution but not Posted.     +Example+:   PureWest Company 99, S-297, ticket 1156     Contract   !pastedImage_d127146_0.png|height=450,width=1074!   !pastedImage_d127146_1.png|height=415,width=562!   !pastedImage_d127146_2.png|height=363,width=458!     Scale Ticket   !pastedImage_d127146_3.png|height=740,width=1006!     Inventory Shipment   !pastedImage_d127146_4.png|height=502,width=1107!     Created Invoice after clicking on the Invoice button on the Inventory Shipment   !pastedImage_d127146_5.png|height=435,width=1094!