.NET Framework Class Library
BOM.BuyList Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > BOM Class > BOM Methods >

.NET Framework Class Library
BOM.BuyList Method

Creates the Buy List for the the currently selected document.

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

Syntax

Visual Basic

Public Function BuyList ( _

 Optional xlsTemplateFile As String = "DBWEXCEL.XLS", _
 Optional onlyBUYComponents As Boolean = False, _
 Optional onlyParts As Boolean = False _
As String

C#

public string BuyList(

 string xlsTemplateFile = "DBWEXCEL.XLS",
 bool onlyBUYComponents = false,
 bool onlyParts = false
)

Visual C++

public:

StringBuyList(
 StringxlsTemplateFile = L"DBWEXCEL.XLS",
 bool onlyBUYComponents = false,
 bool onlyParts = false
)

JavaScript

function buyList(xlsTemplateFileonlyBUYComponentsonlyParts);

Parameters

xlsTemplateFile (Optional)

Type: System.String
the template name to use (default: DBWEXCEL.XLS)

onlyBUYComponents (Optional)

Type: System.Boolean

onlyParts (Optional)

Type: System.Boolean
Optional. If true, it lists all parts otherwise all components

Return Value

Excel .XLS file created by the Buy List procedure

Remarks

See Also

BOM Class

BOM Members

MwPDMApi Namespace