373:
374:
375: -- check if the profile detect_truncation is set. If yes, then make sure primary qty
376: -- also does not break decimal precision rules.
377: fnd_profile.get('INV_DETECT_TRUNCATION',l_decimal_profile);
378:
379: if ( l_decimal_profile = '1' ) then -- '1'= yes, '2' = no
380:
381: if ( x_primary_quantity <> ROUND(x_primary_quantity,g_max_decimal_digits) ) then
557:
558:
559: -- check if the profile detect_truncation is set. If yes, then make sure primary qty
560: -- also does not break decimal precision rules.
561: fnd_profile.get('INV_DETECT_TRUNCATION',l_decimal_profile);
562:
563: if ( l_decimal_profile = '1' ) then -- '1'= yes, '2' = no
564:
565: if ( x_primary_quantity <> ROUND(x_primary_quantity,l_max_decimal_digits) ) then