Zmiany pomiędzy wersją 21 and wersją 22 dla UserGuide/AdvancedConfiguration/CreatingTemplates

Pokaż
Ignoruj:
Data i czas:
04/03/12 00:11:19 (12 years temu)
Autor:
JP (IP: 89.72.141.179)
Komentarz:

--

Legend:

Bez zmian
Dodane
Usunięte
Zmienione
  • UserGuide/AdvancedConfiguration/CreatingTemplates

    v21 v22  
    150150where doc_id={CONTEXT} 
    151151ORDER BY quantm DESC 
     152 
     153-- kwerenda pobiera datę dokumentu który posłużył do wygenerowania aktualnego dokumentu 
     154-- np. procedura zapytania ofertowego tworzy ofertę - w ofercie chcemy pobrać do  
     155-- szablonu datę z zapytania. 
     156SELECT d2.adddat::date FROM documents d 
     157LEFT JOIN doc_link_doc dld ON d.doc_id = dld.doc_id 
     158LEFT JOIN documents_view d2 ON dld.rel_to = d2.doc_id 
     159WHERE d.doc_id = 905 
     160 
     161 
    152162}}}