|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > UserInterface > ShowEditParentChildDataDialog |
The command shows the dialog for modifying the parent child data of the currently selected item in the tree. It's the API way to call the RMB→BOM→Edit Parent Child data dialog.
call DBWShell("ShowEditParentChildDataDialog")
The browser must be opened (Document or Tree page) and a record must be selected in the Tree.

The dialog is effective as if invoked from UI, so its result is a change of the quantity of the selected record
Sub Main()
DBWInit(True)
DBWShell("ShowEditParentChildDataDialog")
End Sub