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.
186:
187: /* deriving a format mask if precision is specified. */
188:
189: IF p_precision IS NOT NULL THEN
190: fnd_currency.safe_build_format_mask (
191: format_mask => v_format_mask
192: ,field_length => v_field_length
193: ,precision => p_precision
194: ,min_acct_unit => v_min_acct_unit
203:
204:
205: /* getting format make for currency code defined */
206:
207: v_format_mask := fnd_currency.get_format_mask (
208: currency_code => v_currency_code
209: ,field_length => v_field_length
210: );
211: END IF;
244: ELSE
245: v_currency_code := g_currency_code;
246: END IF;
247:
248: fnd_currency.get_info (
249: currency_code => v_currency_code
250: ,precision => v_precision
251: ,ext_precision => v_ext_precision
252: ,min_acct_unit => v_min_acct_unit