|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > BOM > AssignBomPositionNumber |
Assign the position number of the the document with unique identifier child_unique_id in the BOM of the document with unique identifier parent_unique_id.
call DBWShell("AssignBomPositionNumber childUID parentUID BomPos [okBomItem]")
childUID |
child document Unique Id |
|---|---|
parentUID |
parent document Unique Id |
BomPos |
new position in the BOM list |
okBomItem |
Optional. If equal to 1, the bom position number is converted in the negative value specific for bom items. |
AssignBomFieldValue
AssignBomPositionNumber.htm
'child uid = 13
'parent uid = 27
'bom_position = 30
DBWShell("AssignBOMPositionNumber 13 27 200") ' no bom item
DBWShell("AssignBOMPositionNumber 13 27 200 1") ' ok bom item