Rule That Resolves Association Conflicts

The following predefined rule resolves association conflicts:

/*** ASSOCIATION AUTORESOLVER ***/
ar_manager.add_rule(new ar_helpers.associations_resolve_rule(ar_ctx))

where:

  • ar_helpers.associations_resolve_rule(ar_ctx) identifies the code that Siebel CRM Desktop uses for the rule.

  • ar_ctx identifies the list of the required objects. For example:

    var ar_ctx = {
      "util": util,
      "conflicts_manager": conflicts_manager,
      "application": application,
      "data_model": business_logic.create_siebel_meta_scheme2()
    

    where:

    • util is a C++ object that contains a number of methods.

    • conflicts_manager is the object that Siebel CRM Desktop creates in the interface to the C++ code that the Auto Resolver uses.

    • application is a C++ object that contains a number of methods.

    • data_model is a C++ object that contains a number of methods.

    • You cannot modify a reference to any of these C++ objects.