[24.1] Unable to Post an Invoice with Discount

Issue No: AR-21335
Created 4/24/2024 10:48:34 PM
Type Bug-QC
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 24.1
Description HD Ticket:. [HDTN-341080|https://helpdesk.irely.com/irelyi21Live/#/HD/Ticket/?ticket=HDTN-341080]     *Issue:* Unable to Post an Invoice when there is an added Discount on Customer.   !https://inet.irelyserver.com/download/attachments/376810102/image-2024-4-25_10-2-15.png?version=1&modificationDate=1714010535767&api=v2!   !pastedImage_4_25_2024__11_30_50_738.png|height=551,width=1106!     *Scenario 1: Standard Invoice*   *Steps:*   1. Create an Invoice Transaction   2. Fill the required Header details and the Source is Standard   3. Add an Item on Item grid details   4. Add a Discount on Item grid details   5. Click Save   6. Click Post   *Acceptance:*   * It must successfully Saved and Posted * Details/Amounts must be correct after save and post.       *Scenario 2: Software Invoice*   *Steps:*   1. Create an Invoice Transaction   2. Fill the required Header details and the Source is Software   3. Add an Item on Item grid details   4. Add a Discount on Item grid details   5. Click Save   6. Click Post   *Acceptance:*   * It must successfully Saved and Posted * Details/Amounts must be correct after save and post.