Description |
Issue: System send double quantiy to SAP.
# Create a contract with two seq with 900 MT
# Approve the Contract
# Feed table will have two records (Seq 1,2) with Added
# Run the SP
# Status will be changed to "Awt Ack"
# Now edit the contract by adding 2 more seq with 300 MT, 300 MT and approve it
# Feed table will have two new records (Seq 3,4) with Added status
# Run the SP
# Feed table totally will have 6 records. 4 records (Seq 1,2,3,4) with Modified status and 2 records (Seq 1,2) which are already in 'Awt Ack' status
# Now edit the contract by adding 1 more seq with 400 MT and approve it
# Feed table will have one new record (Seq 5) with Added status
# Run the SP
# Feed table totally will have 11 records. 5 records (Seq 1,2,3,4,5) with Modified status and 4 records (Seq 1,2,3,4) with the previous modified records and 2 records (Seq 1,2) which are already in 'Awt Ack' status
Expectation: System should not have 11 records. Instead it should have only 7 records which will be latest 5 modified records (Seq 1,2,3,4,5) and 2 records (Seq 1,2) which are already in 'Awt Ack' status
|