Today we have a look at the PRM ANI Utility Service. This business service is often mentioned and used by Oracle and external professionals alike.
As an offspring of the Siebel PRM (Partner Relationship Management) family, the business service and its methods are described in the respective bookshelf guide.
The main purpose of the business service is the creation and manipulation of property sets. Other interesting methods include GenerateKey, GetSystemPreference and QueryBusComp.
|The PRM ANI Utility service's methods in Siebel Tools|
The CreateEmptyPropSet method has only one required input argument named Hierachy Name. This is the name of an integration object definition. After method execution, the SiebelMessage child of the output property set contains an empty instance of the integration object.
We can now use the various property set related methods to manipulate the property set. The business service also has methods like GetProperty which is useful to read data from any property set hierarchy.
Similar to SetProperty, this method uses the Hierarchy Path: and Property Name input arguments to locate the property in the SiebelMessage child hierarchy. The Hierarchy Path: (note the colon) input argument supports dot notation.
It is noteworthy that the PRM ANI Utility Service only supports one child property.
The QueryBusComp method stands out a bit as it can be used to query any business component and retrieve the row count from the Record Count output argument as well as field values.
The benefit of the QueryBusComp method lies within its Keep Context input argument. When set to TRUE, it keeps the context of the query within the current primary business component. When set to FALSE it queries the entire business component (specified by the Business Component input argument).
The Find Existing Cart step in the Transfer Cart Inbound Create Quote Process uses the QueryBusComp method.
Have a nice day