Terms is not coming from contract it is taking incorrect Terms in invoice

Issue No: LG-5762
Created 3/25/2024 11:18:02 AM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 22.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-336716 - Payterm is not coming from contract it is taking incorrect payterm in invoice|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-336716]   *Issue:* Terms coming from Customer Entity instead of coming from the Sales Contract Terms.     *Steps:*   1. Create Sales Contract   !pastedImage_3_28_2024__20_54_51_208.png|height=428,width=960!   2. Create Load shipment : Pick lots   !pastedImage_3_28_2024__20_56_35_838.png|height=471,width=960!     3. Create invoice     4. Change the customer terms: to due on receipt   !pastedImage_3_28_2024__20_57_04_414.png|height=479,width=960!   5. Unpost the cprov invoice and delete.   6. Create new invoice from the same LS in no. 2.     *Acceptance: Terms should come from the integrating modules and passed to AR upon integration.*   Invoice linked to Sales Contract should use the Terms from Contract not the customer entity.