select d.#entity#_id as entity_id, d.#entity#_doc as title, datalength(d.doc) as doc_size, d.contenttype, d.fname, a.login as creator, a.shortname as creator_name, u.login as modifier, u.shortname as modifier_name from #entity#_doc d left outer join usr a on (d.creator_id=a.usr_id) left outer join usr u on (d.updater_id=u.usr_id) where d.#entity#_doc_id= #entitySpec.selectHead# where d.#entity#_id= Документ #title##fname# (#contenttype#)
Название документа
Имя файла
#qAttributes.fname#
Content Type
#qAttributes.contenttype#
Размер
#qAttributes.doc_size# байт
Заменить файл
Создано
#dateFormat(d.dt_created,'DD.MM.YYYY')# #timeFormat(d.dt_created,'HH:MM')# #qAttributes.creator# (#qAttributes.creator_name#) Дата и время первоначальной загрузки
Изменен
#dateFormat(d.dt_updated,'DD.MM.YYYY')# #timeFormat(d.dt_updated,'HH:MM')# #qAttributes.modifier# (#qAttributes.modifier_name#)