HDTN-264223 - Sales invoice doc is print incorrect weight info when prov. invoice is processed (credit memo)

Issue No: LG-3046
Created 9/2/2021 11:57:57 PM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 20.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-264223 - Sales invoice doc is print incorrect weight info when prov. invoice is processed (credit memo)|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-264223]   When Provisional Invoice is processed to create final invoice (Credit Memo), weight section (Gross, Tare and Net Received) weights will have to print the final weights entered in the Credit Memo. Invoice weights will have to be Provisional Invoice net weights. Now, it is printing opposite.     STEPS:   1. Create Purchase and Sale Contract   2. Allocate the 2 Contracts   3. Create Dropship Load Shipment and add the allocation   4. Post and Create Voucher then post   5. Create Provisional Invoice   6. Enter Tare Weight and Post   7. Process to Final Invoice.   8. Change the Gross Weight < Ordered qty   9. Post and it will convert to Credit Memo   10. Click Print button   ISSUE:   !pastedImage_d169703_0.png|height=410,width=643!       ACCEPTANCE:   #1 - It has to be fetched from the above credit memo (final weights received) -> Gross 24905.000, Tare 0.000 and net weight 24905.000   #2 - It has to be fetched from the provisional invoice (net weight invoiced earlier as label says). In this case, Net weight invoiced should be 24,965.490