испр таблич в настр сэд

This commit is contained in:
mirzakaev_tf 2024-06-07 14:54:58 +05:00
parent 7ef1561a0d
commit 1c3d9fc534
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@
Основной атрибут | Зависимые атрибуты | Вычисления
-----------------|--------------------|-----------
#Table1_worker# | #Table1_worker_tabn# | (select "NumTab" from rp."RP_Worker" where "VCode" = #Table1_worker#)
#Table1_worker# | #Table1_worker_post# | (select rpwm."IdPost" from rp."RP_Worker" w join rp."RP_WorkerMove" rpwm on rpwm."IdWorker" = w."VCode" where w."VCode" = | #Table1_worker# | and w."NumTab" = #Table1_worker_tabn# order by coalesce(rpwm."DateEnd",'20700101') desc limit 1 )
#Table1_worker# | #Table1_worker_post# | (select rpwm."IdPost" from rp."RP_Worker" w join rp."RP_WorkerMove" rpwm on rpwm."IdWorker" = w."VCode" where w."VCode" = #Table1_worker# and w."NumTab" = #Table1_worker_tabn# order by coalesce(rpwm."DateEnd",'20700101') desc limit 1 )
#Table1_worker_tabn# | #Table1_worker# | (select "VCode" from rp."RP_Worker" where "NumTab" = #Table1_worker_tabn# order by coalesce("DateEnd",'20700101'::date) desc limit 1)
В этом случае пользователю будет достаточно заполнить столбец "Табельный номер", а остальные атрибуты будут заполнены автоматически.