Issue in linking Sample with Load Shipment

Issue No: QC-526
Created 3/1/2019 9:25:48 AM
Type Bug
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-227751 - Sample Status not posting to Load shipment transaction|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-227751] *Using 18.1*   *Issue with reproduction steps :*   1. Create a Contract.   2. Create an Arrival Center approved Sample by provide Container number in Sample entry screen.   !pastedImage_d113028_0.png!   3. Now, create an inbound load for that contract.   4. By default container number will be populated in the container tab.   5. Link the container with order.   6. save and post load.   7. Unlink the container and make some changes and again link it and save it.   !pastedImage_d113028_1.png!   8. Now, you can see that Sample status is not displaying in the linked container.   !pastedImage_d113028_2.png!   *Root Cause:*   *While it is relink after unlinking, Sample related SPs are not called and so Sample records are not properly linked with the load table.*   *Expected Result:*   It has to link the Sample related SP each time before saving so that Load will show always correct Sample No linked with.