try this:
DISABLE TRIGGERS FOR LOAD OF xxx_det.
for each xxx_det no-lock where ():
l_qte_alloc = l_qte_alloc + xxx_qte_alloc .
end.
message "total qte allocated is " + string(l_qte_alloc) .
pause .
find first xxx_det where () no-error.
if avail xxx_det then
assign ...
XXX_qte_oh = l_qte_oh...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.