Project

General

Profile

Actions

Anomalie #2606

open

AdminAgim – Refonte PHP - Evolution #2599: Reprise des données

Transactions - agence id <> commission agence id

Added by Emanuel Stancu 16 days ago.

Status:
Nouveau
Priority:
Normal
Category:
-
Start date:
10/05/2026
Due date:
% Done:

0%

Estimated time:

Description

-- mandats_nego transac agence <> mandat agence
SELECT -- mn.com_id, mn.Com_IdMandat, mn.com_idagence AS ligne_agence, 
    mn.* --, t.*
   , t.transac_idagence AS transac_agence
    , t.transac_id, t.transac_datemaj, t.transac_datemodification, t.transac_dateannulation
    , t.transac_ref, t.Transac_IdMandat, t.transac_nummandat, t.transac_typemandat
    , t.transac_typerepertoire, t.transac_numerorepertoire
    , t.transac_ilot, t.transac_idmotifannulation
FROM mandats_nego mn
INNER JOIN transactions t ON t.transac_id = mn.com_transacid
WHERE 1=1
-- AND mn.Com_IdMandat IS NULL
 AND mn.com_idagence <> t.transac_idagence
ORDER BY mn.com_datemaj DESC;


50 commissions en Prod, 47 en Dev

Ces commissions n’apparaissent nulle part dans la fiche Transaction

No data to display

Actions

Also available in: Atom PDF