Grain - Discounts as a Percentage of Price

Issue No: GRN-959
Created 5/11/2018 7:18:59 AM
Type Feature
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.3
Description Percent of Price iNet spec: [http://inet.irelyserver.com/pages/viewpage.action?pageId=91482869]     Description: i21 needs the ability to allow grain discounts as a percent of price. Typically, this is used for Moisture Discounts. It is a variable dollar discount that is a fixed percent of the contract or spot price, multiplied by the number of units.   The discount will only calculate if the contract is priced or the ticket spot price is populated.   !pastedImage_d96785_0.png!   Example Discount Schedule:   Example A: • 1000 bu at $10.00 – 11% FM (10% of gross weight discount) - 16% moisture (12% of contract price discount) – 52# TW ( .01/bu discount) and 3% Damage ( .03/bu discount) • FM Shrink on gross weight • Moisture Price Discount on Wet Weight (Bushels after FM Shrink) • All other cents/bu discounts after. 1000bu -100bu (1000 X 10% FM shrink) = 900 bu X $10 (Contract Price) =$9000 -$1080 ($10 x 900bu x 12% discount) =$7920 - 9 (.01 TW Discount x 900bu) - 27(.03 Damage Discount x 900u) =$7884 Example B: • 1000 bu at $10.00 – 11% FM (10% of gross weight discount) - 16% moisture (12% of contract price discount) – 52# TW ( .01/bu discount) and 3% Damage ( .03/bu discount) • FM Shrink on gross weight • Moisture Price Discount on GROSS Weight • All other cents/bu discounts after. 1000bu - 100bu (1000 X 10% FM shrink) = 900 bu X $10 (Contract Price) =$9000 -$1200 ($10 x 1000bu x 12% discount) =$7800 - 9(.01 TW Discount x 900bu) - 27 (.03 Damage Discount x 900u) =$7764