Description |
Steps:
1. Create a Purchase DP Contract.
!pastedImage_d101444_0.png!
2. Create a Ticket, select the DP Contract and Distribute it.
!pastedImage_d101444_1.png!
Issue: Wrong Cost computed when valid Basis Entry is 0.00.
Here is the Basis Entry setup.
For 7/10/2018, Basis Entry for item - CWRS is blank.
!pastedImage_d101444_2.png!
For 2/13/2018, Basis Entry for item - CWRS is 0.80.
!pastedImage_d101444_3.png!
I tried to check what Basis Entry it used that resulted to 322.205213 IR Cost. Here's what I found.
Ticket is distributed on 7/16/2018 (that is when Inventory Receipt is created), it used the Basis Entry for 2/13, which is 0.80 since Basis Entry for 7/10/2018 is blank.
Cost per Metric Ton in CAD x Bushel Unit Qty = Cost per Bushel in CAD
322.205213 x 0.02721557456 = 8.769
8.769 - 7.969 = 0.80 (this is the Basis Entry on 2/13/2018 but was not converted to CAD)
!pastedImage_d101444_4.png!
Acceptance Criteria:
Get valid Basis entry for the open month, even when value is blank or 0.00. Then when Ticket is disributed, there should be a validation that will tell you that there is no basis entry.
Should the user decide to Distribute the Ticket, the user should add a valid Basis entry, which is either a positive or negative amount.
|