Contract Feed - Vendor configured with invalid price UOM / Factor is not working

Issue No: IN-289
Created 10/23/2018 9:26:39 AM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.3
Description Contract Feed - Vendor configured with invalid price UOM / Factor is not working   *Scenario 1:*   * 'POUND' is not configured in UOM list. * In Vendor configuration, configure the price uom as 'POUND'. * While generating the XML, it is generating XML with invalid price. * It should throw error without generating the XML.   *Scenario 2:*   * Item 1 contains two UOM's: LB, and MT. * In Vendor configuration, configure the price uom as 'KG'. * 'KG' is a vaild UOM which is available in the UOM list. But it is not configured in the item's UOM which the contract is being used. * While generating the XML, it is generating XML with invalid price. * It should throw error without generating the XML.   *Scenario 3:*   * Configure the price factor as '20' * While generating the XML, it is calculating the net price with the conversion of price factor '1'. But it is showing price per unit as '20' * Price Factor - If any value is configured other than 10, 100, 1000 it should treat it as '1' by default. * It should throw error without generating the XML.   *Scenario 4:*   * Vendor Price UOM & Factor: If XML generation got failed due to any of the above one scenario, we should have a mechanism to send a mail to us. These contracts can be processed later manually.