Bookshelf Home | Contents | Index | PDF |
Siebel Order Management Infrastructure Guide > Asset-Based Ordering Methods Reference > Product Manipulation Toolkit Business Service Methods > Trim MethodThis is one of the Product Manipulation Toolkit Business Service Methods. It eliminates line items from a delta quote or delta order based on a soft coded rule or Keep Specification. This method is used, in the Order to Asset workflow, to identify changes in an order item that are ready to apply to the service profile stored in Assets. For a line item to be kept in the product instance hierarchy, KeepSpec must be TRUE for that line item. All children of the line item will also be removed if the parent is removed. Arguments
ReturnsRemoves selected line items from the product instance. RemarksIf the KeepSpec input is TRUE for a line item, it is kept in the product instance hierarchy. If not, it is eliminated. All children of the line item are removed if the parent is removed. When Trim is called, the method starts at the top-most item in the product hierarchy and works recursively down through its children. If the KeepSpec evaluates to TRUE for a line item, it is kept in the product instance hierarchy. If not, it and all of its children are eliminated. For example, the KeepSpec for the Order to Asset workflow is: (([Status] = LookupValue('FS_ORDER_STATUS', 'Complete')) OR ([Action Code] = LookupValue('DELTA_ACTION_CODE', 'Existing'))) AND ([Convert To Asset Flag] = 'Y') ExamplesReview the following Trim method examples: Trimming Pending and Failed ItemsThe following example shows how this method is used to eliminate pending and failed items.
Trimming Orphaned ItemsIf an item fails to meet the KeepSpec criteria, this method removes all of its children. The following example shows this situation.
See AlsoSee the topic about workflows in Siebel Order Management Guide, and the following methods: |
Siebel Order Management Infrastructure Guide | Copyright © 2008, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |