J
JIM.H.
Hello,
I have a table which has the field: qtyA, qtyB, orderQty,
qtyMin, orderMinQty
Now for each line, I want:
For orderQty; if(qtyA<=qtyB) then orderQty=qtyA else
orderQty=qtyA-qtyB endif
and
For orderMinQty; if((qtyB-qtyA) < qtyMin) then
orderMinQty=qtyMin else orderMinQty=0 endif
What is the fastest and easiest way to perform this on
each row.
Thanks,
Jim.
I have a table which has the field: qtyA, qtyB, orderQty,
qtyMin, orderMinQty
Now for each line, I want:
For orderQty; if(qtyA<=qtyB) then orderQty=qtyA else
orderQty=qtyA-qtyB endif
and
For orderMinQty; if((qtyB-qtyA) < qtyMin) then
orderMinQty=qtyMin else orderMinQty=0 endif
What is the fastest and easiest way to perform this on
each row.
Thanks,
Jim.