Set correct distribution units for Customer when the configuration "Allow different Units for Receipt and Distribution" is set to off

Issue No: TR-2014
Created 8/3/2022 4:48:01 AM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 22.1
Description +Steps to Replicate:+   1. Go to System Manager > Company Configuration > Transports. 2. In Options tab, untick Allow different Units for Receipts and Distribution then click Save and Close. 3. Go to Vendor > Supply Point. Set the Gross or Net = Net .Save and Close. 4. Create Transport Load using the Supply Point in step#3. Click Save and Post.   +Issue:+ When 'Allow different Units for Receipt and Distribution' option is Off in Transport Company config, The wrong sales unit is getting picked up in AR Invoice.   +Acceptance Criteria:+ The Purchases' Debit value and Inventories' Credit value should follow the Sales Units from the Supply Point.