Deletes line item details for the cells that intersect the specified dimension members. Line item descriptions are used to identify the line items to be deleted.
<HsvData>.DeleteLineItemDetails lScenario, lYear, lEntity, lAccount, lICP, lCustom1, lCustom2, lCustom3, lCustom4, varabstrDetail
Long (ByVal). The member ID of the Scenario dimension member for the intersecting cells. | |
Long (ByVal). The member ID of the Year dimension member for the intersecting cells. | |
Long (ByVal). The member ID of the Entity dimension member for the intersecting cells. | |
Long (ByVal). The member ID of the Account dimension member for the intersecting cells. Use HsvAccounts.UsesLineItems to check whether an account supports line items. | |
Long (ByVal). The member ID of the Intercompany Partner dimension member for the intersecting cells. | |
Long (ByVal). The member ID of the Custom 1 dimension member for the intersecting cells. | |
Long (ByVal). The member ID of the Custom 2 dimension member for the intersecting cells. | |
Long (ByVal). The member ID of the Custom 3 dimension member for the intersecting cells. | |
Long (ByVal). The member ID of the Custom 4 dimension member for the intersecting cells. | |
String array (ByVal). An array of the line item descriptions to be deleted. For each array item, DeleteLineItemDetails deletes the line item with the matching description. |
The following example deletes two line items. The example assumes the variables passed to DeleteLineItemDetails have been set to the member IDs for the intersecting cells.