Siebel Order Management Infrastructure Guide > Compound Product Validation > Compound Product Validation Engine Business Service Methods >

ValidateComplexProduct Method


This method executes product validation expression validation rules associated with a complex product and returns any rule violations. It queries the Business Component VORD Compound Product Rule for all the rules defined for the top level product (network product) of the compound product (network). It then instantiates the business service for each of the rules and asks them for the fields and attribute values they need. It then initializes the Projected Asset Cache by asking it to build a future state of all the root line items within this compound product. This is done by querying the Quote Item, Order Item, Asset and their XAs for the fields and attributes required by all the rules, and then applying them to the associated assets. It then invokes the Validate method of each rules checker business service and creates a consolidated list of rules violations.

The ValidateComplexProduct method is called within the VORD Validate Complex Product (Order) or VORD Validate Complex Product (Quote) workflows, which in turn are called within the Verify Item (Order) or Verify Item (Quote) workflows.

Arguments
Argument
Description

FutureDate

[in] Date at which to validate the complex product. (Optional)

IsComplexProduct

[in] Y or N flag indicating whether the product is complex. (Optional)

QuoteId

[in] Row Id of the current quote. (Optional)

RootAssetIntegrationId

[in] Root Id of the integration asset. (Required)

RootProductId

[in] Root Id of the product. (Required)

RootProductName

[in] Root name of the product. (Optional)

RuleViolationEmpty

[out] Y or N flag indicating whether there are any violations. (Required)

Siebel Message

[out] Property set of child property sets of type 'RuleViolation'. (Required)

Related Information

See the topic about workflows in Siebel Order Management Guide, Validate Method, and Format Violation Method.

Siebel Order Management Infrastructure Guide Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices.