.NET Framework Class Library
BOM.BomRecordsetWithDocCondition Method

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > .NET API > MwPDMApi Namespace > BOM Class > BOM Methods >

.NET Framework Class Library
BOM.BomRecordsetWithDocCondition Method

Creates the Bom as Recordset.

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Function BomRecordsetWithDocCondition ( _

uid As String, _
bomType As String, _
Optional condition As String = "", _
Optional fullParentChild As Boolean = False, _
Optional ignoreParentDocuments As Boolean = False, _
Optional revision As String = "" _
) As Object

C#

public Object BomRecordsetWithDocCondition(

string uid,
string bomType,
string condition = "",
bool fullParentChild = false,
bool ignoreParentDocuments = false,
string revision = ""
)

Visual C++

public:

Object^ BomRecordsetWithDocCondition(
String^ uid,
String^ bomType,
String^ condition = L"",
bool fullParentChild = false,
bool ignoreParentDocuments = false,
String^ revision = L""
)

JavaScript

function bomRecordsetWithDocCondition(uid, bomType, condition, fullParentChild, ignoreParentDocuments, revision);

Parameters

uid

Type: System.String
unique_id of the assembly

bomType

Type: System.String
bom type: 0 for indented, 1 for buy list

condition (Optional)

Type: System.String
Document condition to be applied as an ADO Filter

fullParentChild (Optional)

Type: System.Boolean
Optional, true to include all the items

ignoreParentDocuments (Optional)

Type: System.Boolean
Optional, tru to ignore the parent documents (i.e. drawings and projects) that are computationally expensive

revision (Optional)

Type: System.String
Optional. Revision specification.

Return Value

BOM Recordset

Remarks

See Also

BOM Class

BOM Members

MwPDMApi Namespace