DBA Data[Home] [Help]

APPS.XLA_CMP_EVENT_TYPE_PKG dependencies on XLA_CMP_STRING_PKG

Line 2890: l_hdr_desc := xla_cmp_string_pkg.replace_token(l_hdr_desc,'$desc_code$', TO_CHAR(p_hdr_description_index)); -- 4417664

2886:
2887: IF nvl(p_hdr_description_index,0) <> 0 THEN
2888:
2889: l_hdr_desc := C_CALL_HDR_DESC;
2890: l_hdr_desc := xla_cmp_string_pkg.replace_token(l_hdr_desc,'$desc_code$', TO_CHAR(p_hdr_description_index)); -- 4417664
2891: l_hdr_desc := xla_cmp_string_pkg.replace_token(l_hdr_desc,'$parameters$',
2892: xla_cmp_call_fct_pkg.GetHeaderParameters(
2893: p_array_source_index => p_rec_aad_objects.array_array_object(p_hdr_description_index)
2894: , p_rec_sources => p_rec_sources

Line 2891: l_hdr_desc := xla_cmp_string_pkg.replace_token(l_hdr_desc,'$parameters$',

2887: IF nvl(p_hdr_description_index,0) <> 0 THEN
2888:
2889: l_hdr_desc := C_CALL_HDR_DESC;
2890: l_hdr_desc := xla_cmp_string_pkg.replace_token(l_hdr_desc,'$desc_code$', TO_CHAR(p_hdr_description_index)); -- 4417664
2891: l_hdr_desc := xla_cmp_string_pkg.replace_token(l_hdr_desc,'$parameters$',
2892: xla_cmp_call_fct_pkg.GetHeaderParameters(
2893: p_array_source_index => p_rec_aad_objects.array_array_object(p_hdr_description_index)
2894: , p_rec_sources => p_rec_sources
2895: )

Line 3043: l_hdr_acctg_sources := xla_cmp_string_pkg.replace_token(l_hdr_acctg_sources,

3039: , p_rec_sources => p_rec_sources
3040: , p_variable => p_array_hdr_acctg_source_type(Idx)
3041: , p_translated_flag => 'N') ;
3042:
3043: l_hdr_acctg_sources := xla_cmp_string_pkg.replace_token(l_hdr_acctg_sources,
3044: '$acc_rev_gl_date_source$', l_source);
3045: END IF;
3046:
3047: END IF; -- p_array_hdr_acctg_source(Idx) <> 'ACCRUAL_REVERSAL_GL_DATE'

Line 3060: l_hdr_acctg_sources := xla_cmp_string_pkg.replace_token(l_hdr_acctg_sources,'$acc_rev_gl_date_source$','NULL');

3056: -------------------------------------------------------------------------------------
3057: -- If the acc_rev_gl_date_source token is not replaced, the ACCRUAL_REVERSAL_GL_DATE
3058: -- attribute is not found. Then replace the accounting attribute by NULL
3059: -------------------------------------------------------------------------------------
3060: l_hdr_acctg_sources := xla_cmp_string_pkg.replace_token(l_hdr_acctg_sources,'$acc_rev_gl_date_source$','NULL');
3061:
3062: END IF; -- p_array_hdr_acctg_source.COUNT > 0
3063:
3064: IF (C_LEVEL_PROCEDURE >= g_log_level) THEN

Line 3410: l_alt := xla_cmp_string_pkg.replace_token(l_alt ,'$alt_code$', TO_CHAR( p_array_alt_index(Idx) )); -- 4417664

3406:
3407: IF p_array_alt_index.EXISTS(Idx) THEN
3408:
3409: l_alt := C_ALT_PROC ;
3410: l_alt := xla_cmp_string_pkg.replace_token(l_alt ,'$alt_code$', TO_CHAR( p_array_alt_index(Idx) )); -- 4417664
3411:
3412: l_alt := xla_cmp_string_pkg.replace_token (l_alt ,'$parameters$'
3413: ,xla_cmp_call_fct_pkg.GetLineParameters(
3414: p_array_source_index => p_rec_aad_objects.array_array_object(p_array_alt_index(Idx))

Line 3412: l_alt := xla_cmp_string_pkg.replace_token (l_alt ,'$parameters$'

3408:
3409: l_alt := C_ALT_PROC ;
3410: l_alt := xla_cmp_string_pkg.replace_token(l_alt ,'$alt_code$', TO_CHAR( p_array_alt_index(Idx) )); -- 4417664
3411:
3412: l_alt := xla_cmp_string_pkg.replace_token (l_alt ,'$parameters$'
3413: ,xla_cmp_call_fct_pkg.GetLineParameters(
3414: p_array_source_index => p_rec_aad_objects.array_array_object(p_array_alt_index(Idx))
3415: , p_array_source_level => p_array_evt_source_Level
3416: , p_rec_sources => p_rec_sources)

Line 3519: l_body := xla_cmp_string_pkg.replace_token (l_body,'$if_cond$','');

3515: l_source_type_code := p_rec_sources.array_source_type_code(p_array_hdr_acct_attr_source(l_AccRevGlDateIdx));
3516: l_source_code := p_rec_sources.array_source_code (p_array_hdr_acct_attr_source(l_AccRevGlDateIdx));
3517:
3518: IF (l_source_type_code = 'Y' and l_source_code = 'XLA_NEXT_DAY') THEN
3519: l_body := xla_cmp_string_pkg.replace_token (l_body,'$if_cond$','');
3520: l_body := xla_cmp_string_pkg.replace_token (l_body,'$end_if$', '');
3521: l_body := xla_cmp_string_pkg.replace_token (l_body,'$accrual_reversal_body2$'
3522: ,'
3523: ---------------------- XLA_NEXT_DAY ----------------------

Line 3520: l_body := xla_cmp_string_pkg.replace_token (l_body,'$end_if$', '');

3516: l_source_code := p_rec_sources.array_source_code (p_array_hdr_acct_attr_source(l_AccRevGlDateIdx));
3517:
3518: IF (l_source_type_code = 'Y' and l_source_code = 'XLA_NEXT_DAY') THEN
3519: l_body := xla_cmp_string_pkg.replace_token (l_body,'$if_cond$','');
3520: l_body := xla_cmp_string_pkg.replace_token (l_body,'$end_if$', '');
3521: l_body := xla_cmp_string_pkg.replace_token (l_body,'$accrual_reversal_body2$'
3522: ,'
3523: ---------------------- XLA_NEXT_DAY ----------------------
3524: XLA_AE_HEADER_PKG.g_rec_header_new.array_acc_rev_gl_date_option(g_last_hdr_idx) := ''XLA_NEXT_DAY'';

Line 3521: l_body := xla_cmp_string_pkg.replace_token (l_body,'$accrual_reversal_body2$'

3517:
3518: IF (l_source_type_code = 'Y' and l_source_code = 'XLA_NEXT_DAY') THEN
3519: l_body := xla_cmp_string_pkg.replace_token (l_body,'$if_cond$','');
3520: l_body := xla_cmp_string_pkg.replace_token (l_body,'$end_if$', '');
3521: l_body := xla_cmp_string_pkg.replace_token (l_body,'$accrual_reversal_body2$'
3522: ,'
3523: ---------------------- XLA_NEXT_DAY ----------------------
3524: XLA_AE_HEADER_PKG.g_rec_header_new.array_acc_rev_gl_date_option(g_last_hdr_idx) := ''XLA_NEXT_DAY'';
3525: XLA_AE_HEADER_PKG.GetAccrualRevDate(g_last_hdr_idx

Line 3531: l_body := xla_cmp_string_pkg.replace_token (l_body,'$if_cond$','');

3527: ,XLA_AE_HEADER_PKG.g_rec_header_new.array_gl_date(hdr_idx)
3528: ,XLA_AE_HEADER_PKG.g_rec_header_new.array_acc_rev_gl_date_option(g_last_hdr_idx));
3529: ');
3530: ELSIF (l_source_type_code = 'Y' and l_source_code = 'XLA_FIRST_DAY_NEXT_GL_PERIOD') THEN
3531: l_body := xla_cmp_string_pkg.replace_token (l_body,'$if_cond$','');
3532: l_body := xla_cmp_string_pkg.replace_token (l_body,'$accrual_reversal_body2$'
3533: ,'
3534: ---------------------- XLA_FIRST_DAY_NEXT_GL_PERIOD ----------------------
3535: XLA_AE_HEADER_PKG.g_rec_header_new.array_acc_rev_gl_date_option(g_last_hdr_idx) := ''XLA_FIRST_DAY_NEXT_GL_PERIOD'';

Line 3532: l_body := xla_cmp_string_pkg.replace_token (l_body,'$accrual_reversal_body2$'

3528: ,XLA_AE_HEADER_PKG.g_rec_header_new.array_acc_rev_gl_date_option(g_last_hdr_idx));
3529: ');
3530: ELSIF (l_source_type_code = 'Y' and l_source_code = 'XLA_FIRST_DAY_NEXT_GL_PERIOD') THEN
3531: l_body := xla_cmp_string_pkg.replace_token (l_body,'$if_cond$','');
3532: l_body := xla_cmp_string_pkg.replace_token (l_body,'$accrual_reversal_body2$'
3533: ,'
3534: ---------------------- XLA_FIRST_DAY_NEXT_GL_PERIOD ----------------------
3535: XLA_AE_HEADER_PKG.g_rec_header_new.array_acc_rev_gl_date_option(g_last_hdr_idx) := ''XLA_FIRST_DAY_NEXT_GL_PERIOD'';
3536: XLA_AE_HEADER_PKG.GetAccrualRevDate(g_last_hdr_idx

Line 3541: l_body := xla_cmp_string_pkg.replace_token (l_body,'$end_if$', '');

3537: ,XLA_AE_HEADER_PKG.g_rec_header_new.array_target_ledger_id(g_last_hdr_idx)
3538: ,XLA_AE_HEADER_PKG.g_rec_header_new.array_gl_date(hdr_idx)
3539: ,XLA_AE_HEADER_PKG.g_rec_header_new.array_acc_rev_gl_date_option(g_last_hdr_idx));
3540: ');
3541: l_body := xla_cmp_string_pkg.replace_token (l_body,'$end_if$', '');
3542:
3543: ELSIF (l_source_type_code = 'Y' and l_source_code = 'XLA_LAST_DAY_NEXT_GL_PERIOD') THEN
3544: l_body := xla_cmp_string_pkg.replace_token (l_body,'$if_cond$','');
3545: l_body := xla_cmp_string_pkg.replace_token (l_body,'$accrual_reversal_body2$'

Line 3544: l_body := xla_cmp_string_pkg.replace_token (l_body,'$if_cond$','');

3540: ');
3541: l_body := xla_cmp_string_pkg.replace_token (l_body,'$end_if$', '');
3542:
3543: ELSIF (l_source_type_code = 'Y' and l_source_code = 'XLA_LAST_DAY_NEXT_GL_PERIOD') THEN
3544: l_body := xla_cmp_string_pkg.replace_token (l_body,'$if_cond$','');
3545: l_body := xla_cmp_string_pkg.replace_token (l_body,'$accrual_reversal_body2$'
3546: ,'
3547: ---------------------- XLA_LAST_DAY_NEXT_GL_PERIOD ----------------------
3548: XLA_AE_HEADER_PKG.g_rec_header_new.array_acc_rev_gl_date_option(g_last_hdr_idx) := ''XLA_LAST_DAY_NEXT_GL_PERIOD'';

Line 3545: l_body := xla_cmp_string_pkg.replace_token (l_body,'$accrual_reversal_body2$'

3541: l_body := xla_cmp_string_pkg.replace_token (l_body,'$end_if$', '');
3542:
3543: ELSIF (l_source_type_code = 'Y' and l_source_code = 'XLA_LAST_DAY_NEXT_GL_PERIOD') THEN
3544: l_body := xla_cmp_string_pkg.replace_token (l_body,'$if_cond$','');
3545: l_body := xla_cmp_string_pkg.replace_token (l_body,'$accrual_reversal_body2$'
3546: ,'
3547: ---------------------- XLA_LAST_DAY_NEXT_GL_PERIOD ----------------------
3548: XLA_AE_HEADER_PKG.g_rec_header_new.array_acc_rev_gl_date_option(g_last_hdr_idx) := ''XLA_LAST_DAY_NEXT_GL_PERIOD'';
3549: XLA_AE_HEADER_PKG.GetAccrualRevDate(g_last_hdr_idx

Line 3554: l_body := xla_cmp_string_pkg.replace_token (l_body,'$end_if$', '');

3550: ,XLA_AE_HEADER_PKG.g_rec_header_new.array_target_ledger_id(g_last_hdr_idx)
3551: ,XLA_AE_HEADER_PKG.g_rec_header_new.array_gl_date(hdr_idx)
3552: ,XLA_AE_HEADER_PKG.g_rec_header_new.array_acc_rev_gl_date_option(g_last_hdr_idx));
3553: ');
3554: l_body := xla_cmp_string_pkg.replace_token (l_body,'$end_if$', '');
3555:
3556: ELSE
3557: l_body := xla_cmp_string_pkg.replace_token (l_body ,'$if_cond$' ,'IF l_acc_rev_gl_date_source IS NOT NULL THEN ');
3558: l_body := xla_cmp_string_pkg.replace_token (l_body,'$accrual_reversal_body2$'

Line 3557: l_body := xla_cmp_string_pkg.replace_token (l_body ,'$if_cond$' ,'IF l_acc_rev_gl_date_source IS NOT NULL THEN ');

3553: ');
3554: l_body := xla_cmp_string_pkg.replace_token (l_body,'$end_if$', '');
3555:
3556: ELSE
3557: l_body := xla_cmp_string_pkg.replace_token (l_body ,'$if_cond$' ,'IF l_acc_rev_gl_date_source IS NOT NULL THEN ');
3558: l_body := xla_cmp_string_pkg.replace_token (l_body,'$accrual_reversal_body2$'
3559: ,'
3560: ---------------------- NONE - Standard Source ----------------------
3561: IF l_acc_rev_gl_date_source < XLA_AE_HEADER_PKG.g_rec_header_new.array_gl_date(hdr_idx) THEN

Line 3558: l_body := xla_cmp_string_pkg.replace_token (l_body,'$accrual_reversal_body2$'

3554: l_body := xla_cmp_string_pkg.replace_token (l_body,'$end_if$', '');
3555:
3556: ELSE
3557: l_body := xla_cmp_string_pkg.replace_token (l_body ,'$if_cond$' ,'IF l_acc_rev_gl_date_source IS NOT NULL THEN ');
3558: l_body := xla_cmp_string_pkg.replace_token (l_body,'$accrual_reversal_body2$'
3559: ,'
3560: ---------------------- NONE - Standard Source ----------------------
3561: IF l_acc_rev_gl_date_source < XLA_AE_HEADER_PKG.g_rec_header_new.array_gl_date(hdr_idx) THEN
3562: xla_accounting_err_pkg.build_message

Line 3577: l_body := xla_cmp_string_pkg.replace_token (l_body ,'$end_if$' , 'END IF;');

3573: END IF;
3574: XLA_AE_HEADER_PKG.g_rec_header_new.array_acc_rev_gl_date_option(g_last_hdr_idx) := ''NONE'';
3575: XLA_AE_HEADER_PKG.g_rec_header_new.array_gl_date(g_last_hdr_idx) := trunc(l_acc_rev_gl_date_source);
3576: ');
3577: l_body := xla_cmp_string_pkg.replace_token (l_body ,'$end_if$' , 'END IF;');
3578:
3579: END IF;
3580: END IF;
3581: RETURN l_body;

Line 3720: l_body := xla_cmp_string_pkg.replace_token

3716: p_array_hdr_acct_attr_source(l_ThirdPartyIdx) IS NOT NULL THEN
3717: --
3718: -- Change third party process
3719: --
3720: l_body := xla_cmp_string_pkg.replace_token
3721: (l_body,'$third_party_code$', C_THIRD_PARTY_CHANGE_BODY);
3722:
3723: l_body := xla_cmp_string_pkg.replace_token(l_body
3724: ,'$third_party_change$'

Line 3723: l_body := xla_cmp_string_pkg.replace_token(l_body

3719: --
3720: l_body := xla_cmp_string_pkg.replace_token
3721: (l_body,'$third_party_code$', C_THIRD_PARTY_CHANGE_BODY);
3722:
3723: l_body := xla_cmp_string_pkg.replace_token(l_body
3724: ,'$third_party_change$'
3725: , xla_cmp_source_pkg.GenerateSource(
3726: p_Index => p_array_hdr_acct_attr_source(l_ThirdPartyIdx)
3727: , p_rec_sources => p_rec_sources

Line 3732: l_body := xla_cmp_string_pkg.replace_token(l_body -- 4417664

3728: , p_variable => p_array_hdr_acctg_source_type(l_ThirdPartyIdx)
3729: , p_translated_flag => 'N'
3730: ));
3731: ELSE
3732: l_body := xla_cmp_string_pkg.replace_token(l_body -- 4417664
3733: ,'$third_party_code$'
3734: ,'-- No Third Party Code generated');
3735: END IF;
3736:

Line 3742: l_body := xla_cmp_string_pkg.replace_token

3738: IF l_TrxReversalIdx IS NOT NULL AND
3739: p_array_hdr_acct_attr_source.EXISTS(l_TrxReversalIdx) AND
3740: p_array_hdr_acct_attr_source(l_TrxReversalIdx) IS NOT NULL
3741: THEN
3742: l_body := xla_cmp_string_pkg.replace_token
3743: (l_body,'$trx_reversal_source$'
3744: ,xla_cmp_source_pkg.GenerateSource(
3745: p_Index => p_array_hdr_acct_attr_source(l_TrxReversalIdx)
3746: ,p_rec_sources => p_rec_sources

Line 3752: l_body := xla_cmp_string_pkg.replace_token(l_body,'$trx_reversal_source$','NULL'); -- 4417664

3748: ,p_translated_flag => 'N')
3749: );
3750:
3751: ELSE
3752: l_body := xla_cmp_string_pkg.replace_token(l_body,'$trx_reversal_source$','NULL'); -- 4417664
3753: END IF;
3754:
3755: IF (C_LEVEL_STATEMENT >= g_log_level) THEN
3756: trace

Line 3764: l_body := xla_cmp_string_pkg.replace_token

3760: END IF;
3761: --
3762: -- generate 'Open header cursor'
3763: --
3764: l_body := xla_cmp_string_pkg.replace_token
3765: (l_body
3766: ,'$header_var$'
3767: ,xla_cmp_extract_pkg.GenerateFetchHeaderCursor
3768: (p_array_h_source_index => p_array_h_source_index

Line 3776: l_body := xla_cmp_string_pkg.replace_token

3772: );
3773:
3774: --
3775: -- generate the code to cache header sources
3776: l_body := xla_cmp_string_pkg.replace_token
3777: (l_body
3778: ,'$cache_header_sources$'
3779: ,xla_cmp_extract_pkg.GenerateCacheHdrSources
3780: (p_array_h_source_index => p_array_h_source_index

Line 3789: l_body := xla_cmp_string_pkg.replace_token

3785: );
3786:
3787: -- generate 'header accounting sources'
3788: --
3789: l_body := xla_cmp_string_pkg.replace_token
3790: (l_body
3791: ,'$hdr_accounting_attributes$'
3792: ,REPLACE(GenerateHdrAcctgSources
3793: (p_array_hdr_acctg_source => p_array_hdr_acctg_source

Line 3802: l_body := xla_cmp_string_pkg.replace_token

3798:
3799: -------------------------------------------------------------------
3800: -- 4262811 Generate Accrual Reversal
3801: -------------------------------------------------------------------
3802: l_body := xla_cmp_string_pkg.replace_token
3803: (l_body
3804: ,'$accrual_reversal_body$'
3805: ,GenerateAccRevBody(
3806: p_array_hdr_acctg_source => p_array_hdr_acctg_source

Line 3813: l_body := xla_cmp_string_pkg.replace_token

3809: ));
3810: --
3811: -- generate 'header Description'
3812: --
3813: l_body := xla_cmp_string_pkg.replace_token
3814: (l_body
3815: ,'$call_header_description$'
3816: , GenerateHdrDescription (
3817: p_hdr_description_index => p_hdr_description_index

Line 3833: l_body := xla_cmp_string_pkg.replace_token

3829: ,p_level => C_LEVEL_STATEMENT
3830: ,p_module => l_log_module);
3831: END IF;
3832:
3833: l_body := xla_cmp_string_pkg.replace_token
3834: (l_body
3835: ,'$call_hdr_analytic_criteria$'
3836: ,xla_cmp_analytic_criteria_pkg.GenerateHdrAnalyticCriteria
3837: (p_application_id => p_application_id

Line 3851: l_body := xla_cmp_string_pkg.replace_token

3847: --END IF;
3848:
3849: --bug 4492149
3850: --IF (p_array_l_source_index.COUNT + p_array_l_mls_source_index.COUNT > 0 ) THEN
3851: l_body := xla_cmp_string_pkg.replace_token
3852: (l_body
3853: ,'$lines_body$'
3854: ,C_BODY_LINES);
3855:

Line 3856: l_body := xla_cmp_string_pkg.replace_token

3852: (l_body
3853: ,'$lines_body$'
3854: ,C_BODY_LINES);
3855:
3856: l_body := xla_cmp_string_pkg.replace_token
3857: (l_body
3858: ,'$gain_loss_account_params$'
3859: ,GenerateGainLossAcctSources
3860: (p_array_hdr_acctg_source => p_array_hdr_acctg_source

Line 3875: l_body := xla_cmp_string_pkg.replace_token

3871: END IF;
3872: --
3873: -- Generate 'Open Line cursor'
3874: --
3875: l_body := xla_cmp_string_pkg.replace_token
3876: (l_body
3877: ,'$line_var$'
3878: ,xla_cmp_extract_pkg.GenerateFetchLineCursor
3879: (p_array_l_source_index => p_array_l_source_index

Line 3888: l_body := xla_cmp_string_pkg.replace_token

3884: );
3885: --
3886: -- generate 'Accounting line type procedures'
3887: --
3888: l_body := xla_cmp_string_pkg.replace_token
3889: (l_body
3890: ,'$call_alts$'
3891: , GenerateAcctLinetypes (
3892: p_array_alt_index => p_array_alt_index

Line 3901: l_body := xla_cmp_string_pkg.replace_token

3897: );
3898: --
3899: -- replace amb_context_code
3900: --
3901: l_body := xla_cmp_string_pkg.replace_token
3902: (l_body
3903: ,'$amb_context_code$'
3904: , p_amb_context_code
3905: );

Line 3914: l_body := xla_cmp_string_pkg.replace_token -- 4417664

3910: IF l_AcctReversalIdx IS NOT NULL OR
3911: p_array_line_acct_attr_source.EXISTS(l_AcctReversalIdx) AND
3912: p_array_line_acct_attr_source(l_AcctReversalIdx) IS NOT NULL
3913: THEN
3914: l_body := xla_cmp_string_pkg.replace_token -- 4417664
3915: (l_body,'$acct_reversal_source$'
3916: , xla_cmp_source_pkg.GenerateSource
3917: (p_Index => p_array_line_acct_attr_source(l_AcctReversalIdx)
3918: ,p_rec_sources => p_rec_sources

Line 3924: l_body := xla_cmp_string_pkg.replace_token

3920: ,p_translated_flag => 'N')
3921: );
3922:
3923:
3924: l_body := xla_cmp_string_pkg.replace_token
3925: (l_body,'$acct_reversal_code$'
3926: ,GenerateReversalAcctgSources
3927: (p_array_line_acctg_source => p_array_line_acctg_source
3928: ,p_array_line_acctg_source_type => p_array_line_acctg_source_type

Line 3933: l_body := xla_cmp_string_pkg.replace_token(l_body,'$acct_reversal_source$','NULL'); -- 4417664

3929: ,p_array_line_acct_attr_source => p_array_line_acct_attr_source
3930: ,p_rec_sources => p_rec_sources)
3931: );
3932: ELSE
3933: l_body := xla_cmp_string_pkg.replace_token(l_body,'$acct_reversal_source$','NULL'); -- 4417664
3934: l_body := xla_cmp_string_pkg.replace_token(l_body,'$acct_reversal_code$',' -- No reversal code generated'); -- 4417664
3935: END IF;
3936:
3937:

Line 3934: l_body := xla_cmp_string_pkg.replace_token(l_body,'$acct_reversal_code$',' -- No reversal code generated'); -- 4417664

3930: ,p_rec_sources => p_rec_sources)
3931: );
3932: ELSE
3933: l_body := xla_cmp_string_pkg.replace_token(l_body,'$acct_reversal_source$','NULL'); -- 4417664
3934: l_body := xla_cmp_string_pkg.replace_token(l_body,'$acct_reversal_code$',' -- No reversal code generated'); -- 4417664
3935: END IF;
3936:
3937:
3938: --END IF;

Line 4117: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_types$', ' '); -- 4417664

4113: END IF;
4114:
4115: IF NOT p_extract_status THEN
4116:
4117: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_types$', ' '); -- 4417664
4118: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_types$', ' '); -- 4417664
4119: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_variables$' , ' '); -- 4417664
4120: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_variables$' , ' '); -- 4417664
4121: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_cursor$', ' '); -- 4417664

Line 4118: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_types$', ' '); -- 4417664

4114:
4115: IF NOT p_extract_status THEN
4116:
4117: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_types$', ' '); -- 4417664
4118: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_types$', ' '); -- 4417664
4119: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_variables$' , ' '); -- 4417664
4120: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_variables$' , ' '); -- 4417664
4121: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_cursor$', ' '); -- 4417664
4122: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_cursor$' , ' '); -- 4417664

Line 4119: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_variables$' , ' '); -- 4417664

4115: IF NOT p_extract_status THEN
4116:
4117: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_types$', ' '); -- 4417664
4118: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_types$', ' '); -- 4417664
4119: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_variables$' , ' '); -- 4417664
4120: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_variables$' , ' '); -- 4417664
4121: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_cursor$', ' '); -- 4417664
4122: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_cursor$' , ' '); -- 4417664
4123: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_header_cursor$', ' ' ); -- 4417664

Line 4120: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_variables$' , ' '); -- 4417664

4116:
4117: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_types$', ' '); -- 4417664
4118: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_types$', ' '); -- 4417664
4119: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_variables$' , ' '); -- 4417664
4120: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_variables$' , ' '); -- 4417664
4121: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_cursor$', ' '); -- 4417664
4122: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_cursor$' , ' '); -- 4417664
4123: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_header_cursor$', ' ' ); -- 4417664
4124: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_line_cursor$', ' ' ); -- 4417664

Line 4121: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_cursor$', ' '); -- 4417664

4117: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_types$', ' '); -- 4417664
4118: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_types$', ' '); -- 4417664
4119: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_variables$' , ' '); -- 4417664
4120: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_variables$' , ' '); -- 4417664
4121: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_cursor$', ' '); -- 4417664
4122: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_cursor$' , ' '); -- 4417664
4123: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_header_cursor$', ' ' ); -- 4417664
4124: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_line_cursor$', ' ' ); -- 4417664
4125: l_event := xla_cmp_string_pkg.replace_token (l_event, '$event_body$' , 'NULL;'); -- 4417664

Line 4122: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_cursor$' , ' '); -- 4417664

4118: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_types$', ' '); -- 4417664
4119: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_variables$' , ' '); -- 4417664
4120: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_variables$' , ' '); -- 4417664
4121: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_cursor$', ' '); -- 4417664
4122: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_cursor$' , ' '); -- 4417664
4123: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_header_cursor$', ' ' ); -- 4417664
4124: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_line_cursor$', ' ' ); -- 4417664
4125: l_event := xla_cmp_string_pkg.replace_token (l_event, '$event_body$' , 'NULL;'); -- 4417664
4126:

Line 4123: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_header_cursor$', ' ' ); -- 4417664

4119: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_variables$' , ' '); -- 4417664
4120: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_variables$' , ' '); -- 4417664
4121: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_cursor$', ' '); -- 4417664
4122: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_cursor$' , ' '); -- 4417664
4123: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_header_cursor$', ' ' ); -- 4417664
4124: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_line_cursor$', ' ' ); -- 4417664
4125: l_event := xla_cmp_string_pkg.replace_token (l_event, '$event_body$' , 'NULL;'); -- 4417664
4126:
4127: l_event := xla_cmp_string_pkg.replace_token (l_event, '$no_data_exception$', ' ' ); -- 4417664

Line 4124: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_line_cursor$', ' ' ); -- 4417664

4120: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_variables$' , ' '); -- 4417664
4121: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_cursor$', ' '); -- 4417664
4122: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_cursor$' , ' '); -- 4417664
4123: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_header_cursor$', ' ' ); -- 4417664
4124: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_line_cursor$', ' ' ); -- 4417664
4125: l_event := xla_cmp_string_pkg.replace_token (l_event, '$event_body$' , 'NULL;'); -- 4417664
4126:
4127: l_event := xla_cmp_string_pkg.replace_token (l_event, '$no_data_exception$', ' ' ); -- 4417664
4128:

Line 4125: l_event := xla_cmp_string_pkg.replace_token (l_event, '$event_body$' , 'NULL;'); -- 4417664

4121: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_cursor$', ' '); -- 4417664
4122: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_cursor$' , ' '); -- 4417664
4123: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_header_cursor$', ' ' ); -- 4417664
4124: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_line_cursor$', ' ' ); -- 4417664
4125: l_event := xla_cmp_string_pkg.replace_token (l_event, '$event_body$' , 'NULL;'); -- 4417664
4126:
4127: l_event := xla_cmp_string_pkg.replace_token (l_event, '$no_data_exception$', ' ' ); -- 4417664
4128:
4129: ELSE

Line 4127: l_event := xla_cmp_string_pkg.replace_token (l_event, '$no_data_exception$', ' ' ); -- 4417664

4123: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_header_cursor$', ' ' ); -- 4417664
4124: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_line_cursor$', ' ' ); -- 4417664
4125: l_event := xla_cmp_string_pkg.replace_token (l_event, '$event_body$' , 'NULL;'); -- 4417664
4126:
4127: l_event := xla_cmp_string_pkg.replace_token (l_event, '$no_data_exception$', ' ' ); -- 4417664
4128:
4129: ELSE
4130:
4131: l_event := xla_cmp_string_pkg.replace_token

Line 4131: l_event := xla_cmp_string_pkg.replace_token

4127: l_event := xla_cmp_string_pkg.replace_token (l_event, '$no_data_exception$', ' ' ); -- 4417664
4128:
4129: ELSE
4130:
4131: l_event := xla_cmp_string_pkg.replace_token
4132: (l_event
4133: ,'$event_body$'
4134: ,GenerateProcedureBody
4135: (p_application_id => p_application_id

Line 4202: xla_cmp_string_pkg.replace_token

4198: --
4199: -- generate array strucnture definitions for header sources
4200: --
4201: l_event :=
4202: xla_cmp_string_pkg.replace_token
4203: (l_event, '$header_types$'
4204: ,xla_cmp_extract_pkg.GenerateHdrStructure
4205: (p_array_table_name => p_array_table_name
4206: ,p_array_source_code => p_rec_sources.array_source_code

Line 4223: xla_cmp_string_pkg.replace_token

4219: --
4220: -- generate the declaration of header variables
4221: --
4222: l_event :=
4223: xla_cmp_string_pkg.replace_token
4224: (l_event, '$header_variables$'
4225: ,xla_cmp_extract_pkg.GenerateHdrVariables
4226: (p_array_h_source_index => p_array_h_source_index
4227: ,p_array_h_mls_source_index => p_array_h_mls_source_index

Line 4243: l_event := xla_cmp_string_pkg.replace_token

4239:
4240: --
4241: -- generate the header cursor
4242: --
4243: l_event := xla_cmp_string_pkg.replace_token
4244: (l_event
4245: ,'$header_cursor$'
4246: ,XLA_cmp_extract_pkg.GenerateHeaderCursor
4247: (p_array_table_name => p_array_table_name

Line 4271: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_header_cursor$', C_CLOSE_HEADER_CURSOR );-- 4417664

4267: ,p_level => C_LEVEL_PROCEDURE
4268: ,p_module => l_log_module);
4269:
4270: END IF;
4271: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_header_cursor$', C_CLOSE_HEADER_CURSOR );-- 4417664
4272: /* --4492149
4273: ELSE
4274: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_types$',' ');-- 4417664
4275: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_variables$',' ');-- 4417664

Line 4274: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_types$',' ');-- 4417664

4270: END IF;
4271: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_header_cursor$', C_CLOSE_HEADER_CURSOR );-- 4417664
4272: /* --4492149
4273: ELSE
4274: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_types$',' ');-- 4417664
4275: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_variables$',' ');-- 4417664
4276: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_cursor$',' ');-- 4417664
4277: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_header_cursor$', ' ' );-- 4417664
4278: END IF;

Line 4275: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_variables$',' ');-- 4417664

4271: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_header_cursor$', C_CLOSE_HEADER_CURSOR );-- 4417664
4272: /* --4492149
4273: ELSE
4274: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_types$',' ');-- 4417664
4275: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_variables$',' ');-- 4417664
4276: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_cursor$',' ');-- 4417664
4277: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_header_cursor$', ' ' );-- 4417664
4278: END IF;
4279: */

Line 4276: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_cursor$',' ');-- 4417664

4272: /* --4492149
4273: ELSE
4274: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_types$',' ');-- 4417664
4275: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_variables$',' ');-- 4417664
4276: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_cursor$',' ');-- 4417664
4277: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_header_cursor$', ' ' );-- 4417664
4278: END IF;
4279: */
4280: --

Line 4277: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_header_cursor$', ' ' );-- 4417664

4273: ELSE
4274: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_types$',' ');-- 4417664
4275: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_variables$',' ');-- 4417664
4276: l_event := xla_cmp_string_pkg.replace_token (l_event, '$header_cursor$',' ');-- 4417664
4277: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_header_cursor$', ' ' );-- 4417664
4278: END IF;
4279: */
4280: --
4281: -- generate line structures, line variables and line cursor

Line 4301: l_event := xla_cmp_string_pkg.replace_token

4297: ,p_module => l_log_module);
4298:
4299: END IF;
4300: --
4301: l_event := xla_cmp_string_pkg.replace_token
4302: (l_event
4303: ,'$line_types$'
4304: ,xla_cmp_extract_pkg.GenerateLineStructure
4305: (p_array_table_name => p_array_table_name

Line 4329: l_event := xla_cmp_string_pkg.replace_token

4325: ,p_module => l_log_module);
4326:
4327: END IF;
4328: --
4329: l_event := xla_cmp_string_pkg.replace_token
4330: (l_event
4331: ,'$line_variables$'
4332: ,xla_cmp_extract_pkg.GenerateLineVariables
4333: (p_array_l_source_index => p_array_l_source_index

Line 4356: l_event := xla_cmp_string_pkg.replace_token

4352: ,p_module => l_log_module);
4353:
4354: END IF;
4355: --
4356: l_event := xla_cmp_string_pkg.replace_token
4357: (l_event
4358: ,'$line_cursor$'
4359: ,xla_cmp_extract_pkg.GenerateLineCursor
4360: (p_application_id => p_application_id

Line 4389: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_line_cursor$', C_CLOSE_LINE_CURSOR ); --4262811 awan

4385: ,p_level => C_LEVEL_STATEMENT
4386: ,p_module => l_log_module);
4387:
4388: END IF;
4389: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_line_cursor$', C_CLOSE_LINE_CURSOR ); --4262811 awan
4390:
4391: l_event := xla_cmp_string_pkg.replace_token (l_event, '$no_data_exception$', C_NO_DATA_EXCEPTION);
4392: --
4393: /* --4492149

Line 4391: l_event := xla_cmp_string_pkg.replace_token (l_event, '$no_data_exception$', C_NO_DATA_EXCEPTION);

4387:
4388: END IF;
4389: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_line_cursor$', C_CLOSE_LINE_CURSOR ); --4262811 awan
4390:
4391: l_event := xla_cmp_string_pkg.replace_token (l_event, '$no_data_exception$', C_NO_DATA_EXCEPTION);
4392: --
4393: /* --4492149
4394: ELSE
4395: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_types$',' '); -- 4417664

Line 4395: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_types$',' '); -- 4417664

4391: l_event := xla_cmp_string_pkg.replace_token (l_event, '$no_data_exception$', C_NO_DATA_EXCEPTION);
4392: --
4393: /* --4492149
4394: ELSE
4395: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_types$',' '); -- 4417664
4396: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_variables$', ' '); -- 4417664
4397: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_cursor$',' '); -- 4417664
4398: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_line_cursor$', ' ' );-- 4417664
4399: END IF;

Line 4396: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_variables$', ' '); -- 4417664

4392: --
4393: /* --4492149
4394: ELSE
4395: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_types$',' '); -- 4417664
4396: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_variables$', ' '); -- 4417664
4397: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_cursor$',' '); -- 4417664
4398: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_line_cursor$', ' ' );-- 4417664
4399: END IF;
4400: */

Line 4397: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_cursor$',' '); -- 4417664

4393: /* --4492149
4394: ELSE
4395: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_types$',' '); -- 4417664
4396: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_variables$', ' '); -- 4417664
4397: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_cursor$',' '); -- 4417664
4398: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_line_cursor$', ' ' );-- 4417664
4399: END IF;
4400: */
4401: --

Line 4398: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_line_cursor$', ' ' );-- 4417664

4394: ELSE
4395: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_types$',' '); -- 4417664
4396: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_variables$', ' '); -- 4417664
4397: l_event := xla_cmp_string_pkg.replace_token (l_event, '$line_cursor$',' '); -- 4417664
4398: l_event := xla_cmp_string_pkg.replace_token (l_event, '$close_line_cursor$', ' ' );-- 4417664
4399: END IF;
4400: */
4401: --
4402: END IF;

Line 4571: l_event := xla_cmp_string_pkg.replace_token(l_event,'$event_class_code$', p_event_class); -- 4417664

4567: ,p_level => C_LEVEL_PROCEDURE
4568: ,p_module => l_log_module);
4569: END IF;
4570: --
4571: l_event := xla_cmp_string_pkg.replace_token(l_event,'$event_class_code$', p_event_class); -- 4417664
4572: l_event := xla_cmp_string_pkg.replace_token(l_event,'$event_type_code$',p_event_type); -- 4417664
4573: l_event := xla_cmp_string_pkg.replace_token(l_event,'$calculate_acctd_flag$',p_acctd_flag); -- 4417664
4574: l_event := xla_cmp_string_pkg.replace_token(l_event,'$calculate_g_l_flag$',p_g_l_flag); -- 4417664
4575:

Line 4572: l_event := xla_cmp_string_pkg.replace_token(l_event,'$event_type_code$',p_event_type); -- 4417664

4568: ,p_module => l_log_module);
4569: END IF;
4570: --
4571: l_event := xla_cmp_string_pkg.replace_token(l_event,'$event_class_code$', p_event_class); -- 4417664
4572: l_event := xla_cmp_string_pkg.replace_token(l_event,'$event_type_code$',p_event_type); -- 4417664
4573: l_event := xla_cmp_string_pkg.replace_token(l_event,'$calculate_acctd_flag$',p_acctd_flag); -- 4417664
4574: l_event := xla_cmp_string_pkg.replace_token(l_event,'$calculate_g_l_flag$',p_g_l_flag); -- 4417664
4575:
4576: l_event :=

Line 4573: l_event := xla_cmp_string_pkg.replace_token(l_event,'$calculate_acctd_flag$',p_acctd_flag); -- 4417664

4569: END IF;
4570: --
4571: l_event := xla_cmp_string_pkg.replace_token(l_event,'$event_class_code$', p_event_class); -- 4417664
4572: l_event := xla_cmp_string_pkg.replace_token(l_event,'$event_type_code$',p_event_type); -- 4417664
4573: l_event := xla_cmp_string_pkg.replace_token(l_event,'$calculate_acctd_flag$',p_acctd_flag); -- 4417664
4574: l_event := xla_cmp_string_pkg.replace_token(l_event,'$calculate_g_l_flag$',p_g_l_flag); -- 4417664
4575:
4576: l_event :=
4577: xla_cmp_string_pkg.replace_token -- 4417664

Line 4574: l_event := xla_cmp_string_pkg.replace_token(l_event,'$calculate_g_l_flag$',p_g_l_flag); -- 4417664

4570: --
4571: l_event := xla_cmp_string_pkg.replace_token(l_event,'$event_class_code$', p_event_class); -- 4417664
4572: l_event := xla_cmp_string_pkg.replace_token(l_event,'$event_type_code$',p_event_type); -- 4417664
4573: l_event := xla_cmp_string_pkg.replace_token(l_event,'$calculate_acctd_flag$',p_acctd_flag); -- 4417664
4574: l_event := xla_cmp_string_pkg.replace_token(l_event,'$calculate_g_l_flag$',p_g_l_flag); -- 4417664
4575:
4576: l_event :=
4577: xla_cmp_string_pkg.replace_token -- 4417664
4578: (l_event,'$event_class_name$'

Line 4577: xla_cmp_string_pkg.replace_token -- 4417664

4573: l_event := xla_cmp_string_pkg.replace_token(l_event,'$calculate_acctd_flag$',p_acctd_flag); -- 4417664
4574: l_event := xla_cmp_string_pkg.replace_token(l_event,'$calculate_g_l_flag$',p_g_l_flag); -- 4417664
4575:
4576: l_event :=
4577: xla_cmp_string_pkg.replace_token -- 4417664
4578: (l_event,'$event_class_name$'
4579: ,GetEventClassName
4580: (p_application_id => p_application_id
4581: ,p_entity_code => p_entity

Line 4586: xla_cmp_string_pkg.replace_token -- 4417664

4582: ,p_event_class_code => p_event_class)
4583: );
4584:
4585: l_event :=
4586: xla_cmp_string_pkg.replace_token -- 4417664
4587: (l_event,'$event_type_name$'
4588: ,GetEventTypeName
4589: (p_application_id => p_application_id
4590: ,p_entity_code => p_entity

Line 4869: l_event := xla_cmp_string_pkg.replace_token(l_event,'$EVENT_ID$' ,'Type_'||TO_CHAR(l_ObjectIndex)); -- 4417664

4865: , p_array_source_Index => l_array_evt_source_index
4866: , p_rec_aad_objects => p_rec_aad_objects
4867: );
4868:
4869: l_event := xla_cmp_string_pkg.replace_token(l_event,'$EVENT_ID$' ,'Type_'||TO_CHAR(l_ObjectIndex)); -- 4417664
4870: l_event := xla_cmp_string_pkg.replace_token(l_event,'$package_name$' , g_package_name); -- 4417664
4871:
4872: ELSIF p_procedure = 'EVENT_CLASS' THEN
4873:

Line 4870: l_event := xla_cmp_string_pkg.replace_token(l_event,'$package_name$' , g_package_name); -- 4417664

4866: , p_rec_aad_objects => p_rec_aad_objects
4867: );
4868:
4869: l_event := xla_cmp_string_pkg.replace_token(l_event,'$EVENT_ID$' ,'Type_'||TO_CHAR(l_ObjectIndex)); -- 4417664
4870: l_event := xla_cmp_string_pkg.replace_token(l_event,'$package_name$' , g_package_name); -- 4417664
4871:
4872: ELSIF p_procedure = 'EVENT_CLASS' THEN
4873:
4874: l_ObjectIndex := xla_cmp_source_pkg.CacheAADObject (

Line 4883: l_event := xla_cmp_string_pkg.replace_token(l_event,'$EVENT_ID$' ,'Class_'||TO_CHAR(l_ObjectIndex)); -- 4417664

4879: , p_array_source_Index => l_array_evt_source_index
4880: , p_rec_aad_objects => p_rec_aad_objects
4881: );
4882:
4883: l_event := xla_cmp_string_pkg.replace_token(l_event,'$EVENT_ID$' ,'Class_'||TO_CHAR(l_ObjectIndex)); -- 4417664
4884: l_event := xla_cmp_string_pkg.replace_token(l_event,'$package_name$' , g_package_name); -- 4417664
4885:
4886: END IF;
4887: --

Line 4884: l_event := xla_cmp_string_pkg.replace_token(l_event,'$package_name$' , g_package_name); -- 4417664

4880: , p_rec_aad_objects => p_rec_aad_objects
4881: );
4882:
4883: l_event := xla_cmp_string_pkg.replace_token(l_event,'$EVENT_ID$' ,'Class_'||TO_CHAR(l_ObjectIndex)); -- 4417664
4884: l_event := xla_cmp_string_pkg.replace_token(l_event,'$package_name$' , g_package_name); -- 4417664
4885:
4886: END IF;
4887: --
4888: l_IsCompiled:= l_IsCompiled AND (l_event IS NOT NULL) AND l_IsExtractValid;

Line 4907: xla_cmp_string_pkg.CreateString(

4903: ,p_level => C_LEVEL_STATEMENT
4904: ,p_module => l_log_module);
4905: END IF;
4906:
4907: xla_cmp_string_pkg.CreateString(
4908: p_package_text => l_event
4909: ,p_array_string => l_array_event
4910: );
4911:

Line 4944: l_insert_sources := xla_cmp_string_pkg.replace_token(l_insert_sources,'$event_class_code$', nvl(p_event_class,' ')); -- 4417664

4940: ,p_module => l_log_module);
4941: END IF;
4942:
4943: l_insert_sources := C_INSERT_SOURCES_PROC;
4944: l_insert_sources := xla_cmp_string_pkg.replace_token(l_insert_sources,'$event_class_code$', nvl(p_event_class,' ')); -- 4417664
4945: l_insert_sources := xla_cmp_string_pkg.replace_token(l_insert_sources,'$event_type_code$',nvl(p_event_type,' ')); -- 4417664
4946:
4947:
4948: l_insert_sources := xla_cmp_string_pkg.replace_token(l_insert_sources,'$insert_header_sources$',

Line 4945: l_insert_sources := xla_cmp_string_pkg.replace_token(l_insert_sources,'$event_type_code$',nvl(p_event_type,' ')); -- 4417664

4941: END IF;
4942:
4943: l_insert_sources := C_INSERT_SOURCES_PROC;
4944: l_insert_sources := xla_cmp_string_pkg.replace_token(l_insert_sources,'$event_class_code$', nvl(p_event_class,' ')); -- 4417664
4945: l_insert_sources := xla_cmp_string_pkg.replace_token(l_insert_sources,'$event_type_code$',nvl(p_event_type,' ')); -- 4417664
4946:
4947:
4948: l_insert_sources := xla_cmp_string_pkg.replace_token(l_insert_sources,'$insert_header_sources$',
4949: nvl(xla_cmp_extract_pkg.GenerateInsertHdrSources (

Line 4948: l_insert_sources := xla_cmp_string_pkg.replace_token(l_insert_sources,'$insert_header_sources$',

4944: l_insert_sources := xla_cmp_string_pkg.replace_token(l_insert_sources,'$event_class_code$', nvl(p_event_class,' ')); -- 4417664
4945: l_insert_sources := xla_cmp_string_pkg.replace_token(l_insert_sources,'$event_type_code$',nvl(p_event_type,' ')); -- 4417664
4946:
4947:
4948: l_insert_sources := xla_cmp_string_pkg.replace_token(l_insert_sources,'$insert_header_sources$',
4949: nvl(xla_cmp_extract_pkg.GenerateInsertHdrSources (
4950: --
4951: p_array_table_name => l_array_table_name
4952: , p_array_parent_table_index => l_array_parent_table_index

Line 4977: l_insert_sources := xla_cmp_string_pkg.replace_token(l_insert_sources, '$insert_line_sources$',

4973: , p_procedure => p_procedure
4974: ),' ')
4975: );
4976:
4977: l_insert_sources := xla_cmp_string_pkg.replace_token(l_insert_sources, '$insert_line_sources$',
4978: nvl(xla_cmp_extract_pkg.GenerateInsertLineSources (
4979: --
4980: p_array_table_name => l_array_table_name
4981: , p_array_parent_table_index => l_array_parent_table_index

Line 5007: l_insert_sources:= xla_cmp_string_pkg.replace_token(l_insert_sources,'$EVENT_INDEX$' ,TO_CHAR(l_ObjectIndex)); -- 4417664

5003: ) ,' ')
5004: );
5005:
5006: --
5007: l_insert_sources:= xla_cmp_string_pkg.replace_token(l_insert_sources,'$EVENT_INDEX$' ,TO_CHAR(l_ObjectIndex)); -- 4417664
5008:
5009: l_insert_sources:= xla_cmp_string_pkg.replace_token(l_insert_sources,'$package_name$' ,g_package_name); -- 4417664
5010:
5011: xla_cmp_string_pkg.CreateString(

Line 5009: l_insert_sources:= xla_cmp_string_pkg.replace_token(l_insert_sources,'$package_name$' ,g_package_name); -- 4417664

5005:
5006: --
5007: l_insert_sources:= xla_cmp_string_pkg.replace_token(l_insert_sources,'$EVENT_INDEX$' ,TO_CHAR(l_ObjectIndex)); -- 4417664
5008:
5009: l_insert_sources:= xla_cmp_string_pkg.replace_token(l_insert_sources,'$package_name$' ,g_package_name); -- 4417664
5010:
5011: xla_cmp_string_pkg.CreateString(
5012: p_package_text => l_insert_sources
5013: ,p_array_string => l_array_insert_sources

Line 5011: xla_cmp_string_pkg.CreateString(

5007: l_insert_sources:= xla_cmp_string_pkg.replace_token(l_insert_sources,'$EVENT_INDEX$' ,TO_CHAR(l_ObjectIndex)); -- 4417664
5008:
5009: l_insert_sources:= xla_cmp_string_pkg.replace_token(l_insert_sources,'$package_name$' ,g_package_name); -- 4417664
5010:
5011: xla_cmp_string_pkg.CreateString(
5012: p_package_text => l_insert_sources
5013: ,p_array_string => l_array_insert_sources
5014: );
5015:

Line 5033: l_array_event := xla_cmp_string_pkg.ConcatTwoStrings (

5029: ,p_module => l_log_module);
5030:
5031: END IF;
5032:
5033: l_array_event := xla_cmp_string_pkg.ConcatTwoStrings (
5034: p_array_string_1 => l_array_insert_sources
5035: ,p_array_string_2 => l_array_event
5036: );
5037:

Line 5149: l_event := xla_cmp_string_pkg.g_null_varchar2s;

5145: --
5146: l_IsCompiled := TRUE;
5147: p_IsCompiled := TRUE;
5148: --
5149: l_event := xla_cmp_string_pkg.g_null_varchar2s;
5150: --
5151: IF (p_event_type <> p_event_class ||'_ALL') THEN
5152: --
5153: -- generate event type procedure

Line 5301: l_events := xla_cmp_string_pkg.g_null_varchar2s;

5297: , l_array_event_class_acctd_flag
5298: , l_array_event_class_g_l_flag
5299: );
5300:
5301: l_events := xla_cmp_string_pkg.g_null_varchar2s;
5302:
5303: IF l_array_event_type.COUNT > 0 THEN
5304: IF (C_LEVEL_PROCEDURE >= g_log_level) THEN
5305:

Line 5345: l_events := xla_cmp_string_pkg.ConcatTwoStrings (

5341: ,p_level => C_LEVEL_PROCEDURE
5342: ,p_module => l_log_module);
5343: END IF;
5344:
5345: l_events := xla_cmp_string_pkg.ConcatTwoStrings (
5346: p_array_string_1 => l_events
5347: ,p_array_string_2 => l_array_events
5348: );
5349: IF (C_LEVEL_PROCEDURE >= g_log_level) THEN

Line 5863: l_array_main := xla_cmp_string_pkg.g_null_varchar2s;

5859: ,p_module => l_log_module);
5860: END IF;
5861:
5862: l_IsCompiled := TRUE;
5863: l_array_main := xla_cmp_string_pkg.g_null_varchar2s;
5864: l_MainBody := NULL;
5865:
5866: l_MainBody := GenerateMainProcedure(
5867: p_application_id => p_application_id

Line 5879: l_MainProcedure := xla_cmp_string_pkg.replace_token(l_MainProcedure , -- 4417664

5875: l_IsCompiled := l_MainBody IS NOT NULL;
5876:
5877: l_MainProcedure := C_MAIN_PROCEDURE ;
5878:
5879: l_MainProcedure := xla_cmp_string_pkg.replace_token(l_MainProcedure , -- 4417664
5880: '$PACKAGE_NAME$',p_package_name);
5881:
5882: l_MainProcedure := xla_cmp_string_pkg.replace_token
5883: (l_MainProcedure

Line 5882: l_MainProcedure := xla_cmp_string_pkg.replace_token

5878:
5879: l_MainProcedure := xla_cmp_string_pkg.replace_token(l_MainProcedure , -- 4417664
5880: '$PACKAGE_NAME$',p_package_name);
5881:
5882: l_MainProcedure := xla_cmp_string_pkg.replace_token
5883: (l_MainProcedure
5884: ,'$BODY_MAIN_PROCEDURE$'
5885: ,l_MainBody);
5886:

Line 5889: (p_msg => '-> CALL xla_cmp_string_pkg.CreateString API'

5885: ,l_MainBody);
5886:
5887: IF (C_LEVEL_STATEMENT >= g_log_level) THEN
5888: trace
5889: (p_msg => '-> CALL xla_cmp_string_pkg.CreateString API'
5890: ,p_level => C_LEVEL_STATEMENT
5891: ,p_module => l_log_module);
5892: END IF;
5893:

Line 5894: xla_cmp_string_pkg.CreateString

5890: ,p_level => C_LEVEL_STATEMENT
5891: ,p_module => l_log_module);
5892: END IF;
5893:
5894: xla_cmp_string_pkg.CreateString
5895: (p_package_text => l_MainProcedure
5896: ,p_array_string => l_array_main);
5897:
5898: p_package_body := l_array_main ;