Changes between Version 10 and Version 11 of carga_movimientos


Ignore:
Timestamp:
09/08/11 16:07:11 (13 years ago)
Author:
Luis Carlos
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • carga_movimientos

    v10 v11  
    196196          go
    197197          UPDATE CN_TABLE_SEQ
    198           SET SEQ = NVL((SELECT max(ID_) FROM CN_),0)
    199           WHERE NOM_ENTIDAD='CN_' AND ID_CIA=1
    200 
    201           go
    202           UPDATE CN_TABLE_SEQ
    203           SET SEQ = NVL((SELECT max(ID_) FROM CN_),0)
    204           WHERE NOM_ENTIDAD='CN_' AND ID_CIA=1
     198          SET SEQ = NVL((SELECT max(ID_CATALOGO) FROM CN_CATALOGO),0)
     199          WHERE NOM_ENTIDAD='CN_CATALOGO' AND ID_CIA=1
     200
     201          go
     202          UPDATE CN_TABLE_SEQ
     203          SET SEQ = NVL((SELECT max(ID_AUXILIAR) FROM CN_AUXILIAR),0)
     204          WHERE NOM_ENTIDAD='CN_AUXILIAR' AND ID_CIA=1
    205205
    206206