3:
4: /* ------------------------------------------------------------------------- */
5: /* Function called just after code combination is inserted into */
6: /* GL code combinations table in the accounting flexfield. */
7: /* Returns TRUE if ok, or returns FALSE and sets FND_MESSAGE on error. */
8: /* ------------------------------------------------------------------------- */
9:
10: --===========================FND_LOG.START=====================================
11: g_state_level NUMBER := FND_LOG.LEVEL_STATEMENT;
238: /* with the Budgetary Control Option enabled is 0 or less, this */
239: /* function returns TRUE (successful). */
240: /* */
241: /* In case of failure, this routine will populate the global Message */
242: /* Stack using FND_MESSAGE. The calling routine will read the Message */
243: /* from the Stack. */
244: /* */
245: /* External Packages which are being invoked include : */
246: /* */
246: /* */
247: /* FND_GLOBAL */
248: /* FND_PROFILE */
249: /* FND_INSTALLATION */
250: /* FND_MESSAGE */
251: /* */
252: /* GL Tables which are being used include : */
253: /* */
254: /* GL_CODE_COMBINATIONS */
3710: /* ----------------------------------------------------------------------- */
3711:
3712: -- Define a Message Token with a Value and set the Message Name
3713:
3714: -- Calls FND_MESSAGE server package to set the Message Stack. This message is
3715: -- retrieved by the calling program.
3716:
3717:
3718: -- Called Routines :
3716:
3717:
3718: -- Called Routines :
3719:
3720: -- FND_MESSAGE.SET_NAME : Set Message Name
3721:
3722: -- FND_MESSAGE.SET_TOKEN : Defines a Message Token with a Value
3723:
3724:
3718: -- Called Routines :
3719:
3720: -- FND_MESSAGE.SET_NAME : Set Message Name
3721:
3722: -- FND_MESSAGE.SET_TOKEN : Defines a Message Token with a Value
3723:
3724:
3725: -- Arguments :
3726:
3738:
3739: if ((appname is not null) and
3740: (msgname is not null)) then
3741:
3742: FND_MESSAGE.SET_NAME(appname, msgname);
3743:
3744: if no_msg_tokens is not null then
3745: for i in 1..no_msg_tokens loop
3746: FND_MESSAGE.SET_TOKEN(msg_tok_names(i), msg_tok_val(i));
3742: FND_MESSAGE.SET_NAME(appname, msgname);
3743:
3744: if no_msg_tokens is not null then
3745: for i in 1..no_msg_tokens loop
3746: FND_MESSAGE.SET_TOKEN(msg_tok_names(i), msg_tok_val(i));
3747: end loop;
3748: end if;
3749:
3750: end if;