Buy DP storage and apply to open Purchase Contract, offsite dp to open sales contract

Issue No: GRN-227
Created 9/30/2015 3:00:21 PM
Type Feature
Priority Minor
Status Closed
Resolution Fixed
Fixed Version 16.1
Description Buy DP storage and apply to open Purchase Contract   Scenerio:   Select a DP contract and select the tickets or enter a quantity that you want to purchase.   DP can only be applied to a Priced or Basis sequence.   Buying the DP will apply to an open purchase contract (or multiple contracts) and reduce the DP contract.     NOTE: this works like other settle storage types except one note.... the contarct that this "scale ticket" was applied to must also be lowered by the same number of units applied to that ticket.   EG: if the ticket has 1000bu dp from dp cnt 1, if all 1000bu are applied to pur cnt 2, then 1000 are subtracted from cnt 2 pur cnt seq and also from the dp cnt 1 seq 1. (note seq 1 only for dp contract)   if only 500 of the ticket are processed then the dp is only lowered by 500.   If more than one ticket is processed and only 1 is dp, only the dp units are lowered from the scaled tickets contract for dp.   Offsite DP works the same way but from the sell offsite screen and will have to reduce the sales dp contract as well as the normal sales contract by the units applied.   Remember that the dp (sales or purchase) are reduced by the ticket units but the sales or purchase contract woudl be for the units applied, generally the total of all tickets.