HelpDesk - Import Invoices from Helpdesk creating invoices for the wrong customer when warehouse field blank

Issue No: AR-5891
Created 11/7/2017 5:11:30 PM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 17.3
Description Version: 17.3.1005.66   Database: TE   Steps to Recreate:   1. Enter time in Hours Worked in HDTN-204514.   2. Import Billable from HelpDesk.   3. Look at the invoice. Notice the incorrect customer is being billed.     Steps to reproduce: 1. Go to Help Desk \| Tickets 2. Open 2 tickets - one for customer with value in Customer Entity \| Detail - Warehouse field (eg. HDTN-204273) and one without (eg. HDTN-204514) 3. Add billable entries in Hours Worked tab screen of both tickets if no entry yet 4. Save all changes 5. Go to Sales \| Import Billable from Help Desk 6. Filter the records and select the above billables 7. Click Import > Import Only 8. Click OK on the message "The Company Location provided for Customer < > is not active! (OK)" Expected result: Invoice should be created for the customer with valid Warehouse entry; Line item added should be for this customer; Line item for the other customer (with no Warehouse) should not be added to the grid Actual result: Invoice is created for the customer with valid Warehouse entry; Line item is added for this customer; however, billable for the other customer (with no Warehouse) is also added to the grid