UPDATE VS4TARCreditNote Set TRCNAVGDiscount = TRCNPriceChannel WHERE TRCNAVGDiscount  is null
GO
UPDATE VS4TARDebitNote Set TDBNAVGDiscount = TDBNPriceChannel WHERE TDBNAVGDiscount  is null
GO
UPDATE VS4TAPCreditNote Set TPCNAVGDiscount = TPCNPriceChannel WHERE TPCNAVGDiscount  is null
GO
UPDATE VS4TAPDebitNote Set TDENAVGDiscount = TDENPriceChannel WHERE TDENAVGDiscount  is null
GO

