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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user