Import Payment imports from multiple clients

Description

  • In the ImportPayment.java, clientcheck is added to avoid queries updating the import records of other client. So there is an issue where i.I_isImported<>'Y' OR i.I_isImported IS NULL is not enclosed in brackets so entire queries after OR is executed as OR condition.

  • Also there is no clientcheck in the query to get the ImportPayment records which are not imported, so currently it brings all the records from all the clients.

Please find attached patch for the same.

Environment

None

Status

Assignee

Pritesh Shah

Reporter

Pritesh Shah

Labels

Tested By

None

Fix versions

Affects versions

2.1

Priority

Major