[Sales Invoice] Restricted CCP does not show in prepaid and credit memos

Issue No: AR-8331
Created 8/3/2018 2:55:33 AM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.3
Description *Step to reproduce:*   # [Customer Prepayment - Create and Pay|http://inet.irelyserver.com/display/AR/v17+Customer+Prepayment+-+Create+and+Pay] - CPP:59 ## Customer: Apple ## Item: d2d ## Prepay type: Standard ## restricted - YES # Create sales invoice ## Customer: Apple ## Item: d2d # apply prepaid and credit memos   *Issue:*   1. notice that CPP-59 in step 1 did not appear in the prepaids and credit memos tab   !pastedImage_d102594_0.png!     2. This also happens if the CPP is with contract and restricted item.       *Accepted:*   Unapplied Customer prepayment with restricted item should be displayed on the grid if same customer and item .