13: -- |
14: -- | History
15: -- | 27-MAR-01 jreyes Created
16: -- | 19-JUN-01 jreyes Adding call to create schedules and items..
17: -- | 21-JUN-01 jreyes Adding call to get amount precision from fnd_currency.get_info...
18: -- | 24-JUN-01 jreyes Opened increase on types to all payment term types (LOOKUP Code: PN_PAYMENT_TERM_TYPE)
19: -- | 04-JUL-01 jreyes Removed references to _MM procedures
20: -- | 24-JUL-01 psidhu Removed code_code_combinaton_id from call to
21: -- | PNT_PAYMENT_TERMS_PKG.Insert_Row.
187:
188: /* deriving a format mask if precision is specified. */
189:
190: IF p_precision IS NOT NULL THEN
191: fnd_currency.safe_build_format_mask (
192: format_mask => v_format_mask
193: ,field_length => v_field_length
194: ,precision => p_precision
195: ,min_acct_unit => v_min_acct_unit
204:
205:
206: /* getting format make for currency code defined */
207:
208: v_format_mask := fnd_currency.get_format_mask (
209: currency_code => v_currency_code
210: ,field_length => v_field_length
211: );
212: END IF;
245: ELSE
246: v_currency_code := g_currency_code;
247: END IF;
248:
249: fnd_currency.get_info (
250: currency_code => v_currency_code
251: ,precision => v_precision
252: ,ext_precision => v_ext_precision
253: ,min_acct_unit => v_min_acct_unit