Contract Balance Issue for Contracts with Unlimited Quantity

Issue No: CT-7270
Created 5/16/2022 2:37:22 AM
Type Bug-QC
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 20.1
Description *STEPS:*   *CONTRACT TO INVENTORY RECEIPT* 1. Create purchase contract = 1000 2. Process to Inventory Receipt 3. Post 1500 4. Check DPR Summary Log   *CONTRACT TO INVENTORY SHIPMENT* 1. Create sales contract = 1000 2. Process to Inventory Shipment 3. Post 1500 4. Check DPR Summary Log   *CONTRACT TO TICKET* *Purchase* +DWG+ A. Create basis contract with Destination WG > create ticket > distribute to contract (higher than contracted) 1. Create contract = 1000 2. Create Ticket = 1500 3. Check DPR Summary Log B. Create priced contract with Destination WG > create ticket > distribute to contract (higher than contracted) 1. Create contract = 1000 2. Create Ticket = 1500 3. Check DPR Summary Log   *Sales* +OWG+ A. Create basis contract with Origin WG > create ticket > distribute to contract (higher than contracted) 1. Create contract = 1000 2. Create Ticket = 1500 3. Check DPR Summary Log   B. Create priced contract with Origin WG > create ticket > distribute to contract (higher than contracted) 1. Create contract = 1000 2. Create Ticket = 1500 3. Check DPR Summary Log     *ISSUE* : Incorrect DPR Summary Logs for contracts with unlimited qty     *ACCEPTANCE* :   1. Should have entries to adjust the contract qty for Sales/Purchase Priced or Sales/Purchase Basis   2. Entries when Receipt/Shipment is created should enter the new qty     *Root Cause* : Unlimited contract is not considered when DPR Summary Log was implemented