﻿--Migration
UPDATE dbo.T_NAPTARINAP SET
   C_HETNAPJA = 1409
  ,C_ALAPHETNAPJA = 1409
  ,LASTCHANGED = GETDATE()
  ,MODIFIER = 0
  ,SERIAL += 1
WHERE C_NAPTIPUSA = 1394 
  AND C_HETNAPJA = 1408
  AND C_NAPDATUMA = '20200901'

UPDATE dbo.T_TANEVRENDJE SET
   C_HETNAPJA = 1409
  ,LASTCHANGED = GETDATE()
  ,MODIFIER = 0
  ,SERIAL += 1
WHERE C_NAPTIPUSA = 1394 
  AND C_HETNAPJA = 1408
  AND C_DATUM = '20200901'
