Project

General

Profile

Actions

Anomalie #2600

open

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

Mandat - agence delegatrice

Added by Emanuel Stancu 25 days ago.

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

0%

Estimated time:

Description

Le champ "mdt_agencedelegatrice" n'est pas mis à jour en cas de suppression/fusion du confrère

Quelques 14 mandats sont concernés

select mdt_agencedelegatrice, mdt_idagence, mdt_id, mdt_datemaj from mandats m
where mdt_agencedelegatrice is not null and mdt_agencedelegatrice>0 and mdt_agencedelegatrice not in (select n.nego_id from negociateurs n where n.nego_typenego=2)
order by mdt_id desc;

A faire:
- mise à jour de la procédure stockés (sp) [FusionConfrere]
- correction des données - mettre le champ à NULL (l'information est déjà perdue)
- ajouter une clé étrangère (FK) à ce champ pointant vers negociateurs.nego_id

No data to display

Actions

Also available in: Atom PDF