Description |
[https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-253581]
*Steps to replicate:*
# Use global grain db.
# You can use the vendor "Spencer Farm LLC" for all the succeeding steps/transactions below.
# Duplicate contract 1061 or create a new priced contract for 10k bushels.
# Distribute 1k bushels, Load-In, scale ticket for contract created in #2.
## When asked to load the voucher, open it.
## Unpost the voucher and delete it.
# Create a new basis contract for 10k bushels.
## Price 100 bushels @ $10
## Price 200 bushels @ $20
# Distribute 1k bushels, Load-In, scale ticket for contract created in #5.
# *Issue and Expectation:* The #6 distribute will also try to create the voucher for the IR created in #4 (1st distribute). It should only convert the IR created for #6 (2nd distribute). The issue is happening in uspCTCreateVoucherInvoiceForPartialPricing.
!pastedImage_d153047_0.png|height=170,width=581!
!pastedImage_d153047_1.png|height=241,width=564!
The IR created by the ticket is IR-1563. The IR-1561 should not be converted to voucher.
!pastedImage_d153047_2.png|height=315,width=746!
|