Skip Ribbon Commands
Skip to main content
Navigate Up
Sign In

MIT Navodila

:

PS_Potni_nalog_Polja

Potni stroški - nastavitev polj vnosa

1. Polja in validi - glave (XPSGL)

naziv polja                    Izvršitveni nizi                 polje                              validi
(XPSGLH)                     (XPSGLI)                        (XPSGLP)                       (XPSGLV)

Zaporedna številka                                              zst_id*  
Status                                                                 status*     
Leto                                                                    leto*                              va_leto
Nalog                                                                  nalog*                            va_nalog 
Datum velj.                                                         datv                               va_DATV   
Ura odhoda                                                         URA_OD                         va_ura_od
Velja do                                                              datum                            va_DATUM
Število dni potovanja                                           st_dni   
Delavec                                                              sif_del                            va_sif_del  
Naziv osebe                                                        priimek*   
Po nalogu (Odobril)                                              namen1~                        VA_TEKSTPOLJA('PS_PS_GL' ; 'NAMEN1')  
Država                                                                sifdrz                              va_sifdrz
Vnos dnevnice                                                     vnos_dnev~                    va_dnev  
Odpotuje v (Na)                                                   napis11~                        VA_TEKSTPOLJA('PS_PS_GL' ; 'NAPIS11')
Opis poti                                                             napis5~                           VA_TEKSTPOLJA('PS_PS_GL' ; 'NAPIS5')
Naloga                                                                napis6~                           VA_TEKSTPOLJA('PS_PS_GL' ; 'NAPIS6')
Naloga delavca                                                    napis7~                           VA_TEKSTPOLJA('PS_PS_GL' ; 'NAPIS7' ) 
Tip dok. avans                                                     tip_dok                            va_tip_dok  
Den.enota                                                           deviza                              va_DEVIZA  
Srednji tečaj                                                        srednji*                           va_SREDNJI 
Avans                                                                 avans  
Tip dok. avans 2                                                  tip_dok2                           va_tip_dok 
Den. enota                                                          deviza_dob                       va_deviza    
Srednji tečaj                                                        prodajni*                         va_srednji  
Avans 2                                                               avans1
                                       ThisForm.nStatus=4       ostalo   
Priloga 1                                                              napis1~                            VA_TEKSTPOLJA('PS_PS_GL' ; 'NAPIS1')
Priloga 2                                                              napis2 
Vozilo                                                                  sif_vozila                           va_vozilo
Sopotnik                                                              napis3
Str.mesto                          m.XSTRM                     strm*                                va_strm  
Projekt                              m.XPROJEKT                projekt                              JE_SQL('VSI_PROJEKTI';'PROJEKT';'NAZIV';'';.F.)  
Datum spremembe                                               dat_vnos*    
Spremenil                                                            logname*   
Dat.potrditve (knj.)                                               dat_potrd*    
Dok. potrdil (knj.)                                                 log_potrd* 
Saldakonti                                                            sa*   
Za gl.knjigo                                                          gk*
Temeljnica                                                           sttem*
Vodenje proj.                                                       vp*
 
2. Polja in validi - pozicije (XPSPP)

naziv polja                    Izvršitveni nizi                 polje                              validi
(XPSPPH)                     (XPSPPI)                        (XPSPPP)                       (XPSPPV)

Zaporedna št.                                                    zst_id*
Nalog                                                                nalog*  
Datum veljave                                                   datv                              VA_DATV 
Zadnji dan                                                        datum!                           VA_DATUM     
Ura od                                                              ura_od                           VA_URA_OD
Ura do                                                              ura_do                           VA_URA_DO   
Št. dni                                                              st_dni    
Ure                                                                  ure                                 VA_URE 
Relacija                                                           relacija~                          VA_RELACIJA  
Prosti opis relacije                                            napis12~                          VA_TEKSTPOLJA('PS_PS_PP' ; 'NAPIS12' ) 
Prosti opis strank                                             napis13~                          VA_TEKSTPOLJA('PS_PS_PP' ; 'NAPIS13' ) 
Prevoženi kilometri                                          prevozkm                          VA_PREVOZKM
Začetno stanje števca                                       stastev0                          VA_STASTEV0 
Končno stanje števca                                        stastev1                          VA_KILOMETRINA
Tip dok. za kilometrino                                      tip_dok                            VA_TIP_DOK 
Šifra države                                                     sifdrz*                             VA_SIFDRZ
Kilometrina                                                      kilometr*
Tip dok. za dnevnice                                         tip_dok2                           VA_TIP_DOK  
Vrsta dnevnice                                                 vr_dnevnic                        VA_VR_DNEVNIC
Prosti opis dnevnice                                          namen2
Denarna enota                                                 deviza*                             VA_DEVIZA     
Tečaj                                                               tecaj*                               VA_SREDNJI                                                                                                                                                                           
Dnevnica                                                         dnevnica 
Količina                                                           q                                       VA_Q  
% zvišanja/znižanja                                         q1                                      VA_Q
Str. mesto                        m.XSTRM                 strm*                                 va_strm 
Projekt                             m.XPROJEKT            projekt                               JE_SQL('VSI_PROJEKTI';'projekt';'naziv';'';.F.)                                                                                                                                                         

3. Polja in validi - stroški (XPSSTR)

naziv polja                    Izvršitveni nizi                 polje                              validi
(XPSSTRH)                   (XPSSTRI)                      (XPSSTRP)                      (XPSSTRV)

Zaporedna št.                                                     zst_id* 
Datum veljave                                                    datv                               va_datv 
Tip dokumenta                                                    !tip_dok~                        va_tip_dok   
Opis                                                                   opis*   
Den. enota                                                         deviza                             va_deviza 
Tečaj                                                                 srednji  
Znesek                                                              !znesek                            va_znesek 
Država                                                              sifdrz                                va_sifdrz  
Str. mesto                       m.XSTRM                     strm                                 va_strm 
Projekt                            m.XPROJEKT                projekt                             JE_SQL('VSI_PROJEKTI';'projekt';'naziv';'';.F.) 

     

Valid VA_TEKSTPOLJA lahko ima tudi časovno omejitev, na primer prikaže tekst samo od nalogov enega leta nazaj ali 6 mesecev nazaj:

VA_TEKSTPOLJA('PS_PS_PP' ; 'NAPIS12' ; 'G.DATV>DATEADD(yy;-1;GETDATE())')​

VA_TEKSTPOLJA('PS_PS_PP' ; 'NAPIS12' ; 'G.DATV>DATEADD(mm;-6;GETDATE())')


 

 

nazaj na navodila za Potne stroške