UPDATE VS4TARInvoice SET TIvoFlag1=TIvoFlag2 WHERE TIvoFlag2 is not null
GO
UPDATE VS4TARDebitNote SET TDBNFlag1=TDBNFlag2 WHERE TDBNFlag2 is not null
GO
UPDATE VS4TARCreditNote SET TRCNFlag1=TRCNFlag2 WHERE TRCNFlag2 is not null
GO
UPDATE VS4TPOSTrans SET TPTAFlag1=TPTAFlag2 WHERE TPTAFlag2 is not null
GO
UPDATE VS4TPO SET TPODFlag1=TPODFlag2 WHERE TPODFlag2 is not null
GO
UPDATE VS4TSO SET TSODFlag1=TSODFlag2 WHERE TSODFlag2 is not null
GO

