GetAttachedDocumentsToCell
Returns the names and paths of the documents attached to a given cell. The names and paths are returned in arguments that have a one-to-one correspondence.
Syntax
<HsvData>.GetAttachedDocumentsToCell lScenario, lYear, lPeriod, lEntity, lParent, lValue, lAccount, lICP, lCustom1, lCustom2, lCustom3, lCustom4, pvarbstraDocumentPaths, pvarbstraDocumentFiles
Argument | Description |
---|
lScenario | Long (ByVal). The member ID of the cell's Scenario dimension member. |
lYear | Long (ByVal). The member ID of the cell's Year dimension member. |
lPeriod | Long (ByVal). The member ID of the cell's Period dimension member. |
lEntity | Long (ByVal). The member ID of the cell's Entity dimension member. |
lParent | Long (ByVal). The member ID of the parent of the lEntity argument's entity. |
lValue | Long (ByVal). The member ID of the cell's Value dimension member. |
lAccount | Long (ByVal). The member ID of the cell's Account dimension member. |
lICP | Long (ByVal). The member ID of the cell's Intercompany Partner dimension member. |
lCustom1 | Long (ByVal). The member ID of the cell's Custom 1 dimension member. |
lCustom2 | Long (ByVal). The member ID of the cell's Custom 2 dimension member. |
lCustom3 | Long (ByVal). The member ID of the cell's Custom 3 dimension member. |
lCustom4 | Long (ByVal). The member ID of the cell's Custom 4 dimension member. |
pvarbstraDocumentPaths | Variant. Returns the paths of the files attached to the cell. |
pvarbstraDocumentFiles | Variant. Returns the names of the files attached to the cell. |
Example
GetAttachedDocumentsToCell is used in the example for DetachDocumentFromCell.