src-db/database/model/views/FIN_PAYMENT_SCHED_INV_V.xml
changeset 16484 e3eca21395e5
parent 15453 0d5c7c2a2352
child 18240 b4f0be311a54
child 18377 823d12b0362f
--- a/src-db/database/model/views/FIN_PAYMENT_SCHED_INV_V.xml	Mon May 07 17:43:03 2012 +0200
+++ b/src-db/database/model/views/FIN_PAYMENT_SCHED_INV_V.xml	Tue May 08 13:21:36 2012 +0200
@@ -18,6 +18,6 @@
 WHERE psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id) AS daysoverdue, COALESCE((SELECT sum(psd.amount) AS sum
 FROM fin_payment_scheduledetail psd, fin_payment_detail pd
 LEFT JOIN fin_payment p ON pd.fin_payment_id = p.fin_payment_id
-WHERE psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id AND psd.fin_payment_detail_id = pd.fin_payment_detail_id AND p.status = 'RPAE'), 0) AS awaiting_execution
+WHERE psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id AND psd.fin_payment_detail_id = pd.fin_payment_detail_id AND p.status = 'RPAE'), 0) AS awaiting_execution, 'Y' AS em_aprm_modif_paym_sched, 'Y' AS em_aprm_modif_paym_out_sched
 FROM fin_payment_schedule ps]]></view>
   </database>