Company or Location only when the option allows a single location entry is selected in the company config

Issue No: AR-14837
Created 6/13/2022 2:50:42 AM
Type Bug-QC
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 22.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-270167 - F-NA-Walter Matter Initiative for Bugs & Features|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-270167]   Pre-condition:   1. Go to System Manager > Company Configuration > Sales > Checked the "Allow Single Location Entries"   Steps:   1. Go to Sales > Invoice > Post   Issue:   Users should only see the accounts as per AR Account Company or Location only when the option allows a single location entry is selected in the company config Warning message pops up : If the LOB in GL Account ID is different from the AR Account GL ID than a warning message should pop up for the user stating the mismatch of LOB.   Acceptance:   Allow Single Location Entries = Checked   Message "Sales and AR Account should have the same location segment.   Allow Single Location Entries = Unchecked   Should successfully posted.