ALTER TABLE VS4TPOPTransMB ADD
	TPTBWTAXBase money NULL,
	TPTBIsPremium smallint NULL,
	TPTBTaxBase money NULL
GO
UPDATE VS4TPOPTransMB Set TPTBAmount=TPTBSubtotal where TPTBSubtotal is null
GO
UPDATE VS4TPOPTransMB Set TPTBTaxBase=TPTBAmountWTax where TPTBTaxBase is null
GO
UPDATE VS4TPOPTransMB Set TPTBWTaxBase=TPTBAmountWTax where TPTBWTaxBase is null
GO
UPDATE VS4TPOPTransMB Set TPTBIsPremium=TPTBFreeNumber where TPTBIsPremium is null
GO



