Consumption Site > Generate orders

Issue No: TM-2952
Created 11/9/2018 4:58:16 PM
Type Feature
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.1
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-220708 - Contract Incorrectly Applying to Orders|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-220708]     Note: This is to implement contract hierarchy in origin integration.     * *Steps* :   1. Prepare a customer with multiple contract and has different assigned item.   2. Make sure that the customer has an existing consumption site.   3. From Generate Orders, filter the customer site by filling out the criteria. Click Finalize Order button.   4. On Generate Order grid, select the customer site and click Site button. This will open the customer's consumption site.   5. On Order tab, check the order price used. It should use the contract's price with an item same with site.   * *Issue* : ** TM > Consumption Site > Generate Orders is assigning the wrong contract information to mulitple sites. * *Requirements* : ** Assign Contracts Based on a Hiearchy considering Linked Contracts, Contract for Site Item, and Class Fill to allow other items on site. *** 1 - Linked Site to Contract with Same Item and Contract Item is Available for TM *** 2 - Linked Site to Contract with Different Item and Contract Item is Available for TM *** 3 - Linked Site to Contract with No Item for Product Class that Matches Site Item Class *** 4 - Contract with Same Item and Contract Item is Available for TM *** 5 - Contract with Different Item In Same Class and Site setup for Class Fill = Product Class and Contract Item is Available for TM *** 6 - Contract with Different Item In Different Class and Site setup for Class Fill = Any Item and Contract Item is Available for TM *** 7 - Contract with No item, but for Product Class that Matches Site Item Class ** No Contract selected scenarios *** Contract Different Item, Class Fill = No *** Contract Different Item, Class Fill = Any and Contract Item Available for TM = No *** Contract Different Item, Class Fill = Product Class and Contract Item Available for TM = No *** Contract with No Item, Product Class does not Match Site Item Class ** Pass intContractId of the selected Contract to TM Order Record during Generate Orders