Invoice No, Billed Qty and Cost from created Voucher are incorrect after Pricing the Basis Contract

Issue No: CT-3323
Created 6/11/2019 12:05:00 AM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.3
Description *STEPS:*   # Create Vendor Split where distribution type is Contract with 50% each Entity (A1 Portal Farms, Inc. and Agrium) # Create 1 Priced Contract for A1 Portal Farms, Inc. with 1000 Bu contract qty # Create 2 Basis Contract for Agrium with 1000 Bu contract qty   !pastedImage_d119895_0.png|height=274,width=1045!   # Setup Settlement Price # Create Load In Scale Ticket where Distribution Type is Split # Enter Grades and Scale Weights   !pastedImage_d119895_1.png|height=731,width=994!   # Manual Distribute the Ticket   For Priced Contract, 910.096 is assigned.   For Basis Contract, assign units for 2 Basis Contract   500 Bu and 410.095 Bu   !pastedImage_d119895_2.png|height=770,width=1207!   # Click Process button   The system will auto create posted IR for Priced Contract (A1 Portal Farms, Inc.)   !pastedImage_d119895_3.png|height=830,width=1795!   The system will auto create posted IR for Basis Contract (Agrium).   Note: Cost should be getting from Risk Management Settlement price + Basis Contract Basis price   Settlement price: $7   Basis Price: $0.35   *{color:red}Issue in SC: {color}*   Settlement price was only the cost in IR.   !pastedImage_d119895_4.png|height=831,width=1795!       The system will auto create Voucher for Priced Contract (A1 Portal Farms, Inc.)   !pastedImage_d119895_5.png|height=715,width=1245!   # Priced the Basis Contract. From Contract Management, select the 2 Basis Contract   !pastedImage_d119895_6.png|height=785,width=1173!   Clicking Save button will auto create Voucher for Basis Contract   *{color:red}Issue in CT:{color}*   # Invoice No is missing # Billed Qty is wrong #   !pastedImage_d119895_7.png|height=814,width=1494!   # Undistribute Scale Ticket   Contract Qty is updating the Balance and Applied Qty   !pastedImage_d119895_8.png|height=280,width=1067!   # Re-distribute the Scale Ticket   !pastedImage_d119895_9.png|height=773,width=996!   Contract Qty is updating correctly.   !pastedImage_d119895_10.png|height=277,width=1155!       Voucher is now correct with the following(s)   Invoice No   Billed Qty   Cost   !pastedImage_d119895_11.png|height=817,width=1498!   *ACCEPTANCE:*   Once the Basis is Priced, Invoice No, Billed Qty and Cost should be correct.