Settle Storage - Incorrect Discount Value and GL entries

Issue No: GRN-1499
Created 4/26/2019 4:16:52 AM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.3
Description Steps:   1. Create Delivery Sheet. Generate Delivery Sheet.   !pastedImage_d116915_0.png!   2. Create Ticket. Select Delivery Sheet created in Step 1. Distribute.   !pastedImage_d116915_1.png!   3. Post Delivery Sheet created in Step 1.   3. Create Settle Storage. Post.   Issue:   1. Discount Due is computed based on Net Weight eventhough Discount's Calculate Discount On setup is Gross Weight   !pastedImage_d116915_2.png!   2. GL entries for Discount is wrong on Dollar and Unit values.   !pastedImage_d116915_3.png!     Acceptance Criteria:   1. Settle Storage - Discount Due should be computed based on Gross Weight since that is the Discount's setup. Here is referenced Voucher. Voucher computed discount based on Gross Weight.   !pastedImage_d116915_4.png!   2. GL entries for Storage Settlement transaction - Discount should be:   Dr. AP Clearing 2.31 Debit Unit 12.8282   Cr. Discounts 2.31 Credit Unit 12.8282