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.94.12020000.5 2012/12/31 06:55:02 mpothubo 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.94.12020000.5 2012/12/31 06:55:02 mpothubo 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 3443: CZ_UTILS.GET_TEXT ( CZ_FCE_W_NO_OPTIONAL_CHILDREN,

3439:
3440: -- BOM node ^NODE_NAME has no optional selections to participate in rule. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
3441:
3442: report_and_raise_rule_warning (
3443: CZ_UTILS.GET_TEXT ( CZ_FCE_W_NO_OPTIONAL_CHILDREN,
3444: 'NODE_NAME', CZ_FCE_COMPILE_UTILS.GET_NODE_PATH( p_node_id,
3445: ps_node_id_table_to_string(
3446: build_complete_path(p_node_id, p_expl_id) ) ),
3447: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name ),

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

3489:
3490: -- Node ^NODE_NAME has no children. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
3491:
3492: report_and_raise_rule_warning (
3493: p_text => CZ_UTILS.GET_TEXT( CZ_FCE_W_NODE_MUST_HAVE_CHILD,
3494: 'NODE_NAME', CZ_FCE_COMPILE_UTILS.GET_NODE_PATH( p_node_id,
3495: ps_node_id_table_to_string(
3496: build_complete_path(p_node_id, p_expl_id) ) ),
3497: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name ),

Line 4428: p_text => CZ_UTILS.GET_TEXT(

4424:
4425: IF ( l_return IS NULL ) THEN
4426:
4427: report_and_raise_rule_warning (
4428: p_text => CZ_UTILS.GET_TEXT(
4429: CZ_FCE_W_PROP_ONLY_ICOMP_REF,
4430: 'PROP_NAME', 'InstanceCount()',
4431: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
4432: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path)),

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

4736:
4737: -- Node ^NODE_NAME has no children. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
4738:
4739: report_and_raise_rule_warning (
4740: p_text => CZ_UTILS.GET_TEXT( CZ_FCE_W_NODE_MUST_HAVE_CHILD,
4741: 'NODE_NAME', CZ_FCE_COMPILE_UTILS.GET_NODE_PATH( l_node_id,
4742: ps_node_id_table_to_string(
4743: build_complete_path(l_node_id, l_expl_id))),
4744: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name ),

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

4862:
4863: ELSE
4864:
4865: report_and_raise_rule_warning (
4866: p_text => CZ_UTILS.GET_TEXT( CZ_FCE_W_NODE_MUST_HAVE_CHILD,
4867: 'NODE_NAME', CZ_FCE_COMPILE_UTILS.GET_NODE_PATH( l_node_id,
4868: ps_node_id_table_to_string(
4869: build_complete_path(l_node_id, l_expl_id) ) ),
4870: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name ),

Line 5582: CZ_UTILS.GET_TEXT(CZ_FCE_W_DESCRIPTION_IN_WHERE,

5578:
5579: ELSIF ( p_property_id = h_templates ('description')) THEN
5580: -- 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.
5581: report_and_raise_rule_warning(
5582: CZ_UTILS.GET_TEXT(CZ_FCE_W_DESCRIPTION_IN_WHERE,
5583: 'PROP_NAME','description',
5584: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
5585: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path)),
5586: 'get_static_info'

Line 5596: CZ_UTILS.GET_TEXT(CZ_FCE_W_PROPERTY_NOT_STATIC,

5592: -- COMPATIBLE or FORALL operator because its value is not static at runtime.
5593: -- Rule "^RULE_NAME" in the Model "^MODEL_NAME" ignored.'
5594:
5595: report_and_raise_rule_warning(
5596: CZ_UTILS.GET_TEXT(CZ_FCE_W_PROPERTY_NOT_STATIC,
5597: 'PROPERTY_NAME',CZ_FCE_COMPILE_UTILS.GET_PROPERTY_PATH(p_property_id),
5598: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
5599: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path)),
5600: 'get_static_info'

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

5771:
5772: IF ( l_tab.COUNT = 0 ) THEN
5773: -- Property ^PROP_NAME is not defined for node ^NODE_NAME. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
5774: report_and_raise_rule_warning(
5775: p_text => CZ_UTILS.GET_TEXT( CZ_FCE_W_NO_PROPERTY_FOR_NODE,
5776: 'PROP_NAME', CZ_FCE_COMPILE_UTILS.GET_PROPERTY_PATH(l_property_id),
5777: 'NODE_NAME', CZ_FCE_COMPILE_UTILS.GET_NODE_PATH(p_node_id,
5778: ps_node_id_table_to_string(
5779: build_complete_path(p_node_id, p_expl_id) ) ),

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

5786:
5787: IF ( h_psnid_propertyid_value ( l_key ) IS NULL ) THEN
5788: -- 'Property ^PROP_NAME has no value for node ^NODE_NAME. Rule "^RULE_NAME" in the model "^MODEL_NAME" ignored.';
5789: report_and_raise_rule_warning(
5790: p_text => CZ_UTILS.GET_TEXT( CZ_FCE_W_PROPERTY_NULL_VALUE,
5791: 'PROP_NAME', CZ_FCE_COMPILE_UTILS.GET_PROPERTY_PATH(l_property_id),
5792: 'NODE_NAME', CZ_FCE_COMPILE_UTILS.GET_NODE_PATH(p_node_id,
5793: ps_node_id_table_to_string(
5794: build_complete_path(p_node_id, p_expl_id) ) ),

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

6356:
6357: IF ( l_value IS NULL ) THEN
6358: -- 'Property ^PROP_NAME has no value for node ^NODE_NAME. Rule "^RULE_NAME" in the model "^MODEL_NAME" ignored.';
6359: report_and_raise_rule_warning(
6360: p_text => CZ_UTILS.GET_TEXT( CZ_FCE_W_PROPERTY_NULL_VALUE,
6361: 'PROP_NAME', CZ_FCE_COMPILE_UTILS.GET_PROPERTY_PATH(l_property_id),
6362: 'NODE_NAME', CZ_FCE_COMPILE_UTILS.GET_NODE_PATH(t_children ( i ).ps_node_id,
6363: ps_node_id_table_to_string(
6364: build_complete_path(t_children ( i ).ps_node_id, t_children ( i ).model_ref_expl_id) ) ),

Line 6593: p_text => CZ_UTILS.GET_TEXT (

6589:
6590: --Property ^PROP_NAME is invalid for the node ^NODE_NAME. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
6591:
6592: report_and_raise_rule_warning (
6593: p_text => CZ_UTILS.GET_TEXT (
6594: CZ_FCE_W_INVALID_PROPERTY,
6595: 'PROP_NAME', CZ_FCE_COMPILE_UTILS.GET_PROPERTY_PATH ( l_property_id ),
6596: 'NODE_NAME', CZ_FCE_COMPILE_UTILS.GET_NODE_PATH ( t_exp_psnodeid ( j ),
6597: ps_node_id_table_to_string (

Line 6707: p_text => CZ_UTILS.GET_TEXT(

6703:
6704: ELSIF ( t_lhs_index.COUNT = 0 ) THEN
6705: -- Right-hand side participants are missing. Logic rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
6706: report_and_raise_rule_warning(
6707: p_text => CZ_UTILS.GET_TEXT(
6708: CZ_FCE_W_LR_MISSING_LHS_PARTS,
6709: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
6710: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path) ),
6711: p_warning_location => 'generate_logic_template');

Line 6730: p_text => CZ_UTILS.GET_TEXT(

6726:
6727: ELSIF ( t_rhs_index.COUNT = 0 ) THEN
6728: -- Right-hand side participants are missing. Logic rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
6729: report_and_raise_rule_warning(
6730: p_text => CZ_UTILS.GET_TEXT(
6731: CZ_FCE_W_LR_MISSING_RHS_PARTS,
6732: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
6733: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path) ),
6734: p_warning_location => 'generate_logic_template');

Line 6901: p_text => CZ_UTILS.GET_TEXT(

6897:
6898: ELSIF ( t_rhs_index.COUNT = 0 ) THEN
6899: -- Right-hand side participants are missing. Comparison rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
6900: report_and_raise_rule_warning(
6901: p_text => CZ_UTILS.GET_TEXT(
6902: CZ_FCE_W_CR_MISSING_RHS_PARTS,
6903: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
6904: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path) ),
6905: p_warning_location => 'generate_comparison_template');

Line 7520: p_text => CZ_UTILS.GET_TEXT(

7516: IF ( h_psnid_detailedtype ( p_compat_table.participants ( i ).ps_node_id ) NOT IN
7517: ( h_psntypes ('optionfeature'), h_psntypes ('bomoptionclass'))) THEN
7518: -- Invalid participant in compatibility rule. Valid participants are Option Feature or BOM Option Class nodes. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
7519: report_and_raise_rule_warning(
7520: p_text => CZ_UTILS.GET_TEXT(
7521: CZ_FCE_W_CMR_INVALID_PART,
7522: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
7523: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path) ),
7524: p_warning_location => 'generate_compat_table');

Line 7864: p_text => CZ_UTILS.GET_TEXT(

7860: --For property-based and design-chart this will be caught earlier. Even if it
7861: --gets here for these types of rules, the message is still relevant.
7862:
7863: report_and_raise_rule_warning (
7864: p_text => CZ_UTILS.GET_TEXT(
7865: CZ_FCE_W_CT_INCOMPLETE_RULE,
7866: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name ),
7867: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path)),
7868: p_warning_location => 'verify_compatibility_table' );

Line 7881: CZ_UTILS.GET_TEXT ( CZ_FCE_W_COMPAT_NO_COMB,

7877: --the message can be significantly enhanced with property-based specifics specifics.
7878:
7879: -- No valid combinations. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
7880: report_and_raise_rule_warning (
7881: CZ_UTILS.GET_TEXT ( CZ_FCE_W_COMPAT_NO_COMB,
7882: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name ),
7883: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path)),
7884: 'verify_compatibility_table'
7885: );

Line 7918: p_text => CZ_UTILS.GET_TEXT(

7914:
7915: IF ( hl_parentid.EXISTS ( TO_CHAR ( p_compat_table.participants ( i ).ps_node_id ))) THEN
7916: -- Cyclic relationship between compatibility rule participants. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
7917: report_and_raise_rule_warning (
7918: p_text => CZ_UTILS.GET_TEXT(
7919: CZ_FCE_W_CT_CYCLIC_RELATION,
7920: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
7921: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path)),
7922: p_warning_location => 'verify_compatibility_table' );

Line 7930: p_text => CZ_UTILS.GET_TEXT(

7926:
7927: IF ( l_count > 1 ) THEN
7928: -- Only one participant of a compatibility rule is allowed to have non-mutually-exclusive children. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
7929: report_and_raise_rule_warning(
7930: p_text => CZ_UTILS.GET_TEXT(
7931: CZ_FCE_W_CT_ONLY_ONE_NON_MEXC,
7932: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
7933: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path) ),
7934: p_warning_location => 'verify_compatibility_table');

Line 8638: p_text => CZ_UTILS.GET_TEXT (

8634:
8635: -- 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.
8636:
8637: report_and_raise_rule_warning(
8638: p_text => CZ_UTILS.GET_TEXT (
8639: CZ_FCE_W_MORE_THAN_ONE_IT_LIM,
8640: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name ),
8641: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH (p_component_id, p_model_path)),
8642: p_warning_location => 'generate_statement_forall');

Line 8697: p_text => CZ_UTILS.GET_TEXT (

8693: -- Incorrect COLLECT or FOR ALL Rule: The conditional expression in the WHERE clause must be static. A dynamic source for
8694: -- a value provided for iterator ^ITER was detected. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
8695:
8696: report_and_raise_rule_warning(
8697: p_text => CZ_UTILS.GET_TEXT (
8698: CZ_FCE_W_DYNAMIC_ITERATOR,
8699: 'ITER', t_argument_table ( i ),
8700: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name ),
8701: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH ( p_component_id, p_model_path )),

Line 8984: p_text => CZ_UTILS.GET_TEXT(

8980: ELSE
8981:
8982: -- Incomplete simple Property-based Compatibility rule. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
8983: report_and_raise_rule_warning (
8984: p_text => CZ_UTILS.GET_TEXT(
8985: CZ_FCE_W_INCOMPLETE_PROPBASED,
8986: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
8987: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path)),
8988: p_warning_location => 'parse_template_application');

Line 9409: p_text => CZ_UTILS.GET_TEXT(

9405:
9406: IF ( tl_featureid.COUNT = 0 ) THEN
9407: -- Design chart is empty. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
9408: report_and_raise_rule_warning(
9409: p_text => CZ_UTILS.GET_TEXT(
9410: CZ_FCE_W_EMPTY_DESIGN_CHART,
9411: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
9412: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path) ),
9413: p_warning_location => 'generate_design_chart' );

Line 9455: p_text => CZ_UTILS.GET_TEXT(

9451:
9452: IF ( tl_primary.COUNT <> 1 ) THEN
9453: -- The primary feature in the design chart is either missing or duplicated. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
9454: report_and_raise_rule_warning(
9455: p_text => CZ_UTILS.GET_TEXT(
9456: CZ_FCE_W_NO_PRIMARY_FEAT_DC,
9457: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
9458: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path)),
9459: p_warning_location => 'generate_design_chart' );

Line 9466: p_text => CZ_UTILS.GET_TEXT(

9462:
9463: IF ( tl_defining.COUNT = 0 AND tl_optional.COUNT = 0) THEN
9464:
9465: report_and_raise_rule_warning(
9466: p_text => CZ_UTILS.GET_TEXT(
9467: CZ_FCE_W_EMPTY_DESIGN_CHART,
9468: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
9469: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path) ),
9470: p_warning_location => 'generate_design_chart' );

Line 9503: p_text => CZ_UTILS.GET_TEXT(

9499:
9500: IF ( NOT hl_combinations.EXISTS ( l_key )) THEN
9501: -- No selection made between primary and defining feature in design chart rule. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
9502: report_and_raise_rule_warning(
9503: p_text => CZ_UTILS.GET_TEXT(
9504: CZ_FCE_W_NO_COMBINATIONS_DC,
9505: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
9506: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path) ),
9507: p_warning_location => 'generate_design_chart' );

Line 9520: p_text => CZ_UTILS.GET_TEXT(

9516:
9517: IF ( hl_combinations ( l_key ).COUNT <> l_combinations ) THEN
9518: -- 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.
9519: report_and_raise_rule_warning(
9520: p_text => CZ_UTILS.GET_TEXT(
9521: CZ_FCE_W_INVALID_NUM_COMB_DC,
9522: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
9523: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path) ),
9524: p_warning_location => 'generate_design_chart' );

Line 9888: p_text => CZ_UTILS.GET_TEXT(

9884:
9885: -- Defaults and search decisions cannot be defined across different models. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
9886:
9887: report_and_raise_rule_warning(
9888: p_text => CZ_UTILS.GET_TEXT(
9889: CZ_FCE_W_SD_NOT_ACROSS_MODELS,
9890: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
9891: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path)),
9892: p_warning_location => 'generate_heuristics');

Line 9951: p_text => CZ_UTILS.GET_TEXT(

9947:
9948: ELSE
9949: -- Heuristic operators (IncMin, DecMax, Assign, MinFirst, MaxFirst) can only be used in defaults or search decisions. Rule ^RULE_NAME in model ^MODEL_NAME ignored.
9950: report_and_raise_rule_warning(
9951: p_text => CZ_UTILS.GET_TEXT(
9952: CZ_FCE_W_HEUR_ONLY_IN_DEF,
9953: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
9954: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path) ),
9955: p_warning_location => 'generate_heuristics' );

Line 10376: p_text => CZ_UTILS.GET_TEXT(

10372: --Component or referenced Model cannot also use another participant. Rule ^RULE_NAME
10373: --in the Model ^MODEL_NAME ignored.
10374:
10375: report_and_raise_rule_warning(
10376: p_text => CZ_UTILS.GET_TEXT(
10377: CZ_FCE_W_INVALID_CONTRIB,
10378: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
10379: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path)),
10380: p_warning_location => 'generate_expression' );

Line 10474: CZ_UTILS.GET_TEXT(CZ_FCE_SW_COMPARE_TXPROP_TXLIT ),

10470: IF (( l_lhs_selection AND t_exp_exprtype ( l_aux ) <> h_exprtypes ('literal')) OR
10471: ( l_rhs_selection AND t_exp_exprtype ( l_index ) <> h_exprtypes ('literal')))THEN
10472:
10473: report_and_raise_rule_sys_warn(
10474: CZ_UTILS.GET_TEXT(CZ_FCE_SW_COMPARE_TXPROP_TXLIT ),
10475: 'generate_expression' );
10476:
10477: END IF;
10478:

Line 10532: CZ_UTILS.GET_TEXT('CZ_E_UNKNOWN_EXPR_TYPE',

10528: ELSE
10529:
10530: --#
10531: report_and_raise_rule_sys_warn(
10532: CZ_UTILS.GET_TEXT('CZ_E_UNKNOWN_EXPR_TYPE',
10533: 'RULENAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name)),
10534: 'generate_expression'
10535: );
10536:

Line 10668: CZ_UTILS.GET_TEXT ( CZ_FCE_W_INCORRECT_REFERENCE,

10664:
10665: IF( l_eff_until < l_eff_from )THEN
10666: -- 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.
10667: report_and_raise_rule_warning (
10668: CZ_UTILS.GET_TEXT ( CZ_FCE_W_INCORRECT_REFERENCE,
10669: 'NODE_NAME', REPLACE (p_relative_node_path, FND_GLOBAL.LOCAL_CHR(7), '.'),
10670: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH( p_component_id, p_model_path ),
10671: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name )),
10672: 'RESOLVE_CHILDREN'

Line 10689: CZ_UTILS.GET_TEXT ( CZ_FCE_W_INCORRECT_REFERENCE,

10685:
10686: IF ( l_return_node_id_tbl.COUNT = 0 ) THEN
10687: -- 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.
10688: report_and_raise_rule_warning (
10689: CZ_UTILS.GET_TEXT ( CZ_FCE_W_INCORRECT_REFERENCE,
10690: 'NODE_NAME', REPLACE (p_relative_node_path, FND_GLOBAL.LOCAL_CHR(7), '.'),
10691: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH ( p_component_id, p_model_path ),
10692: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name )),
10693: 'RESOLVE_CHILDREN'

Line 10699: CZ_UTILS.GET_TEXT ( CZ_FCE_W_AMBIGUOUS_REFERENCE,

10695:
10696: ELSIF ( l_return_node_id_tbl.COUNT > 1 ) THEN
10697: -- Unable to resolve Model node reference ^NODE_NAME because it is ambiguous. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
10698: report_and_raise_rule_warning (
10699: CZ_UTILS.GET_TEXT ( CZ_FCE_W_AMBIGUOUS_REFERENCE,
10700: 'NODE_NAME', REPLACE (p_relative_node_path, FND_GLOBAL.LOCAL_CHR(7), '.'),
10701: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH ( p_component_id, p_model_path ),
10702: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name )),
10703: 'RESOLVE_CHILDREN'

Line 10760: p_text => CZ_UTILS.GET_TEXT (

10756: IF ( rule.invalid_flag = '1' ) THEN
10757: IF ( rule.presentation_flag = '0' ) THEN
10758: -- Parsing errors found. Fix parsing errors. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
10759: report_and_raise_rule_warning(
10760: p_text => CZ_UTILS.GET_TEXT (
10761: CZ_FCE_W_PARSE_FAILED,
10762: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name ),
10763: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path)
10764: ),

Line 10771: p_text => CZ_UTILS.GET_TEXT (

10767: ELSE
10768:
10769: report_and_raise_rule_warning(
10770: -- Invalid or incomplete rule, please check the rule. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
10771: p_text => CZ_UTILS.GET_TEXT (
10772: CZ_FCE_W_TEMPLATE_INVALID,
10773: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name ),
10774: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path)),
10775: p_warning_location => 'compile_constraints' );

Line 10841: p_text => CZ_UTILS.GET_TEXT(

10837:
10838: IF ( l_rule_expr_lastindex = 0 ) THEN
10839: -- Rule definition is empty. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
10840: report_and_raise_rule_warning(
10841: p_text => CZ_UTILS.GET_TEXT(
10842: CZ_FCE_W_EMPTY_RULE,
10843: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH(this_rule_id, this_rule_name),
10844: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH(p_component_id, p_model_path) ),
10845: p_warning_location => 'compile_constraints' );

Line 10891: p_text => CZ_UTILS.GET_TEXT (

10887:
10888: -- Rule participant ^NODE_NAME is not accessible. May be its model reference has been deleted.
10889:
10890: report_and_raise_rule_warning (
10891: p_text => CZ_UTILS.GET_TEXT (
10892: CZ_FCE_W_NODE_NOT_FOUND,
10893: 'NODE_NAME', CZ_FCE_COMPILE_UTILS.GET_NODE_PATH ( t_exp_psnodeid ( i ),
10894: ps_node_id_table_to_string ( build_model_path ( t_exp_psnodeid ( i )))),
10895: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name ),

Line 10902: p_text => CZ_UTILS.GET_TEXT (

10898:
10899: ELSIF ( NOT h_psnid_backindex.EXISTS ( TO_CHAR ( t_exp_psnodeid ( i )))) THEN
10900:
10901: report_and_raise_rule_warning (
10902: p_text => CZ_UTILS.GET_TEXT (
10903: CZ_FCE_W_NODE_DELETED,
10904: 'NODE_NAME', CZ_FCE_COMPILE_UTILS.GET_NODE_PATH ( t_exp_psnodeid ( i ),
10905: ps_node_id_table_to_string ( build_model_path ( t_exp_psnodeid ( i )))),
10906: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH( this_rule_id, this_rule_name ),

Line 10917: p_text => CZ_UTILS.GET_TEXT (

10913:
10914: IF ( t_exp_propertyid ( i ) IS NULL ) THEN
10915: -- The rule is incomplete because a property is undefined. Rule ^RULE_NAME in the Model ^MODEL_NAME ignored.
10916: report_and_raise_rule_warning (
10917: p_text => CZ_UTILS.GET_TEXT (
10918: CZ_FCE_W_UNDEFINED_PROPERTY,
10919: 'RULE_NAME', CZ_FCE_COMPILE_UTILS.GET_RULE_PATH ( this_rule_id, this_rule_name ),
10920: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH ( p_component_id, p_model_path )),
10921: p_warning_location => 'compile_constraints');

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

11214:
11215: IF ( l_var_min > 0 ) THEN
11216: -- 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.
11217: report_and_raise_error(
11218: p_message => CZ_UTILS.GET_TEXT ( CZ_FCE_E_OPTION_MAXQ_NO_CHILD,
11219: 'NODE_NAME', CZ_FCE_COMPILE_UTILS.GET_NODE_PATH(t_psn_psnodeid ( v_index ),
11220: ps_node_id_table_to_string(
11221: build_model_path(t_psn_psnodeid ( v_index ) ) ) ),
11222: 'MODEL_NAME', CZ_FCE_COMPILE_UTILS.GET_MODEL_PATH( p_component_id, p_model_path) ),

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

11595: WHEN OTHERS THEN
11596: ROLLBACK;
11597: -- Unknown Error:
11598: report_and_raise_sys_error(
11599: p_message => CZ_UTILS.GET_TEXT(CZ_FCE_UE_GENERIC_PREFIX) || DBMS_UTILITY.FORMAT_ERROR_STACK,
11600: p_run_id => x_run_id,
11601: p_model_id => p_object_id,
11602: p_error_stack => DBMS_UTILITY.FORMAT_ERROR_STACK || ' Error backtrace: ' || DBMS_UTILITY.FORMAT_ERROR_BACKTRACE,
11603: p_raise_exception => FALSE