FIX MAJOR BUGS IN RECORD OF SALE_LINEITEM