Openbravo Issue Tracking System - Modules
View Issue Details
0038650ModulesAdvanced Matching Algorithmpublic2018-05-29 14:322019-09-30 20:26
ngarcia 
collazoandy4 
highminoralways
scheduledopen 
5
 
 
0038650: Parameters are passed in wrong order to findOrder function in findWeakMatch function of InvoiceMatchingAlgorithm class
Parameters are passed in wrong order to findOrder function in findWeakMatch function of InvoiceMatchingAlgorithm class. The function is defined as

findOrder(FIN_BankStatementLine line, boolean PMCheck, boolean BPCheck,
      boolean DateCheck)

The calls are made in wrong order:

paymentScheduleFromOrder = findOrder(line, matchingAlgorithm.isOBAMAMatchOrderBP(), matchingAlgorithm.isOBAMAMatchOrderPM(), false);

paymentScheduleFromOrder = findOrder(line, matchingAlgorithm.isOBAMAMatchOrderBP(), false, false);
*
No tags attached.
Issue History
2018-05-29 14:32ngarciaNew Issue
2018-05-29 14:32ngarciaAssigned To => Triage Finance
2018-05-29 14:32ngarciaIssue Monitored: networkb
2018-05-30 08:19PracticsIssue Monitored: Practics
2019-08-19 21:51collazoandy4Assigned ToTriage Finance => collazoandy4
2019-08-19 21:51collazoandy4Statusnew => scheduled
2019-08-19 22:11collazoandy4Note Added: 0114096
2019-09-30 20:26collazoandy4Note Added: 0114866

Notes
(0114096)
collazoandy4   
2019-08-19 22:11   
Check the findOrder call in findWeakMatch method that PMCheck and BPCheck are correct
(0114866)
collazoandy4   
2019-09-30 20:26   
Test Plan
  Go to Financial Account and select Bank Account 2 record
    Set Advanced Matching Algorithm as Matching Algorithm
    Create a new record in Imported Bank Statement tab
      Create a new record in Lines tab (with any amount)
    Click on Match Statement and clic OK (First ok button to run algorithm)
      Click on + button select GL Item: Salaries and click on Done button
    Click on Reconcilie All button