Unapplied prepaid balance for the sequence

Issue No: AP-4647
Created 11/16/2017 10:20:30 AM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 17.3
Description Steps:   # Create contract # Create prepaid against sequence 1 # Pay the prepaid # note that the prepaid is preventing another line that is not prepaid from being canceled.   Issue: Cannot save contract due even if cancelled sequence has no prepaid   Acceptance: Modify fnAPContractHasUnappliedPrepaid to accept @intContractDetailId instead of @intContractHeaderId. As we are keeping track of sequence while doing a prepaid.