Imported transaction is being dropped if Quantity is more than what is left on the Contract

Issue No: CF-3098
Created 8/25/2022 8:37:40 AM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 21.2
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-276919 - Customer UAP/update to lastest version of 21.2|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-276919]   *This issue relates to i21 Help Desk ticket:* [ HDTN-276670 - Dropping Contract transaction on CF Import|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-276670]   +Details+   {color:#0f0f0f}099127,0000,0,1622.35,1,1021,FUEL,DIESEL #2 ULTRA LO S,4.114,{color}{color:#c0392b} *2824.9,0000000,* {color}{color:#0f0f0f}33,7507,220823,1502,00,561517,00000000,59305546540272420001,2,,,,,,,,,,,,,,,,,,,,,,N,PP,0,4.114,0,0,,,,,,,,,{color}     {color:#242424}Imported transaction for customer was dropped. Transaction Quantity is OVER the amount left on Contract 7. {color}   {color:#242424}Contract has a remaining quantity balance of 740.6{color}   {color:#242424}imported transaction has a quantity of 2824.9{color}   {color:#242424}Expectations would be it would create two invoices. OR if it was confused because it was using up the contract, that it you error or put it in the invalid transactions tab for the customer to investigate. It lost the entire transaction. It did not import it at all. {color}     *+Issue:+*   * {color:#000000}Unable to import with contracts that have decimal value{color} * _Root Cause:_ Issue occurs when contracts have decimal value.   !pastedImage_d193548_0.jpg|height=379,width=800!   *+Steps to Reproduce:+*   * Kindly follow the steps from this test case - [http://jira.irelyserver.com/secure/Tests.jspa#/testCase/EDO-T50]   *+Acceptance:+*   * Imported Files should displayed in Unposted transactions tab