Advance Payment need to Map to Purchase Invoice. That facility needs to be introduced.To settle the particular invoice payment done Mapping needs to be Introduced. percentage wise each Purchase invoice pending details needs to be Visible in seperate window will be more efficient.