Unified approach required for Settle Storage, DP and Price contract

Issue No: GRN-486
Created 11/18/2016 3:54:15 PM
Type Suggestion
Priority Minor
Status Closed
Resolution Fixed
Fixed Version 17.3
Description   Right now there are multiple ways of in which DP, Basis & Storage are handled. Need to follow one approach.   This is what is happening in the system.   * Purchase from DP (Settle Storage screen) - Original IR was at $0. Inventory is own. Creates another IR with the cost. Storage charges and discounts/premiums are calculated. IR is processed to voucher. * Price Basis Contract (Contract or Price Contract screens) - Original IR was at basis cost. Inventory is own. Finds the original IR, unpost, change the cost and repost. * Purchase from Storage (Settle Storage Screen) - Original IR was at $0. Inventory is on storage. Creates another IR with the cost. Storage charges and discounts/premiums are calculated. IR is processed to voucher.   This is done as a short cut as integration with voucher and cost adjustment in voucher is already developed in IR.   These has to be developed/called from Settle Storage itself. Settle storage should not create an IR. Inventory is already received. Only ownership is changing.     Specs:   [http://inet.irelyserver.com/display/INV/DP+contracts%2C+Basis+Contracts+and+Purchase+from+Storage]