DBA Data[Home] [Help]

APPS.CZ_FCE_COMPILE dependencies on CZ_UTILS

Line 4: const_epoch_begin CONSTANT DATE := cz_utils.epoch_begin_;

1: PACKAGE BODY CZ_FCE_COMPILE AS
2: /* $Header: czfcecpb.pls 120.91.12010000.3 2009/01/08 17:51:55 asiaston ship $ */
3: ---------------------------------------------------------------------------------------
4: const_epoch_begin CONSTANT DATE := cz_utils.epoch_begin_;
5: const_epoch_end CONSTANT DATE := cz_utils.epoch_end_;
6: const_java_epoch_begin CONSTANT DATE := TO_DATE ('1970-01-01 00:00:00', 'YYYY-MM-DD HH24:MI:SS');
7:
8: const_file_signature CONSTANT RAW(4) := HEXTORAW ('00000000');

Line 5: const_epoch_end CONSTANT DATE := cz_utils.epoch_end_;

1: PACKAGE BODY CZ_FCE_COMPILE AS
2: /* $Header: czfcecpb.pls 120.91.12010000.3 2009/01/08 17:51:55 asiaston ship $ */
3: ---------------------------------------------------------------------------------------
4: const_epoch_begin CONSTANT DATE := cz_utils.epoch_begin_;
5: const_epoch_end CONSTANT DATE := cz_utils.epoch_end_;
6: const_java_epoch_begin CONSTANT DATE := TO_DATE ('1970-01-01 00:00:00', 'YYYY-MM-DD HH24:MI:SS');
7:
8: const_file_signature CONSTANT RAW(4) := HEXTORAW ('00000000');
9:

Line 195: g_sw_msg_prefix := CZ_UTILS.GET_TEXT(CZ_FCE_SW_GENERIC_PREFIX);

191: , p_raise_exception IN BOOLEAN DEFAULT TRUE ) IS
192: BEGIN
193: IF g_sw_msg_prefix IS NULL THEN
194: -- System Warning: Generally caused by environment or system issues.
195: g_sw_msg_prefix := CZ_UTILS.GET_TEXT(CZ_FCE_SW_GENERIC_PREFIX);
196: END IF;
197: CZ_FCE_COMPILE_UTILS.REPORT_WARNING(
198: p_message => g_sw_msg_prefix || p_message,
199: p_run_id => p_run_id,

Line 250: g_se_msg_prefix := CZ_UTILS.GET_TEXT(CZ_FCE_SE_GENERIC_PREFIX);

246: , p_raise_exception IN BOOLEAN DEFAULT TRUE ) IS
247: BEGIN
248: IF g_se_msg_prefix IS NULL THEN
249: -- System Error: Generally caused by environment or system issues.
250: g_se_msg_prefix := CZ_UTILS.GET_TEXT(CZ_FCE_SE_GENERIC_PREFIX);
251: END IF;
252: CZ_FCE_COMPILE_UTILS.REPORT_SYSTEM_ERROR(
253: p_message => g_se_msg_prefix || p_message,
254: p_run_id => p_run_id,

Line 684: p_message => CZ_UTILS.GET_TEXT ( CZ_FCE_E_CONNECTNOTSUPPORTED,

680:
681: IF ( l_psn_psnodetype ( i ) = h_psntypes ('connector')) THEN
682: -- Node ^NODE_NAME in Model ^MODEL_NAME is a Connector. In this release, Connectors are only supported in Orginal Configuration Engine type models.
683: report_and_raise_error (
684: p_message => CZ_UTILS.GET_TEXT ( CZ_FCE_E_CONNECTNOTSUPPORTED,
685: 'NODE_NAME',
686: CZ_FCE_COMPILE_UTILS.GET_NODE_PATH ( l_psn_psnodeid ( i ),
687: ps_node_id_table_to_string(
688: build_model_path(l_psn_psnodeid ( i )) )

Line 3319: CZ_UTILS.GET_TEXT ( CZ_FCE_W_NO_OPTIONAL_CHILDREN,

3315:
3316: -- BOM node ^NODE_NAME has no optional selections to participate in rule. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
3317:
3318: report_and_raise_rule_warning (
3319: CZ_UTILS.GET_TEXT ( CZ_FCE_W_NO_OPTIONAL_CHILDREN,
3320: 'NODE_NAME', CZ_FCE_COMPILE_UTILS.GET_NODE_PATH( p_node_id,
3321: ps_node_id_table_to_string(
3322: build_complete_path(p_node_id, p_expl_id) ) ),
3323: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name ),

Line 3369: p_text => CZ_UTILS.GET_TEXT( CZ_FCE_W_NODE_MUST_HAVE_CHILD,

3365:
3366: -- Node ^NODE_NAME has no children. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
3367:
3368: report_and_raise_rule_warning (
3369: p_text => CZ_UTILS.GET_TEXT( CZ_FCE_W_NODE_MUST_HAVE_CHILD,
3370: 'NODE_NAME', CZ_FCE_COMPILE_UTILS.GET_NODE_PATH( p_node_id,
3371: ps_node_id_table_to_string(
3372: build_complete_path(p_node_id, p_expl_id) ) ),
3373: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name ),

Line 4304: p_text => CZ_UTILS.GET_TEXT(

4300:
4301: IF ( l_return IS NULL ) THEN
4302:
4303: report_and_raise_rule_warning (
4304: p_text => CZ_UTILS.GET_TEXT(
4305: CZ_FCE_W_PROP_ONLY_ICOMP_REF,
4306: 'PROP_NAME', 'InstanceCount()',
4307: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
4308: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path)),

Line 4616: p_text => CZ_UTILS.GET_TEXT( CZ_FCE_W_NODE_MUST_HAVE_CHILD,

4612:
4613: -- Node ^NODE_NAME has no children. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
4614:
4615: report_and_raise_rule_warning (
4616: p_text => CZ_UTILS.GET_TEXT( CZ_FCE_W_NODE_MUST_HAVE_CHILD,
4617: 'NODE_NAME', CZ_FCE_COMPILE_UTILS.GET_NODE_PATH( l_node_id,
4618: ps_node_id_table_to_string(
4619: build_complete_path(l_node_id, l_expl_id))),
4620: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name ),

Line 4742: p_text => CZ_UTILS.GET_TEXT( CZ_FCE_W_NODE_MUST_HAVE_CHILD,

4738:
4739: ELSE
4740:
4741: report_and_raise_rule_warning (
4742: p_text => CZ_UTILS.GET_TEXT( CZ_FCE_W_NODE_MUST_HAVE_CHILD,
4743: 'NODE_NAME', CZ_FCE_COMPILE_UTILS.GET_NODE_PATH( l_node_id,
4744: ps_node_id_table_to_string(
4745: build_complete_path(l_node_id, l_expl_id) ) ),
4746: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name ),

Line 5458: CZ_UTILS.GET_TEXT(CZ_FCE_W_DESCRIPTION_IN_WHERE,

5454:
5455: ELSIF ( p_property_id = h_templates ('description')) THEN
5456: -- System Property ^PROP_NAME is invalid in WHERE clause of a COMPATIBLE or FORALL operator because it is translatable. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
5457: report_and_raise_rule_warning(
5458: CZ_UTILS.GET_TEXT(CZ_FCE_W_DESCRIPTION_IN_WHERE,
5459: 'PROP_NAME','description',
5460: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
5461: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path)),
5462: 'get_static_info'

Line 5472: CZ_UTILS.GET_TEXT(CZ_FCE_W_PROPERTY_NOT_STATIC,

5468: -- COMPATIBLE or FORALL operator because its value is not static at runtime.
5469: -- Rule "^RULE_NAME" in the Model "^MODEL_NAME" ignored.'
5470:
5471: report_and_raise_rule_warning(
5472: CZ_UTILS.GET_TEXT(CZ_FCE_W_PROPERTY_NOT_STATIC,
5473: 'PROPERTY_NAME',CZ_FCE_COMPILE_UTILS.GET_PROPERTY_PATH(p_property_id),
5474: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
5475: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path)),
5476: 'get_static_info'

Line 5651: p_text => CZ_UTILS.GET_TEXT( CZ_FCE_W_NO_PROPERTY_FOR_NODE,

5647:
5648: IF ( l_tab.COUNT = 0 ) THEN
5649: -- Property ^PROP_NAME is not defined for node ^NODE_NAME. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
5650: report_and_raise_rule_warning(
5651: p_text => CZ_UTILS.GET_TEXT( CZ_FCE_W_NO_PROPERTY_FOR_NODE,
5652: 'PROP_NAME', CZ_FCE_COMPILE_UTILS.GET_PROPERTY_PATH(l_property_id),
5653: 'NODE_NAME', CZ_FCE_COMPILE_UTILS.GET_NODE_PATH(p_node_id,
5654: ps_node_id_table_to_string(
5655: build_complete_path(p_node_id, p_expl_id) ) ),

Line 5666: p_text => CZ_UTILS.GET_TEXT( CZ_FCE_W_PROPERTY_NULL_VALUE,

5662:
5663: IF ( h_psnid_propertyid_value ( l_key ) IS NULL ) THEN
5664: -- 'Property ^PROP_NAME has no value for node ^NODE_NAME. Rule "^RULE_NAME" in the model "^MODEL_NAME" ignored.';
5665: report_and_raise_rule_warning(
5666: p_text => CZ_UTILS.GET_TEXT( CZ_FCE_W_PROPERTY_NULL_VALUE,
5667: 'PROP_NAME', CZ_FCE_COMPILE_UTILS.GET_PROPERTY_PATH(l_property_id),
5668: 'NODE_NAME', CZ_FCE_COMPILE_UTILS.GET_NODE_PATH(p_node_id,
5669: ps_node_id_table_to_string(
5670: build_complete_path(p_node_id, p_expl_id) ) ),

Line 6236: p_text => CZ_UTILS.GET_TEXT( CZ_FCE_W_PROPERTY_NULL_VALUE,

6232:
6233: IF ( l_value IS NULL ) THEN
6234: -- 'Property ^PROP_NAME has no value for node ^NODE_NAME. Rule "^RULE_NAME" in the model "^MODEL_NAME" ignored.';
6235: report_and_raise_rule_warning(
6236: p_text => CZ_UTILS.GET_TEXT( CZ_FCE_W_PROPERTY_NULL_VALUE,
6237: 'PROP_NAME', CZ_FCE_COMPILE_UTILS.GET_PROPERTY_PATH(l_property_id),
6238: 'NODE_NAME', CZ_FCE_COMPILE_UTILS.GET_NODE_PATH(t_children ( i ).ps_node_id,
6239: ps_node_id_table_to_string(
6240: build_complete_path(t_children ( i ).ps_node_id, t_children ( i ).model_ref_expl_id) ) ),

Line 6469: p_text => CZ_UTILS.GET_TEXT (

6465:
6466: --Property ^PROP_NAME is invalid for the node ^NODE_NAME. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
6467:
6468: report_and_raise_rule_warning (
6469: p_text => CZ_UTILS.GET_TEXT (
6470: CZ_FCE_W_INVALID_PROPERTY,
6471: 'PROP_NAME', CZ_FCE_COMPILE_UTILS.GET_PROPERTY_PATH ( l_property_id ),
6472: 'NODE_NAME', CZ_FCE_COMPILE_UTILS.GET_NODE_PATH ( t_exp_psnodeid ( j ),
6473: ps_node_id_table_to_string (

Line 6582: p_text => CZ_UTILS.GET_TEXT(

6578:
6579: ELSIF ( t_lhs_index.COUNT = 0 ) THEN
6580: -- Right-hand side participants are missing. Logic rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
6581: report_and_raise_rule_warning(
6582: p_text => CZ_UTILS.GET_TEXT(
6583: CZ_FCE_W_LR_MISSING_LHS_PARTS,
6584: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
6585: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path) ),
6586: p_warning_location => 'generate_logic_template');

Line 6605: p_text => CZ_UTILS.GET_TEXT(

6601:
6602: ELSIF ( t_rhs_index.COUNT = 0 ) THEN
6603: -- Right-hand side participants are missing. Logic rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
6604: report_and_raise_rule_warning(
6605: p_text => CZ_UTILS.GET_TEXT(
6606: CZ_FCE_W_LR_MISSING_RHS_PARTS,
6607: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
6608: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path) ),
6609: p_warning_location => 'generate_logic_template');

Line 6776: p_text => CZ_UTILS.GET_TEXT(

6772:
6773: ELSIF ( t_rhs_index.COUNT = 0 ) THEN
6774: -- Right-hand side participants are missing. Comparison rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
6775: report_and_raise_rule_warning(
6776: p_text => CZ_UTILS.GET_TEXT(
6777: CZ_FCE_W_CR_MISSING_RHS_PARTS,
6778: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
6779: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path) ),
6780: p_warning_location => 'generate_comparison_template');

Line 7386: p_text => CZ_UTILS.GET_TEXT(

7382: IF ( h_psnid_detailedtype ( p_compat_table.participants ( i ).ps_node_id ) NOT IN
7383: ( h_psntypes ('optionfeature'), h_psntypes ('bomoptionclass'))) THEN
7384: -- Invalid participant in compatibility rule. Valid participants are Option Feature or BOM Option Class nodes. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
7385: report_and_raise_rule_warning(
7386: p_text => CZ_UTILS.GET_TEXT(
7387: CZ_FCE_W_CMR_INVALID_PART,
7388: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
7389: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path) ),
7390: p_warning_location => 'generate_compat_table');

Line 7730: p_text => CZ_UTILS.GET_TEXT(

7726: --For property-based and design-chart this will be caught earlier. Even if it
7727: --gets here for these types of rules, the message is still relevant.
7728:
7729: report_and_raise_rule_warning (
7730: p_text => CZ_UTILS.GET_TEXT(
7731: CZ_FCE_W_CT_INCOMPLETE_RULE,
7732: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name ),
7733: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path)),
7734: p_warning_location => 'verify_compatibility_table' );

Line 7747: CZ_UTILS.GET_TEXT ( CZ_FCE_W_COMPAT_NO_COMB,

7743: --the message can be significantly enhanced with property-based specifics specifics.
7744:
7745: -- No valid combinations. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
7746: report_and_raise_rule_warning (
7747: CZ_UTILS.GET_TEXT ( CZ_FCE_W_COMPAT_NO_COMB,
7748: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name ),
7749: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path)),
7750: 'verify_compatibility_table'
7751: );

Line 7784: p_text => CZ_UTILS.GET_TEXT(

7780:
7781: IF ( hl_parentid.EXISTS ( TO_CHAR ( p_compat_table.participants ( i ).ps_node_id ))) THEN
7782: -- Cyclic relationship between compatibility rule participants. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
7783: report_and_raise_rule_warning (
7784: p_text => CZ_UTILS.GET_TEXT(
7785: CZ_FCE_W_CT_CYCLIC_RELATION,
7786: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
7787: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path)),
7788: p_warning_location => 'verify_compatibility_table' );

Line 7796: p_text => CZ_UTILS.GET_TEXT(

7792:
7793: IF ( l_count > 1 ) THEN
7794: -- Only one participant of a compatibility rule is allowed to have non-mutually-exclusive children. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
7795: report_and_raise_rule_warning(
7796: p_text => CZ_UTILS.GET_TEXT(
7797: CZ_FCE_W_CT_ONLY_ONE_NON_MEXC,
7798: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
7799: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path) ),
7800: p_warning_location => 'verify_compatibility_table');

Line 8504: p_text => CZ_UTILS.GET_TEXT (

8500:
8501: -- DISTINCT COLLECT and FOR ALL operations are not supported when there is more than one iterator. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
8502:
8503: report_and_raise_rule_warning(
8504: p_text => CZ_UTILS.GET_TEXT (
8505: CZ_FCE_W_MORE_THAN_ONE_IT_LIM,
8506: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name ),
8507: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH (p_component_id, p_model_path)),
8508: p_warning_location => 'generate_statement_forall');

Line 8563: p_text => CZ_UTILS.GET_TEXT (

8559: -- Incorrect COLLECT or FOR ALL Rule: The conditional expression in the WHERE clause must be static. A dynamic source for
8560: -- a value provided for iterator ^ITER was detected. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
8561:
8562: report_and_raise_rule_warning(
8563: p_text => CZ_UTILS.GET_TEXT (
8564: CZ_FCE_W_DYNAMIC_ITERATOR,
8565: 'ITER', t_argument_table ( i ),
8566: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name ),
8567: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH ( p_component_id, p_model_path )),

Line 8850: p_text => CZ_UTILS.GET_TEXT(

8846: ELSE
8847:
8848: -- Incomplete simple Property-based Compatibility rule. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
8849: report_and_raise_rule_warning (
8850: p_text => CZ_UTILS.GET_TEXT(
8851: CZ_FCE_W_INCOMPLETE_PROPBASED,
8852: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
8853: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path)),
8854: p_warning_location => 'parse_template_application');

Line 9275: p_text => CZ_UTILS.GET_TEXT(

9271:
9272: IF ( tl_featureid.COUNT = 0 ) THEN
9273: -- Design chart is empty. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
9274: report_and_raise_rule_warning(
9275: p_text => CZ_UTILS.GET_TEXT(
9276: CZ_FCE_W_EMPTY_DESIGN_CHART,
9277: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
9278: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path) ),
9279: p_warning_location => 'generate_design_chart' );

Line 9321: p_text => CZ_UTILS.GET_TEXT(

9317:
9318: IF ( tl_primary.COUNT <> 1 ) THEN
9319: -- The primary feature in the design chart is either missing or duplicated. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
9320: report_and_raise_rule_warning(
9321: p_text => CZ_UTILS.GET_TEXT(
9322: CZ_FCE_W_NO_PRIMARY_FEAT_DC,
9323: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
9324: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path)),
9325: p_warning_location => 'generate_design_chart' );

Line 9332: p_text => CZ_UTILS.GET_TEXT(

9328:
9329: IF ( tl_defining.COUNT = 0 AND tl_optional.COUNT = 0) THEN
9330:
9331: report_and_raise_rule_warning(
9332: p_text => CZ_UTILS.GET_TEXT(
9333: CZ_FCE_W_EMPTY_DESIGN_CHART,
9334: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
9335: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path) ),
9336: p_warning_location => 'generate_design_chart' );

Line 9369: p_text => CZ_UTILS.GET_TEXT(

9365:
9366: IF ( NOT hl_combinations.EXISTS ( l_key )) THEN
9367: -- No selection made between primary and defining feature in design chart rule. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
9368: report_and_raise_rule_warning(
9369: p_text => CZ_UTILS.GET_TEXT(
9370: CZ_FCE_W_NO_COMBINATIONS_DC,
9371: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
9372: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path) ),
9373: p_warning_location => 'generate_design_chart' );

Line 9386: p_text => CZ_UTILS.GET_TEXT(

9382:
9383: IF ( hl_combinations ( l_key ).COUNT <> l_combinations ) THEN
9384: -- No one-to-one correspondence between options of primary and defining feature in design chart rule. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
9385: report_and_raise_rule_warning(
9386: p_text => CZ_UTILS.GET_TEXT(
9387: CZ_FCE_W_INVALID_NUM_COMB_DC,
9388: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
9389: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path) ),
9390: p_warning_location => 'generate_design_chart' );

Line 9754: p_text => CZ_UTILS.GET_TEXT(

9750:
9751: -- Defaults and search decisions cannot be defined across different models. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
9752:
9753: report_and_raise_rule_warning(
9754: p_text => CZ_UTILS.GET_TEXT(
9755: CZ_FCE_W_SD_NOT_ACROSS_MODELS,
9756: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
9757: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path)),
9758: p_warning_location => 'generate_heuristics');

Line 9817: p_text => CZ_UTILS.GET_TEXT(

9813:
9814: ELSE
9815: -- Heuristic operators (IncMin, DecMax, Assign, MinFirst, MaxFirst) can only be used in defaults or search decisions. Rule ^RULE_NAME in model ^MODEL_NAME ignored.
9816: report_and_raise_rule_warning(
9817: p_text => CZ_UTILS.GET_TEXT(
9818: CZ_FCE_W_HEUR_ONLY_IN_DEF,
9819: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
9820: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path) ),
9821: p_warning_location => 'generate_heuristics' );

Line 10240: p_text => CZ_UTILS.GET_TEXT(

10236: --Component or referenced Model cannot also use another participant. Rule ^RULE_NAME
10237: --in the Model ^MODEL_NAME ignored.
10238:
10239: report_and_raise_rule_warning(
10240: p_text => CZ_UTILS.GET_TEXT(
10241: CZ_FCE_W_INVALID_CONTRIB,
10242: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
10243: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path)),
10244: p_warning_location => 'generate_expression' );

Line 10338: CZ_UTILS.GET_TEXT(CZ_FCE_SW_COMPARE_TXPROP_TXLIT ),

10334: IF (( l_lhs_selection AND t_exp_exprtype ( l_aux ) <> h_exprtypes ('literal')) OR
10335: ( l_rhs_selection AND t_exp_exprtype ( l_index ) <> h_exprtypes ('literal')))THEN
10336:
10337: report_and_raise_rule_sys_warn(
10338: CZ_UTILS.GET_TEXT(CZ_FCE_SW_COMPARE_TXPROP_TXLIT ),
10339: 'generate_expression' );
10340:
10341: END IF;
10342:

Line 10396: CZ_UTILS.GET_TEXT('CZ_E_UNKNOWN_EXPR_TYPE',

10392: ELSE
10393:
10394: --#
10395: report_and_raise_rule_sys_warn(
10396: CZ_UTILS.GET_TEXT('CZ_E_UNKNOWN_EXPR_TYPE',
10397: 'RULENAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name)),
10398: 'generate_expression'
10399: );
10400:

Line 10532: CZ_UTILS.GET_TEXT ( CZ_FCE_W_INCORRECT_REFERENCE,

10528:
10529: IF( l_eff_until < l_eff_from )THEN
10530: -- The reference ^NODE_NAME is invalid. At least one node does not exist in the Model or is not effective when the rule is effective. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
10531: report_and_raise_rule_warning (
10532: CZ_UTILS.GET_TEXT ( CZ_FCE_W_INCORRECT_REFERENCE,
10533: 'NODE_NAME', REPLACE (p_relative_node_path, FND_GLOBAL.LOCAL_CHR(7), '.'),
10534: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH( p_component_id, p_model_path ),
10535: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name )),
10536: 'RESOLVE_CHILDREN'

Line 10553: CZ_UTILS.GET_TEXT ( CZ_FCE_W_INCORRECT_REFERENCE,

10549:
10550: IF ( l_return_node_id_tbl.COUNT = 0 ) THEN
10551: -- The reference ^NODE_NAME is invalid. At least one node does not exist in the Model or is not effective when the rule is effective. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
10552: report_and_raise_rule_warning (
10553: CZ_UTILS.GET_TEXT ( CZ_FCE_W_INCORRECT_REFERENCE,
10554: 'NODE_NAME', REPLACE (p_relative_node_path, FND_GLOBAL.LOCAL_CHR(7), '.'),
10555: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH ( p_component_id, p_model_path ),
10556: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name )),
10557: 'RESOLVE_CHILDREN'

Line 10563: CZ_UTILS.GET_TEXT ( CZ_FCE_W_AMBIGUOUS_REFERENCE,

10559:
10560: ELSIF ( l_return_node_id_tbl.COUNT > 1 ) THEN
10561: -- Unable to resolve Model node reference ^NODE_NAME because it is ambiguous. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
10562: report_and_raise_rule_warning (
10563: CZ_UTILS.GET_TEXT ( CZ_FCE_W_AMBIGUOUS_REFERENCE,
10564: 'NODE_NAME', REPLACE (p_relative_node_path, FND_GLOBAL.LOCAL_CHR(7), '.'),
10565: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH ( p_component_id, p_model_path ),
10566: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name )),
10567: 'RESOLVE_CHILDREN'

Line 10624: p_text => CZ_UTILS.GET_TEXT (

10620: IF ( rule.invalid_flag = '1' ) THEN
10621: IF ( rule.presentation_flag = '0' ) THEN
10622: -- Parsing errors found. Fix parsing errors. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
10623: report_and_raise_rule_warning(
10624: p_text => CZ_UTILS.GET_TEXT (
10625: CZ_FCE_W_PARSE_FAILED,
10626: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name ),
10627: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path)
10628: ),

Line 10635: p_text => CZ_UTILS.GET_TEXT (

10631: ELSE
10632:
10633: report_and_raise_rule_warning(
10634: -- Invalid or incomplete rule, please check the rule. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
10635: p_text => CZ_UTILS.GET_TEXT (
10636: CZ_FCE_W_TEMPLATE_INVALID,
10637: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name ),
10638: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path)),
10639: p_warning_location => 'compile_constraints' );

Line 10705: p_text => CZ_UTILS.GET_TEXT(

10701:
10702: IF ( l_rule_expr_lastindex = 0 ) THEN
10703: -- Rule definition is empty. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
10704: report_and_raise_rule_warning(
10705: p_text => CZ_UTILS.GET_TEXT(
10706: CZ_FCE_W_EMPTY_RULE,
10707: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
10708: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path) ),
10709: p_warning_location => 'compile_constraints' );

Line 10755: p_text => CZ_UTILS.GET_TEXT (

10751:
10752: -- Rule participant ^NODE_NAME is not accessible. May be its model reference has been deleted.
10753:
10754: report_and_raise_rule_warning (
10755: p_text => CZ_UTILS.GET_TEXT (
10756: CZ_FCE_W_NODE_NOT_FOUND,
10757: 'NODE_NAME', CZ_FCE_COMPILE_UTILS.GET_NODE_PATH ( t_exp_psnodeid ( i ),
10758: ps_node_id_table_to_string ( build_model_path ( t_exp_psnodeid ( i )))),
10759: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name ),

Line 10766: p_text => CZ_UTILS.GET_TEXT (

10762:
10763: ELSIF ( NOT h_psnid_backindex.EXISTS ( TO_CHAR ( t_exp_psnodeid ( i )))) THEN
10764:
10765: report_and_raise_rule_warning (
10766: p_text => CZ_UTILS.GET_TEXT (
10767: CZ_FCE_W_NODE_DELETED,
10768: 'NODE_NAME', CZ_FCE_COMPILE_UTILS.GET_NODE_PATH ( t_exp_psnodeid ( i ),
10769: ps_node_id_table_to_string ( build_model_path ( t_exp_psnodeid ( i )))),
10770: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH( this_rule_id, this_rule_name ),

Line 10781: p_text => CZ_UTILS.GET_TEXT (

10777:
10778: IF ( t_exp_propertyid ( i ) IS NULL ) THEN
10779: -- The rule is incomplete because a property is undefined. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
10780: report_and_raise_rule_warning (
10781: p_text => CZ_UTILS.GET_TEXT (
10782: CZ_FCE_W_UNDEFINED_PROPERTY,
10783: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name ),
10784: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH ( p_component_id, p_model_path )),
10785: p_warning_location => 'compile_constraints');

Line 11082: p_message => CZ_UTILS.GET_TEXT ( CZ_FCE_E_OPTION_MAXQ_NO_CHILD,

11078:
11079: IF ( l_var_min > 0 ) THEN
11080: -- Invalid problem definition: Option Feature with minimum quantity greater than 0 must have children. The Option Feature is ^NODE_NAME in the Model ^MODEL_NAME.
11081: report_and_raise_error(
11082: p_message => CZ_UTILS.GET_TEXT ( CZ_FCE_E_OPTION_MAXQ_NO_CHILD,
11083: 'NODE_NAME', CZ_FCE_COMPILE_UTILS.GET_NODE_PATH(t_psn_psnodeid ( v_index ),
11084: ps_node_id_table_to_string(
11085: build_model_path(t_psn_psnodeid ( v_index ) ) ) ),
11086: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH( p_component_id, p_model_path) ),

Line 11460: p_message => CZ_UTILS.GET_TEXT(CZ_FCE_UE_GENERIC_PREFIX) || DBMS_UTILITY.FORMAT_ERROR_STACK,

11456: WHEN OTHERS THEN
11457: ROLLBACK;
11458: -- Unknown Error:
11459: report_and_raise_sys_error(
11460: p_message => CZ_UTILS.GET_TEXT(CZ_FCE_UE_GENERIC_PREFIX) || DBMS_UTILITY.FORMAT_ERROR_STACK,
11461: p_run_id => x_run_id,
11462: p_model_id => p_object_id,
11463: p_error_stack => DBMS_UTILITY.FORMAT_ERROR_STACK || ' Error backtrace: ' || DBMS_UTILITY.FORMAT_ERROR_BACKTRACE,
11464: p_raise_exception => FALSE