.NET Framework Class Library
BOM.Bom Method

<< Click to Display Table of Contents >>

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

.NET Framework Class Library
BOM.Bom Method

Creates the BOM ( Bill Of Materials ) for the the current selected document and activates the Query page

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

Syntax

Visual Basic

Public Function Bom ( _

Optional uid As String = "0", _
Optional depthLevel As Integer = 1 _
) As String

C#

public string Bom(

string uid = "0",
int depthLevel = 1
)

Visual C++

public:

String^ Bom(
String^ uid = L"0",
int depthLevel = 1
)

JavaScript

function bom(uid, depthLevel);

Parameters

uid (Optional)

Type: System.String
Optional. The unique id of the document to create the bom of. Default value is "0" (current selected document).

depthLevel (Optional)

Type: System.Int32
Optional. The depth level of the Bom to be created. Default depth value is 1.

Return Value

Excel .XLS file created by the BOM procedure

Remarks

See Also

BOM Class

BOM Members

MwPDMApi Namespace