
/*------ ATD 192388 ------*/
update itnfsaicad set itempedido = itemclicad.item
from nfsaidacad join itemclicad on nfsaidacad.numped = itemclicad.numped
where nfsaidacad.numord = itnfsaicad.numord
and itnfsaicad.codpro=itemclicad.codpro