FCLT#51784: Tracking rondom fiatteren en goedkeuren van facturen klopt niet altijd.

svn path=/Website/branches/v2017.3/; revision=37280
This commit is contained in:
Maykel Geerdink
2018-03-07 06:46:33 +00:00
parent 896843c831
commit b714c982fb
2 changed files with 3 additions and 5 deletions

View File

@@ -85,15 +85,13 @@ if (tobeapproved > 0)
+ " AND (mld_opdr_key IS NOT NULL OR cnt_contract_key IS NOT NULL OR bes_bestelopdr_key IS NOT NULL)";
for (f = 0 ; f < ingesloten.length; f++)
{
shared.trackaction("FINFOK", ingesloten[f].factuur_key);
if (S("fin_enable_goedkeuren") != 0 && ingesloten[f].prs_key_goedkeur > 0)
{ // Factuur is naar status Ter goedkeuring(5) gegaan.
shared.trackaction("FINGOE", ingesloten[f].factuur_key);
// Notificatie aan de goedkeurder.
fin.sendNeedApprovalNotification(ingesloten[f].factuur_key, ingesloten[f].prs_key_goedkeur);
}
else
// Factuur is naar status Akkoord(6) gegaan.
shared.trackaction("FINFOK", ingesloten[f].factuur_key);
//else // Factuur is naar status Akkoord(6) gegaan.
}
}
else

View File

@@ -74,7 +74,7 @@ if (tobevalidated > 0)
+ " AND (mld_opdr_key IS NOT NULL OR cnt_contract_key IS NOT NULL OR bes_bestelopdr_key IS NOT NULL)";
for (f = 0 ; f < ingesloten.length; f++)
{
shared.trackaction("FINFOK", ingesloten[f]);
shared.trackaction("FINGOE", ingesloten[f]);
}
}
else